aboutsummaryrefslogtreecommitdiff
path: root/libgloss/aclocal.m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-02 00:23:50 -0500
committerMike Frysinger <vapier@gentoo.org>2022-02-11 06:14:55 -0500
commit62e580f01b8d1c5a3bce5c046853332217cf6458 (patch)
treef0943e4d0701a87e46bebba931bc991466f5f2d0 /libgloss/aclocal.m4
parentf8aede785505de293feb0c105450a0f32e8cbfe6 (diff)
downloadnewlib-62e580f01b8d1c5a3bce5c046853332217cf6458.zip
newlib-62e580f01b8d1c5a3bce5c046853332217cf6458.tar.gz
newlib-62e580f01b8d1c5a3bce5c046853332217cf6458.tar.bz2
libgloss: merge iq2000 into top-level Makefile
Avoid a recursive make to speed things up a bit.
Diffstat (limited to 'libgloss/aclocal.m4')
-rw-r--r--libgloss/aclocal.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/libgloss/aclocal.m4 b/libgloss/aclocal.m4
index 6f7b7f7..a74c735 100644
--- a/libgloss/aclocal.m4
+++ b/libgloss/aclocal.m4
@@ -56,6 +56,26 @@ m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+# Figure out how to run the assembler. -*- Autoconf -*-
+
+# Copyright (C) 2001-2017 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# 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])
+test "${CCAS+set}" = set || CCAS=$CC
+test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
+AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
+AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
+_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl
+])
+
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001-2017 Free Software Foundation, Inc.