mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-24 01:11:01 +00:00
* Source/Makefile.postamble: Use DESTDIR over obsolete INSTALL_ROOT_DIR
* configure.ac, config/objc-con-autoload.m4, config/procfs.m4: Some improvements for cross-compiling. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25754 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b42dbad341
commit
f897a58a81
6 changed files with 2831 additions and 1402 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-12-17 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/Makefile.postamble: Use DESTDIR over obsolete INSTALL_ROOT_DIR
|
||||
* configure.ac, config/objc-con-autoload.m4, config/procfs.m4: Some
|
||||
improvements for cross-compiling.
|
||||
|
||||
2007-12-15 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSKeyValueObserving.m (-keyPathChanged:): Correct
|
||||
|
|
|
@ -57,7 +57,7 @@ after-install::
|
|||
$(MKDIRS) $(GNUSTEP_HEADERS)/$(GNUSTEP_TARGET_DIR)/GNUstepBase
|
||||
$(INSTALL_DATA) $(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h \
|
||||
$(GNUSTEP_HEADERS)/$(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h
|
||||
if [ "$(INSTALL_ROOT_DIR)" = "" ]; then \
|
||||
if [ "$(DESTDIR)" = "" ]; then \
|
||||
services=/etc/services; \
|
||||
if [ "`$(WHOAMI)`" != root ]; then \
|
||||
echo "WARNING: Please add the following lines to $$services"; \
|
||||
|
|
|
@ -32,6 +32,7 @@ AC_TRY_RUN([static int loaded = 0;
|
|||
objc_cv_con_autoload=no)
|
||||
case "$target_os" in
|
||||
cygwin*) objc_cv_con_autoload=yes;;
|
||||
mingw*) objc_cv_con_autoload=yes;;
|
||||
esac
|
||||
])
|
||||
if test $objc_cv_con_autoload = yes; then
|
||||
|
|
|
@ -31,11 +31,14 @@ AC_DEFUN(AC_SYS_PROCFS,
|
|||
cygwin*) ac_cv_sys_procfs=yes;;
|
||||
esac
|
||||
elif test "$enable_procfs" = cross; then
|
||||
AC_MSG_WARN(Pass --enable-procfs argument to enable use of /proc filesystem.)
|
||||
ac_cv_sys_procfs=no
|
||||
else
|
||||
ac_cv_sys_procfs=no
|
||||
fi])
|
||||
|
||||
if test "$enable_procfs" = cross; then
|
||||
AC_MSG_WARN(Cross-compiling: Pass --enable-procfs argument to enable use of /proc filesystem.)
|
||||
fi
|
||||
if test $ac_cv_sys_procfs = yes; then
|
||||
AC_DEFINE(HAVE_PROCFS, 1, [Define if system supports the /proc filesystem])
|
||||
fi
|
||||
|
@ -56,11 +59,14 @@ AC_DEFUN(AC_SYS_PROCFS_PSINFO,
|
|||
ac_cv_sys_procfs_psinfo=yes, ac_cv_sys_procfs_psinfo=no,
|
||||
ac_cv_sys_procfs_psinfo=yes)
|
||||
elif test "$enable_procfs" = cross; then
|
||||
AC_MSG_WARN(Pass --enable-procfs-psinfo argument to enable use of /proc psinfo information.)
|
||||
ac_cv_sys_procfs_psinfo=no
|
||||
else
|
||||
ac_cv_sys_procfs_psinfo=no
|
||||
fi])
|
||||
|
||||
if test "$enable_procfs" = cross; then
|
||||
AC_MSG_WARN(Cross-compiling: Pass --enable-procfs-psinfo argument to enable use of /proc psinfo information.)
|
||||
fi
|
||||
if test $ac_cv_sys_procfs_psinfo = yes; then
|
||||
AC_DEFINE(HAVE_PROCFS_PSINFO, 1, [Define if system supports reading psinfo from /proc])
|
||||
fi
|
||||
|
|
11
configure.ac
11
configure.ac
|
@ -1459,7 +1459,9 @@ AC_CHECK_FUNCS(mmap)
|
|||
# These functions needed by NSTask.m
|
||||
#--------------------------------------------------------------------
|
||||
AC_CHECK_FUNCS(killpg setpgrp setpgid)
|
||||
AC_FUNC_SETPGRP
|
||||
if test "x$ac_cv_func_setpgrp" = xyes; then
|
||||
AC_FUNC_SETPGRP
|
||||
fi
|
||||
|
||||
HAVE_PTS_STREAM_MODULES=0
|
||||
case "${target}" in
|
||||
|
@ -1899,6 +1901,11 @@ elif test $enable_ffcall = yes; then
|
|||
if test $ffi_ok = yes; then
|
||||
AC_MSG_RESULT(ffcall)
|
||||
fi
|
||||
else
|
||||
ffi_ok=no
|
||||
fi
|
||||
|
||||
if test $enable_ffcall = yes -a $ffi_ok = yes; then
|
||||
AC_MSG_CHECKING(if ffcall trampolines work)
|
||||
AC_RUN_IFELSE([#include "$srcdir/config/config.trampoline.c"],
|
||||
have_working_trampoline=yes, have_working_trampoline=no,
|
||||
|
@ -1907,8 +1914,6 @@ elif test $enable_ffcall = yes; then
|
|||
if test $have_working_trampoline = no; then
|
||||
ffi_ok=no
|
||||
fi
|
||||
else
|
||||
ffi_ok=no
|
||||
fi
|
||||
|
||||
if test $ffi_ok = no; then
|
||||
|
|
Loading…
Reference in a new issue