When AM_PROG_CC_C_O is after AC_OUTPUT, the compile script
is not used even if needed, causing testsuite fails if
libtool is not used.
* tests/depcomp8a.test: Uncomment the AM_PROG_CC_C_O macro
in its correct location, as indicated...
(configure.in): ...with this comment.
* tests/depcomp8b.test: Sync with tests/depcomp8a.test.
cat >> configure.in << 'END'
AC_PROG_CC
cat >> configure.in << 'END'
AC_PROG_CC
# Try again with subdir-objects option.
# Try again with subdir-objects option.
-echo AM_PROG_CC_C_O >> configure.in
+sed 's/#x //' configure.in >configure.int
+mv -f configure.int configure.in
echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
$ACLOCAL
echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
$ACLOCAL
cat >> configure.in << 'END'
AC_PROG_CC
cat >> configure.in << 'END'
AC_PROG_CC
AC_PROG_LIBTOOL
AC_OUTPUT
END
AC_PROG_LIBTOOL
AC_OUTPUT
END
# Try again with subdir-objects option.
# Try again with subdir-objects option.
-echo AM_PROG_CC_C_O >> configure.in
+sed 's/#x //' configure.in >configure.int
+mv -f configure.int configure.in
echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
$ACLOCAL
echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
$ACLOCAL