Fixes to allow run configure from a different directory

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12160 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-01-21 17:15:52 +00:00
parent 7cf3a657c2
commit bd27a08c52

View file

@ -332,7 +332,7 @@ case "${target_os}" in
esac
saved_CFLAGS="$CFLAGS"
saved_LIBS="$LIBS"
CFLAGS="$CFLAGS -x objective-c"
CFLAGS="$CFLAGS -x objective-c -I$srcdir"
if test "$OBJC_RUNTIME_LIB" = "nx"; then
CFLAGS="$CFLAGS -DNeXT_RUNTIME"
fi
@ -423,7 +423,7 @@ AC_SUBST(AUTO_DEPENDENCIES)
# Record the version
#--------------------------------------------------------------------
AC_MSG_CHECKING(for the version of gnustep-make we are compiling)
. ./Version
. "$srcdir/Version"
AC_MSG_RESULT($GNUSTEP_MAKE_VERSION)
DATE=`date +"%Y%m%d"`
AC_SUBST(GNUSTEP_MAKE_VERSION)