OSDN Git Service

When looking for executable extensions, ignore .dSYM, as that's the debug info direct...
authorJim Grosbach <grosbach@apple.com>
Fri, 26 Sep 2008 17:27:58 +0000 (17:27 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 26 Sep 2008 17:27:58 +0000 (17:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56667 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/m4/build_exeext.m4
configure

index 5ea7d2e..1bdecc1 100644 (file)
@@ -25,7 +25,7 @@ else
   if AC_TRY_EVAL(ac_build_link); then
     for file in conftest.*; do
       case $file in
-      *.c | *.o | *.obj) ;;
+      *.c | *.o | *.obj | *.dSYM) ;;
       *) ac_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
       esac
     done
index af8144d..8183959 100755 (executable)
--- a/configure
+++ b/configure
@@ -4545,7 +4545,7 @@ echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
   (exit $ac_status); }; then
     for file in conftest.*; do
       case $file in
-      *.c | *.o | *.obj) ;;
+      *.c | *.o | *.obj | *.dSYM) ;;
       *) ac_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
       esac
     done