[Directory to the out-of-tree Clang source]),,
withval="-")
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
AC_CONFIG_FILES([docs/doxygen.cfg])
dnl Configure clang, if present
+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([${clang_src_root}/include/clang/Config/config.h])
AC_CONFIG_FILES([${clang_src_root}/docs/doxygen.cfg])