Use gnustep-config to remove need for setting GNUSTEP_MAKEFILES

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24721 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2007-02-28 07:16:05 +00:00
parent b500982050
commit 8bed12ad9f
3 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-02-28 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Use gnustep-config to set GNUSTEP_MAKEFILES
if not set.
* configure: Regenerated.
2007-02-27 Fred Kiefer <FredKiefer@gmx.de>
* Panels/GSPrintPanel,

5
configure vendored
View file

@ -1316,6 +1316,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# If GNUSTEP_MAKEFILES is undefined, try to use gnustep-config to determine it.
if test -z "$GNUSTEP_MAKEFILES"; then
GNUSTEP_MAKEFILES=`gnustep-config --variable=GNUSTEP_MAKEFILES 2>&5`
fi
if test -z "$GNUSTEP_MAKEFILES"; then
{ { echo "$as_me:$LINENO: error: You must have the gnustep-make package installed and set up the GNUSTEP_MAKEFILES environment variable to contain the path to the makefiles directory before configuring!" >&5

View file

@ -25,6 +25,11 @@
AC_INIT
AC_CONFIG_SRCDIR([Source/NSApplication.m])
# If GNUSTEP_MAKEFILES is undefined, try to use gnustep-config to determine it.
if test -z "$GNUSTEP_MAKEFILES"; then
GNUSTEP_MAKEFILES=`gnustep-config --variable=GNUSTEP_MAKEFILES 2>&5`
fi
if test -z "$GNUSTEP_MAKEFILES"; then
AC_MSG_ERROR([You must have the gnustep-make package installed and set up the GNUSTEP_MAKEFILES environment variable to contain the path to the makefiles directory before configuring!])
fi