mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Updated reading default gnustep config file from make system
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23550 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
eeaff4c215
commit
2976d058cd
3 changed files with 39 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2006-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* configure.ac (GNUSTEP_MAKE_CONFIG): Get this config from
|
||||
config-noarch.make (requires gnustep-make > 1.13.0). If failing,
|
||||
fall back to taking it from $GNUSTEP_MAKEFILES/config.make as it
|
||||
was done before (works with gnustep-make < 1.13.0 only though).
|
||||
* configure: Regenerated.
|
||||
|
||||
2006-09-13 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Additions/GSXML.m: Add hack to recognize apple plist info
|
||||
|
|
16
configure
vendored
16
configure
vendored
|
@ -1988,7 +1988,21 @@ test -n "$target_alias" &&
|
|||
{ echo "$as_me:$LINENO: checking for GNUstep configuration file to use" >&5
|
||||
echo $ECHO_N "checking for GNUstep configuration file to use... $ECHO_C" >&6; }
|
||||
GNUSTEP_CONFIG_FILE=""
|
||||
GNUSTEP_MAKE_CONFIG=`grep '^GNUSTEP_CONFIG_FILE *=' $GNUSTEP_MAKEFILES/config.make | sed -e 's/GNUSTEP_CONFIG_FILE *= *\(.*\)/\1/'`
|
||||
|
||||
# This requires gnustep-make > 1.13.0 to work. For gnustep-make =
|
||||
# 1.13.0 we would have to parse
|
||||
# $GNUSTEP_MAKEFILES/$obj_dir/config.make, but $obj_dir is not defined
|
||||
# yet at this stage in config, not sure if it's worth trying to make
|
||||
# it work. For gnustep-make < 1.13.0 we would have to parse
|
||||
# $GNUSTEP_MAKEFILES/config.make.
|
||||
GNUSTEP_MAKE_CONFIG=`grep '^GNUSTEP_CONFIG_FILE *=' $GNUSTEP_MAKEFILES/config-noarch.make | sed -e 's/GNUSTEP_CONFIG_FILE *= *\(.*\)/\1/'`
|
||||
|
||||
# So, for backwards compatiblity, we try the plain config.make too.
|
||||
# This should work with gnustep-make < 1.13.0, and with 1.13.0 too if
|
||||
# they haven't deleted the file.
|
||||
if test "$GNUSTEP_MAKE_CONFIG" = ""; then
|
||||
GNUSTEP_MAKE_CONFIG=`grep '^GNUSTEP_CONFIG_FILE *=' $GNUSTEP_MAKEFILES/config.make | sed -e 's/GNUSTEP_CONFIG_FILE *= *\(.*\)/\1/'`
|
||||
fi
|
||||
|
||||
# Check whether --with-config-file was given.
|
||||
if test "${with_config_file+set}" = set; then
|
||||
|
|
17
configure.ac
17
configure.ac
|
@ -56,7 +56,22 @@ AC_CANONICAL_TARGET([])
|
|||
#---------------------------------------------------------------------
|
||||
AC_MSG_CHECKING([for GNUstep configuration file to use])
|
||||
GNUSTEP_CONFIG_FILE=""
|
||||
GNUSTEP_MAKE_CONFIG=`grep '^GNUSTEP_CONFIG_FILE *=' $GNUSTEP_MAKEFILES/config.make | sed -e 's/GNUSTEP_CONFIG_FILE *= *\(.*\)/\1/'`
|
||||
|
||||
# This requires gnustep-make > 1.13.0 to work. For gnustep-make =
|
||||
# 1.13.0 we would have to parse
|
||||
# $GNUSTEP_MAKEFILES/$obj_dir/config.make, but $obj_dir is not defined
|
||||
# yet at this stage in config, not sure if it's worth trying to make
|
||||
# it work. For gnustep-make < 1.13.0 we would have to parse
|
||||
# $GNUSTEP_MAKEFILES/config.make.
|
||||
GNUSTEP_MAKE_CONFIG=`grep '^GNUSTEP_CONFIG_FILE *=' $GNUSTEP_MAKEFILES/config-noarch.make | sed -e 's/GNUSTEP_CONFIG_FILE *= *\(.*\)/\1/'`
|
||||
|
||||
# So, for backwards compatiblity, we try the plain config.make too.
|
||||
# This should work with gnustep-make < 1.13.0, and with 1.13.0 too if
|
||||
# they haven't deleted the file.
|
||||
if test "$GNUSTEP_MAKE_CONFIG" = ""; then
|
||||
GNUSTEP_MAKE_CONFIG=`grep '^GNUSTEP_CONFIG_FILE *=' $GNUSTEP_MAKEFILES/config.make | sed -e 's/GNUSTEP_CONFIG_FILE *= *\(.*\)/\1/'`
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(config-file,
|
||||
[ --with-config-file=PATH Specify path to the GNUstep config file.
|
||||
This is the location to be used by the base
|
||||
|
|
Loading…
Reference in a new issue