Commit 7cafe18d authored by dterei's avatar dterei

Fix accidentally commited debug form of FIND_LLVM_PROG.

parent 86d41b13
......@@ -1965,16 +1965,16 @@ AC_DEFUN([XCODE_VERSION],[
#
AC_DEFUN([FIND_LLVM_PROG],[
FP_ARG_WITH_PATH_GNU_PROG_OPTIONAL([$1], [$2], [$3])
if test "$$1" != ""; then
if test "$$1" == ""; then
save_IFS=$IFS
IFS=":;"
for p in ${PATH}; do
if test -d "${p}"; then
if test -d "${p}"; then
$1=`${FindCmd} "${p}" -type f -perm +111 -maxdepth 1 -regex '.*/$3-[[0-9]]\.[[0-9]]' -or -type l -perm +111 -maxdepth 1 -regex '.*/$3-[[0-9]]\.[[0-9]]' | ${SortCmd} -n | tail -1`
if test -n "$1"; then
break
fi
fi
fi
done
IFS=$save_IFS
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment