1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/sparc.
4 # Check for a GCC emitting GOTDATA relocations.
5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sparc gcc GOTDATA reloc support" >&5
6 $as_echo_n "checking for sparc gcc GOTDATA reloc support... " >&6; }
7 if ${libc_cv_sparc_gcc_gotdata+:} false; then :
8 $as_echo_n "(cached) " >&6
10 cat > conftest.c <<\EOF
17 libc_cv_sparc_gcc_gotdata=no
18 if { ac_try='${CC-cc} -S $CFLAGS -O2 -fPIC conftest.c 1>&5'
19 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23 test $ac_status = 0; }; }; then
24 if grep -q 'gdop_hix22' conftest.s \
25 && grep -q 'gdop_lox10' conftest.s; then
26 libc_cv_sparc_gcc_gotdata=yes
31 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_sparc_gcc_gotdata" >&5
32 $as_echo "$libc_cv_sparc_gcc_gotdata" >&6; }
33 if test $libc_cv_sparc_gcc_gotdata = yes; then
34 $as_echo "#define HAVE_GCC_GOTDATA 1" >>confdefs.h
38 if test $libc_cv_sparc_gcc_gotdata = yes; then
39 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h