mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-16 00:21:39 +00:00
Check for gnustep make being installed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@22084 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
29de615f8b
commit
67b9859bc8
2 changed files with 20 additions and 0 deletions
11
configure
vendored
11
configure
vendored
|
@ -1294,6 +1294,17 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|||
ac_config_headers="$ac_config_headers config.h"
|
||||
|
||||
|
||||
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;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
||||
# Fetch basic path information from config file.
|
||||
GNUSTEP_CONFIG_FILE=`grep '^GNUSTEP_CONFIG_FILE *=' $GNUSTEP_MAKEFILES/config.make | sed -e 's/GNUSTEP_CONFIG_FILE *= *\(.*\)/\1/'`
|
||||
. "$GNUSTEP_CONFIG_FILE"
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
# Check whether --with-additional-include or --without-additional-include was given.
|
||||
if test "${with_additional_include+set}" = set; then
|
||||
|
|
|
@ -3,6 +3,15 @@ dnl Process this file with autoconf to produce configure.
|
|||
AC_INIT(SQLClient.h)
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
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
|
||||
|
||||
# Fetch basic path information from config file.
|
||||
GNUSTEP_CONFIG_FILE=`grep '^GNUSTEP_CONFIG_FILE *=' $GNUSTEP_MAKEFILES/config.make | sed -e 's/GNUSTEP_CONFIG_FILE *= *\(.*\)/\1/'`
|
||||
. "$GNUSTEP_CONFIG_FILE"
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
AC_ARG_WITH(additional-include,
|
||||
[ --with-additional-include=flags specify additional include dirs to use],
|
||||
additional_include="$withval", additional_include="no")
|
||||
|
|
Loading…
Reference in a new issue