diff options
| author | Dan Nicolaescu | 2008-08-07 14:21:43 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-08-07 14:21:43 +0000 |
| commit | 48fad8e894ded19e7c207d118cae0dbc0edffe88 (patch) | |
| tree | 5ffa202f0ab55cdbb858eee6c1e804e2c08571c1 | |
| parent | bc53d5446c3526d9abad0f4b3d319f2c9adb772d (diff) | |
| download | emacs-48fad8e894ded19e7c207d118cae0dbc0edffe88.tar.gz emacs-48fad8e894ded19e7c207d118cae0dbc0edffe88.zip | |
* s/darwin.h (OTHER_FILES): Do not define here, defined in
config.in.
* Makefile.in (ALL_OBJC_CFLAGS): New variable.
(.m.o): Use it.
* config.in: Regenerate.
* Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES. Do
not special case for NS_IMPL_COCOA.
* configure.in (LIB_SRC_EXTRA_INSTALLABLES): New variable.
AC_SUBST it.
(GNU_OBJC_CFLAGS): Define as a shell variable instead of #define.
AC_SUBST it.
(OTHER_FILES): Always define for HAVE_NS.
(C_SWITCH_X_SYSTEM): Don't define as empty for NS_IMPL_COCOA.
* configure: Regenerate.
| -rw-r--r-- | ChangeLog | 10 | ||||
| -rwxr-xr-x | configure | 33 | ||||
| -rw-r--r-- | configure.in | 15 | ||||
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 7 | ||||
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/Makefile.in | 4 | ||||
| -rw-r--r-- | src/config.in | 10 | ||||
| -rw-r--r-- | src/s/darwin.h | 1 |
9 files changed, 57 insertions, 37 deletions
| @@ -1,3 +1,13 @@ | |||
| 1 | 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * configure.in (LIB_SRC_EXTRA_INSTALLABLES): New variable. | ||
| 4 | AC_SUBST it. | ||
| 5 | (GNU_OBJC_CFLAGS): Define as a shell variable instead of #define. | ||
| 6 | AC_SUBST it. | ||
| 7 | (OTHER_FILES): Always define for HAVE_NS. | ||
| 8 | (C_SWITCH_X_SYSTEM): Don't define as empty for NS_IMPL_COCOA. | ||
| 9 | * configure: Regenerate. | ||
| 10 | |||
| 1 | 2008-08-07 Andreas Schwab <schwab@suse.de> | 11 | 2008-08-07 Andreas Schwab <schwab@suse.de> |
| 2 | 12 | ||
| 3 | * configure.in: Correctly handle | 13 | * configure.in: Correctly handle |
| @@ -738,6 +738,8 @@ ns_appbindir | |||
| 738 | ns_appresdir | 738 | ns_appresdir |
| 739 | ns_appsrc | 739 | ns_appsrc |
| 740 | GNUSTEP_MAKEFILES | 740 | GNUSTEP_MAKEFILES |
| 741 | GNU_OBJC_CFLAGS | ||
| 742 | LIB_SRC_EXTRA_INSTALLABLES | ||
| 741 | LTLIBOBJS' | 743 | LTLIBOBJS' |
| 742 | ac_subst_files='' | 744 | ac_subst_files='' |
| 743 | ac_precious_vars='build_alias | 745 | ac_precious_vars='build_alias |
| @@ -14881,6 +14883,8 @@ cat >>confdefs.h <<\_ACEOF | |||
| 14881 | #define NS_IMPL_COCOA 1 | 14883 | #define NS_IMPL_COCOA 1 |
| 14882 | _ACEOF | 14884 | _ACEOF |
| 14883 | 14885 | ||
| 14886 | GNU_OBJC_CFLAGS= | ||
| 14887 | LIB_SRC_EXTRA_INSTALLABLES=mac-fix-env | ||
| 14884 | fi | 14888 | fi |
| 14885 | if test "${EN_COCOA_EXPERIMENTAL_CTRL_G}" = "yes"; then | 14889 | if test "${EN_COCOA_EXPERIMENTAL_CTRL_G}" = "yes"; then |
| 14886 | 14890 | ||
| @@ -14895,6 +14899,7 @@ cat >>confdefs.h <<\_ACEOF | |||
| 14895 | #define NS_IMPL_GNUSTEP 1 | 14899 | #define NS_IMPL_GNUSTEP 1 |
| 14896 | _ACEOF | 14900 | _ACEOF |
| 14897 | 14901 | ||
| 14902 | GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" | ||
| 14898 | fi | 14903 | fi |
| 14899 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then | 14904 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
| 14900 | 14905 | ||
| @@ -16653,7 +16658,6 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 16653 | # endif | 16658 | # endif |
| 16654 | #endif | 16659 | #endif |
| 16655 | 16660 | ||
| 16656 | #include <limits.h> | ||
| 16657 | #include <stdlib.h> | 16661 | #include <stdlib.h> |
| 16658 | 16662 | ||
| 16659 | #ifdef HAVE_UNISTD_H | 16663 | #ifdef HAVE_UNISTD_H |
| @@ -16802,15 +16806,12 @@ main () | |||
| 16802 | isn't worth using anyway. */ | 16806 | isn't worth using anyway. */ |
| 16803 | alarm (60); | 16807 | alarm (60); |
| 16804 | 16808 | ||
| 16805 | for (;;) | 16809 | for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) |
| 16806 | { | 16810 | continue; |
| 16807 | t = (time_t_max << 1) + 1; | 16811 | time_t_max--; |
| 16808 | if (t <= time_t_max) | 16812 | if ((time_t) -1 < 0) |
| 16809 | break; | 16813 | for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2) |
| 16810 | time_t_max = t; | 16814 | continue; |
| 16811 | } | ||
| 16812 | time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max; | ||
| 16813 | |||
| 16814 | delta = time_t_max / 997; /* a suitable prime number */ | 16815 | delta = time_t_max / 997; /* a suitable prime number */ |
| 16815 | for (i = 0; i < N_STRINGS; i++) | 16816 | for (i = 0; i < N_STRINGS; i++) |
| 16816 | { | 16817 | { |
| @@ -16825,12 +16826,10 @@ main () | |||
| 16825 | && mktime_test ((time_t) (60 * 60 * 24)))) | 16826 | && mktime_test ((time_t) (60 * 60 * 24)))) |
| 16826 | return 1; | 16827 | return 1; |
| 16827 | 16828 | ||
| 16828 | for (j = 1; ; j <<= 1) | 16829 | for (j = 1; 0 < j; j *= 2) |
| 16829 | if (! bigtime_test (j)) | 16830 | if (! bigtime_test (j)) |
| 16830 | return 1; | 16831 | return 1; |
| 16831 | else if (INT_MAX / 2 < j) | 16832 | if (! bigtime_test (j - 1)) |
| 16832 | break; | ||
| 16833 | if (! bigtime_test (INT_MAX)) | ||
| 16834 | return 1; | 16833 | return 1; |
| 16835 | } | 16834 | } |
| 16836 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | 16835 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |
| @@ -24134,6 +24133,8 @@ fi | |||
| 24134 | 24133 | ||
| 24135 | 24134 | ||
| 24136 | 24135 | ||
| 24136 | |||
| 24137 | |||
| 24137 | cat >>confdefs.h <<_ACEOF | 24138 | cat >>confdefs.h <<_ACEOF |
| 24138 | #define EMACS_CONFIGURATION "${canonical}" | 24139 | #define EMACS_CONFIGURATION "${canonical}" |
| 24139 | _ACEOF | 24140 | _ACEOF |
| @@ -25165,10 +25166,12 @@ ns_appbindir!$ns_appbindir$ac_delim | |||
| 25165 | ns_appresdir!$ns_appresdir$ac_delim | 25166 | ns_appresdir!$ns_appresdir$ac_delim |
| 25166 | ns_appsrc!$ns_appsrc$ac_delim | 25167 | ns_appsrc!$ns_appsrc$ac_delim |
| 25167 | GNUSTEP_MAKEFILES!$GNUSTEP_MAKEFILES$ac_delim | 25168 | GNUSTEP_MAKEFILES!$GNUSTEP_MAKEFILES$ac_delim |
| 25169 | GNU_OBJC_CFLAGS!$GNU_OBJC_CFLAGS$ac_delim | ||
| 25170 | LIB_SRC_EXTRA_INSTALLABLES!$LIB_SRC_EXTRA_INSTALLABLES$ac_delim | ||
| 25168 | LTLIBOBJS!$LTLIBOBJS$ac_delim | 25171 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
| 25169 | _ACEOF | 25172 | _ACEOF |
| 25170 | 25173 | ||
| 25171 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 26; then | 25174 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 28; then |
| 25172 | break | 25175 | break |
| 25173 | elif $ac_last_try; then | 25176 | elif $ac_last_try; then |
| 25174 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 25177 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
diff --git a/configure.in b/configure.in index 55b3d3d286a..e6b5ea338e2 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -2049,12 +2049,15 @@ if test "${HAVE_NS}" = "yes"; then | |||
| 2049 | AC_DEFINE(HAVE_NS, 1, [Define to 1 if you are using the NeXTstep API, either GNUstep or Cocoa on Mac OS X.]) | 2049 | AC_DEFINE(HAVE_NS, 1, [Define to 1 if you are using the NeXTstep API, either GNUstep or Cocoa on Mac OS X.]) |
| 2050 | if test "${NS_IMPL_COCOA}" = "yes"; then | 2050 | if test "${NS_IMPL_COCOA}" = "yes"; then |
| 2051 | AC_DEFINE(NS_IMPL_COCOA, 1, [Define to 1 if you are using NS windowing under MacOS X.]) | 2051 | AC_DEFINE(NS_IMPL_COCOA, 1, [Define to 1 if you are using NS windowing under MacOS X.]) |
| 2052 | GNU_OBJC_CFLAGS= | ||
| 2053 | LIB_SRC_EXTRA_INSTALLABLES=mac-fix-env | ||
| 2052 | fi | 2054 | fi |
| 2053 | if test "${EN_COCOA_EXPERIMENTAL_CTRL_G}" = "yes"; then | 2055 | if test "${EN_COCOA_EXPERIMENTAL_CTRL_G}" = "yes"; then |
| 2054 | AC_DEFINE(COCOA_EXPERIMENTAL_CTRL_G, 1, [Define to 1 if you are trying experimental enhanced Ctrl-g support using NS windowing under MacOS X.]) | 2056 | AC_DEFINE(COCOA_EXPERIMENTAL_CTRL_G, 1, [Define to 1 if you are trying experimental enhanced Ctrl-g support using NS windowing under MacOS X.]) |
| 2055 | fi | 2057 | fi |
| 2056 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then | 2058 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then |
| 2057 | AC_DEFINE(NS_IMPL_GNUSTEP, 1, [Define to 1 if you are using NS windowing under GNUstep.]) | 2059 | AC_DEFINE(NS_IMPL_GNUSTEP, 1, [Define to 1 if you are using NS windowing under GNUstep.]) |
| 2060 | GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" | ||
| 2058 | fi | 2061 | fi |
| 2059 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then | 2062 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
| 2060 | AC_DEFINE(NS_HAVE_NSINTEGER, 1, [Define to 1 if `NSInteger' is defined.]) | 2063 | AC_DEFINE(NS_HAVE_NSINTEGER, 1, [Define to 1 if `NSInteger' is defined.]) |
| @@ -2464,6 +2467,8 @@ AC_SUBST(ns_appbindir) | |||
| 2464 | AC_SUBST(ns_appresdir) | 2467 | AC_SUBST(ns_appresdir) |
| 2465 | AC_SUBST(ns_appsrc) | 2468 | AC_SUBST(ns_appsrc) |
| 2466 | AC_SUBST(GNUSTEP_MAKEFILES) | 2469 | AC_SUBST(GNUSTEP_MAKEFILES) |
| 2470 | AC_SUBST(GNU_OBJC_CFLAGS) | ||
| 2471 | AC_SUBST(LIB_SRC_EXTRA_INSTALLABLES) | ||
| 2467 | 2472 | ||
| 2468 | AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}", | 2473 | AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}", |
| 2469 | [Define to the canonical Emacs configuration name.]) | 2474 | [Define to the canonical Emacs configuration name.]) |
| @@ -2607,18 +2612,14 @@ AH_BOTTOM([ | |||
| 2607 | side does this in s/darwin.h and we cannot | 2612 | side does this in s/darwin.h and we cannot |
| 2608 | parallel this exactly since GNUstep is multi-OS. */ | 2613 | parallel this exactly since GNUstep is multi-OS. */ |
| 2609 | #ifdef HAVE_NS | 2614 | #ifdef HAVE_NS |
| 2615 | #define OTHER_FILES ns-app | ||
| 2610 | # ifdef NS_IMPL_GNUSTEP | 2616 | # ifdef NS_IMPL_GNUSTEP |
| 2611 | /* See also .m.o rule in Makefile.in */ | 2617 | /* See also .m.o rule in Makefile.in */ |
| 2612 | # define C_SWITCH_X_SYSTEM -D_REENTRANT -fPIC -fno-strict-aliasing | 2618 | # define C_SWITCH_X_SYSTEM -D_REENTRANT -fPIC -fno-strict-aliasing |
| 2613 | # define GNU_OBJC_CFLAGS -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE | 2619 | # endif /* NS_IMPL_GNUSTEP */ |
| 2614 | # define OTHER_FILES ns-app | ||
| 2615 | # else /* NS_IMPL_COCOA */ | ||
| 2616 | # define C_SWITCH_X_SYSTEM | ||
| 2617 | # define GNU_OBJC_CFLAGS | ||
| 2618 | # endif /* NS_IMPL_COCOA */ | ||
| 2619 | #endif /* HAVE_NS */ | 2620 | #endif /* HAVE_NS */ |
| 2620 | 2621 | ||
| 2621 | /* Define `subprocesses' should be defined if you want to | 2622 | /* `subprocesses' should be defined if you want to |
| 2622 | have code for asynchronous subprocesses | 2623 | have code for asynchronous subprocesses |
| 2623 | (as used in M-x compile and M-x shell). | 2624 | (as used in M-x compile and M-x shell). |
| 2624 | Only MSDOS does not support this. */ | 2625 | Only MSDOS does not support this. */ |
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 48a50a5fb43..34e9df8289b 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES. Do | ||
| 4 | not special case for NS_IMPL_COCOA. | ||
| 5 | |||
| 1 | 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com> | 6 | 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2 | 7 | ||
| 3 | * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA. | 8 | * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA. |
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 70bb8111c02..d9964518ffe 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -105,7 +105,7 @@ INSTALL_STRIP = | |||
| 105 | 105 | ||
| 106 | # Things that a user might actually run, | 106 | # Things that a user might actually run, |
| 107 | # which should be installed in bindir. | 107 | # which should be installed in bindir. |
| 108 | INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} b2m${EXEEXT} ebrowse${EXEEXT} | 108 | INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} b2m${EXEEXT} ebrowse${EXEEXT} @LIB_SRC_EXTRA_INSTALLABLES@ |
| 109 | INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog | 109 | INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog |
| 110 | 110 | ||
| 111 | # Things that Emacs runs internally, or during the build process, | 111 | # Things that Emacs runs internally, or during the build process, |
| @@ -144,11 +144,6 @@ MOVE_FLAGS= | |||
| 144 | #define NOT_C_CODE | 144 | #define NOT_C_CODE |
| 145 | #include "../src/config.h" | 145 | #include "../src/config.h" |
| 146 | 146 | ||
| 147 | #if defined(NS_IMPL_COCOA) | ||
| 148 | /* Add mac-fix-env for OS X systems running NS version. */ | ||
| 149 | INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} b2m${EXEEXT} ebrowse${EXEEXT} mac-fix-env${EXEEXT} | ||
| 150 | #endif | ||
| 151 | |||
| 152 | /* Some s/SYSTEM.h files define this to request special libraries. */ | 147 | /* Some s/SYSTEM.h files define this to request special libraries. */ |
| 153 | #ifndef LIBS_SYSTEM | 148 | #ifndef LIBS_SYSTEM |
| 154 | #define LIBS_SYSTEM | 149 | #define LIBS_SYSTEM |
diff --git a/src/ChangeLog b/src/ChangeLog index d1bd1e3b488..4544bf0b841 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * s/darwin.h (OTHER_FILES): Do not define here, defined in | ||
| 4 | config.in. | ||
| 5 | |||
| 6 | * Makefile.in (ALL_OBJC_CFLAGS): New variable. | ||
| 7 | (.m.o): Use it. | ||
| 8 | * config.in: Regenerate. | ||
| 9 | |||
| 1 | 2008-08-07 Chong Yidong <cyd@stupidchicken.com> | 10 | 2008-08-07 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 11 | ||
| 3 | * xdisp.c (redisplay_window): Revert last change. | 12 | * xdisp.c (redisplay_window): Revert last change. |
diff --git a/src/Makefile.in b/src/Makefile.in index 3a12c7e2e95..a17a5acc221 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -254,11 +254,13 @@ DBUS_OBJ = dbusbind.o | |||
| 254 | /* C_SWITCH_X_SITE must come before C_SWITCH_X_MACHINE and C_SWITCH_X_SYSTEM | 254 | /* C_SWITCH_X_SITE must come before C_SWITCH_X_MACHINE and C_SWITCH_X_SYSTEM |
| 255 | since it may have -I options that should override those two. */ | 255 | since it may have -I options that should override those two. */ |
| 256 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} C_SWITCH_MACHINE C_SWITCH_SYSTEM C_SWITCH_X_SITE C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM C_SWITCH_SYSTEM_TEMACS ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${DBUS_CFLAGS} ${CFLAGS} @FREETYPE_CFLAGS@ @FONTCONFIG_CFLAGS@ @LIBOTF_CFLAGS@ @M17N_FLT_CFLAGS@ | 256 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} C_SWITCH_MACHINE C_SWITCH_SYSTEM C_SWITCH_X_SITE C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM C_SWITCH_SYSTEM_TEMACS ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${DBUS_CFLAGS} ${CFLAGS} @FREETYPE_CFLAGS@ @FONTCONFIG_CFLAGS@ @LIBOTF_CFLAGS@ @M17N_FLT_CFLAGS@ |
| 257 | ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@ | ||
| 258 | |||
| 257 | .SUFFIXES: .m | 259 | .SUFFIXES: .m |
| 258 | .c.o: | 260 | .c.o: |
| 259 | $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< | 261 | $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< |
| 260 | .m.o: | 262 | .m.o: |
| 261 | $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) GNU_OBJC_CFLAGS $< | 263 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< |
| 262 | 264 | ||
| 263 | #ifndef LIBX11_SYSTEM | 265 | #ifndef LIBX11_SYSTEM |
| 264 | #define LIBX11_SYSTEM | 266 | #define LIBX11_SYSTEM |
diff --git a/src/config.in b/src/config.in index ffa4688462e..1b10aa399cc 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -1039,18 +1039,14 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1039 | side does this in s/darwin.h and we cannot | 1039 | side does this in s/darwin.h and we cannot |
| 1040 | parallel this exactly since GNUstep is multi-OS. */ | 1040 | parallel this exactly since GNUstep is multi-OS. */ |
| 1041 | #ifdef HAVE_NS | 1041 | #ifdef HAVE_NS |
| 1042 | #define OTHER_FILES ns-app | ||
| 1042 | # ifdef NS_IMPL_GNUSTEP | 1043 | # ifdef NS_IMPL_GNUSTEP |
| 1043 | /* See also .m.o rule in Makefile.in */ | 1044 | /* See also .m.o rule in Makefile.in */ |
| 1044 | # define C_SWITCH_X_SYSTEM -D_REENTRANT -fPIC -fno-strict-aliasing | 1045 | # define C_SWITCH_X_SYSTEM -D_REENTRANT -fPIC -fno-strict-aliasing |
| 1045 | # define GNU_OBJC_CFLAGS -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE | 1046 | # endif /* NS_IMPL_GNUSTEP */ |
| 1046 | # define OTHER_FILES ns-app | ||
| 1047 | # else /* NS_IMPL_COCOA */ | ||
| 1048 | # define C_SWITCH_X_SYSTEM | ||
| 1049 | # define GNU_OBJC_CFLAGS | ||
| 1050 | # endif /* NS_IMPL_COCOA */ | ||
| 1051 | #endif /* HAVE_NS */ | 1047 | #endif /* HAVE_NS */ |
| 1052 | 1048 | ||
| 1053 | /* Define `subprocesses' should be defined if you want to | 1049 | /* `subprocesses' should be defined if you want to |
| 1054 | have code for asynchronous subprocesses | 1050 | have code for asynchronous subprocesses |
| 1055 | (as used in M-x compile and M-x shell). | 1051 | (as used in M-x compile and M-x shell). |
| 1056 | Only MSDOS does not support this. */ | 1052 | Only MSDOS does not support this. */ |
diff --git a/src/s/darwin.h b/src/s/darwin.h index 4dcf8bb5fdd..068531df146 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -154,7 +154,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 154 | /* Definitions for how to compile & link. */ | 154 | /* Definitions for how to compile & link. */ |
| 155 | 155 | ||
| 156 | #ifdef HAVE_NS | 156 | #ifdef HAVE_NS |
| 157 | #define OTHER_FILES ns-app | ||
| 158 | /* XXX: lresolv is here because configure when testing #undefs res_init, | 157 | /* XXX: lresolv is here because configure when testing #undefs res_init, |
| 159 | a macro in /usr/include/resolv.h for res_9_init, not in stdc lib. */ | 158 | a macro in /usr/include/resolv.h for res_9_init, not in stdc lib. */ |
| 160 | #define LIBS_NSGUI -framework AppKit -lresolv | 159 | #define LIBS_NSGUI -framework AppKit -lresolv |