From: bangerth Date: Tue, 28 Oct 2008 23:42:15 +0000 (+0000) Subject: Make things work with xlC X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46d499d521a9abf90b325c06f09e3727e7a4d729;p=dealii-svn.git Make things work with xlC git-svn-id: https://svn.dealii.org/trunk@17384 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 5d6af97932..b3c0dcb172 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -1358,6 +1358,7 @@ AC_DEFUN(DEAL_II_SET_CC_FLAGS, dnl ibm_xlc) CFLAGS="$CFLAGS -O2" CFLAGSPIC="-fPIC" + SHLIBLD="$CXX" ;; MIPSpro*) diff --git a/deal.II/configure.in b/deal.II/configure.in index 1bda4a78b5..286b0d9fca 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -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