diff options
| author | Glenn Morris | 2012-04-10 21:25:51 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-04-10 21:25:51 -0400 |
| commit | 2f097256b95314f85f7c4ce5dfff9e41e1cfaeb3 (patch) | |
| tree | 0cfa8ab6a327acc87bca0ce43511f3261f1a9d3d | |
| parent | a38c310cdd714d14c6125ddbdd89bb5bb671dd0d (diff) | |
| download | emacs-2f097256b95314f85f7c4ce5dfff9e41e1cfaeb3.tar.gz emacs-2f097256b95314f85f7c4ce5dfff9e41e1cfaeb3.zip | |
Repurpose C_SWITCH_X_SYSTEM as GNUSTEP_CFLAGS
This is the only thing left that uses it.
* configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.
* src/Makefile.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.
* lwlib/Makefile.in (C_SWITCH_X_SYSTEM): Remove.
(ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.
* oldXMenu/Makefile.in (C_SWITCH_X_SYSTEM): Remove.
(ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.
* msdos/sedlibmk.inp, msdos/sed1v2.inp:
GNUSTEP_CFLAGS replaces C_SWITCH_X_SYSTEM.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.in | 8 | ||||
| -rw-r--r-- | lwlib/ChangeLog | 7 | ||||
| -rw-r--r-- | lwlib/Makefile.in | 5 | ||||
| -rw-r--r-- | msdos/ChangeLog | 6 | ||||
| -rw-r--r-- | msdos/sed1v2.inp | 6 | ||||
| -rw-r--r-- | msdos/sedlibmk.inp | 4 | ||||
| -rw-r--r-- | oldXMenu/ChangeLog | 7 | ||||
| -rw-r--r-- | oldXMenu/Makefile.in | 5 | ||||
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/Makefile.in | 10 |
11 files changed, 40 insertions, 28 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-04-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM. | ||
| 4 | |||
| 1 | 2012-04-10 Glenn Morris <rgm@gnu.org> | 5 | 2012-04-10 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * configure.in: Conditionally generate admin/unidata/Makefile. | 7 | * configure.in: Conditionally generate admin/unidata/Makefile. |
diff --git a/configure.in b/configure.in index 9fd3dead2b1..327427ff390 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -2589,7 +2589,7 @@ AC_SUBST(LIBGPM) | |||
| 2589 | dnl Check for malloc/malloc.h on darwin | 2589 | dnl Check for malloc/malloc.h on darwin |
| 2590 | AC_CHECK_HEADER(malloc/malloc.h, [AC_DEFINE(HAVE_MALLOC_MALLOC_H, 1, [Define to 1 if you have the <malloc/malloc.h> header file.])]) | 2590 | AC_CHECK_HEADER(malloc/malloc.h, [AC_DEFINE(HAVE_MALLOC_MALLOC_H, 1, [Define to 1 if you have the <malloc/malloc.h> header file.])]) |
| 2591 | 2591 | ||
| 2592 | C_SWITCH_X_SYSTEM= | 2592 | GNUSTEP_CFLAGS= |
| 2593 | ### Use NeXTstep API to implement GUI. | 2593 | ### Use NeXTstep API to implement GUI. |
| 2594 | if test "${HAVE_NS}" = "yes"; then | 2594 | if test "${HAVE_NS}" = "yes"; then |
| 2595 | AC_DEFINE(HAVE_NS, 1, [Define to 1 if you are using the NeXTstep API, either GNUstep or Cocoa on Mac OS X.]) | 2595 | AC_DEFINE(HAVE_NS, 1, [Define to 1 if you are using the NeXTstep API, either GNUstep or Cocoa on Mac OS X.]) |
| @@ -2600,9 +2600,7 @@ if test "${HAVE_NS}" = "yes"; then | |||
| 2600 | AC_DEFINE(NS_IMPL_GNUSTEP, 1, [Define to 1 if you are using NS windowing under GNUstep.]) | 2600 | AC_DEFINE(NS_IMPL_GNUSTEP, 1, [Define to 1 if you are using NS windowing under GNUstep.]) |
| 2601 | # See also .m.o rule in Makefile.in */ | 2601 | # See also .m.o rule in Makefile.in */ |
| 2602 | # FIXME: are all these flags really needed? Document here why. */ | 2602 | # FIXME: are all these flags really needed? Document here why. */ |
| 2603 | dnl FIXME this should be renamed to GNUSTEP_CFLAGS, and only | 2603 | GNUSTEP_CFLAGS="-D_REENTRANT -fPIC -fno-strict-aliasing -I${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}" |
| 2604 | dnl used in src/Makefile.in. | ||
| 2605 | C_SWITCH_X_SYSTEM="-D_REENTRANT -fPIC -fno-strict-aliasing -I${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}" | ||
| 2606 | ## Extra CFLAGS applied to src/*.m files. | 2604 | ## Extra CFLAGS applied to src/*.m files. |
| 2607 | GNU_OBJC_CFLAGS="$GNU_OBJC_CFLAGS -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" | 2605 | GNU_OBJC_CFLAGS="$GNU_OBJC_CFLAGS -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" |
| 2608 | fi | 2606 | fi |
| @@ -3222,7 +3220,7 @@ AC_SUBST(gameuser) | |||
| 3222 | ## end of LIBX_BASE, but nothing ever set it. | 3220 | ## end of LIBX_BASE, but nothing ever set it. |
| 3223 | AC_SUBST(LD_SWITCH_X_SITE) | 3221 | AC_SUBST(LD_SWITCH_X_SITE) |
| 3224 | AC_SUBST(C_SWITCH_X_SITE) | 3222 | AC_SUBST(C_SWITCH_X_SITE) |
| 3225 | AC_SUBST(C_SWITCH_X_SYSTEM) | 3223 | AC_SUBST(GNUSTEP_CFLAGS) |
| 3226 | AC_SUBST(CFLAGS) | 3224 | AC_SUBST(CFLAGS) |
| 3227 | ## Used in lwlib/Makefile.in. | 3225 | ## Used in lwlib/Makefile.in. |
| 3228 | AC_SUBST(X_TOOLKIT_TYPE) | 3226 | AC_SUBST(X_TOOLKIT_TYPE) |
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index a4bb243f35d..8ac9e6994ab 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-04-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (C_SWITCH_X_SYSTEM): Remove. | ||
| 4 | (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM. | ||
| 5 | |||
| 1 | 2011-10-13 Dmitry Antipov <dmantipov@yandex.ru> | 6 | 2011-10-13 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 7 | ||
| 3 | * lwlib-Xaw.c (openFont, xaw_destroy_instance): Replace free with | 8 | * lwlib-Xaw.c (openFont, xaw_destroy_instance): Replace free with |
| @@ -1756,7 +1761,7 @@ | |||
| 1756 | ;; coding: utf-8 | 1761 | ;; coding: utf-8 |
| 1757 | ;; End: | 1762 | ;; End: |
| 1758 | 1763 | ||
| 1759 | Copyright (C) 1995-1999, 2001-2012 Free Software Foundation, Inc. | 1764 | Copyright (C) 1995-1999, 2001-2012 Free Software Foundation, Inc. |
| 1760 | 1765 | ||
| 1761 | This file is part of GNU Emacs. | 1766 | This file is part of GNU Emacs. |
| 1762 | 1767 | ||
diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in index db108862d70..eda3e2a8f58 100644 --- a/lwlib/Makefile.in +++ b/lwlib/Makefile.in | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copyright (C) 1992, 1993 Lucid, Inc. | 1 | # Copyright (C) 1992, 1993 Lucid, Inc. |
| 2 | # Copyright (C) 1994, 2001-2012 Free Software Foundation, Inc. | 2 | # Copyright (C) 1994, 2001-2012 Free Software Foundation, Inc. |
| 3 | # | 3 | # |
| 4 | # This file is part of the Lucid Widget Library. | 4 | # This file is part of the Lucid Widget Library. |
| 5 | # | 5 | # |
| @@ -26,7 +26,6 @@ srcdir=@srcdir@ | |||
| 26 | VPATH=@srcdir@ | 26 | VPATH=@srcdir@ |
| 27 | @SET_MAKE@ | 27 | @SET_MAKE@ |
| 28 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | 28 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
| 29 | C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@ | ||
| 30 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ | 29 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ |
| 31 | C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ | 30 | C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ |
| 32 | C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@ | 31 | C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@ |
| @@ -53,7 +52,7 @@ OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o | |||
| 53 | ## $(srcdir) is where the lwlib sources are. | 52 | ## $(srcdir) is where the lwlib sources are. |
| 54 | ## There are no generated lwlib files, hence no need for -I. | 53 | ## There are no generated lwlib files, hence no need for -I. |
| 55 | ALL_CFLAGS= $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \ | 54 | ALL_CFLAGS= $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \ |
| 56 | $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) \ | 55 | $(C_SWITCH_MACHINE) \ |
| 57 | $(C_WARNINGS_SWITCH) $(PROFILING_CFLAGS) $(CFLAGS) \ | 56 | $(C_WARNINGS_SWITCH) $(PROFILING_CFLAGS) $(CFLAGS) \ |
| 58 | -DHAVE_CONFIG_H -Demacs -I../src \ | 57 | -DHAVE_CONFIG_H -Demacs -I../src \ |
| 59 | -I$(srcdir) -I$(srcdir)/../src -I../lib -I$(srcdir)/../lib | 58 | -I$(srcdir) -I$(srcdir)/../src -I../lib -I$(srcdir)/../lib |
diff --git a/msdos/ChangeLog b/msdos/ChangeLog index 0c00364d6fa..320d2f5e6c1 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-04-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * sedlibmk.inp, sed1v2.inp: GNUSTEP_CFLAGS replaces C_SWITCH_X_SYSTEM. | ||
| 4 | |||
| 1 | 2012-04-07 Glenn Morris <rgm@gnu.org> | 5 | 2012-04-07 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * sed2v2.inp: Bump version to 24.1.50. | 7 | * sed2v2.inp: Bump version to 24.1.50. |
| @@ -1312,7 +1316,7 @@ | |||
| 1312 | ;; coding: utf-8 | 1316 | ;; coding: utf-8 |
| 1313 | ;; End: | 1317 | ;; End: |
| 1314 | 1318 | ||
| 1315 | Copyright (C) 1994-1999, 2001-2012 Free Software Foundation, Inc. | 1319 | Copyright (C) 1994-1999, 2001-2012 Free Software Foundation, Inc. |
| 1316 | 1320 | ||
| 1317 | This file is part of GNU Emacs. | 1321 | This file is part of GNU Emacs. |
| 1318 | 1322 | ||
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp index c13fbe621f4..cdaf9430b25 100644 --- a/msdos/sed1v2.inp +++ b/msdos/sed1v2.inp | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | # Configuration script for src/Makefile under DJGPP v2.x | 2 | # Configuration script for src/Makefile under DJGPP v2.x |
| 3 | # ---------------------------------------------------------------------- | 3 | # ---------------------------------------------------------------------- |
| 4 | # | 4 | # |
| 5 | # Copyright (C) 1996-1997, 1999-2012 Free Software Foundation, Inc. | 5 | # Copyright (C) 1996-1997, 1999-2012 Free Software Foundation, Inc. |
| 6 | # | 6 | # |
| 7 | # This file is part of GNU Emacs. | 7 | # This file is part of GNU Emacs. |
| 8 | # | 8 | # |
| @@ -39,7 +39,7 @@ s/\.h\.in/.h-in/ | |||
| 39 | /^LIBOBJS *=/s/@[^@\n]*@// | 39 | /^LIBOBJS *=/s/@[^@\n]*@// |
| 40 | /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@// | 40 | /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@// |
| 41 | /^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@// | 41 | /^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@// |
| 42 | /^C_SWITCH_X_SYSTEM *=/s/@C_SWITCH_X_SYSTEM@// | 42 | /^GNUSTEP_CFLAGS *=/s/@GNUSTEP_CFLAGS@// |
| 43 | /^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@// | 43 | /^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@// |
| 44 | /^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@// | 44 | /^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@// |
| 45 | /^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@// | 45 | /^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@// |
| @@ -186,7 +186,7 @@ s/echo.*buildobj.lst/dj&/ | |||
| 186 | /^ *THEFILE=/s|$|\; cd ../src| | 186 | /^ *THEFILE=/s|$|\; cd ../src| |
| 187 | /^ echo.* buildobj.h/s|echo |djecho | | 187 | /^ echo.* buildobj.h/s|echo |djecho | |
| 188 | # Make the GCC command line fit one screen line | 188 | # Make the GCC command line fit one screen line |
| 189 | /^[ ][ ]*\$(C_SWITCH_X_SYSTEM)/d | 189 | /^[ ][ ]*\$(GNUSTEP_CFLAGS)/d |
| 190 | /^[ ][ ]*\$(GCONF_CFLAGS)/d | 190 | /^[ ][ ]*\$(GCONF_CFLAGS)/d |
| 191 | /^[ ][ ]*\$(LIBGNUTLS_CFLAGS)/d | 191 | /^[ ][ ]*\$(LIBGNUTLS_CFLAGS)/d |
| 192 | s/\$(LIBOTF_CFLAGS) \$(M17N_FLT_CFLAGS) \$(DEPFLAGS) // | 192 | s/\$(LIBOTF_CFLAGS) \$(M17N_FLT_CFLAGS) \$(DEPFLAGS) // |
diff --git a/msdos/sedlibmk.inp b/msdos/sedlibmk.inp index e13464a9b88..1bb622b29e8 100644 --- a/msdos/sedlibmk.inp +++ b/msdos/sedlibmk.inp | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | # Configuration script for lib/Makefile under DJGPP v2.x | 2 | # Configuration script for lib/Makefile under DJGPP v2.x |
| 3 | # ---------------------------------------------------------------------- | 3 | # ---------------------------------------------------------------------- |
| 4 | # | 4 | # |
| 5 | # Copyright (C) 2011-2012 Free Software Foundation, Inc. | 5 | # Copyright (C) 2011-2012 Free Software Foundation, Inc. |
| 6 | # | 6 | # |
| 7 | # This file is part of GNU Emacs. | 7 | # This file is part of GNU Emacs. |
| 8 | # | 8 | # |
| @@ -124,7 +124,7 @@ am__cd = cd | |||
| 124 | /^CYGWIN_OBJ *=/s/@[^@\n]*@// | 124 | /^CYGWIN_OBJ *=/s/@[^@\n]*@// |
| 125 | /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@// | 125 | /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@// |
| 126 | /^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@// | 126 | /^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@// |
| 127 | /^C_SWITCH_X_SYSTEM *=/s/@C_SWITCH_X_SYSTEM@// | 127 | /^GNUSTEP_CFLAGS *=/s/@GNUSTEP_CFLAGS@// |
| 128 | /^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@// | 128 | /^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@// |
| 129 | /^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@// | 129 | /^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@// |
| 130 | /^DEFS *=/s/@[^@\n]*@/-DHAVE_CONFIG_H/ | 130 | /^DEFS *=/s/@[^@\n]*@/-DHAVE_CONFIG_H/ |
diff --git a/oldXMenu/ChangeLog b/oldXMenu/ChangeLog index 1d3091c6bb4..5b86ccec21e 100644 --- a/oldXMenu/ChangeLog +++ b/oldXMenu/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-04-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (C_SWITCH_X_SYSTEM): Remove. | ||
| 4 | (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM. | ||
| 5 | |||
| 1 | 2011-04-16 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2011-04-16 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | Static checks with GCC 4.6.0 and non-default toolkits. | 8 | Static checks with GCC 4.6.0 and non-default toolkits. |
| @@ -615,7 +620,7 @@ | |||
| 615 | ;; coding: utf-8 | 620 | ;; coding: utf-8 |
| 616 | ;; End: | 621 | ;; End: |
| 617 | 622 | ||
| 618 | Copyright (C) 1993-1999, 2001-2012 Free Software Foundation, Inc. | 623 | Copyright (C) 1993-1999, 2001-2012 Free Software Foundation, Inc. |
| 619 | 624 | ||
| 620 | This file is part of GNU Emacs. | 625 | This file is part of GNU Emacs. |
| 621 | 626 | ||
diff --git a/oldXMenu/Makefile.in b/oldXMenu/Makefile.in index 94c49fb9966..f7258d541d5 100644 --- a/oldXMenu/Makefile.in +++ b/oldXMenu/Makefile.in | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | ## without express or implied warranty. | 15 | ## without express or implied warranty. |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | ## Copyright (C) 2001-2012 Free Software Foundation, Inc. | 18 | ## Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 19 | 19 | ||
| 20 | ## This program is free software: you can redistribute it and/or modify | 20 | ## This program is free software: you can redistribute it and/or modify |
| 21 | ## it under the terms of the GNU General Public License as published by | 21 | ## it under the terms of the GNU General Public License as published by |
| @@ -45,7 +45,6 @@ | |||
| 45 | srcdir=@srcdir@ | 45 | srcdir=@srcdir@ |
| 46 | VPATH=@srcdir@ | 46 | VPATH=@srcdir@ |
| 47 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | 47 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
| 48 | C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@ | ||
| 49 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ | 48 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ |
| 50 | C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ | 49 | C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ |
| 51 | C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@ | 50 | C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@ |
| @@ -88,7 +87,7 @@ OBJS = Activate.o \ | |||
| 88 | all:: libXMenu11.a | 87 | all:: libXMenu11.a |
| 89 | 88 | ||
| 90 | ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \ | 89 | ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \ |
| 91 | $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) \ | 90 | $(C_SWITCH_X_SITE) \ |
| 92 | ${C_WARNINGS_SWITCH} ${PROFILING_CFLAGS} \ | 91 | ${C_WARNINGS_SWITCH} ${PROFILING_CFLAGS} \ |
| 93 | $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \ | 92 | $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \ |
| 94 | -I../src -I${srcdir} -I${srcdir}/../src | 93 | -I../src -I${srcdir} -I${srcdir}/../src |
diff --git a/src/ChangeLog b/src/ChangeLog index 18b53c58fbc..81eea170da1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-04-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM. | ||
| 4 | |||
| 1 | 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * alloc.c (lisp_align_malloc): Remove unneeded prototype. | 7 | * alloc.c (lisp_align_malloc): Remove unneeded prototype. |
| @@ -9738,7 +9742,7 @@ See ChangeLog.11 for earlier changes. | |||
| 9738 | ;; coding: utf-8 | 9742 | ;; coding: utf-8 |
| 9739 | ;; End: | 9743 | ;; End: |
| 9740 | 9744 | ||
| 9741 | Copyright (C) 2011-2012 Free Software Foundation, Inc. | 9745 | Copyright (C) 2011-2012 Free Software Foundation, Inc. |
| 9742 | 9746 | ||
| 9743 | This file is part of GNU Emacs. | 9747 | This file is part of GNU Emacs. |
| 9744 | 9748 | ||
diff --git a/src/Makefile.in b/src/Makefile.in index a90fd5841e4..bb9afa866af 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -75,16 +75,13 @@ C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ | |||
| 75 | ## System-specific CFLAGS. | 75 | ## System-specific CFLAGS. |
| 76 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ | 76 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ |
| 77 | 77 | ||
| 78 | ## Currently only set if NS_IMPL_GNUSTEP. | 78 | GNUSTEP_CFLAGS=@GNUSTEP_CFLAGS@ |
| 79 | ## C_SWITCH_X_SITE may override this. | ||
| 80 | C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@ | ||
| 81 | 79 | ||
| 82 | ## Define C_SWITCH_X_SITE to contain any special flags your compiler | 80 | ## Define C_SWITCH_X_SITE to contain any special flags your compiler |
| 83 | ## may need to deal with X Windows. For instance, if you've defined | 81 | ## may need to deal with X Windows. For instance, if you've defined |
| 84 | ## HAVE_X_WINDOWS and your X include files aren't in a place that your | 82 | ## HAVE_X_WINDOWS and your X include files aren't in a place that your |
| 85 | ## compiler can find on its own, you might want to add "-I/..." or | 83 | ## compiler can find on its own, you might want to add "-I/..." or |
| 86 | ## something similar. This is normally set by configure. | 84 | ## something similar. This is normally set by configure. |
| 87 | ## This is used before C_SWITCH_X_SYSTEM and may override it. | ||
| 88 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | 85 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
| 89 | 86 | ||
| 90 | ## Define LD_SWITCH_X_SITE to contain any special flags your loader | 87 | ## Define LD_SWITCH_X_SITE to contain any special flags your loader |
| @@ -302,14 +299,11 @@ MKDEPDIR=@MKDEPDIR@ | |||
| 302 | ## -DHAVE_CONFIG_H is needed for some other files to take advantage of | 299 | ## -DHAVE_CONFIG_H is needed for some other files to take advantage of |
| 303 | ## the information in `config.h'. | 300 | ## the information in `config.h'. |
| 304 | ## | 301 | ## |
| 305 | ## C_SWITCH_X_SITE must come before C_SWITCH_X_SYSTEM | ||
| 306 | ## since it may have -I options that should override those. | ||
| 307 | ## | ||
| 308 | ## FIXME? MYCPPFLAGS only referenced in etc/DEBUG. | 302 | ## FIXME? MYCPPFLAGS only referenced in etc/DEBUG. |
| 309 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I$(srcdir) \ | 303 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I$(srcdir) \ |
| 310 | -I$(lib) -I$(srcdir)/../lib \ | 304 | -I$(lib) -I$(srcdir)/../lib \ |
| 311 | $(C_SWITCH_MACHINE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \ | 305 | $(C_SWITCH_MACHINE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \ |
| 312 | $(C_SWITCH_X_SYSTEM) $(CFLAGS_SOUND) $(RSVG_CFLAGS) $(IMAGEMAGICK_CFLAGS) \ | 306 | $(GNUSTEP_CFLAGS) $(CFLAGS_SOUND) $(RSVG_CFLAGS) $(IMAGEMAGICK_CFLAGS) \ |
| 313 | $(LIBXML2_CFLAGS) $(DBUS_CFLAGS) \ | 307 | $(LIBXML2_CFLAGS) $(DBUS_CFLAGS) \ |
| 314 | $(SETTINGS_CFLAGS) $(FREETYPE_CFLAGS) $(FONTCONFIG_CFLAGS) \ | 308 | $(SETTINGS_CFLAGS) $(FREETYPE_CFLAGS) $(FONTCONFIG_CFLAGS) \ |
| 315 | $(LIBOTF_CFLAGS) $(M17N_FLT_CFLAGS) $(DEPFLAGS) $(PROFILING_CFLAGS) \ | 309 | $(LIBOTF_CFLAGS) $(M17N_FLT_CFLAGS) $(DEPFLAGS) $(PROFILING_CFLAGS) \ |