]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.in: (C_SWITCH_X_SYSTEM): Enable GNUstep to find its headers.
authorGlenn Morris <rgm@gnu.org>
Thu, 15 Sep 2011 03:01:25 +0000 (20:01 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 15 Sep 2011 03:01:25 +0000 (20:01 -0700)
ChangeLog
configure.in

index 880b8c35167f43eded05e943c084f0ab6f45d64f..abaa7c6eb886109cdaf8f4c8b24db6a2400006b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * configure.in: Make configure work with recent GNUsteps.
        (_NATIVE_OBJC_EXCEPTIONS): New AC_DEFINE.
        (GNU_OBJC_CFLAGS): Add -fobjc-exceptions when needed.
+       (C_SWITCH_X_SYSTEM): Enable GNUstep to find its headers.
 
 2011-09-11  Paul Eggert  <eggert@cs.ucla.edu>
 
index cfc0413747088af8aeafe03f857d4a7f18f00c4f..63b80e40466c931bcffce485b3b37e2425c52fc8 100644 (file)
@@ -2582,7 +2582,7 @@ if test "${HAVE_NS}" = "yes"; then
     AC_DEFINE(NS_IMPL_GNUSTEP, 1, [Define to 1 if you are using NS windowing under GNUstep.])
     # See also .m.o rule in Makefile.in */
     # FIXME: are all these flags really needed?  Document here why.  */
-    C_SWITCH_X_SYSTEM="-D_REENTRANT -fPIC -fno-strict-aliasing"
+    C_SWITCH_X_SYSTEM="-D_REENTRANT -fPIC -fno-strict-aliasing -I${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}"
     ## Extra CFLAGS applied to src/*.m files.
     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"
   fi