diff aclocal.m4 @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents de805c49cfc1
children 43177a4f3daf
line wrap: on
line diff
--- a/aclocal.m4	Mon Aug 13 11:19:22 2007 +0200
+++ b/aclocal.m4	Mon Aug 13 11:20:41 2007 +0200
@@ -92,7 +92,7 @@
     # PIC is the default for these OSes.
     ;;
 
-  aix3* | aix4* | os2*)
+  os2*)
     # We can build DLLs from non-PIC.
     ;;
   amigaos*)
@@ -101,9 +101,6 @@
     # like `-m68040'.
     dll_cflags='-m68020 -resident32 -malways-restore-a4'
     ;;
-  *cygwin* | *mingw* )
-    # PIC is the default
-    ;;
   *)
     dll_cflags='-fPIC'
     ;;
@@ -111,7 +108,7 @@
 else
   # PORTME Check for PIC flags for the system compiler.
   case "$xehost_os" in
-  hpux9* | hpux1[[0-9]]*)
+  hpux9* | hpux10*)
     # Is there a better link_static_flag that works with the bundled CC?
     wl='-Wl,'
     dll_cflags='+Z'
@@ -389,7 +386,6 @@
   dll_ld=$CC
   dll_ldflags=$xcldf
   can_build_shared=yes
-  ld_shlibs=yes
 else
   # OK - only NOW do we futz about with ld.
   # See if the linker supports building shared libraries.
@@ -573,7 +569,7 @@
     ;;
 
   solaris2* | solaris7*)
-    ld_dynamic_link_flags=
+    ld_dynamic_link_flags="${wl}-Bdynamic"
     ;;
 
   sco3.2v5* | unixware* | sysv5* | sysv4*)