diff --git a/configure b/configure index 40d1897ed..5910333a3 100755 --- a/configure +++ b/configure @@ -3471,6 +3471,8 @@ FOLLOW_READLINK () ERR_MSG="" FOUND_ERROR= +SRCDIR=$( cd $srcdir; pwd) +PATH_TO_SRC=$SRCDIR @@ -4789,8 +4791,6 @@ SYS_LD_LIB_PATH=$LD_LIBRARY_PATH SYS_LD_PRELOAD=$LD_PRELOAD -SRCDIR=$( cd $srcdir; pwd) -PATH_TO_SRC=$SRCDIR ##### UTILS -- start diff --git a/configure.ac b/configure.ac index 4f9bbb988..cefffd6e5 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,8 @@ FOLLOW_READLINK () ERR_MSG="" FOUND_ERROR= +SRCDIR=$( cd $srcdir; pwd) +PATH_TO_SRC=$SRCDIR AC_SUBST(DUPLICATE_PATHS) AC_ARG_WITH(duplicatePaths, @@ -820,8 +822,6 @@ AC_SUBST(SYS_LD_PRELOAD) SYS_LD_PRELOAD=$LD_PRELOAD AC_SUBST(PATH_TO_SRC) -SRCDIR=$( cd $srcdir; pwd) -PATH_TO_SRC=$SRCDIR ##### UTILS -- start