Hello! asm.test fails in the CVS version of Automake.
$ make check TESTS=asm.test VERBOSE=1 make check-TESTS make[1]: Entering directory `/usr/local/src/automake/tests' === Running test ./asm.test 1 automake: Makefile.am: Assembler source seen but `CCAS' not defined in `configure.in' 2 automake: Makefile.am: Assembler source seen but `CCAS' not defined in `configure.in' 3 automake: Makefile.am: Assembler source seen but `CCAS' not defined in `configure.in' 4 automake: Makefile.am: Assembler source seen but `CCAS' not defined in `configure.in' FAIL: asm.test Obviously, the first 3 steps are supposed to fail, while the steps 4 and 5 should succeed. The changelog has this: * m4/as.m4: Use CCAS and CCASFLAGS. If if means that CCAS and CCASFLAGS are used instead of AS and ASFLAGS respectively, then the following patch should be applied: ChangeLog: * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and ASFLAGS. ========================= --- tests/asm.test +++ tests/asm.test @@ -11,38 +11,38 @@ : > maude.s -# Should fail because we need CC and AS. +# Should fail because we need CC and CCAS. echo 1 cat > configure.in << 'END' AC_INIT AM_INIT_AUTOMAKE(nonesuch, nonesuch) -AC_SUBST(ASFLAGS) +AC_SUBST(CCASFLAGS) AC_OUTPUT(Makefile) END $ACLOCAL || exit 1 $AUTOMAKE && exit 1 -# We still need AS. +# We still need CCAS. echo 2 cat > configure.in << 'END' AC_INIT AM_INIT_AUTOMAKE(nonesuch, nonesuch) AC_PROG_CC -AC_SUBST(ASFLAGS) +AC_SUBST(CCASFLAGS) AC_OUTPUT(Makefile) END $ACLOCAL || exit 1 $AUTOMAKE && exit 1 -# We need ASFLAGS. +# We need CCASFLAGS. echo 3 cat > configure.in << 'END' AC_INIT AM_INIT_AUTOMAKE(nonesuch, nonesuch) -AS='$(CC)' -AC_SUBST(AS) +CCAS='$(CC)' +AC_SUBST(CCAS) AC_PROG_CC AC_OUTPUT(Makefile) END @@ -55,10 +55,10 @@ cat > configure.in << 'END' AC_INIT AM_INIT_AUTOMAKE(nonesuch, nonesuch) -AS='$(CC)' -AC_SUBST(AS) +CCAS='$(CC)' +AC_SUBST(CCAS) AC_PROG_CC -AC_SUBST(ASFLAGS) +AC_SUBST(CCASFLAGS) AC_OUTPUT(Makefile) END ========================= -- Regards, Pavel Roskin