From 92080529a05e223303a75d83008f804fd518aba7 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Mon, 1 Oct 2012 18:40:32 +0000 Subject: 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 --- autoconf/configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'autoconf/configure.ac') diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 574a30cef9..13b3db6200 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) -- cgit v1.2.3