From: wolf Date: Thu, 17 Feb 2000 15:21:06 +0000 (+0000) Subject: Disable shared libs on AIX by default. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d104e4fa1687963438183f79aee2c7c91971079;p=dealii-svn.git Disable shared libs on AIX by default. git-svn-id: https://svn.dealii.org/trunk@2431 0785d39b-7218-0410-832d-ea1e28bc413d --- 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