summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/as.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/as.m4 b/m4/as.m4
index 452db39c5..276cac93c 100644
--- a/m4/as.m4
+++ b/m4/as.m4
@@ -3,15 +3,15 @@ dnl Daniel Caujolle-Bert <segfault@club-internet.fr>
# Figure out how to run the assembler.
-# AM_PROG_AS
-AC_DEFUN([AM_PROG_AS],
+# AM_PROG_AS_MOD
+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)'}
+: ${AS='$CC'}
# Set ASFLAGS if not already set.
: ${ASFLAGS='$(CFLAGS)'}
# Set ASCOMPILE if not already set.
-if test $AS = '$''('CC')'; then
+if test $AS = '$'CC; then
: ${ASCOMPILE='$(AS) $(AM_ASFLAGS) $(ASFLAGS) -c'}
else
: ${ASCOMPILE='$(AS) $(AM_ASFLAGS) $(ASFLAGS)'}