X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/8a1f4a98c1b8e3abaf1b46394a88d09531ce4c2d..6c1a09ba9a801021002d75425345e51cdc498026:/admin/make-emacs diff --git a/admin/make-emacs b/admin/make-emacs index 9abfa731be..58295c9607 100755 --- a/admin/make-emacs +++ b/admin/make-emacs @@ -2,8 +2,7 @@ # Build Emacs with various options for profiling, debugging, # with and without warnings enabled etc. -# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 -# Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # This file is part of GNU Emacs. @@ -43,7 +42,7 @@ $rc = GetOptions ("help" => \$help, "check-marked" => \$check_marked, "all" => \$all, "no-optim" => \$no_optim, - "union-type" => \$union_type, + "check-lisp-type" => \$check_lisp_type, "gprof" => \$profile, "malloc-check" => \$malloc_check, "no-mcheck" => \$no_mcheck, @@ -71,9 +70,9 @@ Build Emacs. --check-marked GC_CHECK_MARKED_OBJECTS=1 --optim no debug defines --gprof make Emacs for profiling - --union-type define USE_LISP_UNION_TYPE (bad for GDB) + --check-lisp-type define CHECK_LISP_OBJECT_TYPE --malloc-check define GC_MALLOC_CHECK - --no-mcheck dont define GC_MCHECK + --no-mcheck don't define GC_MCHECK --wall compile with -Wall --gcc3 use GCC 3.0 (30% slower compilation, slower code) --trace-selection print traces in xselect.c @@ -141,7 +140,7 @@ else } } -$defs = "$defs -DUSE_LISP_UNION_TYPE" if $union_type; +$defs = "$defs -DCHECK_LISP_OBJECT_TYPE" if $check_lisp_type; $defs = "$defs -DGC_MALLOC_CHECK=1 -DGC_PROTECT_MALLOC_STATE=1" if $malloc_check; $defs = "$defs -DGC_MCHECK=1" unless $no_mcheck; @@ -184,5 +183,3 @@ exit system "$make CC=\"$cc\" CFLAGS=\"$opts\" @ARGV"; # Local Variables: # mode: cperl # End: - -# arch-tag: 5c3f9713-9ece-4a12-b3f8-deaff15974ba