]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add SHLIBFLAGS to linker test.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 9 Nov 2008 21:55:26 +0000 (21:55 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 9 Nov 2008 21:55:26 +0000 (21:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@17523 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 660c3cfe94dc43875374d0ee0bb15c2c7da51125..b9f362c24cb51e2f62212949f4eba73d1be633d9 100644 (file)
@@ -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([[]],[[]])],
index 3fee328d0f62f35de09e6d267b516848aed5f298..324efc208b02c311e829e99c1cc4358af260df3f 100755 (executable)
@@ -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

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.