From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id D03C03864A33; Tue, 6 Dec 2022 13:34:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D03C03864A33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670333670; bh=6lLai0z3fdEZ7dGB4In5sKk3JxNxf2Zvw1n5ssgqCK8=; h=From:To:Subject:Date:From; b=ZwgAnHv3Rh4Jmq1+xrFrlCEePkEwkoz+Ly/yxLyjOoYJQbDOoArTuJnkMQ2Kc14rn FmjlmwGQb2PGSvynHgIAdNbpSWPcreqqb2+tX+9SMoD2WEDu2VjHH6taZSvBHbkQD3 TnG9cjvdTn2qkzo0OrXLDI/1HGpBpqYB8A6E8xt8= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] configure: Remove check if as is GNU X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/master X-Git-Oldrev: 43ecc41dda576947c6adcc94b35c083d926e43ce X-Git-Newrev: f35b7ce02fcf5267e128f25d4b01b80711a01110 Message-Id: <20221206133430.D03C03864A33@sourceware.org> Date: Tue, 6 Dec 2022 13:34:30 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f35b7ce02fcf5267e128f25d4b01b80711a01110 commit f35b7ce02fcf5267e128f25d4b01b80711a01110 Author: Adhemerval Zanella Date: Fri Dec 2 16:00:26 2022 -0300 configure: Remove check if as is GNU It is not used in any place. Reviewed-by: Carlos O'Donell Diff: --- aclocal.m4 | 6 ------ configure | 20 -------------------- 2 files changed, 26 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 531b11cb69..149b9e5376 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -127,12 +127,6 @@ AC_SUBST(OBJCOPY) GPROF=`$CC -print-prog-name=gprof` AC_SUBST(GPROF) -# Determine whether we are using GNU binutils. -AC_CACHE_CHECK(whether $AS is GNU as, libc_cv_prog_as_gnu, -[LIBC_PROG_FOO_GNU($AS, libc_cv_prog_as_gnu=yes, libc_cv_prog_as_gnu=no)]) -rm -f a.out -gnu_as=$libc_cv_prog_as_gnu - AC_CACHE_CHECK(whether $LD is GNU ld, libc_cv_prog_ld_gnu, [LIBC_PROG_FOO_GNU($LD, libc_cv_prog_ld_gnu=yes, libc_cv_prog_ld_gnu=no)]) gnu_ld=$libc_cv_prog_ld_gnu diff --git a/configure b/configure index 9a8acc4ef7..2d3b3946b9 100755 --- a/configure +++ b/configure @@ -4155,26 +4155,6 @@ OBJCOPY=`$CC -print-prog-name=objcopy` GPROF=`$CC -print-prog-name=gprof` -# Determine whether we are using GNU binutils. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AS is GNU as" >&5 -$as_echo_n "checking whether $AS is GNU as... " >&6; } -if ${libc_cv_prog_as_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Most GNU programs take a -v and spit out some text including -# the word 'GNU'. Some try to read stdin, so give them /dev/null. -if $AS -o conftest -v &1 | grep GNU > /dev/null 2>&1; then - libc_cv_prog_as_gnu=yes -else - libc_cv_prog_as_gnu=no -fi -rm -fr contest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_as_gnu" >&5 -$as_echo "$libc_cv_prog_as_gnu" >&6; } -rm -f a.out -gnu_as=$libc_cv_prog_as_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD is GNU ld" >&5 $as_echo_n "checking whether $LD is GNU ld... " >&6; } if ${libc_cv_prog_ld_gnu+:} false; then :