* configure.ac: Check for objc-gnu in the GNUstep libraries dir.

* Instance/bundle.make: Always link againt all libs on darwin.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@22188 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2005-12-20 16:39:33 +00:00
parent c817b62092
commit 488a9e55f4
4 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2005-12-20 Adam Fedor <fedor@gnu.org>
* configure.ac: Check for objc-gnu in the GNUstep libraries dir.
* Instance/bundle.make: Always link againt all libs on darwin.
2005-12-20 Adam Fedor <fedor@gnu.org>
* configure.ac: Don't strip -g from CFLAGS. Someone might want it

View file

@ -64,9 +64,9 @@ ifeq ($(BUILD_DLL), yes)
LINK_BUNDLE_AGAINST_ALL_LIBS = yes
endif
# On Apple, two-level namespaces require all symbols in bundles
# to be resolved at link time.
ifeq ($(FOUNDATION_LIB), apple)
# On Darwin, two-level namespaces require all symbols in bundles
# to be resolved at link time. Do this even if we don't think we need it.
ifeq ($(findstring darwin, $(GNUSTEP_TARGET_OS)), darwin)
LINK_BUNDLE_AGAINST_ALL_LIBS = yes
endif

2
configure vendored
View file

@ -3715,7 +3715,7 @@ if test "${gs_cv_objc_libdir+set}" = set; then
else
gs_cv_objc_libdir=NONE
if test -f "$GNUSTEP_HDIR/objc/objc.h"; then
if test -f "$GNUSTEP_LDIR/libobjc.a" -o -f "$GNUSTEP_LDIR/libobjc.so" -o -f "$GNUSTEP_LDIR/libobjc.dll.a"; then
if test -f "$GNUSTEP_LDIR/libobjc.a" -o -f "$GNUSTEP_LDIR/libobjc.so" -o -f "$GNUSTEP_LDIR/libobjc.dll.a" -o -f "$GNUSTEP_LDIR/libobjc-gnu.dylib"; then
gs_cv_objc_libdir="$GNUSTEP_LDIR"
else
gs_cv_objc_libdir=NONE

View file

@ -592,7 +592,7 @@ AC_CACHE_VAL(gs_cv_objc_libdir,
[dnl
gs_cv_objc_libdir=NONE
if test -f "$GNUSTEP_HDIR/objc/objc.h"; then
if test -f "$GNUSTEP_LDIR/libobjc.a" -o -f "$GNUSTEP_LDIR/libobjc.so" -o -f "$GNUSTEP_LDIR/libobjc.dll.a"; then
if test -f "$GNUSTEP_LDIR/libobjc.a" -o -f "$GNUSTEP_LDIR/libobjc.so" -o -f "$GNUSTEP_LDIR/libobjc.dll.a" -o -f "$GNUSTEP_LDIR/libobjc-gnu.dylib"; then
gs_cv_objc_libdir="$GNUSTEP_LDIR"
else
gs_cv_objc_libdir=NONE