]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Disable shared libs on AIX by default.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 Feb 2000 15:21:06 +0000 (15:21 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 Feb 2000 15:21:06 +0000 (15:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@2431 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure
deal.II/configure.in

index cdb1aff8faeea3f1a6e9922a01aa380cf29039ee..244c963ef2d814bce44c382a3a0bdf8b1cdd0ff1 100755 (executable)
@@ -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
index 65f70293f3841bf5963d862b0bfc89203032347b..fc4953af96372812aea075da6f5da2d0771a94e7 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.