From 3e82b4ad2a006c29da96a28c1b91c9b816503290 Mon Sep 17 00:00:00 2001 From: Dylan Noblesmith Date: Sat, 4 Feb 2012 02:41:36 +0000 Subject: autoconf: fix clang detection Now this works with and without --with-clang-srcdir, with and without an out-of-tree build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149749 91177308-0d34-0410-b5e6-96231b3b80d8 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 2c99b4f221..0c166389e1 100755 --- a/configure +++ b/configure @@ -21051,7 +21051,7 @@ ac_config_files="$ac_config_files llvm.spec" 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 -- cgit v1.2.3