Test that GNUSTEP_SYSTEM_ROOT is defined, and use gnustep-make's config.guess

and config.sub scripts so that we have to keep up-to-date only a single copy


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12065 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-01-09 14:25:59 +00:00
parent 9d57c7272d
commit 9b9d3be238

View file

@ -25,6 +25,18 @@
AC_INIT(Source/NSApplication.m)
if test -z "$GNUSTEP_SYSTEM_ROOT"; then
{
echo "ERROR: You must run the GNUstep initialization script before configuring the gui library!" 1>&2;
exit 1;
}
fi
#--------------------------------------------------------------------
# Use config.guess, config.sub and install.sh provided by gnustep-make
#--------------------------------------------------------------------
AC_CONFIG_AUX_DIR($GNUSTEP_SYSTEM_ROOT/Makefiles)
AC_CONFIG_HEADER(Headers/gnustep/gui/config.h)
#--------------------------------------------------------------------