From bda3df805142821ddbc928822ffe1e9558f70830 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Mon, 4 Sep 2000 04:34:21 +0000 Subject: [PATCH] * mdemo/configure.in: Don't use -static on AIX4.1. --- ChangeLog | 4 ++++ mdemo/configure.in | 9 +++++++++ 2 files changed, 13 insertions(+) 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 -- 2.47.2