1# This file is generated from configure.ac by Autoconf. DO NOT EDIT! 2 # Local configure fragment for sysdeps/powerpc/powerpc32. 3 4# See whether GCC uses -msecure-plt. 5{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -msecure-plt by default" >&5 6$as_echo_n "checking for -msecure-plt by default... " >&6; } 7if ${libc_cv_ppc_secure_plt+:} false; then : 8 $as_echo_n "(cached) " >&6 9else 10 echo 'int foo (void) { extern int bar; return bar; }' > conftest.c 11libc_cv_ppc_secure_plt=no 12if { ac_try='${CC-cc} -S $CFLAGS conftest.c -fpic -o conftest.s 1>&5' 13 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 14 (eval $ac_try) 2>&5 15 ac_status=$? 16 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17 test $ac_status = 0; }; }; then 18 if grep '_GLOBAL_OFFSET_TABLE_-.*@ha' conftest.s > /dev/null 2>&1; then 19 libc_cv_ppc_secure_plt=yes 20 fi 21fi 22rm -rf conftest* 23fi 24{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ppc_secure_plt" >&5 25$as_echo "$libc_cv_ppc_secure_plt" >&6; } 26if test $libc_cv_ppc_secure_plt = yes; then 27 $as_echo "#define HAVE_PPC_SECURE_PLT 1" >>confdefs.h 28 29fi 30