aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-07-01 02:56:08 +0000
committerGlenn Morris2008-07-01 02:56:08 +0000
commit3d4c9dbda512ec858062482e95c283c37e8b906a (patch)
tree42566402c48eff1bb97afbd6f683ed887c9bcf11
parent959005e4db6c259b7a76b425cb6062004c42804a (diff)
downloademacs-3d4c9dbda512ec858062482e95c283c37e8b906a.tar.gz
emacs-3d4c9dbda512ec858062482e95c283c37e8b906a.zip
(cpp_undefs): Rename from `undefs', update uses.
Use $srcdir rather than $top_srcdir. Set before calling AC_OUTPUT, and explicitly export there. (Bug#507.)
-rw-r--r--ChangeLog7
-rw-r--r--admin/notes/bugtracker12
-rw-r--r--configure.in27
3 files changed, 32 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index cee624fa348..aca4c361b18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12008-07-01 Glenn Morris <rgm@gnu.org>
2
3 * configure.in (cpp_undefs): Rename from `undefs', update uses.
4 Use $srcdir rather than $top_srcdir. Set before calling AC_OUTPUT,
5 and explicitly export there. (Bug#507.)
6
12008-06-26 Dan Nicolaescu <dann@ics.uci.edu> 72008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
2 8
3 * configure.in: 9 * configure.in:
@@ -7163,6 +7169,7 @@
7163;; Local Variables: 7169;; Local Variables:
7164;; coding: utf-8 7170;; coding: utf-8
7165;; add-log-time-zone-rule: t 7171;; add-log-time-zone-rule: t
7172;; bug-reference-url-format: "http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=%s"
7166;; End: 7173;; End:
7167 7174
7168 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 7175 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002,
diff --git a/admin/notes/bugtracker b/admin/notes/bugtracker
index cff83b06629..8b3c9164144 100644
--- a/admin/notes/bugtracker
+++ b/admin/notes/bugtracker
@@ -85,3 +85,15 @@ Bugs must all be in the same state.
85 severity 123 critical|grave|serious|important|normal|minor|wishlist 85 severity 123 critical|grave|serious|important|normal|minor|wishlist
86 86
87See http://emacsbugs.donarmstrong.com/Developer#severities for the meanings. 87See http://emacsbugs.donarmstrong.com/Developer#severities for the meanings.
88
89** To set the onwer of a bug:
90
91 To: control@emacsbugs.donarmstrong.com
92 owner 123 A Hacker <none@example.com>
93
94The shorthand `!' means your own address.
95
96** To mark a bug as fixed in a particular version:
97
98 To: control@emacsbugs.donarmstrong.com
99 fixed 123 23.0.60
diff --git a/configure.in b/configure.in
index 72982ad80d3..310e5a5158c 100644
--- a/configure.in
+++ b/configure.in
@@ -2848,6 +2848,16 @@ fi
2848test "${exec_prefix}" != NONE && 2848test "${exec_prefix}" != NONE &&
2849 exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`] 2849 exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`]
2850 2850
2851# Now get this: Some word that is part of the ${srcdir} directory name
2852# or the ${configuration} value might, just might, happen to be an
2853# identifier like `sun4' or `i386' or something, and be predefined by
2854# the C preprocessor to some helpful value like 1, or maybe the empty
2855# string. Needless to say consequent macro substitutions are less
2856# than conducive to the makefile finding the correct directory.
2857[cpp_undefs="`echo $srcdir $configuration $canonical |
2858 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
2859 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"]
2860
2851## Check if the C preprocessor will convert `..' to `. .'. If so, set 2861## Check if the C preprocessor will convert `..' to `. .'. If so, set
2852## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 2862## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
2853## from Makefile.c can correctly provide the arg `-traditional' to the 2863## from Makefile.c can correctly provide the arg `-traditional' to the
@@ -2872,17 +2882,6 @@ done
2872# and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c 2882# and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
2873# This must be done after src/config.h is built, since we rely on that file. 2883# This must be done after src/config.h is built, since we rely on that file.
2874 2884
2875# Now get this: Some word that is part of the ${srcdir} directory name
2876# or the ${configuration} value might, just might, happen to be an
2877# identifier like `sun4' or `i386' or something, and be predefined by
2878# the C preprocessor to some helpful value like 1, or maybe the empty
2879# string. Needless to say consequent macro substitutions are less
2880# than conducive to the makefile finding the correct directory.
2881[undefs="`echo $top_srcdir $configuration $canonical |
2882sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
2883 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
2884`"]
2885
2886echo creating src/epaths.h 2885echo creating src/epaths.h
2887${MAKE-make} epaths-force 2886${MAKE-make} epaths-force
2888 2887
@@ -2901,7 +2900,7 @@ echo creating lib-src/Makefile
2901 sed -e '1,/start of cpp stuff/d'\ 2900 sed -e '1,/start of cpp stuff/d'\
2902 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ 2901 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
2903 < Makefile.c > junk.c 2902 < Makefile.c > junk.c
2904 $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ 2903 $CPP $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
2905 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c 2904 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c
2906 cat junk1.c junk2.c > Makefile.new 2905 cat junk1.c junk2.c > Makefile.new
2907 rm -f junk.c junk1.c junk2.c 2906 rm -f junk.c junk1.c junk2.c
@@ -2917,7 +2916,7 @@ echo creating src/Makefile
2917 sed -e '1,/start of cpp stuff/d'\ 2916 sed -e '1,/start of cpp stuff/d'\
2918 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ 2917 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
2919 < Makefile.c > junk.c 2918 < Makefile.c > junk.c
2920 $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ 2919 $CPP $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
2921 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c 2920 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c
2922 cat junk1.c junk2.c > Makefile.new 2921 cat junk1.c junk2.c > Makefile.new
2923 rm -f junk.c junk1.c junk2.c 2922 rm -f junk.c junk1.c junk2.c
@@ -2930,7 +2929,7 @@ if test ! -f src/.gdbinit && test -f $srcdir/src/.gdbinit; then
2930 echo source $srcdir/src/.gdbinit > src/.gdbinit 2929 echo source $srcdir/src/.gdbinit > src/.gdbinit
2931fi 2930fi
2932 2931
2933], [GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"]) 2932], [GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" cpp_undefs="$cpp_undefs"])
2934 2933
2935m4_if(dnl Do not change this comment 2934m4_if(dnl Do not change this comment
2936 arch-tag: 156a4dd5-bddc-4d18-96ac-f37742cf6a5e 2935 arch-tag: 156a4dd5-bddc-4d18-96ac-f37742cf6a5e