diff options
Diffstat (limited to 'm4/as.m4')
-rw-r--r-- | m4/as.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/m4/as.m4 b/m4/as.m4 new file mode 100644 index 000000000..461864018 --- /dev/null +++ b/m4/as.m4 @@ -0,0 +1,17 @@ +dnl Extracted from automake-1.5 and sligtly modified for Xine usage. +dnl Daniel Caujolle-Bert <segfault@club-internet.fr> + +# Figure out how to run the assembler. + +# AM_PROG_AS +AC_DEFUN([AM_PROG_AS], +[# 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)'} +# Set ASCOMPILE if not already set. +: ${ASCOMPILE='$(AS) $(AM_ASFLAGS) $(ASFLAGS)'} +AC_SUBST(AS) +AC_SUBST(ASFLAGS) +AC_SUBST(ASCOMPILE)]) |