diff --git a/ChangeLog b/ChangeLog index ea59ae44..741aa829 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 9 16:34:20 1998 Adam Fedor + + * configure.in: Don't assume . in path (Fix from Christopher + Seawood ). + Fri Nov 6 13:15:00 1998 Richard Frith-Macdonald * target.make: If objc library built with threads, assume we need to diff --git a/configure b/configure index af5d2239..2ccd3f76 100755 --- a/configure +++ b/configure @@ -1455,8 +1455,8 @@ done # Find for DPS #-------------------------------------------------------------------- if test -f clean_cpu.sh; then - transformed_host_cpu=`clean_cpu.sh $host_cpu` - transformed_target_cpu=`clean_cpu.sh $target_cpu` + transformed_host_cpu=`./clean_cpu.sh $host_cpu` + transformed_target_cpu=`./clean_cpu.sh $target_cpu` else if test -f ${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_cpu.sh; then transformed_host_cpu=`${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_cpu.sh $host_cpu` transformed_target_cpu=`${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_cpu.sh $target_cpu` @@ -1464,8 +1464,8 @@ fi fi if test -f clean_os.sh; then - transformed_host_os=`clean_os.sh $host_os` - transformed_target_os=`clean_os.sh $target_os` + transformed_host_os=`./clean_os.sh $host_os` + transformed_target_os=`./clean_os.sh $target_os` else if test -f ${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_os.sh; then transformed_host_os=`${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_os.sh $host_os` transformed_target_os=`${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_os.sh $target_os` diff --git a/configure.in b/configure.in index ab147858..de78d9f4 100644 --- a/configure.in +++ b/configure.in @@ -86,8 +86,8 @@ AC_HAVE_HEADERS(sys/param.h sys/file.h dir.h string.h stdlib.h sys/types.h dnl # Find for DPS #-------------------------------------------------------------------- if test -f clean_cpu.sh; then - transformed_host_cpu=`clean_cpu.sh $host_cpu` - transformed_target_cpu=`clean_cpu.sh $target_cpu` + transformed_host_cpu=`./clean_cpu.sh $host_cpu` + transformed_target_cpu=`./clean_cpu.sh $target_cpu` else if test -f ${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_cpu.sh; then transformed_host_cpu=`${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_cpu.sh $host_cpu` transformed_target_cpu=`${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_cpu.sh $target_cpu` @@ -95,8 +95,8 @@ fi fi if test -f clean_os.sh; then - transformed_host_os=`clean_os.sh $host_os` - transformed_target_os=`clean_os.sh $target_os` + transformed_host_os=`./clean_os.sh $host_os` + transformed_target_os=`./clean_os.sh $target_os` else if test -f ${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_os.sh; then transformed_host_os=`${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_os.sh $host_os` transformed_target_os=`${GNUSTEP_SYSTEM_ROOT}/Makefiles/clean_os.sh $target_os` diff --git a/target.make b/target.make index 7b856f96..5823f2d1 100644 --- a/target.make +++ b/target.make @@ -264,20 +264,20 @@ ifeq ($(findstring netbsd, $(GNUSTEP_TARGET_OS)), netbsd) HAVE_SHARED_LIBS = yes SHARED_LD = ld SHARED_LIB_LINK_CMD = \ - $(SHARED_LD) -x -Bshareable -Bforcearchive \ + $(SHARED_LD) -r -x -Bshareable -Bforcearchive \ -o $(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE) $^ ;\ (cd $(GNUSTEP_OBJ_DIR); \ rm -f $(LIBRARY_FILE); \ $(LN_S) $(VERSION_LIBRARY_FILE) $(LIBRARY_FILE)) -SHARED_CFLAGS += -fPIC +SHARED_CFLAGS += -fpic -fPIC -shared SHARED_LIBEXT = .so HAVE_BUNDLES = yes BUNDLE_LD = gcc -BUNDLE_CFLAGS += -fPIC +#BUNDLE_CFLAGS += -fPIC BUNDLE_LDFLAGS += -shared -ADDITIONAL_LDFLAGS += -rdynamic +#ADDITIONAL_LDFLAGS += -rdynamic endif # # end NetBSD