From 077daccd0124ad36aa0ca1706345ca0841f55597 Mon Sep 17 00:00:00 2001 From: Stephen Torri Date: Thu, 26 Sep 2002 14:04:46 +0000 Subject: Updated as.m4 for automake warnings "Assembler source seen but 'CCAS' not defined in configure.ac". The same for CCASFLAGS. CVS patchset: 2750 CVS date: 2002/09/26 14:04:46 --- m4/as.m4 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/m4/as.m4 b/m4/as.m4 index 276cac93c..7ead0e25c 100644 --- a/m4/as.m4 +++ b/m4/as.m4 @@ -7,15 +7,15 @@ dnl Daniel Caujolle-Bert AC_DEFUN([AM_PROG_AS_MOD], [# By default we simply use the C compiler to build assembly code. AC_REQUIRE([AC_PROG_CC]) -: ${AS='$CC'} -# Set ASFLAGS if not already set. -: ${ASFLAGS='$(CFLAGS)'} +: ${CCAS='$CC'} +# Set CCASFLAGS if not already set. +: ${CCASFLAGS='$(CFLAGS)'} # Set ASCOMPILE if not already set. -if test $AS = '$'CC; then -: ${ASCOMPILE='$(AS) $(AM_ASFLAGS) $(ASFLAGS) -c'} +if test $CCAS = '$'CC; then +: ${CCASCOMPILE='$(CCAS) $(AM_ASFLAGS) $(CCASFLAGS) -c'} else -: ${ASCOMPILE='$(AS) $(AM_ASFLAGS) $(ASFLAGS)'} +: ${CCASCOMPILE='$(CCAS) $(AM_ASFLAGS) $(CCASFLAGS)'} fi -AC_SUBST(AS) -AC_SUBST(ASFLAGS) -AC_SUBST(ASCOMPILE)]) +AC_SUBST(CCAS) +AC_SUBST(CCASFLAGS) +AC_SUBST(CCASCOMPILE)]) -- cgit v1.2.3