diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-10-01 18:40:32 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-10-01 18:40:32 +0000 |
commit | 3c837abd2bd0ed818f7a9b0fb18f7b5b35567ea9 (patch) | |
tree | f67c5416e6107c6b457281d6c371d258e95538a5 /llvm/autoconf | |
parent | 4a5b35eeec9412fca288ff8e7d51fcc6f473b319 (diff) | |
download | bcm5719-llvm-3c837abd2bd0ed818f7a9b0fb18f7b5b35567ea9.tar.gz bcm5719-llvm-3c837abd2bd0ed818f7a9b0fb18f7b5b35567ea9.zip |
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!
llvm-svn: 164956
Diffstat (limited to 'llvm/autoconf')
-rw-r--r-- | llvm/autoconf/configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index 574a30cef9f..13b3db6200a 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/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) |