Message ID | 54D124B9.6000204@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
If no one opposes, I will commit it today. On 03-02-2015 17:42, Adhemerval Zanella wrote: > Current minimum binutils supported (2.22) has ".machine altivec" support > as default, so there is no need to add a configure check for such > functionality. This patches removes the configure checks for it. > > Checked on powerpc32-fpu and powerpc64. > > -- > > * sysdeps/powerpc/configure.ac: Remove file. > * sysdeps/powerpc/configure: Likewise. > > -- > > diff --git a/sysdeps/powerpc/configure b/sysdeps/powerpc/configure > deleted file mode 100644 > index fccee65..0000000 > --- a/sysdeps/powerpc/configure > +++ /dev/null > @@ -1,33 +0,0 @@ > -# This file is generated from configure.ac by Autoconf. DO NOT EDIT! > - # Local configure fragment for sysdeps/powerpc. > - > -# Accept binutils which knows about ".machine". > -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for .machine support" >&5 > -$as_echo_n "checking for .machine support... " >&6; } > -if ${libc_cv_ppc_machine+:} false; then : > - $as_echo_n "(cached) " >&6 > -else > - cat > conftest.s <<\EOF > - .machine "altivec" > - blr > -EOF > -if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5' > - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 > - (eval $ac_try) 2>&5 > - ac_status=$? > - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 > - test $ac_status = 0; }; }; then > - libc_cv_ppc_machine=yes > -else > - libc_cv_ppc_machine=no > -fi > -rm -f conftest* > -fi > -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ppc_machine" >&5 > -$as_echo "$libc_cv_ppc_machine" >&6; } > -if test $libc_cv_ppc_machine != yes; then > - as_fn_error $? " > -*** A binutils version which can handle > -*** .machine \"altivec\" > -*** is needed." "$LINENO" 5 > -fi > diff --git a/sysdeps/powerpc/configure.ac b/sysdeps/powerpc/configure.ac > deleted file mode 100644 > index 28cc859..0000000 > --- a/sysdeps/powerpc/configure.ac > +++ /dev/null > @@ -1,21 +0,0 @@ > -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. > -# Local configure fragment for sysdeps/powerpc. > - > -# Accept binutils which knows about ".machine". > -AC_CACHE_CHECK(for .machine support, libc_cv_ppc_machine, [dnl > -cat > conftest.s <<\EOF > - .machine "altivec" > - blr > -EOF > -if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then > - libc_cv_ppc_machine=yes > -else > - libc_cv_ppc_machine=no > -fi > -rm -f conftest*]) > -if test $libc_cv_ppc_machine != yes; then > - AC_MSG_ERROR([ > -*** A binutils version which can handle > -*** .machine "altivec" > -*** is needed.]) > -fi >
diff --git a/sysdeps/powerpc/configure b/sysdeps/powerpc/configure deleted file mode 100644 index fccee65..0000000 --- a/sysdeps/powerpc/configure +++ /dev/null @@ -1,33 +0,0 @@ -# This file is generated from configure.ac by Autoconf. DO NOT EDIT! - # Local configure fragment for sysdeps/powerpc. - -# Accept binutils which knows about ".machine". -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for .machine support" >&5 -$as_echo_n "checking for .machine support... " >&6; } -if ${libc_cv_ppc_machine+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat > conftest.s <<\EOF - .machine "altivec" - blr -EOF -if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5' - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 - (eval $ac_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - libc_cv_ppc_machine=yes -else - libc_cv_ppc_machine=no -fi -rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ppc_machine" >&5 -$as_echo "$libc_cv_ppc_machine" >&6; } -if test $libc_cv_ppc_machine != yes; then - as_fn_error $? " -*** A binutils version which can handle -*** .machine \"altivec\" -*** is needed." "$LINENO" 5 -fi diff --git a/sysdeps/powerpc/configure.ac b/sysdeps/powerpc/configure.ac deleted file mode 100644 index 28cc859..0000000 --- a/sysdeps/powerpc/configure.ac +++ /dev/null @@ -1,21 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/powerpc. - -# Accept binutils which knows about ".machine". -AC_CACHE_CHECK(for .machine support, libc_cv_ppc_machine, [dnl -cat > conftest.s <<\EOF - .machine "altivec" - blr -EOF -if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then - libc_cv_ppc_machine=yes -else - libc_cv_ppc_machine=no -fi -rm -f conftest*]) -if test $libc_cv_ppc_machine != yes; then - AC_MSG_ERROR([ -*** A binutils version which can handle -*** .machine "altivec" -*** is needed.]) -fi