MIPSr6/math: Use builtin fma and fmaf
[glibc.git] / sysdeps / mach / hurd / configure
blob6ca3bab5112795f53ecba43d1c610fe9a9b10f0a
1 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
3 printf "%s\n" "#define NO_RTLD_HIDDEN 1" >>confdefs.h
6 if test -n "$sysheaders"; then
7   OLD_CPPFLAGS=$CPPFLAGS
8   CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
9 fi
13 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Hurd header version" >&5
14 printf %s "checking Hurd header version... " >&6; }
15 if test ${libc_cv_hurd_version+y}
16 then :
17   printf %s "(cached) " >&6
18 else case e in #(
19   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20 /* end confdefs.h.  */
21 #include <hurd/version.h>
22 int
23 main (void)
26 #define NEED_VERSION 20020609
27 #if HURD_INTERFACE_VERSION < NEED_VERSION
28 # error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
29 #endif
30   ;
31   return 0;
33 _ACEOF
34 if ac_fn_c_try_cpp "$LINENO"
35 then :
36   libc_cv_hurd_version=ok
37 else case e in #(
38   e) libc_cv_hurd_version=bad ;;
39 esac
41 rm -f conftest.err conftest.i conftest.$ac_ext ;;
42 esac
44 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hurd_version" >&5
45 printf "%s\n" "$libc_cv_hurd_version" >&6; }
46 if test "x$libc_cv_hurd_version" != xok; then
47   as_fn_error $? "Hurd headers not installed or too old" "$LINENO" 5
52 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
53 printf %s "checking for egrep -e... " >&6; }
54 if test ${ac_cv_path_EGREP_TRADITIONAL+y}
55 then :
56   printf %s "(cached) " >&6
57 else case e in #(
58   e) if test -z "$EGREP_TRADITIONAL"; then
59   ac_path_EGREP_TRADITIONAL_found=false
60   # Loop through the user's path and test for each of PROGNAME-LIST
61   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
64   IFS=$as_save_IFS
65   case $as_dir in #(((
66     '') as_dir=./ ;;
67     */) ;;
68     *) as_dir=$as_dir/ ;;
69   esac
70     for ac_prog in grep ggrep
71    do
72     for ac_exec_ext in '' $ac_executable_extensions; do
73       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
74       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
75 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
76   # Check for GNU $ac_path_EGREP_TRADITIONAL
77 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
78 *GNU*)
79   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
82   ac_count=0
83   printf %s 0123456789 >"conftest.in"
84   while :
85   do
86     cat "conftest.in" "conftest.in" >"conftest.tmp"
87     mv "conftest.tmp" "conftest.in"
88     cp "conftest.in" "conftest.nl"
89     printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
90     "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
91     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
92     as_fn_arith $ac_count + 1 && ac_count=$as_val
93     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
94       # Best one so far, save it but keep looking for a better one
95       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
96       ac_path_EGREP_TRADITIONAL_max=$ac_count
97     fi
98     # 10*(2^10) chars as input seems more than enough
99     test $ac_count -gt 10 && break
100   done
101   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
102 esac
104       $ac_path_EGREP_TRADITIONAL_found && break 3
105     done
106   done
107   done
108 IFS=$as_save_IFS
109   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
110     :
111   fi
112 else
113   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
116     if test "$ac_cv_path_EGREP_TRADITIONAL"
117 then :
118   ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
119 else case e in #(
120   e) if test -z "$EGREP_TRADITIONAL"; then
121   ac_path_EGREP_TRADITIONAL_found=false
122   # Loop through the user's path and test for each of PROGNAME-LIST
123   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
124 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
126   IFS=$as_save_IFS
127   case $as_dir in #(((
128     '') as_dir=./ ;;
129     */) ;;
130     *) as_dir=$as_dir/ ;;
131   esac
132     for ac_prog in egrep
133    do
134     for ac_exec_ext in '' $ac_executable_extensions; do
135       ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
136       as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
137 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
138   # Check for GNU $ac_path_EGREP_TRADITIONAL
139 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
140 *GNU*)
141   ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
144   ac_count=0
145   printf %s 0123456789 >"conftest.in"
146   while :
147   do
148     cat "conftest.in" "conftest.in" >"conftest.tmp"
149     mv "conftest.tmp" "conftest.in"
150     cp "conftest.in" "conftest.nl"
151     printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
152     "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
153     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
154     as_fn_arith $ac_count + 1 && ac_count=$as_val
155     if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
156       # Best one so far, save it but keep looking for a better one
157       ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
158       ac_path_EGREP_TRADITIONAL_max=$ac_count
159     fi
160     # 10*(2^10) chars as input seems more than enough
161     test $ac_count -gt 10 && break
162   done
163   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
164 esac
166       $ac_path_EGREP_TRADITIONAL_found && break 3
167     done
168   done
169   done
170 IFS=$as_save_IFS
171   if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
172     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
173   fi
174 else
175   ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
177  ;;
178 esac
179 fi ;;
180 esac
182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
183 printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
184  EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for proc_getchildren_rusage in process.defs" >&5
187 printf %s "checking for proc_getchildren_rusage in process.defs... " >&6; }
188 if test ${libc_cv_hurd_rpc_proc_getchildren_rusage+y}
189 then :
190   printf %s "(cached) " >&6
191 else case e in #(
192   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
193 /* end confdefs.h.  */
194 #include <hurd/process.defs>
196 _ACEOF
197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
198   $EGREP_TRADITIONAL "proc_getchildren_rusage" >/dev/null 2>&1
199 then :
200   libc_cv_hurd_rpc_proc_getchildren_rusage=yes
201 else case e in #(
202   e) libc_cv_hurd_rpc_proc_getchildren_rusage=no ;;
203 esac
205 rm -rf conftest*
206  ;;
207 esac
209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hurd_rpc_proc_getchildren_rusage" >&5
210 printf "%s\n" "$libc_cv_hurd_rpc_proc_getchildren_rusage" >&6; }
211 if test $libc_cv_hurd_rpc_proc_getchildren_rusage = yes; then
212   printf "%s\n" "#define HAVE_HURD_PROC_GETCHILDREN_RUSAGE 1" >>confdefs.h
217 if test -n "$sysheaders"; then
218   CPPFLAGS=$OLD_CPPFLAGS
221 # Hurd has libpthread as a separate library.
222 pthread_in_libc=no