diff --git a/configure.in b/configure.in index 954e0cb..96f663d 100644 --- a/configure.in +++ b/configure.in @@ -1029,7 +1029,16 @@ else fi CF_MAKE_TAGS -CF_RPATH_HACK + +AC_MSG_CHECKING(if rpath should be not be set) +CF_ARG_DISABLE(rpath-hack, + [ --disable-rpath-hack don't add rpath options for additional libraries], + [DISABLE_RPATH_HACK=yes], + [DISABLE_RPATH_HACK=no]) +AC_MSG_RESULT($DISABLE_RPATH_HACK) +if test "$DISABLE_RPATH_HACK" = no ; then + CF_RPATH_HACK +fi ### output makefile and config.h AC_OUTPUT(makefile filters/makefile filters/makefile.tmp:filters/makefile.2nd,