From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id B37093858D1E; Wed, 9 Feb 2022 01:41:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B37093858D1E Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: switch to standard AM_PROG_AS X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: b9346cee1a1ac2b496d98f723e802a6e7959b1e0 X-Git-Newrev: 34af195290f0168ea63e039028a80503865ee3f9 Message-Id: <20220209014104.B37093858D1E@sourceware.org> Date: Wed, 9 Feb 2022 01:41:04 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2022 01:41:04 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D34af195290f= 0168ea63e039028a80503865ee3f9 commit 34af195290f0168ea63e039028a80503865ee3f9 Author: Mike Frysinger Date: Sat Feb 5 01:43:41 2022 -0500 newlib: switch to standard AM_PROG_AS =20 Now that we require a recent automake version, rely on it to provide AS and CCAS and CCASFLAGS for us. Diff: --- newlib/acinclude.m4 | 12 +-- newlib/aclocal.m4 | 20 ++++ newlib/configure | 118 +++--------------= ---- newlib/libc/aclocal.m4 | 20 ++++ newlib/libc/configure | 118 +++--------------= ---- newlib/libc/sys/linux/aclocal.m4 | 20 ++++ newlib/libc/sys/linux/configure | 118 +++--------------= ---- newlib/libc/sys/linux/linuxthreads/aclocal.m4 | 20 ++++ newlib/libc/sys/linux/linuxthreads/configure | 118 +++--------------= ---- .../libc/sys/linux/linuxthreads/machine/aclocal.m4 | 20 ++++ .../libc/sys/linux/linuxthreads/machine/configure | 118 +++--------------= ---- .../sys/linux/linuxthreads/machine/i386/aclocal.m4 | 20 ++++ .../sys/linux/linuxthreads/machine/i386/configure | 118 +++--------------= ---- newlib/libc/sys/linux/machine/aclocal.m4 | 20 ++++ newlib/libc/sys/linux/machine/configure | 118 +++--------------= ---- newlib/libc/sys/linux/machine/i386/aclocal.m4 | 20 ++++ newlib/libc/sys/linux/machine/i386/configure | 118 +++--------------= ---- newlib/libc/sys/phoenix/Makefile.in | 1 - newlib/libc/sys/phoenix/aclocal.m4 | 20 ++++ newlib/libc/sys/phoenix/configure | 113 ++---------------= --- newlib/libc/sys/phoenix/machine/Makefile.in | 1 - newlib/libc/sys/phoenix/machine/aclocal.m4 | 20 ++++ newlib/libc/sys/phoenix/machine/arm/Makefile.in | 1 - newlib/libc/sys/phoenix/machine/arm/aclocal.m4 | 20 ++++ newlib/libc/sys/phoenix/machine/arm/configure | 113 ++---------------= --- newlib/libc/sys/phoenix/machine/configure | 113 ++---------------= --- newlib/libm/aclocal.m4 | 20 ++++ newlib/libm/configure | 118 +++--------------= ---- 28 files changed, 376 insertions(+), 1280 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) =20 AC_NO_EXECUTABLES =20 -AC_DEFUN([LIB_AM_PROG_AS], -[# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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=3D$INSTALL =20 AM_MAINTAINER_MODE -LIB_AM_PROG_AS =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never diff --git a/newlib/aclocal.m4 b/newlib/aclocal.m4 index e9e6e51fd..f671274aa 100644 --- a/newlib/aclocal.m4 +++ b/newlib/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/configure b/newlib/configure index 2117934e4..30be07f88 100755 --- a/newlib/configure +++ b/newlib/configure @@ -684,6 +684,7 @@ GREP LIBTOOL OBJDUMP DLLTOOL +AS SED sys_dir shared_machine_dir @@ -706,12 +707,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -4212,6 +4212,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -4506,101 +4513,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4905,12 +4817,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never @@ -11689,7 +11595,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11692 "configure" +#line 11598 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11795,7 +11701,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11798 "configure" +#line 11704 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/aclocal.m4 b/newlib/libc/aclocal.m4 index e92803b47..ce5020f7c 100644 --- a/newlib/libc/aclocal.m4 +++ b/newlib/libc/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libc/configure b/newlib/libc/configure index 489e2c9e8..fc1cd7d0c 100755 --- a/newlib/libc/configure +++ b/newlib/libc/configure @@ -698,6 +698,7 @@ GREP LIBTOOL OBJDUMP DLLTOOL +AS SED NEWLIB_NANO_MALLOC_FALSE NEWLIB_NANO_MALLOC_TRUE @@ -722,12 +723,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3907,6 +3907,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -4201,101 +4208,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4600,12 +4512,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never @@ -11393,7 +11299,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11396 "configure" +#line 11302 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11499,7 +11405,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11502 "configure" +#line 11408 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/aclocal.m4 b/newlib/libc/sys/linux/acloc= al.m4 index f0f224728..fea3ad003 100644 --- a/newlib/libc/sys/linux/aclocal.m4 +++ b/newlib/libc/sys/linux/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libc/sys/linux/configure b/newlib/libc/sys/linux/config= ure index 4e424e02f..b93c46324 100755 --- a/newlib/libc/sys/linux/configure +++ b/newlib/libc/sys/linux/configure @@ -655,6 +655,7 @@ GREP LIBTOOL OBJDUMP DLLTOOL +AS SED sys_dir shared_machine_dir @@ -677,12 +678,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3787,6 +3787,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -4081,101 +4088,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4480,12 +4392,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never @@ -11264,7 +11170,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11267 "configure" +#line 11173 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11370,7 +11276,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11373 "configure" +#line 11279 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/linuxthreads/aclocal.m4 b/newlib/libc/sy= s/linux/linuxthreads/aclocal.m4 index 715c8b93b..302662e3a 100644 --- a/newlib/libc/sys/linux/linuxthreads/aclocal.m4 +++ b/newlib/libc/sys/linux/linuxthreads/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libc/sys/linux/linuxthreads/configure b/newlib/libc/sys= /linux/linuxthreads/configure index e4cd336af..5fdd63bf9 100755 --- a/newlib/libc/sys/linux/linuxthreads/configure +++ b/newlib/libc/sys/linux/linuxthreads/configure @@ -654,6 +654,7 @@ GREP LIBTOOL OBJDUMP DLLTOOL +AS SED sys_dir shared_machine_dir @@ -676,12 +677,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3785,6 +3785,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -4079,101 +4086,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4478,12 +4390,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never @@ -11262,7 +11168,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11265 "configure" +#line 11171 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11368,7 +11274,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11371 "configure" +#line 11277 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/linuxthreads/machine/aclocal.m4 b/newlib= /libc/sys/linux/linuxthreads/machine/aclocal.m4 index 9c978f486..010ca93ad 100644 --- a/newlib/libc/sys/linux/linuxthreads/machine/aclocal.m4 +++ b/newlib/libc/sys/linux/linuxthreads/machine/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libc/sys/linux/linuxthreads/machine/configure b/newlib/= libc/sys/linux/linuxthreads/machine/configure index 916835ccd..a8d881d54 100755 --- a/newlib/libc/sys/linux/linuxthreads/machine/configure +++ b/newlib/libc/sys/linux/linuxthreads/machine/configure @@ -654,6 +654,7 @@ GREP LIBTOOL OBJDUMP DLLTOOL +AS SED sys_dir shared_machine_dir @@ -676,12 +677,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3785,6 +3785,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -4079,101 +4086,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4478,12 +4390,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never @@ -11262,7 +11168,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11265 "configure" +#line 11171 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11368,7 +11274,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11371 "configure" +#line 11277 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/linuxthreads/machine/i386/aclocal.m4 b/n= ewlib/libc/sys/linux/linuxthreads/machine/i386/aclocal.m4 index d6fbea360..30ae0285f 100644 --- a/newlib/libc/sys/linux/linuxthreads/machine/i386/aclocal.m4 +++ b/newlib/libc/sys/linux/linuxthreads/machine/i386/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure b/ne= wlib/libc/sys/linux/linuxthreads/machine/i386/configure index 7f1d96e27..3c4218b8c 100755 --- a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure +++ b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure @@ -650,6 +650,7 @@ GREP LIBTOOL OBJDUMP DLLTOOL +AS SED sys_dir shared_machine_dir @@ -672,12 +673,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3781,6 +3781,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -4075,101 +4082,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4474,12 +4386,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never @@ -11258,7 +11164,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11261 "configure" +#line 11167 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11364,7 +11270,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11367 "configure" +#line 11273 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/machine/aclocal.m4 b/newlib/libc/sys/lin= ux/machine/aclocal.m4 index 715c8b93b..302662e3a 100644 --- a/newlib/libc/sys/linux/machine/aclocal.m4 +++ b/newlib/libc/sys/linux/machine/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libc/sys/linux/machine/configure b/newlib/libc/sys/linu= x/machine/configure index ca5d0fcb8..9845c5eba 100755 --- a/newlib/libc/sys/linux/machine/configure +++ b/newlib/libc/sys/linux/machine/configure @@ -655,6 +655,7 @@ GREP LIBTOOL OBJDUMP DLLTOOL +AS SED sys_dir shared_machine_dir @@ -677,12 +678,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3786,6 +3786,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -4080,101 +4087,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4479,12 +4391,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never @@ -11263,7 +11169,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11266 "configure" +#line 11172 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11369,7 +11275,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11372 "configure" +#line 11278 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/machine/i386/aclocal.m4 b/newlib/libc/sy= s/linux/machine/i386/aclocal.m4 index 9c978f486..010ca93ad 100644 --- a/newlib/libc/sys/linux/machine/i386/aclocal.m4 +++ b/newlib/libc/sys/linux/machine/i386/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libc/sys/linux/machine/i386/configure b/newlib/libc/sys= /linux/machine/i386/configure index 1ec85cd4d..cce0b9f70 100755 --- a/newlib/libc/sys/linux/machine/i386/configure +++ b/newlib/libc/sys/linux/machine/i386/configure @@ -650,6 +650,7 @@ GREP LIBTOOL OBJDUMP DLLTOOL +AS SED sys_dir shared_machine_dir @@ -672,12 +673,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3781,6 +3781,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -4075,101 +4082,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4474,12 +4386,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never @@ -11258,7 +11164,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11261 "configure" +#line 11167 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11364,7 +11270,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11367 "configure" +#line 11273 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/phoenix/Makefile.in b/newlib/libc/sys/phoenix/= Makefile.in index 569735bc8..9d0fd4e53 100644 --- a/newlib/libc/sys/phoenix/Makefile.in +++ b/newlib/libc/sys/phoenix/Makefile.in @@ -232,7 +232,6 @@ ACLOCAL =3D @ACLOCAL@ AMTAR =3D @AMTAR@ AM_DEFAULT_VERBOSITY =3D @AM_DEFAULT_VERBOSITY@ AR =3D @AR@ -AS =3D @AS@ AUTOCONF =3D @AUTOCONF@ AUTOHEADER =3D @AUTOHEADER@ AUTOMAKE =3D @AUTOMAKE@ diff --git a/newlib/libc/sys/phoenix/aclocal.m4 b/newlib/libc/sys/phoenix/a= clocal.m4 index 101492e6a..ee8b8c91e 100644 --- a/newlib/libc/sys/phoenix/aclocal.m4 +++ b/newlib/libc/sys/phoenix/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libc/sys/phoenix/configure b/newlib/libc/sys/phoenix/co= nfigure index 02d321215..6d6651736 100644 --- a/newlib/libc/sys/phoenix/configure +++ b/newlib/libc/sys/phoenix/configure @@ -611,12 +611,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3513,6 +3512,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -3807,101 +3813,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4206,12 +4117,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never diff --git a/newlib/libc/sys/phoenix/machine/Makefile.in b/newlib/libc/sys/= phoenix/machine/Makefile.in index bad9e0b22..0028e2ca6 100644 --- a/newlib/libc/sys/phoenix/machine/Makefile.in +++ b/newlib/libc/sys/phoenix/machine/Makefile.in @@ -165,7 +165,6 @@ ACLOCAL =3D @ACLOCAL@ AMTAR =3D @AMTAR@ AM_DEFAULT_VERBOSITY =3D @AM_DEFAULT_VERBOSITY@ AR =3D @AR@ -AS =3D @AS@ AUTOCONF =3D @AUTOCONF@ AUTOHEADER =3D @AUTOHEADER@ AUTOMAKE =3D @AUTOMAKE@ diff --git a/newlib/libc/sys/phoenix/machine/aclocal.m4 b/newlib/libc/sys/p= hoenix/machine/aclocal.m4 index d97b7eeb2..6b17ee6bd 100644 --- a/newlib/libc/sys/phoenix/machine/aclocal.m4 +++ b/newlib/libc/sys/phoenix/machine/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libc/sys/phoenix/machine/arm/Makefile.in b/newlib/libc/= sys/phoenix/machine/arm/Makefile.in index 4520d235d..9e3ec4bda 100644 --- a/newlib/libc/sys/phoenix/machine/arm/Makefile.in +++ b/newlib/libc/sys/phoenix/machine/arm/Makefile.in @@ -181,7 +181,6 @@ ACLOCAL =3D @ACLOCAL@ AMTAR =3D @AMTAR@ AM_DEFAULT_VERBOSITY =3D @AM_DEFAULT_VERBOSITY@ AR =3D @AR@ -AS =3D @AS@ AUTOCONF =3D @AUTOCONF@ AUTOHEADER =3D @AUTOHEADER@ AUTOMAKE =3D @AUTOMAKE@ diff --git a/newlib/libc/sys/phoenix/machine/arm/aclocal.m4 b/newlib/libc/s= ys/phoenix/machine/arm/aclocal.m4 index d39038146..1fb03f49d 100644 --- a/newlib/libc/sys/phoenix/machine/arm/aclocal.m4 +++ b/newlib/libc/sys/phoenix/machine/arm/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libc/sys/phoenix/machine/arm/configure b/newlib/libc/sy= s/phoenix/machine/arm/configure index 212468275..18f1c61ca 100644 --- a/newlib/libc/sys/phoenix/machine/arm/configure +++ b/newlib/libc/sys/phoenix/machine/arm/configure @@ -608,12 +608,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3510,6 +3509,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -3804,101 +3810,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4203,12 +4114,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never diff --git a/newlib/libc/sys/phoenix/machine/configure b/newlib/libc/sys/ph= oenix/machine/configure index c4b2e2987..3e13d455f 100644 --- a/newlib/libc/sys/phoenix/machine/configure +++ b/newlib/libc/sys/phoenix/machine/configure @@ -613,12 +613,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3518,6 +3517,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -3812,101 +3818,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4211,12 +4122,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never diff --git a/newlib/libm/aclocal.m4 b/newlib/libm/aclocal.m4 index e92803b47..ce5020f7c 100644 --- a/newlib/libm/aclocal.m4 +++ b/newlib/libm/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]))]) =20 +# 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}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$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 -= *- =20 # Copyright (C) 2001-2017 Free Software Foundation, Inc. diff --git a/newlib/libm/configure b/newlib/libm/configure index 1aaa4ee4d..99ee6c95f 100755 --- a/newlib/libm/configure +++ b/newlib/libm/configure @@ -660,6 +660,7 @@ GREP LIBTOOL OBJDUMP DLLTOOL +AS SED sys_dir shared_machine_dir @@ -682,12 +683,11 @@ ELIX_LEVEL_0_FALSE ELIX_LEVEL_0_TRUE NO_INCLUDE_LIST NEWLIB_CFLAGS -CCASFLAGS -CCAS READELF RANLIB AR -AS +CCASFLAGS +CCAS CPP OBJEXT EXEEXT @@ -3815,6 +3815,13 @@ ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_= ext >&5' ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' ac_compiler_gnu=3D$ac_cv_c_compiler_gnu =20 +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" =3D set || CCAS=3D$CC +test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS + + + =20 # Check whether --enable-target-optspace was given. if test "${enable_target_optspace+set}" =3D set; then : @@ -4109,101 +4116,6 @@ AM_BACKSLASH=3D'\' =20 =20 =20 - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a progra= m name with args. -set dummy ${ac_tool_prefix}as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS=3D"$AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AS=3D"${ac_tool_prefix}as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -AS=3D$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=3D$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=3D$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AS+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS=3D"$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_AS=3D"as" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_= ext" >&5 - break 2 - fi -done - done -IFS=3D$as_save_IFS - -fi -fi -ac_ct_AS=3D$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" =3D x; then - AS=3D"" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pr= efixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triple= t" >&2;} -ac_tool_warned=3Dyes ;; -esac - AS=3D$ac_ct_AS - fi -else - AS=3D"$ac_cv_prog_AS" -fi - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a progra= m name with args. set dummy ${ac_tool_prefix}ar; ac_word=3D$2 @@ -4508,12 +4420,6 @@ fi MAINT=3D$MAINTAINER_MODE_TRUE =20 =20 -# By default we simply use the C compiler to build assembly code. -test "${CCAS+set}" =3D set || CCAS=3D$CC -test "${CCASFLAGS+set}" =3D set || CCASFLAGS=3D$CFLAGS - - - =20 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, # at least currently, we never actually build a program, so we never @@ -11292,7 +11198,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11295 "configure" +#line 11201 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11398,7 +11304,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11401 "configure" +#line 11307 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H