aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-09-25 21:15:08 +0000
committerSebastian Pop <spop@codeaurora.org>2012-09-25 21:15:08 +0000
commitba48ceb1a3802e20e781ef04ea2573ffae2ac414 (patch)
treedf200ad0a959967ae2259f0fbf9a7d9fa7bccbe7 /autoconf
parent2039a8f83464e900a71f3e846c7749b2d0d8cde2 (diff)
downloadexternal_llvm-ba48ceb1a3802e20e781ef04ea2573ffae2ac414.zip
external_llvm-ba48ceb1a3802e20e781ef04ea2573ffae2ac414.tar.gz
external_llvm-ba48ceb1a3802e20e781ef04ea2573ffae2ac414.tar.bz2
Add --program-prefix support to build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164633 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 2f381fe..ee7eb29 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1732,6 +1732,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)