[llvm-commits] [llvm] r149749 - in /llvm/trunk: autoconf/configure.ac configure
Dylan Noblesmith
nobled at dreamwidth.org
Fri Feb 3 18:41:37 PST 2012
Author: nobled
Date: Fri Feb 3 20:41:36 2012
New Revision: 149749
URL: http://llvm.org/viewvc/llvm-project?rev=149749&view=rev
Log:
autoconf: fix clang detection
Now this works with and without --with-clang-srcdir, with and
without an out-of-tree build.
Modified:
llvm/trunk/autoconf/configure.ac
llvm/trunk/configure
Modified: llvm/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=149749&r1=149748&r2=149749&view=diff
==============================================================================
--- llvm/trunk/autoconf/configure.ac (original)
+++ llvm/trunk/autoconf/configure.ac Fri Feb 3 20:41:36 2012
@@ -1570,7 +1570,7 @@
AC_CONFIG_FILES([docs/doxygen.cfg])
dnl Configure clang, if present
-if test ${clang_src_root} = ""; then
+if test "${clang_src_root}" = ""; then
clang_src_root="$srcdir/tools/clang"
fi
if test -f ${clang_src_root}/README.txt; then
Modified: llvm/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=149749&r1=149748&r2=149749&view=diff
==============================================================================
--- llvm/trunk/configure (original)
+++ llvm/trunk/configure Fri Feb 3 20:41:36 2012
@@ -21051,7 +21051,7 @@
ac_config_files="$ac_config_files docs/doxygen.cfg"
-if test ${clang_src_root} = ""; then
+if test "${clang_src_root}" = ""; then
clang_src_root="$srcdir/tools/clang"
fi
if test -f ${clang_src_root}/README.txt; then
More information about the llvm-commits
mailing list