Mercurial > emacs
comparison configure.in @ 99101:438a7c275cf3
Yavor Doganov <yavor at gnu.org> (tiny change)
Use `.' instead of `source' to source GNUstep.conf.
Exit with an error if `--with-ns' was specified but <AppKit/AppKit.h>
is not found. (Bug#1230)
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 24 Oct 2008 04:26:44 +0000 |
parents | adf0c683dda2 |
children | 756a5e092d58 |
comparison
equal
deleted
inserted
replaced
99100:bdf3b24112a2 | 99101:438a7c275cf3 |
---|---|
1237 NS_IMPL_GNUSTEP=yes | 1237 NS_IMPL_GNUSTEP=yes |
1238 ns_appdir=`pwd`/nextstep/Emacs.app | 1238 ns_appdir=`pwd`/nextstep/Emacs.app |
1239 ns_appbindir=`pwd`/nextstep/Emacs.app | 1239 ns_appbindir=`pwd`/nextstep/Emacs.app |
1240 ns_appresdir=`pwd`/nextstep/Emacs.app/Resources | 1240 ns_appresdir=`pwd`/nextstep/Emacs.app/Resources |
1241 ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base | 1241 ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base |
1242 GNUSTEP_MAKEFILES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_MAKEFILES)" | 1242 GNUSTEP_MAKEFILES="$(. /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_MAKEFILES)" |
1243 GNUSTEP_SYSTEM_HEADERS="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_HEADERS)" | 1243 GNUSTEP_SYSTEM_HEADERS="$(. /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_HEADERS)" |
1244 GNUSTEP_SYSTEM_LIBRARIES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_LIBRARIES)" | 1244 GNUSTEP_SYSTEM_LIBRARIES="$(. /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_LIBRARIES)" |
1245 CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 1245 CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
1246 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 1246 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
1247 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 1247 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
1248 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" | 1248 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" |
1249 fi | 1249 fi |
1250 AC_CHECK_HEADER(AppKit/AppKit.h, HAVE_NS=yes) | 1250 AC_CHECK_HEADER([AppKit/AppKit.h], [HAVE_NS=yes], |
1251 [AC_MSG_ERROR([`--with-ns' was specified, but the include | |
1252 files are missing or cannot be compiled.])]) | |
1251 NS_HAVE_NSINTEGER=yes | 1253 NS_HAVE_NSINTEGER=yes |
1252 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <Foundation/NSObjCRuntime.h>], | 1254 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <Foundation/NSObjCRuntime.h>], |
1253 [NSInteger i;])], | 1255 [NSInteger i;])], |
1254 ns_have_nsinteger=yes, | 1256 ns_have_nsinteger=yes, |
1255 ns_have_nsinteger=no) | 1257 ns_have_nsinteger=no) |