diff aclocal.m4 @ 1470:1364f9716d7b

[xemacs-hg @ 2003-05-10 02:57:05 by youngs] 2003-05-10 Steve Youngs <youngs@xemacs.org> * Revert this patch: 2003-05-01 Andrew Begel <abegel@CS.Berkeley.EDU> * configure.in: Move module detection to after src/ is added to MAKE_SUBDIR. On MacOS X, building modules requires xemacs to already be built. * aclocal.m4 (XE_SHLIB_STUFF): Properly define ellcc flags for MacOS X. It was stopping certain libs from making their way into the Makefiles. * configure: Regenerate.
author youngs
date Sat, 10 May 2003 02:57:07 +0000
parents dd63b61df78c
children baca156a450b
line wrap: on
line diff
--- a/aclocal.m4	Fri May 09 21:52:33 2003 +0000
+++ b/aclocal.m4	Sat May 10 02:57:07 2003 +0000
@@ -93,9 +93,6 @@
     # PIC is the default for these OSes.
     ;;
 
-  *darwin*) dll_cflags='-dynamic'
-    ;;
-
   os2*)
     # We can build DLLs from non-PIC.
     ;;
@@ -256,16 +253,8 @@
 xcldf=
 AC_MSG_CHECKING(if C compiler can produce shared libraries)
 if test "$XEGCC" = yes; then
-  case "$xehost_os" in
-     *darwin*)
-          xcldf='-bundle'
-	  xldf='-bundle -bundle_loader ../../src/xemacs'
-     ;;
-     * )
-       xcldf="-shared"
-       xldf="-shared"
-     ;;
-  esac
+  xcldf="-shared"
+  xldf="-shared"
 else # Not using GCC
   case "$xehost_os" in
     aix[[3-9]]*)
@@ -522,6 +511,7 @@
       dll_ldflags="-r"
       dll_ld="shlicc2"
       ;;
+
     *)
       ld_shlibs=no
       can_build_shared=no
@@ -561,10 +551,6 @@
     ld_dynamic_link_flags=
     ;;
 
-  *darwin*)
-    ld_dynamic_link_flags=
-    ;;
-
   freebsd2.2*)
     ld_dynamic_link_flags=
     ;;