From: Alexandre Oliva Date: Mon, 4 Sep 2000 04:34:21 +0000 (+0000) Subject: * mdemo/configure.in: Don't use -static on AIX4.1. X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=bda3df805142821ddbc928822ffe1e9558f70830;p=thirdparty%2Flibtool.git * mdemo/configure.in: Don't use -static on AIX4.1. --- diff --git a/ChangeLog b/ChangeLog index d03f83531..c7ce5f63f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-09-04 Alexandre Oliva + + * mdemo/configure.in: Don't use -static on AIX4.1. + 2000-09-03 Alexandre Oliva * ltconfig.in [FreeBSD 3.[01]] (shlibpath_overrides_runpath): Set diff --git a/mdemo/configure.in b/mdemo/configure.in index 93ff01ef1..e6fa3cd97 100644 --- a/mdemo/configure.in +++ b/mdemo/configure.in @@ -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