Index: ChangeLog =================================================================== RCS file: /cvs/autoconf/ChangeLog,v retrieving revision 1.897 diff -u -r1.897 ChangeLog --- ChangeLog 2000/10/05 13:52:41 1.897 +++ ChangeLog 2000/10/11 10:05:54 @@ -1,3 +1,10 @@ +2000-10-11 Morten Eriksen + + * 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 Check that updated scripts are valid scripts. Index: acgeneral.m4 =================================================================== RCS file: /cvs/autoconf/acgeneral.m4,v retrieving revision 1.563 diff -u -r1.563 acgeneral.m4 --- acgeneral.m4 2000/10/02 13:11:28 1.563 +++ acgeneral.m4 2000/10/11 10:00:24 @@ -3455,7 +3455,7 @@ [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: aclang.m4 =================================================================== RCS file: /cvs/autoconf/aclang.m4,v retrieving revision 1.68 diff -u -r1.68 aclang.m4 --- aclang.m4 2000/10/02 13:11:28 1.68 +++ aclang.m4 2000/10/11 10:00:24 @@ -523,7 +520,7 @@ [# 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 +793,9 @@ # 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 +803,7 @@ 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 +1086,8 @@ # 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