]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make things work with xlC
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Oct 2008 23:42:15 +0000 (23:42 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Oct 2008 23:42:15 +0000 (23:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@17384 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure.in

index 5d6af97932d2d7ba54ba55e16d88d942ff1d60d9..b3c0dcb172306852123942c24f529ce9516c8509 100644 (file)
@@ -1358,6 +1358,7 @@ AC_DEFUN(DEAL_II_SET_CC_FLAGS, dnl
       ibm_xlc)
           CFLAGS="$CFLAGS -O2"
           CFLAGSPIC="-fPIC"
+         SHLIBLD="$CXX"
           ;;
   
       MIPSpro*)
index 1bda4a78b597a6df1a7e4bc16f97d855ccdfe346..286b0d9fca0f5d1c1fa10903a2a1e23efb898183 100644 (file)
@@ -312,6 +312,12 @@ if test "x$enableshared" = "xyes" ; then
           ;;
   esac
 
+  case "${GXX-VERSION}" in
+    ibm_xlc* )
+       SHLIBFLAGS="-qmkshrobj"
+          ;;
+  esac
+
   dnl See if we can use -Wl,-soname,... for linking
   DEAL_II_CHECK_LINK_SONAME
 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.