1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/arm.
4 #AC_DEFINE(PI_STATIC_AND_HIDDEN)
6 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the CFI directive .cfi_sections is supported" >&5
7 $as_echo_n "checking whether the CFI directive .cfi_sections is supported... " >&6; }
8 if ${libc_cv_asm_cfi_directive_sections+:} false; then :
9 $as_echo_n "(cached) " >&6
11 cat > conftest.s <<EOF
13 .cfi_sections .debug_frame, .eh_frame
17 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
18 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
21 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22 test $ac_status = 0; }; }; then
23 libc_cv_asm_cfi_directive_sections=yes
25 libc_cv_asm_cfi_directive_sections=no
29 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_cfi_directive_sections" >&5
30 $as_echo "$libc_cv_asm_cfi_directive_sections" >&6; }
31 if test $libc_cv_asm_cfi_directive_sections != yes; then
32 as_fn_error $? "need .cfi_sections in this configuration" "$LINENO" 5
35 # We check to see if the compiler and flags are
36 # selecting the hard-float ABI and if they are then
37 # we set libc_cv_arm_pcs_vfp to yes which causes
38 # HAVE_ARM_PCS_VFP to be defined in config.h and
39 # in include/libc-symbols.h and thus available to
40 # shlib-versions to select the appropriate name for
41 # the dynamic linker via %ifdef.
44 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
45 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
46 if ${ac_cv_path_GREP+:} false; then :
47 $as_echo_n "(cached) " >&6
49 if test -z "$GREP"; then
50 ac_path_GREP_found=false
51 # Loop through the user's path and test for each of PROGNAME-LIST
52 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
56 test -z "$as_dir" && as_dir=.
57 for ac_prog in grep ggrep; do
58 for ac_exec_ext in '' $ac_executable_extensions; do
59 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
60 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
61 # Check for GNU ac_path_GREP and select it if it is found.
62 # Check for GNU $ac_path_GREP
63 case `"$ac_path_GREP" --version 2>&1` in
65 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
68 $as_echo_n 0123456789 >"conftest.in"
71 cat "conftest.in" "conftest.in" >"conftest.tmp"
72 mv "conftest.tmp" "conftest.in"
73 cp "conftest.in" "conftest.nl"
74 $as_echo 'GREP' >> "conftest.nl"
75 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
76 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
77 as_fn_arith $ac_count + 1 && ac_count=$as_val
78 if test $ac_count -gt ${ac_path_GREP_max-0}; then
79 # Best one so far, save it but keep looking for a better one
80 ac_cv_path_GREP="$ac_path_GREP"
81 ac_path_GREP_max=$ac_count
83 # 10*(2^10) chars as input seems more than enough
84 test $ac_count -gt 10 && break
86 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
89 $ac_path_GREP_found && break 3
94 if test -z "$ac_cv_path_GREP"; then
95 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
103 $as_echo "$ac_cv_path_GREP" >&6; }
104 GREP="$ac_cv_path_GREP"
107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
108 $as_echo_n "checking for egrep... " >&6; }
109 if ${ac_cv_path_EGREP+:} false; then :
110 $as_echo_n "(cached) " >&6
112 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
113 then ac_cv_path_EGREP="$GREP -E"
115 if test -z "$EGREP"; then
116 ac_path_EGREP_found=false
117 # Loop through the user's path and test for each of PROGNAME-LIST
118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
119 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
122 test -z "$as_dir" && as_dir=.
123 for ac_prog in egrep; do
124 for ac_exec_ext in '' $ac_executable_extensions; do
125 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
126 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
127 # Check for GNU ac_path_EGREP and select it if it is found.
128 # Check for GNU $ac_path_EGREP
129 case `"$ac_path_EGREP" --version 2>&1` in
131 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
134 $as_echo_n 0123456789 >"conftest.in"
137 cat "conftest.in" "conftest.in" >"conftest.tmp"
138 mv "conftest.tmp" "conftest.in"
139 cp "conftest.in" "conftest.nl"
140 $as_echo 'EGREP' >> "conftest.nl"
141 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
142 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
143 as_fn_arith $ac_count + 1 && ac_count=$as_val
144 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
145 # Best one so far, save it but keep looking for a better one
146 ac_cv_path_EGREP="$ac_path_EGREP"
147 ac_path_EGREP_max=$ac_count
149 # 10*(2^10) chars as input seems more than enough
150 test $ac_count -gt 10 && break
152 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
155 $ac_path_EGREP_found && break 3
160 if test -z "$ac_cv_path_EGREP"; then
161 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
164 ac_cv_path_EGREP=$EGREP
169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
170 $as_echo "$ac_cv_path_EGREP" >&6; }
171 EGREP="$ac_cv_path_EGREP"
174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is using the ARM hard-float ABI" >&5
175 $as_echo_n "checking whether the compiler is using the ARM hard-float ABI... " >&6; }
176 if ${libc_cv_arm_pcs_vfp+:} false; then :
177 $as_echo_n "(cached) " >&6
179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
180 /* end confdefs.h. */
186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
187 $EGREP "yes" >/dev/null 2>&1; then :
188 libc_cv_arm_pcs_vfp=yes
190 libc_cv_arm_pcs_vfp=no
195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_arm_pcs_vfp" >&5
196 $as_echo "$libc_cv_arm_pcs_vfp" >&6; }
197 if test $libc_cv_arm_pcs_vfp = yes; then
198 $as_echo "#define HAVE_ARM_PCS_VFP 1" >>confdefs.h