From: Glenn Morris Date: Fri, 24 Oct 2008 04:26:53 +0000 (+0000) Subject: Yavor Doganov (tiny change) X-Git-Tag: emacs-pretest-23.0.90~2209 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ef913c89bc8ba93058d2493c1068bd0fe595bf25;p=emacs.git Yavor Doganov (tiny change) Use `.' instead of `source' to source GNUstep.conf. Exit with an error if `--with-ns' was specified but is not found. (Bug#1230) --- diff --git a/ChangeLog b/ChangeLog index 9fbaeb8d803..19459ac6c5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-24 Yavor Doganov (tiny change) + + * configure.in: Use `.' instead of `source' to source GNUstep.conf. + Exit with an error if `--with-ns' was specified but + is not found. (Bug#1230) + 2008-10-23 Ali Bahrami (tiny change) * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h. diff --git a/configure.in b/configure.in index 8e3c8e998ca..e01d9be3132 100644 --- a/configure.in +++ b/configure.in @@ -1239,15 +1239,17 @@ if test "${with_ns}" != no; then ns_appbindir=`pwd`/nextstep/Emacs.app ns_appresdir=`pwd`/nextstep/Emacs.app/Resources ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base - GNUSTEP_MAKEFILES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_MAKEFILES)" - GNUSTEP_SYSTEM_HEADERS="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_HEADERS)" - GNUSTEP_SYSTEM_LIBRARIES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_LIBRARIES)" + GNUSTEP_MAKEFILES="$(. /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_MAKEFILES)" + GNUSTEP_SYSTEM_HEADERS="$(. /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_HEADERS)" + GNUSTEP_SYSTEM_LIBRARIES="$(. /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_LIBRARIES)" CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" fi - AC_CHECK_HEADER(AppKit/AppKit.h, HAVE_NS=yes) + AC_CHECK_HEADER([AppKit/AppKit.h], [HAVE_NS=yes], + [AC_MSG_ERROR([`--with-ns' was specified, but the include + files are missing or cannot be compiled.])]) NS_HAVE_NSINTEGER=yes AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ], [NSInteger i;])],