mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 17:12:03 +00:00
Update config/build stuff from stable branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27396 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
10b95b75a7
commit
4b1d1caac8
6 changed files with 104 additions and 77 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,12 @@
|
||||||
|
2008-12-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* config.mak.in:
|
||||||
|
* configure:
|
||||||
|
* Makefile.postamble:
|
||||||
|
* configure.ac:
|
||||||
|
* GNUmakefile:
|
||||||
|
Update from stable branch.
|
||||||
|
|
||||||
2008-12-21 Adam Fedor <fedor@gnu.org>
|
2008-12-21 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Update documentation for version 1.18.0
|
* Update documentation for version 1.18.0
|
||||||
|
@ -8,7 +17,8 @@
|
||||||
added PACKAGE_NAME=gnustep-base.
|
added PACKAGE_NAME=gnustep-base.
|
||||||
* GNUmakefile: Export PACKAGE_NAME to reduce chances of a problem
|
* GNUmakefile: Export PACKAGE_NAME to reduce chances of a problem
|
||||||
if a GNUmakefile in a subdirectory is missing it.
|
if a GNUmakefile in a subdirectory is missing it.
|
||||||
* Tools/make_strings/GNUmakefile: Do not set PACKAGE_NAME to make_strings.
|
* Tools/make_strings/GNUmakefile: Do not set PACKAGE_NAME to
|
||||||
|
make_strings.
|
||||||
* Testing/synctest/GNUmakefile: Do not set PACKAGE_NAME to Synctest.
|
* Testing/synctest/GNUmakefile: Do not set PACKAGE_NAME to Synctest.
|
||||||
|
|
||||||
2008-12-19 Richard Frith-Macdonald <rfm@gnu.org>
|
2008-12-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
16
GNUmakefile
16
GNUmakefile
|
@ -31,12 +31,19 @@ ifeq ($(GNUSTEP_MAKEFILES),)
|
||||||
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
-include config.mak
|
||||||
|
ifeq ($(GNUSTEP_INSTALLATION_DOMAIN),)
|
||||||
|
GNUSTEP_INSTALLATION_DOMAIN := LOCAL
|
||||||
|
endif
|
||||||
|
ifeq ($(GNUSTEP_BASE_DOMAIN),)
|
||||||
|
GNUSTEP_BASE_DOMAIN := LOCAL
|
||||||
|
endif
|
||||||
|
|
||||||
|
GNUSTEP_CORE_SOFTWARE = YES
|
||||||
|
export GNUSTEP_CORE_SOFTWARE
|
||||||
RPM_DISABLE_RELOCATABLE = YES
|
RPM_DISABLE_RELOCATABLE = YES
|
||||||
PACKAGE_NEEDS_CONFIGURE = YES
|
PACKAGE_NEEDS_CONFIGURE = YES
|
||||||
|
|
||||||
PACKAGE_NAME = gnustep-base
|
|
||||||
export PACKAGE_NAME
|
|
||||||
|
|
||||||
SVN_MODULE_NAME = base
|
SVN_MODULE_NAME = base
|
||||||
SVN_BASE_URL = svn+ssh://svn.gna.org/svn/gnustep/libs
|
SVN_BASE_URL = svn+ssh://svn.gna.org/svn/gnustep/libs
|
||||||
|
|
||||||
|
@ -49,6 +56,9 @@ include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
||||||
include ./Version
|
include ./Version
|
||||||
|
|
||||||
|
PACKAGE_NAME = gnustep-base
|
||||||
|
export PACKAGE_NAME
|
||||||
|
|
||||||
#
|
#
|
||||||
# The list of subproject directories
|
# The list of subproject directories
|
||||||
#
|
#
|
||||||
|
|
|
@ -33,7 +33,11 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Things to do before compiling
|
# Things to do before compiling
|
||||||
# before-all::
|
before-all::
|
||||||
|
if [ $(GNUSTEP_BASE_DOMAIN) != $(GNUSTEP_INSTALLATION_DOMAIN) ]; \
|
||||||
|
then \
|
||||||
|
GNUSTEP_INSTALLATION_DOMAIN=$(GNUSTEP_INSTALLATION_DOMAIN) ./config.status --recheck; \
|
||||||
|
fi
|
||||||
|
|
||||||
# Things to do after compiling
|
# Things to do after compiling
|
||||||
# after-all::
|
# after-all::
|
||||||
|
|
|
@ -31,6 +31,7 @@ endif
|
||||||
|
|
||||||
GNUSTEP_BASE_HAVE_LIBXML=@HAVE_LIBXML@
|
GNUSTEP_BASE_HAVE_LIBXML=@HAVE_LIBXML@
|
||||||
GNUSTEP_BASE_HAVE_GNUTLS=@HAVE_GNUTLS@
|
GNUSTEP_BASE_HAVE_GNUTLS=@HAVE_GNUTLS@
|
||||||
|
GNUSTEP_BASE_DOMAIN=@GNUSTEP_BASE_DOMAIN@
|
||||||
|
|
||||||
# Default to building only -baseadd
|
# Default to building only -baseadd
|
||||||
# on non *-gnu-* library combos
|
# on non *-gnu-* library combos
|
||||||
|
|
30
configure
vendored
30
configure
vendored
|
@ -662,6 +662,7 @@ target
|
||||||
target_cpu
|
target_cpu
|
||||||
target_vendor
|
target_vendor
|
||||||
target_os
|
target_os
|
||||||
|
GNUSTEP_BASE_DOMAIN
|
||||||
CC
|
CC
|
||||||
CFLAGS
|
CFLAGS
|
||||||
LDFLAGS
|
LDFLAGS
|
||||||
|
@ -1396,9 +1397,10 @@ Optional Packages:
|
||||||
is found at runtime. If this is not specified
|
is found at runtime. If this is not specified
|
||||||
then the path from --with-config-file or from
|
then the path from --with-config-file or from
|
||||||
the gnustep-make package is used.
|
the gnustep-make package is used.
|
||||||
--with-installation-domain=DOMAIN (Mingw32-only option) Specify the domain (SYSTEM, LOCAL, NETWORK
|
--with-installation-domain=DOMAIN
|
||||||
|
Specify the domain (SYSTEM, LOCAL, NETWORK
|
||||||
or USER) into which gnustep-base will be installed. This is
|
or USER) into which gnustep-base will be installed. This is
|
||||||
necessary on Microsoft Windows (mingw) because relative paths
|
necessary whenever because relative paths
|
||||||
are hardcoded into gnustep-base. If this is not specified, LOCAL
|
are hardcoded into gnustep-base. If this is not specified, LOCAL
|
||||||
is used. Please make sure this matches the DOMAIN where
|
is used. Please make sure this matches the DOMAIN where
|
||||||
you will be installing gnustep-base to prevent problems
|
you will be installing gnustep-base to prevent problems
|
||||||
|
@ -2313,16 +2315,6 @@ if test x"$GNUSTEP_USER_DIR_DOC" = x""; then GNUSTEP_USER_DIR_DOC=$GNUSTEP_USER_
|
||||||
if test x"$GNUSTEP_USER_DIR_DOC_MAN" = x""; then GNUSTEP_USER_DIR_DOC_MAN=$GNUSTEP_USER_DIR/Documentation/man; fi
|
if test x"$GNUSTEP_USER_DIR_DOC_MAN" = x""; then GNUSTEP_USER_DIR_DOC_MAN=$GNUSTEP_USER_DIR/Documentation/man; fi
|
||||||
if test x"$GNUSTEP_USER_DIR_DOC_INFO" = x""; then GNUSTEP_USER_DIR_DOC_INFO=$GNUSTEP_USER_DIR/Documentation/info; fi
|
if test x"$GNUSTEP_USER_DIR_DOC_INFO" = x""; then GNUSTEP_USER_DIR_DOC_INFO=$GNUSTEP_USER_DIR/Documentation/info; fi
|
||||||
|
|
||||||
#
|
|
||||||
# If we are on mingw, we now want to convert the paths to relative
|
|
||||||
# paths (relative to libgnustep-base.dll).
|
|
||||||
#
|
|
||||||
# TODO: To do it properly, we ought to allow the user to configure
|
|
||||||
# the installation domain at configure time! This assumes we always
|
|
||||||
# install into System.
|
|
||||||
#
|
|
||||||
case "$target_os" in
|
|
||||||
mingw*)
|
|
||||||
{ echo "$as_me:$LINENO: checking for GNUstep-base installation domain" >&5
|
{ echo "$as_me:$LINENO: checking for GNUstep-base installation domain" >&5
|
||||||
echo $ECHO_N "checking for GNUstep-base installation domain... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for GNUstep-base installation domain... $ECHO_C" >&6; }
|
||||||
|
|
||||||
|
@ -2354,9 +2346,18 @@ echo "${ECHO_T}USER" >&6; }
|
||||||
*)
|
*)
|
||||||
{ echo "$as_me:$LINENO: result: none specified => using LOCAL" >&5
|
{ echo "$as_me:$LINENO: result: none specified => using LOCAL" >&5
|
||||||
echo "${ECHO_T}none specified => using LOCAL" >&6; }
|
echo "${ECHO_T}none specified => using LOCAL" >&6; }
|
||||||
|
result=LOCAL;
|
||||||
GNUSTEP_BASE_PATH="$GNUSTEP_LOCAL_TOOLS";;
|
GNUSTEP_BASE_PATH="$GNUSTEP_LOCAL_TOOLS";;
|
||||||
esac
|
esac
|
||||||
|
GNUSTEP_BASE_DOMAIN=$result
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# If we are on mingw, we now want to convert the paths to relative
|
||||||
|
# paths (relative to libgnustep-base.dll).
|
||||||
|
#
|
||||||
|
case "$target_os" in
|
||||||
|
mingw*)
|
||||||
# TODO: Improve this hack.
|
# TODO: Improve this hack.
|
||||||
# According to Wikipedia, this is the default for Windows 2000,
|
# According to Wikipedia, this is the default for Windows 2000,
|
||||||
# Windows XP and Windows Server 2003. For Windows Vista this will
|
# Windows XP and Windows Server 2003. For Windows Vista this will
|
||||||
|
@ -20350,6 +20351,7 @@ target!$target$ac_delim
|
||||||
target_cpu!$target_cpu$ac_delim
|
target_cpu!$target_cpu$ac_delim
|
||||||
target_vendor!$target_vendor$ac_delim
|
target_vendor!$target_vendor$ac_delim
|
||||||
target_os!$target_os$ac_delim
|
target_os!$target_os$ac_delim
|
||||||
|
GNUSTEP_BASE_DOMAIN!$GNUSTEP_BASE_DOMAIN$ac_delim
|
||||||
CC!$CC$ac_delim
|
CC!$CC$ac_delim
|
||||||
CFLAGS!$CFLAGS$ac_delim
|
CFLAGS!$CFLAGS$ac_delim
|
||||||
LDFLAGS!$LDFLAGS$ac_delim
|
LDFLAGS!$LDFLAGS$ac_delim
|
||||||
|
@ -20397,7 +20399,6 @@ HAVE_PTHREAD_H!$HAVE_PTHREAD_H$ac_delim
|
||||||
HAVE_PTS_STREAM_MODULES!$HAVE_PTS_STREAM_MODULES$ac_delim
|
HAVE_PTS_STREAM_MODULES!$HAVE_PTS_STREAM_MODULES$ac_delim
|
||||||
INCLUDE_STDINT!$INCLUDE_STDINT$ac_delim
|
INCLUDE_STDINT!$INCLUDE_STDINT$ac_delim
|
||||||
DEFINE_INT8_T!$DEFINE_INT8_T$ac_delim
|
DEFINE_INT8_T!$DEFINE_INT8_T$ac_delim
|
||||||
DEFINE_UINT8_T!$DEFINE_UINT8_T$ac_delim
|
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
||||||
|
@ -20439,6 +20440,7 @@ _ACEOF
|
||||||
ac_delim='%!_!# '
|
ac_delim='%!_!# '
|
||||||
for ac_last_try in false false false false false :; do
|
for ac_last_try in false false false false false :; do
|
||||||
cat >conf$$subs.sed <<_ACEOF
|
cat >conf$$subs.sed <<_ACEOF
|
||||||
|
DEFINE_UINT8_T!$DEFINE_UINT8_T$ac_delim
|
||||||
DEFINE_INT16_T!$DEFINE_INT16_T$ac_delim
|
DEFINE_INT16_T!$DEFINE_INT16_T$ac_delim
|
||||||
DEFINE_UINT16_T!$DEFINE_UINT16_T$ac_delim
|
DEFINE_UINT16_T!$DEFINE_UINT16_T$ac_delim
|
||||||
DEFINE_INT32_T!$DEFINE_INT32_T$ac_delim
|
DEFINE_INT32_T!$DEFINE_INT32_T$ac_delim
|
||||||
|
@ -20477,7 +20479,7 @@ LIBOBJS!$LIBOBJS$ac_delim
|
||||||
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
|
||||||
break
|
break
|
||||||
elif $ac_last_try; then
|
elif $ac_last_try; then
|
||||||
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
||||||
|
|
24
configure.ac
24
configure.ac
|
@ -350,21 +350,12 @@ if test x"$GNUSTEP_USER_DIR_DOC" = x""; then GNUSTEP_USER_DIR_DOC=$GNUSTEP_USER_
|
||||||
if test x"$GNUSTEP_USER_DIR_DOC_MAN" = x""; then GNUSTEP_USER_DIR_DOC_MAN=$GNUSTEP_USER_DIR/Documentation/man; fi
|
if test x"$GNUSTEP_USER_DIR_DOC_MAN" = x""; then GNUSTEP_USER_DIR_DOC_MAN=$GNUSTEP_USER_DIR/Documentation/man; fi
|
||||||
if test x"$GNUSTEP_USER_DIR_DOC_INFO" = x""; then GNUSTEP_USER_DIR_DOC_INFO=$GNUSTEP_USER_DIR/Documentation/info; fi
|
if test x"$GNUSTEP_USER_DIR_DOC_INFO" = x""; then GNUSTEP_USER_DIR_DOC_INFO=$GNUSTEP_USER_DIR/Documentation/info; fi
|
||||||
|
|
||||||
#
|
|
||||||
# If we are on mingw, we now want to convert the paths to relative
|
|
||||||
# paths (relative to libgnustep-base.dll).
|
|
||||||
#
|
|
||||||
# TODO: To do it properly, we ought to allow the user to configure
|
|
||||||
# the installation domain at configure time! This assumes we always
|
|
||||||
# install into System.
|
|
||||||
#
|
|
||||||
case "$target_os" in
|
|
||||||
mingw*)
|
|
||||||
AC_MSG_CHECKING([for GNUstep-base installation domain])
|
AC_MSG_CHECKING([for GNUstep-base installation domain])
|
||||||
AC_ARG_WITH(installation-domain,
|
AC_ARG_WITH(installation-domain,
|
||||||
[ --with-installation-domain=DOMAIN (Mingw32-only option) Specify the domain (SYSTEM, LOCAL, NETWORK
|
[ --with-installation-domain=DOMAIN
|
||||||
|
Specify the domain (SYSTEM, LOCAL, NETWORK
|
||||||
or USER) into which gnustep-base will be installed. This is
|
or USER) into which gnustep-base will be installed. This is
|
||||||
necessary on Microsoft Windows (mingw) because relative paths
|
necessary whenever because relative paths
|
||||||
are hardcoded into gnustep-base. If this is not specified, LOCAL
|
are hardcoded into gnustep-base. If this is not specified, LOCAL
|
||||||
is used. Please make sure this matches the DOMAIN where
|
is used. Please make sure this matches the DOMAIN where
|
||||||
you will be installing gnustep-base to prevent problems
|
you will be installing gnustep-base to prevent problems
|
||||||
|
@ -387,9 +378,18 @@ case "$target_os" in
|
||||||
GNUSTEP_BASE_PATH="$GNUSTEP_USER_TOOLS";;
|
GNUSTEP_BASE_PATH="$GNUSTEP_USER_TOOLS";;
|
||||||
*)
|
*)
|
||||||
AC_MSG_RESULT([none specified => using LOCAL])
|
AC_MSG_RESULT([none specified => using LOCAL])
|
||||||
|
result=LOCAL;
|
||||||
GNUSTEP_BASE_PATH="$GNUSTEP_LOCAL_TOOLS";;
|
GNUSTEP_BASE_PATH="$GNUSTEP_LOCAL_TOOLS";;
|
||||||
esac
|
esac
|
||||||
|
GNUSTEP_BASE_DOMAIN=$result
|
||||||
|
AC_SUBST(GNUSTEP_BASE_DOMAIN)
|
||||||
|
|
||||||
|
#
|
||||||
|
# If we are on mingw, we now want to convert the paths to relative
|
||||||
|
# paths (relative to libgnustep-base.dll).
|
||||||
|
#
|
||||||
|
case "$target_os" in
|
||||||
|
mingw*)
|
||||||
# TODO: Improve this hack.
|
# TODO: Improve this hack.
|
||||||
# According to Wikipedia, this is the default for Windows 2000,
|
# According to Wikipedia, this is the default for Windows 2000,
|
||||||
# Windows XP and Windows Server 2003. For Windows Vista this will
|
# Windows XP and Windows Server 2003. For Windows Vista this will
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue