]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acgeneral.m4 (AC_RUN_IFELSE): Add missing executable suffix.
authorAkim Demaille <akim@epita.fr>
Wed, 11 Oct 2000 14:51:28 +0000 (14:51 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 11 Oct 2000 14:51:28 +0000 (14:51 +0000)
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Likewise.
* aclang.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Fix typos where
$objext were used instead of $ac_objext.

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

index 2a40f252b2f11d1dbc1bfa1ce89d3d60c4a730a8..d3922f2b6529f55eabd047528ca046a70608ac79 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-11  Morten Eriksen <mortene@sim.no>
+
+       * acgeneral.m4 (AC_RUN_IFELSE): Add missing executable suffix.
+       * aclang.m4 (_AC_LANG_COMPILER_WORKS): Likewise.
+       * aclang.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Fix typos where
+       $objext were used instead of $ac_objext.
+
 2000-10-05  Akim Demaille  <akim@epita.fr>
 
        Check that updated scripts are valid scripts.
index a7490277e9cf8ea5af37424b589de201f0f54424..8b5b89a80dc5fc69801cb94340481c881b3e5e85 100644 (file)
@@ -3455,7 +3455,7 @@ AC_DEFUN([AC_RUN_IFELSE],
 [AC_LANG_COMPILER_REQUIRE()dnl
 m4_ifvanl([$1], [AC_LANG_CONFTEST([$1])])dnl
 if AC_TRY_EVAL(ac_link) &&
-   test -s conftest$ac_exeext && (./conftest; exit) 2>/dev/null; then
+   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
   m4_default([$2], :)
 else
   echo "configure: failed program was:" >&AC_FD_LOG
index ec69db300c8ba4a594333d8111a1da27d905957a..2382fd737e124ecd982cd0262bbb5ccb7f7661ec 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -523,7 +523,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM()],
 [# FIXME: these cross compiler hacks should be removed for autoconf 3.0
 # If not cross compiling, check that we can run a simple program.
 if test "$cross_compiling" != yes; then
-  if AC_TRY_COMMAND(./conftest); then
+  if AC_TRY_COMMAND(./conftest$ac_exeext); then
     cross_compiling=no
   else
     if test "$cross_compiling" = maybe; then
@@ -796,9 +796,9 @@ AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o,
 # Make sure it works both with $CC and with simple cc.
 # We do the test twice because some compilers refuse to overwrite an
 # existing .o file with -o, though they will create one.
-ac_try='${CC-cc} -c conftest.$ac_ext -o conftest.$objext >&AC_FD_LOG'
+ac_try='${CC-cc} -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
 if AC_TRY_EVAL(ac_try) &&
-   test -f conftest.$objext && AC_TRY_EVAL(ac_try);
+   test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
 then
   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   if test "x$CC" != xcc; then
@@ -806,7 +806,7 @@ then
     if AC_TRY_COMMAND(cc -c conftest.$ac_ext >&AC_FD_LOG); then
       ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
       if AC_TRY_EVAL(ac_try) &&
-        test -f conftest.$objext && AC_TRY_EVAL(ac_try);
+        test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
       then
         # cc works too.
         :
@@ -1089,8 +1089,8 @@ AC_CACHE_CHECK([whether $F77 understand -c and -o together],
 # We do the `AC_TRY_EVAL' test twice because some compilers refuse to
 # overwrite an existing `.o' file with `-o', although they will create
 # one.
-ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$objext >&AC_FD_LOG'
-if AC_TRY_EVAL(ac_try) && test -f conftest.$objext && AC_TRY_EVAL(ac_try); then
+ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
+if AC_TRY_EVAL(ac_try) && test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try); then
   ac_cv_prog_f77_c_o=yes
 else
   ac_cv_prog_f77_c_o=no
index ec69db300c8ba4a594333d8111a1da27d905957a..2382fd737e124ecd982cd0262bbb5ccb7f7661ec 100644 (file)
@@ -523,7 +523,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM()],
 [# FIXME: these cross compiler hacks should be removed for autoconf 3.0
 # If not cross compiling, check that we can run a simple program.
 if test "$cross_compiling" != yes; then
-  if AC_TRY_COMMAND(./conftest); then
+  if AC_TRY_COMMAND(./conftest$ac_exeext); then
     cross_compiling=no
   else
     if test "$cross_compiling" = maybe; then
@@ -796,9 +796,9 @@ AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o,
 # Make sure it works both with $CC and with simple cc.
 # We do the test twice because some compilers refuse to overwrite an
 # existing .o file with -o, though they will create one.
-ac_try='${CC-cc} -c conftest.$ac_ext -o conftest.$objext >&AC_FD_LOG'
+ac_try='${CC-cc} -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
 if AC_TRY_EVAL(ac_try) &&
-   test -f conftest.$objext && AC_TRY_EVAL(ac_try);
+   test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
 then
   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   if test "x$CC" != xcc; then
@@ -806,7 +806,7 @@ then
     if AC_TRY_COMMAND(cc -c conftest.$ac_ext >&AC_FD_LOG); then
       ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
       if AC_TRY_EVAL(ac_try) &&
-        test -f conftest.$objext && AC_TRY_EVAL(ac_try);
+        test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
       then
         # cc works too.
         :
@@ -1089,8 +1089,8 @@ AC_CACHE_CHECK([whether $F77 understand -c and -o together],
 # We do the `AC_TRY_EVAL' test twice because some compilers refuse to
 # overwrite an existing `.o' file with `-o', although they will create
 # one.
-ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$objext >&AC_FD_LOG'
-if AC_TRY_EVAL(ac_try) && test -f conftest.$objext && AC_TRY_EVAL(ac_try); then
+ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
+if AC_TRY_EVAL(ac_try) && test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try); then
   ac_cv_prog_f77_c_o=yes
 else
   ac_cv_prog_f77_c_o=no
index ec69db300c8ba4a594333d8111a1da27d905957a..2382fd737e124ecd982cd0262bbb5ccb7f7661ec 100644 (file)
@@ -523,7 +523,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM()],
 [# FIXME: these cross compiler hacks should be removed for autoconf 3.0
 # If not cross compiling, check that we can run a simple program.
 if test "$cross_compiling" != yes; then
-  if AC_TRY_COMMAND(./conftest); then
+  if AC_TRY_COMMAND(./conftest$ac_exeext); then
     cross_compiling=no
   else
     if test "$cross_compiling" = maybe; then
@@ -796,9 +796,9 @@ AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o,
 # Make sure it works both with $CC and with simple cc.
 # We do the test twice because some compilers refuse to overwrite an
 # existing .o file with -o, though they will create one.
-ac_try='${CC-cc} -c conftest.$ac_ext -o conftest.$objext >&AC_FD_LOG'
+ac_try='${CC-cc} -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
 if AC_TRY_EVAL(ac_try) &&
-   test -f conftest.$objext && AC_TRY_EVAL(ac_try);
+   test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
 then
   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   if test "x$CC" != xcc; then
@@ -806,7 +806,7 @@ then
     if AC_TRY_COMMAND(cc -c conftest.$ac_ext >&AC_FD_LOG); then
       ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
       if AC_TRY_EVAL(ac_try) &&
-        test -f conftest.$objext && AC_TRY_EVAL(ac_try);
+        test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
       then
         # cc works too.
         :
@@ -1089,8 +1089,8 @@ AC_CACHE_CHECK([whether $F77 understand -c and -o together],
 # We do the `AC_TRY_EVAL' test twice because some compilers refuse to
 # overwrite an existing `.o' file with `-o', although they will create
 # one.
-ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$objext >&AC_FD_LOG'
-if AC_TRY_EVAL(ac_try) && test -f conftest.$objext && AC_TRY_EVAL(ac_try); then
+ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
+if AC_TRY_EVAL(ac_try) && test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try); then
   ac_cv_prog_f77_c_o=yes
 else
   ac_cv_prog_f77_c_o=no
index a7490277e9cf8ea5af37424b589de201f0f54424..8b5b89a80dc5fc69801cb94340481c881b3e5e85 100644 (file)
@@ -3455,7 +3455,7 @@ AC_DEFUN([AC_RUN_IFELSE],
 [AC_LANG_COMPILER_REQUIRE()dnl
 m4_ifvanl([$1], [AC_LANG_CONFTEST([$1])])dnl
 if AC_TRY_EVAL(ac_link) &&
-   test -s conftest$ac_exeext && (./conftest; exit) 2>/dev/null; then
+   test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
   m4_default([$2], :)
 else
   echo "configure: failed program was:" >&AC_FD_LOG
index ec69db300c8ba4a594333d8111a1da27d905957a..2382fd737e124ecd982cd0262bbb5ccb7f7661ec 100644 (file)
@@ -523,7 +523,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM()],
 [# FIXME: these cross compiler hacks should be removed for autoconf 3.0
 # If not cross compiling, check that we can run a simple program.
 if test "$cross_compiling" != yes; then
-  if AC_TRY_COMMAND(./conftest); then
+  if AC_TRY_COMMAND(./conftest$ac_exeext); then
     cross_compiling=no
   else
     if test "$cross_compiling" = maybe; then
@@ -796,9 +796,9 @@ AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o,
 # Make sure it works both with $CC and with simple cc.
 # We do the test twice because some compilers refuse to overwrite an
 # existing .o file with -o, though they will create one.
-ac_try='${CC-cc} -c conftest.$ac_ext -o conftest.$objext >&AC_FD_LOG'
+ac_try='${CC-cc} -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
 if AC_TRY_EVAL(ac_try) &&
-   test -f conftest.$objext && AC_TRY_EVAL(ac_try);
+   test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
 then
   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   if test "x$CC" != xcc; then
@@ -806,7 +806,7 @@ then
     if AC_TRY_COMMAND(cc -c conftest.$ac_ext >&AC_FD_LOG); then
       ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
       if AC_TRY_EVAL(ac_try) &&
-        test -f conftest.$objext && AC_TRY_EVAL(ac_try);
+        test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
       then
         # cc works too.
         :
@@ -1089,8 +1089,8 @@ AC_CACHE_CHECK([whether $F77 understand -c and -o together],
 # We do the `AC_TRY_EVAL' test twice because some compilers refuse to
 # overwrite an existing `.o' file with `-o', although they will create
 # one.
-ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$objext >&AC_FD_LOG'
-if AC_TRY_EVAL(ac_try) && test -f conftest.$objext && AC_TRY_EVAL(ac_try); then
+ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$ac_objext >&AC_FD_LOG'
+if AC_TRY_EVAL(ac_try) && test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try); then
   ac_cv_prog_f77_c_o=yes
 else
   ac_cv_prog_f77_c_o=no