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 5ea7d2e6412636cca799e8a0e26800f68b4df6b1..1bdecc1ba578e92102dfd25a956a910aef076aee 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 af8144d67ab0e558a3fcd5f81094213b2a3ab048..8183959c0e918ee1bd59442a7b7719a619c60f8d 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