mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Moved --with-config-file=xxx option to gnustep-make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21800 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0d8d221bd0
commit
d87e0f0e23
3 changed files with 24 additions and 28 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2005-10-12 Nicola Pero <n.pero@mi.flashnet.it>
|
||||||
|
|
||||||
|
* configure.ac (config_file): Get the location of the
|
||||||
|
configuration file from gnustep-make rather than from a
|
||||||
|
--with-config-file option. Everything works exactly as before,
|
||||||
|
but the --with-config-file option was moved to gnustep-make.
|
||||||
|
* configure: Regenerated.
|
||||||
|
|
||||||
2005-10-12 Richard Frith-Macdonald <rfm@gnu.org>
|
2005-10-12 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSPathUtilities.m: Remove backward compatibility hacks for
|
* Source/NSPathUtilities.m: Remove backward compatibility hacks for
|
||||||
|
|
26
configure
vendored
26
configure
vendored
|
@ -871,7 +871,6 @@ Optional Packages:
|
||||||
--with-gmp-library=PATH library path for gmp libraries
|
--with-gmp-library=PATH library path for gmp libraries
|
||||||
--with-openssl-include=PATH include path for openssl headers
|
--with-openssl-include=PATH include path for openssl headers
|
||||||
--with-openssl-library=PATH library path for openssl libraries
|
--with-openssl-library=PATH library path for openssl libraries
|
||||||
--with-config-file=PATH path to GNUstep configuration file
|
|
||||||
|
|
||||||
Some influential environment variables:
|
Some influential environment variables:
|
||||||
CC C compiler command
|
CC C compiler command
|
||||||
|
@ -15777,22 +15776,15 @@ subdirs="$subdirs Source/mframe SSL"
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Configuration and Misc Options
|
# Configuration and Misc Options
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
echo "$as_me:$LINENO: checking for location of GNUstep configuration file" >&5
|
||||||
# Check whether --with-config-file or --without-config-file was given.
|
echo $ECHO_N "checking for location of GNUstep configuration file... $ECHO_C" >&6
|
||||||
if test "${with_config_file+set}" = set; then
|
#
|
||||||
withval="$with_config_file"
|
# Get them from gnustep-make which contains the real code to get them
|
||||||
config_file="$withval"
|
#
|
||||||
else
|
config_file=$(grep GNUSTEP_CONFIG_FILE $GNUSTEP_MAKEFILES/$obj_dir/config.make | sed -e 's/GNUSTEP_CONFIG_FILE = //')
|
||||||
config_file="no"
|
#
|
||||||
fi;
|
echo "$as_me:$LINENO: result: $config_file" >&5
|
||||||
|
echo "${ECHO_T}$config_file" >&6
|
||||||
if test $config_file = no; then
|
|
||||||
case "$target_os" in
|
|
||||||
freebsd* | openbsd* ) config_file=/usr/etc/GNUstep.conf ;;
|
|
||||||
netbsd* ) config_file=/usr/pkg/etc ;;
|
|
||||||
*) config_file=/etc/GNUstep/GNUstep.conf;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
#define GNUSTEP_CONFIGURATION_FILE $config_file
|
#define GNUSTEP_CONFIGURATION_FILE $config_file
|
||||||
|
|
18
configure.ac
18
configure.ac
|
@ -1290,17 +1290,13 @@ AC_CONFIG_SUBDIRS(Source/mframe SSL)
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Configuration and Misc Options
|
# Configuration and Misc Options
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
AC_ARG_WITH(config-file,
|
AC_MSG_CHECKING(for location of GNUstep configuration file)
|
||||||
[ --with-config-file=PATH path to GNUstep configuration file],
|
#
|
||||||
config_file="$withval", config_file="no")
|
# Get them from gnustep-make which contains the real code to get them
|
||||||
|
#
|
||||||
if test $config_file = no; then
|
config_file=$(grep GNUSTEP_CONFIG_FILE $GNUSTEP_MAKEFILES/$obj_dir/config.make | sed -e 's/GNUSTEP_CONFIG_FILE = //')
|
||||||
case "$target_os" in
|
#
|
||||||
freebsd* | openbsd* ) config_file=/usr/etc/GNUstep.conf ;;
|
AC_MSG_RESULT($config_file)
|
||||||
netbsd* ) config_file=/usr/pkg/etc ;;
|
|
||||||
*) config_file=/etc/GNUstep/GNUstep.conf;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
AC_DEFINE_UNQUOTED(GNUSTEP_CONFIGURATION_FILE, $config_file,
|
AC_DEFINE_UNQUOTED(GNUSTEP_CONFIGURATION_FILE, $config_file,
|
||||||
[Set to location of the GNUstep configuration file])
|
[Set to location of the GNUstep configuration file])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue