aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.in
diff options
context:
space:
mode:
authorDan Nicolaescu <[email protected]>2008-08-07 14:21:43 +0000
committerDan Nicolaescu <[email protected]>2008-08-07 14:21:43 +0000
commit48fad8e894ded19e7c207d118cae0dbc0edffe88 (patch)
tree5ffa202f0ab55cdbb858eee6c1e804e2c08571c1 /src/config.in
parentbc53d5446c3526d9abad0f4b3d319f2c9adb772d (diff)
* 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.
Diffstat (limited to 'src/config.in')
-rw-r--r--src/config.in10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/config.in b/src/config.in
index ffa4688462..1b10aa399c 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/>. */
side does this in s/darwin.h and we cannot
parallel this exactly since GNUstep is multi-OS. */
#ifdef HAVE_NS
+#define OTHER_FILES ns-app
# ifdef NS_IMPL_GNUSTEP
/* See also .m.o rule in Makefile.in */
# define C_SWITCH_X_SYSTEM -D_REENTRANT -fPIC -fno-strict-aliasing
-# 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
-# define OTHER_FILES ns-app
-# else /* NS_IMPL_COCOA */
-# define C_SWITCH_X_SYSTEM
-# define GNU_OBJC_CFLAGS
-# endif /* NS_IMPL_COCOA */
+# endif /* NS_IMPL_GNUSTEP */
#endif /* HAVE_NS */
-/* Define `subprocesses' should be defined if you want to
+/* `subprocesses' should be defined if you want to
have code for asynchronous subprocesses
(as used in M-x compile and M-x shell).
Only MSDOS does not support this. */