dnl as.m4 dnl Figure out how to run the assembler. dnl AM_PROG_AS AC_DEFUN([AM_PROG_AS], [ dnl By default we simply use the C compiler to build assembly code. AC_REQUIRE([AC_PROG_CC]) : ${CCAS='$(CC)'} # Set CCASFLAGS if not already set. : ${CCASFLAGS='$(CFLAGS)'} # Set ASCOMPILE if not already set. if test $CCAS = '$'CC; then : ${CCASCOMPILE='$(LIBTOOL) --mode=compile $(CCAS) $(AM_ASFLAGS) $(CCASFLAGS) -c'} else : ${CCASCOMPILE='$(LIBTOOL) --mode=compile $(CCAS) $(AM_ASFLAGS) $(CCASFLAGS)'} fi AC_SUBST(CCAS) AC_SUBST(CCASFLAGS) AC_SUBST(CCASCOMPILE) ])