From 448d0aa051dc9aafdade0cceb9150e0a8531f055 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 23 Jan 2003 23:58:34 +0000 Subject: [PATCH] . git-svn-id: https://svn.dealii.org/trunk@6953 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/configure | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/deal.II/configure b/deal.II/configure index 56e2bcad6a..5cfbf55db5 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.139 . +# From configure.in Revision: 1.141 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57. # @@ -2835,8 +2835,18 @@ echo "$as_me: error: Unrecognized compiler -- sorry" >&2;} if test "$GXX" = yes ; then CXXFLAGSO="$CXXFLAGS -O2 -Wuninitialized -felide-constructors -ftemplate-depth-32" CXXFLAGSG="$CXXFLAGS -DDEBUG -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Winline -Woverloaded-virtual -Wstrict-prototypes -Wsynth -Wsign-compare -Wconversion -Wswitch -ftemplate-depth-32" - CXXFLAGSPIC="-fPIC" - LDFLAGSPIC="-fPIC" + + case "$target" in + *aix* ) + CXXFLAGSPIC= + LDFLAGSPIC= + ;; + + *) + CXXFLAGSPIC="-fPIC" + LDFLAGSPIC="-fPIC" + ;; + esac case "$GXX_VERSION" in @@ -3385,8 +3395,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:$LINENO: result: not necessary" >&5 -echo "${ECHO_T}not necessary" >&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 else echo "$as_me: failed program was:" >&5 @@ -6370,7 +6380,7 @@ else fi; case "$target" in - *-aix* | alpha*-linux* | alpha*-osf45* | *cygwin | powerpc-apple-darwin* ) + *-aix4* | alpha*-linux* | alpha*-osf45* | *cygwin | powerpc-apple-darwin* ) { echo "$as_me:$LINENO: WARNING: Shared libraries not supported on $target. Using static libs instead" >&5 echo "$as_me: WARNING: Shared libraries not supported on $target. Using static libs instead" >&2;} enableshared=no -- 2.39.5