-
# 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
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