summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoconf/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index c9757d9ff7..6316be9c52 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1589,7 +1589,7 @@ AC_CONFIG_FILES([docs/doxygen.cfg])
dnl Configure clang, if present
if test ${clang_src_root} = ""; then
- clang_src_root="$ac_pwd/tools/clang"
+ clang_src_root="$srcdir/tools/clang"
fi
if test -f ${clang_src_root}/README.txt; then
AC_CONFIG_HEADERS([${clang_src_root}/include/clang/Config/config.h])