HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initialize guile
[bpt/emacs.git]
/
admin
/
make-emacs
diff --git
a/admin/make-emacs
b/admin/make-emacs
index
f54bc48
..
17d1cdc
100755
(executable)
--- a/
admin/make-emacs
+++ b/
admin/make-emacs
@@
-1,29
+1,28
@@
#! /usr/bin/perl
#! /usr/bin/perl
+# Build Emacs with various options for profiling, debugging,
+# with and without warnings enabled etc.
+
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
-# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
-# Free Software Foundation, Inc.
-#
# This file is part of GNU Emacs.
# This file is part of GNU Emacs.
-#
-# GNU Emacs is free software
;
you can redistribute it and/or modify
+
+# GNU Emacs is free software
:
you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation
; either version 3, or (at your option)
-# any later version.
-#
+# the Free Software Foundation
, either version 3 of the License, or
+#
(at your option)
any later version.
+
# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
-# along with GNU Emacs; see the file COPYING. If not, write to the
-# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
+# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
-# Build Emacs with various options for profiling, debugging,
-# with and without warnings enabled etc.
require 5;
require 5;
+use strict;
+use warnings;
use Getopt::Long;
use File::Basename;
use Cwd;
use Getopt::Long;
use File::Basename;
use Cwd;
@@
-45,7
+44,7
@@
$rc = GetOptions ("help" => \$help,
"check-marked" => \$check_marked,
"all" => \$all,
"no-optim" => \$no_optim,
"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,
"gprof" => \$profile,
"malloc-check" => \$malloc_check,
"no-mcheck" => \$no_mcheck,
@@
-67,15
+66,15
@@
Build Emacs.
--help show this help
--all make clean versionclean first
--help show this help
--all make clean versionclean first
- --boot make boostrap, log to boot.log
+ --boot make boo
t
strap, log to boot.log
--enable-checking ENABLE_CHECKING=1
--no-warn disable warnings
--check-marked GC_CHECK_MARKED_OBJECTS=1
--optim no debug defines
--gprof make Emacs for profiling
--enable-checking ENABLE_CHECKING=1
--no-warn disable warnings
--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
--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
--wall compile with -Wall
--gcc3 use GCC 3.0 (30% slower compilation, slower code)
--trace-selection print traces in xselect.c
@@
-143,7
+142,7
@@
else
}
}
}
}
-$defs = "$defs -D
USE_LISP_UNION_TYPE" if $union
_type;
+$defs = "$defs -D
CHECK_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;
$defs = "$defs -DGC_MALLOC_CHECK=1 -DGC_PROTECT_MALLOC_STATE=1" if $malloc_check;
$defs = "$defs -DGC_MCHECK=1" unless $no_mcheck;
@@
-186,5
+185,3
@@
exit system "$make CC=\"$cc\" CFLAGS=\"$opts\" @ARGV";
# Local Variables:
# mode: cperl
# End:
# Local Variables:
# mode: cperl
# End:
-
-# arch-tag: 5c3f9713-9ece-4a12-b3f8-deaff15974ba