]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* mdemo/configure.in: Don't use -static on AIX4.1.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 4 Sep 2000 04:34:21 +0000 (04:34 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 4 Sep 2000 04:34:21 +0000 (04:34 +0000)
ChangeLog
mdemo/configure.in

index d03f8353100943451855c9a1e9e406eac2fabe50..c7ce5f63f5ece542825d5259538aafc20a799dab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-04  Alexandre Oliva  <aoliva@redhat.com>
+
+       * mdemo/configure.in: Don't use -static on AIX4.1.
+
 2000-09-03  Alexandre Oliva  <aoliva@redhat.com>
 
        * ltconfig.in [FreeBSD 3.[01]] (shlibpath_overrides_runpath): Set
index 93ff01ef18eff7681f2d9ce0bd72cf18220d6ced..e6fa3cd97f5aae108c6b9565f0b32504b50f3c02 100644 (file)
@@ -21,6 +21,15 @@ else
 fi
 AC_SUBST(STATIC)
 
+case $host_os in
+dnl aix 4.1 provides dlopen() through -lsvld, but this library can't
+dnl be linked statically.
+aix4.[[01]]*)
+  STATIC= ;;
+*)
+  STATIC=-static ;;
+esac
+
 AC_CHECK_HEADERS(math.h)
 
 AC_CHECK_LIBM