mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-15 16:11:42 +00:00
improve test for gnustep make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@29032 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4d887dfa4f
commit
1527fa6232
2 changed files with 14 additions and 0 deletions
9
configure
vendored
9
configure
vendored
|
@ -1353,6 +1353,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|||
ac_config_headers="$ac_config_headers config.h"
|
||||
|
||||
|
||||
if test -z "$GNUSTEP_MAKEFILES"; then
|
||||
GNUSTEP_MAKEFILES=`gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null`
|
||||
export GNUSTEP_MAKEFILES
|
||||
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
|
||||
echo "$as_me: 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!" >&2;}
|
||||
|
@ -1405,6 +1410,10 @@ if test "$postgres_topdir" != "no"; then
|
|||
LIBD="$LIBD -L$postgres_topdir/lib"
|
||||
fi
|
||||
|
||||
# Call AC_CHECK_HEADERS here as a workaround for a configure bug/feature
|
||||
# which messes up all subsequent tests if the first occurrence in the
|
||||
# file does not get called ... as would otherwise be the case if jdbc
|
||||
# support is disabled.
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
|
|
|
@ -3,6 +3,11 @@ dnl Process this file with autoconf to produce configure.
|
|||
AC_INIT(SQLClient.h)
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
if test -z "$GNUSTEP_MAKEFILES"; then
|
||||
GNUSTEP_MAKEFILES=`gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null`
|
||||
export GNUSTEP_MAKEFILES
|
||||
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!])
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue