diff options
-rw-r--r-- | m4/as.m4 | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -7,15 +7,15 @@ dnl Daniel Caujolle-Bert <segfault@club-internet.fr> 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)]) |