Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-05 09:43:41 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-09 04:19:18 +0300
commit34af195290f0168ea63e039028a80503865ee3f9 (patch)
tree1edcc6ee109fa92a23a1aa25e141dd6bf1528460 /newlib/acinclude.m4
parentb9346cee1a1ac2b496d98f723e802a6e7959b1e0 (diff)
newlib: switch to standard AM_PROG_AS
Now that we require a recent automake version, rely on it to provide AS and CCAS and CCASFLAGS for us.
Diffstat (limited to 'newlib/acinclude.m4')
-rw-r--r--newlib/acinclude.m412
1 files changed, 1 insertions, 11 deletions
diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4
index a2a383335..fcdba70b6 100644
--- a/newlib/acinclude.m4
+++ b/newlib/acinclude.m4
@@ -120,18 +120,9 @@ AM_SILENT_RULES(yes)
AC_NO_EXECUTABLES
-AC_DEFUN([LIB_AM_PROG_AS],
-[# By default we simply use the C compiler to build assembly code.
-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)])
-])
-
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_PROG_CPP])dnl
-
-AC_CHECK_TOOL(AS, as)
+AC_REQUIRE([AM_PROG_AS])dnl
AC_CHECK_TOOL(AR, ar)
AC_CHECK_TOOL(RANLIB, ranlib, :)
AC_CHECK_TOOL(READELF, readelf, :)
@@ -145,7 +136,6 @@ AC_REQUIRE([AC_PROG_AWK])dnl
ac_given_INSTALL=$INSTALL
AM_MAINTAINER_MODE
-LIB_AM_PROG_AS
# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
# at least currently, we never actually build a program, so we never