summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-09-17 09:50:32 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-09-17 09:50:32 +0000
commitfc24f0d05d345b35bfa705e7c996af927101fb7c (patch)
treea4941ad7f87b136e85312b852ac9aae186bc1c10
parent429bf957d0aec6e7be36c528b1ce6b48e8726141 (diff)
downloadxine-lib-fc24f0d05d345b35bfa705e7c996af927101fb7c.tar.gz
xine-lib-fc24f0d05d345b35bfa705e7c996af927101fb7c.tar.bz2
Fixed asm compile on system without as installed.
CVS patchset: 649 CVS date: 2001/09/17 09:50:32
-rw-r--r--m4/as.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/as.m4 b/m4/as.m4
index 461864018..452db39c5 100644
--- a/m4/as.m4
+++ b/m4/as.m4
@@ -11,7 +11,11 @@ AC_REQUIRE([AC_PROG_CC])
# Set ASFLAGS if not already set.
: ${ASFLAGS='$(CFLAGS)'}
# Set ASCOMPILE if not already set.
+if test $AS = '$''('CC')'; then
+: ${ASCOMPILE='$(AS) $(AM_ASFLAGS) $(ASFLAGS) -c'}
+else
: ${ASCOMPILE='$(AS) $(AM_ASFLAGS) $(ASFLAGS)'}
+fi
AC_SUBST(AS)
AC_SUBST(ASFLAGS)
AC_SUBST(ASCOMPILE)])