summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-02-02 00:19:05 +0000
committerEric Christopher <echristo@apple.com>2012-02-02 00:19:05 +0000
commitac89865faf7abf8fcae4996f12e9358e84e0c337 (patch)
treecbb70fbabe03bb96712150d6f803649778a806f1 /configure
parentdb6caea4f836ec0a635113a742b71705d6587dd4 (diff)
downloadllvm-ac89865faf7abf8fcae4996f12e9358e84e0c337.tar.gz
llvm-ac89865faf7abf8fcae4996f12e9358e84e0c337.tar.bz2
llvm-ac89865faf7abf8fcae4996f12e9358e84e0c337.tar.xz
Regenerate again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 82aa6ad545..2529338efb 100755
--- a/configure
+++ b/configure
@@ -5535,7 +5535,7 @@ else
fi
case "$withval" in
- -) clang_src_root="$ac_pwd/tools/clang" ;;
+ -) clang_src_root="" ;;
/* | [A-Za-z]:[\\/]*) clang_src_root="$withval" ;;
*) clang_src_root="$ac_pwd/$withval" ;;
esac
@@ -21095,6 +21095,9 @@ ac_config_files="$ac_config_files llvm.spec"
ac_config_files="$ac_config_files docs/doxygen.cfg"
+if test ${clang_src_root} = ""; then
+ clang_src_root="$ac_pwd/tools/clang"
+fi
if test -f ${clang_src_root}/README.txt; then
ac_config_headers="$ac_config_headers ${clang_src_root}/include/clang/Config/config.h"