]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* aclang.m4 (_AC_COMPILER_OBJEXT, _AC_COMPILER_EXEEXT_O):
authorAkim Demaille <akim@epita.fr>
Wed, 20 Dec 2000 18:41:10 +0000 (18:41 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 20 Dec 2000 18:41:10 +0000 (18:41 +0000)
Make the order of arguments for ls count by splitting the ls
command into a sequence of ls commands.

ChangeLog
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4

index 76a80c75337cf7aa90feb2fff6ae124c591808c5..3a78246b18858f70ef145afb091bf34cab128316 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-12-20  Lars J. Aas  <larsa@sim.no>
+
+       * aclang.m4 (_AC_COMPILER_OBJEXT, _AC_COMPILER_EXEEXT_O):
+       Make the order of arguments for ls count by splitting the ls
+       command into a sequence of ls commands.
+
 2000-12-20  Akim Demaille  <akim@epita.fr>
 
        * aclang.m4 (_AC_LANG_COMPILER_GNU): Use a tabulation to indent
index f8736e89a30b953c7861960c756a1070a162f41f..05455f804a46f795b0b673fc63c890a90ffbfddd 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -691,8 +691,7 @@ _AC_LINK_IFELSE([],
 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 # work properly (i.e., refer to `conftest.exe'), while it won't with
 # `rm'.
-for ac_file in `ls conftest$ac_exeext conftest.exe conftest conftest.* \
-                  2>/dev/null`; do
+for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
   case $ac_file in
     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
     *) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
@@ -738,7 +737,7 @@ m4_define([_AC_COMPILER_OBJEXT],
 [AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
 rm -f conftest.o conftest.obj
 AS_IFELSE([AC_TRY_EVAL(ac_compile)],
-[for ac_file in `ls conftest.o conftest.obj conftest.* 2>/dev/null`; do
+[for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   case $ac_file in
     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
index f8736e89a30b953c7861960c756a1070a162f41f..05455f804a46f795b0b673fc63c890a90ffbfddd 100644 (file)
@@ -691,8 +691,7 @@ _AC_LINK_IFELSE([],
 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 # work properly (i.e., refer to `conftest.exe'), while it won't with
 # `rm'.
-for ac_file in `ls conftest$ac_exeext conftest.exe conftest conftest.* \
-                  2>/dev/null`; do
+for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
   case $ac_file in
     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
     *) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
@@ -738,7 +737,7 @@ m4_define([_AC_COMPILER_OBJEXT],
 [AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
 rm -f conftest.o conftest.obj
 AS_IFELSE([AC_TRY_EVAL(ac_compile)],
-[for ac_file in `ls conftest.o conftest.obj conftest.* 2>/dev/null`; do
+[for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   case $ac_file in
     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
index f8736e89a30b953c7861960c756a1070a162f41f..05455f804a46f795b0b673fc63c890a90ffbfddd 100644 (file)
@@ -691,8 +691,7 @@ _AC_LINK_IFELSE([],
 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 # work properly (i.e., refer to `conftest.exe'), while it won't with
 # `rm'.
-for ac_file in `ls conftest$ac_exeext conftest.exe conftest conftest.* \
-                  2>/dev/null`; do
+for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
   case $ac_file in
     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
     *) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
@@ -738,7 +737,7 @@ m4_define([_AC_COMPILER_OBJEXT],
 [AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
 rm -f conftest.o conftest.obj
 AS_IFELSE([AC_TRY_EVAL(ac_compile)],
-[for ac_file in `ls conftest.o conftest.obj conftest.* 2>/dev/null`; do
+[for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   case $ac_file in
     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
index f8736e89a30b953c7861960c756a1070a162f41f..05455f804a46f795b0b673fc63c890a90ffbfddd 100644 (file)
@@ -691,8 +691,7 @@ _AC_LINK_IFELSE([],
 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 # work properly (i.e., refer to `conftest.exe'), while it won't with
 # `rm'.
-for ac_file in `ls conftest$ac_exeext conftest.exe conftest conftest.* \
-                  2>/dev/null`; do
+for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
   case $ac_file in
     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
     *) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
@@ -738,7 +737,7 @@ m4_define([_AC_COMPILER_OBJEXT],
 [AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
 rm -f conftest.o conftest.obj
 AS_IFELSE([AC_TRY_EVAL(ac_compile)],
-[for ac_file in `ls conftest.o conftest.obj conftest.* 2>/dev/null`; do
+[for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   case $ac_file in
     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`