summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 26abb172f..79fece494 100644
--- a/configure.in
+++ b/configure.in
@@ -590,6 +590,8 @@ uid=0\(* )
ACLOCAL_DIR="/usr/local/share/aclocal"
AC_MSG_RESULT(none - will be installed in $ACLOCAL_DIR)
fi
+ escapedprefix=`echo "$prefix"|sed -e 's/\//\/\//g'`
+ ACLOCAL_DIR=`echo "$ACLOCAL_DIR"|sed -e s/^"$escapedprefix"/'\${prefix}'/`
AC_SUBST(ACLOCAL_DIR)
;;
esac