447 |
# Be careful to initialize this variable, since it used to be cached. |
# Be careful to initialize this variable, since it used to be cached. |
448 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
449 |
ac_cv_exeext= |
ac_cv_exeext= |
450 |
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do |
451 |
ls a.out conftest 2>/dev/null; |
test -f "$ac_file" || continue |
|
ls a.* conftest.* 2>/dev/null`; do |
|
452 |
case $ac_file in |
case $ac_file in |
453 |
_AC_COMPILER_EXEEXT_REJECT ) ;; |
_AC_COMPILER_EXEEXT_REJECT ) ;; |
454 |
a.out ) # We found the default executable, but exeext='' is most |
a.out ) # We found the default executable, but exeext='' is most |
514 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
515 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
516 |
# `rm'. |
# `rm'. |
517 |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
for ac_file in conftest.exe conftest conftest.*; do |
518 |
|
test -f "$ac_file" || continue |
519 |
case $ac_file in |
case $ac_file in |
520 |
_AC_COMPILER_EXEEXT_REJECT ) ;; |
_AC_COMPILER_EXEEXT_REJECT ) ;; |
521 |
*.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']` |
*.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']` |