aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-05-13 20:36:40 -0700
committerGlenn Morris2010-05-13 20:36:40 -0700
commitfbc00890119ec27ceaf50a0969ee121bef22905a (patch)
tree64ac315734ffef94abcaa31c520dde36b501c7f4
parent97560d35b90e969ce663d2b2bd6ce039496f339d (diff)
downloademacs-fbc00890119ec27ceaf50a0969ee121bef22905a.tar.gz
emacs-fbc00890119ec27ceaf50a0969ee121bef22905a.zip
Move some undefs from src/Makefile.in to configure.
* configure.in (cpp_undefs): Add mktime, register, X11. * src/Makefile.in (mktime, X11, register): Move undefs to configure. * admin/CPP-DEFINES: Remove X11.
-rw-r--r--ChangeLog2
-rw-r--r--admin/CPP-DEFINES1
-rwxr-xr-xconfigure2
-rw-r--r--configure.in5
-rw-r--r--src/ChangeLog2
-rw-r--r--src/Makefile.in17
6 files changed, 9 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index 54d72652561..ab69ce7b457 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
12010-05-14 Glenn Morris <rgm@gnu.org> 12010-05-14 Glenn Morris <rgm@gnu.org>
2 2
3 * configure.in (cpp_undefs): Add mktime, register, X11.
4
3 * configure.in (GPM_MOUSE_SUPPORT): Remove. 5 * configure.in (GPM_MOUSE_SUPPORT): Remove.
4 (MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): New output variables. 6 (MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): New output variables.
5 (HAVE_WINDOW_SYSTEM, HAVE_MOUSE): Move out of AC_BOTTOM. 7 (HAVE_WINDOW_SYSTEM, HAVE_MOUSE): Move out of AC_BOTTOM.
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES
index 2a0a4e23ea9..1f42eeb9528 100644
--- a/admin/CPP-DEFINES
+++ b/admin/CPP-DEFINES
@@ -22,7 +22,6 @@ NS_IMPL_GNUSTEP Compile support for GNUstep implementation of NS GUI API.
22NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API. 22NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API.
23HAVE_X11 Compile support for the X11 GUI. 23HAVE_X11 Compile support for the X11 GUI.
24HAVE_X_WINDOWS Compile support for X Window system 24HAVE_X_WINDOWS Compile support for X Window system
25X11 ?? Makefile.in suggests it's equivalent to HAVE_X11
26USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11. 25USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11.
27USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11. 26USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11.
28USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11. 27USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11.
diff --git a/configure b/configure
index d86b52d1eb4..0a1c2ee3d3b 100755
--- a/configure
+++ b/configure
@@ -26722,7 +26722,7 @@ test "${exec_prefix}" != NONE &&
26722# the C preprocessor to some helpful value like 1, or maybe the empty 26722# the C preprocessor to some helpful value like 1, or maybe the empty
26723# string. Needless to say consequent macro substitutions are less 26723# string. Needless to say consequent macro substitutions are less
26724# than conducive to the makefile finding the correct directory. 26724# than conducive to the makefile finding the correct directory.
26725cpp_undefs="`echo $srcdir $configuration $canonical unix | 26725cpp_undefs="`echo $srcdir $configuration $canonical unix mktime register X11 |
26726 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ 26726 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
26727 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`" 26727 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"
26728 26728
diff --git a/configure.in b/configure.in
index 5f2abbd850d..2475caae053 100644
--- a/configure.in
+++ b/configure.in
@@ -3622,7 +3622,10 @@ test "${exec_prefix}" != NONE &&
3622# the C preprocessor to some helpful value like 1, or maybe the empty 3622# the C preprocessor to some helpful value like 1, or maybe the empty
3623# string. Needless to say consequent macro substitutions are less 3623# string. Needless to say consequent macro substitutions are less
3624# than conducive to the makefile finding the correct directory. 3624# than conducive to the makefile finding the correct directory.
3625[cpp_undefs="`echo $srcdir $configuration $canonical unix | 3625# src/Makefile.in used to treat X11 as equivalent to HAVE_X11.
3626# But nothing in Emacs defines X11, and everywhere else uses HAVE_X11,
3627# so that cannot have been doing anything.
3628[cpp_undefs="`echo $srcdir $configuration $canonical unix mktime register X11 |
3626 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ 3629 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
3627 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"] 3630 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"]
3628 3631
diff --git a/src/ChangeLog b/src/ChangeLog
index 164cfbf6edb..24ec0650d06 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12010-05-14 Glenn Morris <rgm@gnu.org> 12010-05-14 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (mktime, X11, register): Move undefs to configure.
4
3 * Makefile.in (MSDOS_OBJ): Default to empty, let msdos scripts set it. 5 * Makefile.in (MSDOS_OBJ): Default to empty, let msdos scripts set it.
4 (MSDOS_X_OBJ): New variable. 6 (MSDOS_X_OBJ): New variable.
5 (MSDOS_SUPPORT_REAL): New constant. 7 (MSDOS_SUPPORT_REAL): New constant.
diff --git a/src/Makefile.in b/src/Makefile.in
index 4d2481af924..3a0339a3f70 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -251,23 +251,6 @@ UNEXEC_OBJ = @unexec@
251DEPFLAGS = -MMD -MF deps/$*.d 251DEPFLAGS = -MMD -MF deps/$*.d
252#endif 252#endif
253 253
254/* Do not let the file name mktime.c get messed up. */
255#ifdef mktime
256#undef mktime
257#endif
258
259/* Use HAVE_X11 as an alias for X11 in this file
260 to avoid problems with X11 as a subdirectory name
261 in -I and other such options which pass through this file. */
262#ifdef X11
263#define HAVE_X11
264#undef X11
265#endif
266
267/* On some machines #define register is done in config;
268 do not let it interfere with this file. */
269#undef register
270
271/* If NS_IMPL_GNUSTEP, some definitions and includes are expanded here. */ 254/* If NS_IMPL_GNUSTEP, some definitions and includes are expanded here. */
272@NS_IMPL_GNUSTEP_INC@ 255@NS_IMPL_GNUSTEP_INC@
273 256