# HG changeset patch # User Jonathan Schleifer # Date 1190453151 -7200 # Node ID 336dd10930d14c2dfdd07061944b24b96daf7af4 # Parent 42e255437b69af761075afd632de7fd822d44ad2 Add -rpath in configure. diff -r 42e255437b69 -r 336dd10930d1 configure.ac --- a/configure.ac Sat Sep 22 11:05:37 2007 +0200 +++ b/configure.ac Sat Sep 22 11:25:51 2007 +0200 @@ -181,6 +181,13 @@ AC_DEFINE_UNQUOTED(SHARED_SUFFIX, "${SHARED_SUFFIX}", [Define the shared module suffix extension on your platform.]) +# Use -rpath? +AC_ARG_ENABLE(rpath, + [ --enable-rpath enable use of -rpath on ELF systems (default=yes)], [enable_rpath=$enableval], [enable_rpath=no]) +if test "x$enable_rpath" = "xyes"; then + test x"`$CC -dM -E -