summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-10-01 18:40:32 +0000
committerJordan Rose <jordan_rose@apple.com>2012-10-01 18:40:32 +0000
commit92080529a05e223303a75d83008f804fd518aba7 (patch)
treea55d8eb8e049bc49c080e184ae35de4b7487b923 /autoconf
parent7744345a71ccf88ab19373e740a0732e234b34bb (diff)
Re-enable support for --program-prefix.
The Apple buildbots have been modified not to pass --target, so they shouldn't choke on a default program prefix anymore. Patch by Rick Foos! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 574a30cef9f..13b3db6200a 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1709,6 +1709,11 @@ fi
dnl OCaml findlib META file
AC_CONFIG_FILES([bindings/ocaml/llvm/META.llvm])
+dnl Add --program-prefix value to Makefile.rules. Already an ARG variable.
+test "x$program_prefix" = "xNONE" && program_prefix=""
+AC_SUBST([program_prefix])
+
+
dnl Do special configuration of Makefiles
AC_CONFIG_COMMANDS([setup],,[llvm_src="${srcdir}"])
AC_CONFIG_MAKEFILE(Makefile)