From: bangerth Date: Sun, 9 Nov 2008 21:55:26 +0000 (+0000) Subject: Add SHLIBFLAGS to linker test. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6c68673b91b9b0b3425525cfa2e8ead05318ce7;p=dealii-svn.git Add SHLIBFLAGS to linker test. git-svn-id: https://svn.dealii.org/trunk@17523 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 660c3cfe94..b9f362c24c 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -1715,7 +1715,7 @@ AC_DEFUN(DEAL_II_CHECK_LINK_SONAME, [ dnl First try -soname OLD_LDFLAGS=$LDFLAGS - LDFLAGS="-Wl,-soname,libbase.so.6.2.1 $LDFLAGS" + LDFLAGS="-Wl,-soname,libbase.so.6.2.1 $LDFLAGS $SHLIBFLAGS" AC_MSG_CHECKING([whether compiler understands option -Wl,-soname]) AC_LINK_IFELSE( [ AC_LANG_PROGRAM([[]],[[]])], diff --git a/deal.II/configure b/deal.II/configure index 3fee328d0f..324efc208b 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 17475 . +# From configure.in Revision: 17480 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for deal.II 6.2.pre. # @@ -11501,7 +11501,7 @@ if test "x$enableshared" = "xyes" ; then OLD_LDFLAGS=$LDFLAGS - LDFLAGS="-Wl,-soname,libbase.so.6.2.1 $LDFLAGS" + LDFLAGS="-Wl,-soname,libbase.so.6.2.1 $LDFLAGS $SHLIBFLAGS" { echo "$as_me:$LINENO: checking whether compiler understands option -Wl,-soname" >&5 echo $ECHO_N "checking whether compiler understands option -Wl,-soname... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF