aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoconf/m4/config_makefile.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/autoconf/m4/config_makefile.m4 b/autoconf/m4/config_makefile.m4
index e30f187620..f21a25631e 100644
--- a/autoconf/m4/config_makefile.m4
+++ b/autoconf/m4/config_makefile.m4
@@ -3,5 +3,7 @@
# date. This macro is unique to LLVM.
#
AC_DEFUN([AC_CONFIG_MAKEFILE],
-[AC_CONFIG_COMMANDS($1,${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/$1 $1,${srcdir}/autoconf/mkinstalldirs `dirname $1`)
+[AC_CONFIG_COMMANDS($1,
+ [${llvm_src}/autoconf/mkinstalldirs `dirname $1`
+ ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/$1 $1])
])