summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ce6ee86d1..1e6934173 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2120,7 +2120,10 @@ dnl ---------------------------------------------
AC_SUBST(mkdir_p)
if test -n "$ac_aux_dir"; then
- MKINSTALLDIRS="$ac_aux_dir/install-sh -d"
+ case "$ac_aux_dir" in
+ /*) MKINSTALLDIRS="$ac_aux_dir/install-sh -d" ;;
+ *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/install-sh -d" ;;
+ esac
else
MKINSTALLDIRS="\$(top_srcdir)/install-sh -d"
fi