dnl If we use shared libs (and we've made sure above that Trilinos provides
dnl these as well), then set some of the LD_FLAGS and similar
if test "x$enableshared" = "xyes" ; then
- LDFLAGS="$LDFLAGS -L$DEAL_II_TRILINOS_DIR/lib -Wl,-rpath,$DEAL_II_TRILINOS_DIR/lib"
+ LDFLAGS="$LDFLAGS -L$DEAL_II_TRILINOS_DIR/lib"
+ if test "x$LD_PATH_OPTION" != "xno" ; then
+ LDFLAGS="$LDFLAGS $LD_PATH_OPTION$DEAL_II_TRILINOS_DIR/lib"
+ fi
fi
])
#! /bin/sh
-# From configure.in Revision: 16704 .
+# From configure.in Revision: 17154 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for deal.II 6.2.pre.
#
fi
if test "x$enableshared" = "xyes" ; then
- LDFLAGS="$LDFLAGS -L$DEAL_II_TRILINOS_DIR/lib -Wl,-rpath,$DEAL_II_TRILINOS_DIR/lib"
+ LDFLAGS="$LDFLAGS -L$DEAL_II_TRILINOS_DIR/lib"
+ if test "x$LD_PATH_OPTION" != "xno" ; then
+ LDFLAGS="$LDFLAGS $LD_PATH_OPTION$DEAL_II_TRILINOS_DIR/lib"
+ fi
fi
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