From c62104ed7efd48703aee85ea05205a8f6bfb2f23 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sun, 16 Sep 2001 00:01:38 +0000 Subject: Few updates. autoconf-2.52/automake-1.5 supported. CVS patchset: 637 CVS date: 2001/09/16 00:01:38 --- m4/Makefile.am | 2 +- m4/as.m4 | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 m4/as.m4 (limited to 'm4') diff --git a/m4/Makefile.am b/m4/Makefile.am index 62ec11511..f0954207a 100644 --- a/m4/Makefile.am +++ b/m4/Makefile.am @@ -6,7 +6,7 @@ m4datadir = @ACLOCAL_DIR@ m4data_DATA = xine.m4 endif -EXTRA_DIST = _xine.m4 alsa.m4 arts.m4 esd.m4 xine.m4 aa.m4 irixal.m4 +EXTRA_DIST = _xine.m4 alsa.m4 arts.m4 esd.m4 xine.m4 aa.m4 irixal.m4 as.m4 debug: 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 + +# 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)]) -- cgit v1.2.3