From 7d104e4fa1687963438183f79aee2c7c91971079 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 17 Feb 2000 15:21:06 +0000 Subject: [PATCH] Disable shared libs on AIX by default. git-svn-id: https://svn.dealii.org/trunk@2431 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/configure | 7 +++++-- deal.II/configure.in | 9 ++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/deal.II/configure b/deal.II/configure index cdb1aff8fa..244c963ef2 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -992,13 +992,16 @@ fi - # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" enableshared=$enableval else - enableshared=yes + if test $OS = AIX ; then + enableshared=no ; + else + enableshared=yes ; + fi fi if test $enableshared = yes ; then diff --git a/deal.II/configure.in b/deal.II/configure.in index 65f70293f3..fc4953af96 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -92,13 +92,16 @@ fi AC_SUBST(withmultithreading) - dnl Test whether shared libraries support is requested. Note: -dnl default is 'yes' +dnl default is 'yes', if not on AIX AC_ARG_ENABLE(shared, [ --enable-shared Set compiler flags to generate shared libraries], enableshared=$enableval, - enableshared=yes) + if test $OS = AIX ; then + enableshared=no ; + else + enableshared=yes ; + fi) if test $enableshared = yes ; then AC_MSG_RESULT(Configuring deal.II for shared libraries) else -- 2.39.5