BZ#13696: Add --disable-nscd configure option.
[platform/upstream/glibc.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GNU C Library (see version.h).
4 #
5 # Report bugs to <http://sourceware.org/bugzilla/>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178   if (eval "$as_required") 2>/dev/null; then :
179   as_have_required=yes
180 else
181   as_have_required=no
182 fi
183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190   IFS=$as_save_IFS
191   test -z "$as_dir" && as_dir=.
192   as_found=:
193   case $as_dir in #(
194          /*)
195            for as_base in sh bash ksh sh5; do
196              # Try only shells that exist, to save several forks.
197              as_shell=$as_dir/$as_base
198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200   CONFIG_SHELL=$as_shell as_have_required=yes
201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202   break 2
203 fi
204 fi
205            done;;
206        esac
207   as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211   CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216       if test "x$CONFIG_SHELL" != x; then :
217   # We cannot yet assume a decent shell, so we have to provide a
218         # neutralization value for shells without unset; and this also
219         # works around shells that cannot unset nonexistent variables.
220         # Preserve -v and -x to the replacement shell.
221         BASH_ENV=/dev/null
222         ENV=/dev/null
223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224         export CONFIG_SHELL
225         case $- in # ((((
226           *v*x* | *x*v* ) as_opts=-vx ;;
227           *v* ) as_opts=-v ;;
228           *x* ) as_opts=-x ;;
229           * ) as_opts= ;;
230         esac
231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
234     if test x$as_have_required = xno; then :
235   $as_echo "$0: This script requires a shell more modern than all"
236   $as_echo "$0: the shells that I found on your system."
237   if test x${ZSH_VERSION+set} = xset ; then
238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240   else
241     $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: http://sourceware.org/bugzilla/ about your system,
243 $0: including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
246   fi
247   exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
256
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
264 {
265   { eval $1=; unset $1;}
266 }
267 as_unset=as_fn_unset
268
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
273 {
274   return $1
275 } # as_fn_set_status
276
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
281 {
282   set +e
283   as_fn_set_status $1
284   exit $1
285 } # as_fn_exit
286
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
291 {
292
293   case $as_dir in #(
294   -*) as_dir=./$as_dir;;
295   esac
296   test -d "$as_dir" || eval $as_mkdir_p || {
297     as_dirs=
298     while :; do
299       case $as_dir in #(
300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301       *) as_qdir=$as_dir;;
302       esac
303       as_dirs="'$as_qdir' $as_dirs"
304       as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306          X"$as_dir" : 'X\(//\)[^/]' \| \
307          X"$as_dir" : 'X\(//\)$' \| \
308          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\/\)[^/].*/{
315             s//\1/
316             q
317           }
318           /^X\(\/\/\)$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\).*/{
323             s//\1/
324             q
325           }
326           s/.*/./; q'`
327       test -d "$as_dir" && break
328     done
329     test -z "$as_dirs" || eval "mkdir $as_dirs"
330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333 } # as_fn_mkdir_p
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341   eval 'as_fn_append ()
342   {
343     eval $1+=\$2
344   }'
345 else
346   as_fn_append ()
347   {
348     eval $1=\$$1\$2
349   }
350 fi # as_fn_append
351
352 # as_fn_arith ARG...
353 # ------------------
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358   eval 'as_fn_arith ()
359   {
360     as_val=$(( $* ))
361   }'
362 else
363   as_fn_arith ()
364   {
365     as_val=`expr "$@" || test $? -eq 1`
366   }
367 fi # as_fn_arith
368
369
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
375 as_fn_error ()
376 {
377   as_status=$1; test $as_status -eq 0 && as_status=1
378   if test "$4"; then
379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381   fi
382   $as_echo "$as_me: error: $2" >&2
383   as_fn_exit $as_status
384 } # as_fn_error
385
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
388   as_expr=expr
389 else
390   as_expr=false
391 fi
392
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394   as_basename=basename
395 else
396   as_basename=false
397 fi
398
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400   as_dirname=dirname
401 else
402   as_dirname=false
403 fi
404
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407          X"$0" : 'X\(//\)$' \| \
408          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
410     sed '/^.*\/\([^/][^/]*\)\/*$/{
411             s//\1/
412             q
413           }
414           /^X\/\(\/\/\)$/{
415             s//\1/
416             q
417           }
418           /^X\/\(\/\).*/{
419             s//\1/
420             q
421           }
422           s/.*/./; q'`
423
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
430
431
432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
437   sed -n '
438     p
439     /[$]LINENO/=
440   ' <$as_myself |
441     sed '
442       s/[$]LINENO.*/&-/
443       t lineno
444       b
445       :lineno
446       N
447       :loop
448       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449       t loop
450       s/-\n.*//
451     ' >$as_me.lineno &&
452   chmod +x "$as_me.lineno" ||
453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454
455   # Don't try to exec as it changes $[0], causing all sort of problems
456   # (the dirname of $[0] is not the place where we might find the
457   # original and so on.  Autoconf is especially sensitive to this).
458   . "./$as_me.lineno"
459   # Exit status is that of the last command.
460   exit
461 }
462
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
465 -n*)
466   case `echo 'xy\c'` in
467   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
468   xy)  ECHO_C='\c';;
469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
470        ECHO_T=' ';;
471   esac;;
472 *)
473   ECHO_N='-n';;
474 esac
475
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478   rm -f conf$$.dir/conf$$.file
479 else
480   rm -f conf$$.dir
481   mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484   if ln -s conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s='ln -s'
486     # ... but there are two gotchas:
487     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489     # In both cases, we have to default to `cp -p'.
490     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491       as_ln_s='cp -p'
492   elif ln conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s=ln
494   else
495     as_ln_s='cp -p'
496   fi
497 else
498   as_ln_s='cp -p'
499 fi
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
502
503 if mkdir -p . 2>/dev/null; then
504   as_mkdir_p='mkdir -p "$as_dir"'
505 else
506   test -d ./-p && rmdir ./-p
507   as_mkdir_p=false
508 fi
509
510 if test -x / >/dev/null 2>&1; then
511   as_test_x='test -x'
512 else
513   if ls -dL / >/dev/null 2>&1; then
514     as_ls_L_option=L
515   else
516     as_ls_L_option=
517   fi
518   as_test_x='
519     eval sh -c '\''
520       if test -d "$1"; then
521         test -d "$1/.";
522       else
523         case $1 in #(
524         -*)set "./$1";;
525         esac;
526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527         ???[sx]*):;;*)false;;esac;fi
528     '\'' sh
529   '
530 fi
531 as_executable_p=$as_test_x
532
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538
539
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
542
543 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547
548 #
549 # Initializations.
550 #
551 ac_default_prefix=/usr/local
552 ac_clean_files=
553 ac_config_libobj_dir=.
554 LIBOBJS=
555 cross_compiling=no
556 subdirs=
557 MFLAGS=
558 MAKEFLAGS=
559
560 # Identity of this package.
561 PACKAGE_NAME='GNU C Library'
562 PACKAGE_TARNAME='glibc'
563 PACKAGE_VERSION='(see version.h)'
564 PACKAGE_STRING='GNU C Library (see version.h)'
565 PACKAGE_BUGREPORT='http://sourceware.org/bugzilla/'
566 PACKAGE_URL='http://www.gnu.org/software/glibc/'
567
568 ac_unique_file="include/features.h"
569 enable_option_checking=no
570 ac_includes_default='/* none */'
571 ac_subst_vars='LTLIBOBJS
572 LIBOBJS
573 RELEASE
574 VERSION
575 mach_interface_list
576 DEFINES
577 static_nss
578 profile
579 libc_cv_pic_default
580 shared
581 static
582 ldd_rewrite_script
583 use_ldconfig
584 libc_cv_sparc_as_vis3
585 libc_cv_as_i686
586 libc_cv_cc_nofma
587 libc_cv_cc_fma4
588 libc_cv_cc_novzeroupper
589 libc_cv_cc_sse2avx
590 libc_cv_cc_avx
591 libc_cv_cc_sse4
592 libc_cv_cpp_asm_debuginfo
593 libc_cv_forced_unwind
594 libc_cv_rootsbindir
595 libc_cv_localstatedir
596 libc_cv_sysconfdir
597 libc_cv_localedir
598 libc_cv_slibdir
599 old_glibc_headers
600 use_nscd
601 libc_cv_gcc_unwind_find_fde
602 libc_extra_cflags
603 CPPUNDEFS
604 sizeof_long_double
605 have_selinux
606 have_libcap
607 have_libaudit
608 LIBGD
609 libc_cv_cc_submachine
610 exceptions
611 gnu89_inline
612 libc_cv_ssp
613 fno_unit_at_a_time
614 libc_cv_output_format
615 libc_cv_hashstyle
616 libc_cv_fpie
617 libc_cv_z_execstack
618 libc_cv_z_combreloc
619 ASFLAGS_config
620 libc_cv_Bgroup
621 libc_cv_cc_with_libunwind
622 VERSIONING
623 BISON
624 INSTALL_INFO
625 PERL
626 AWK
627 libc_cv_have_ksh
628 KSH
629 libc_cv_have_bash2
630 BASH_SHELL
631 libc_cv_gcc_static_libgcc
632 CXX_SYSINCLUDES
633 SYSINCLUDES
634 AUTOCONF
635 NM
636 READELF
637 SED
638 MAKEINFO
639 MSGFMT
640 MAKE
641 LD
642 AS
643 MIG
644 OBJCOPY
645 OBJDUMP
646 AR
647 LN_S
648 INSTALL_DATA
649 INSTALL_SCRIPT
650 INSTALL_PROGRAM
651 sysdeps_add_ons
652 sysnames
653 submachine
654 multi_arch
655 base_machine
656 add_on_subdirs
657 add_ons
658 link_obsolete_rpc
659 libc_cv_nss_crypt
660 all_warnings
661 force_install
662 bindnow
663 oldest_abi
664 use_default_link
665 sysheaders
666 with_fp
667 ac_ct_CXX
668 CXXFLAGS
669 CXX
670 CPP
671 cross_compiling
672 BUILD_CC
673 OBJEXT
674 ac_ct_CC
675 CPPFLAGS
676 LDFLAGS
677 CFLAGS
678 CC
679 host_os
680 host_vendor
681 host_cpu
682 host
683 build_os
684 build_vendor
685 build_cpu
686 build
687 subdirs
688 target_alias
689 host_alias
690 build_alias
691 LIBS
692 ECHO_T
693 ECHO_N
694 ECHO_C
695 DEFS
696 mandir
697 localedir
698 libdir
699 psdir
700 pdfdir
701 dvidir
702 htmldir
703 infodir
704 docdir
705 oldincludedir
706 includedir
707 localstatedir
708 sharedstatedir
709 sysconfdir
710 datadir
711 datarootdir
712 libexecdir
713 sbindir
714 bindir
715 program_transform_name
716 prefix
717 exec_prefix
718 PACKAGE_URL
719 PACKAGE_BUGREPORT
720 PACKAGE_STRING
721 PACKAGE_VERSION
722 PACKAGE_TARNAME
723 PACKAGE_NAME
724 PATH_SEPARATOR
725 SHELL'
726 ac_subst_files=''
727 ac_user_opts='
728 enable_option_checking
729 with_gd
730 with_gd_include
731 with_gd_lib
732 with_fp
733 with_binutils
734 with_selinux
735 with_headers
736 with_default_link
737 enable_sanity_checks
738 enable_shared
739 enable_profile
740 enable_versioning
741 enable_oldest_abi
742 enable_stackguard_randomization
743 enable_add_ons
744 enable_hidden_plt
745 enable_bind_now
746 enable_static_nss
747 enable_force_install
748 enable_kernel
749 enable_all_warnings
750 enable_multi_arch
751 enable_nss_crypt
752 enable_obsolete_rpc
753 enable_systemtap
754 enable_nscd
755 with_cpu
756 '
757       ac_precious_vars='build_alias
758 host_alias
759 target_alias
760 CC
761 CFLAGS
762 LDFLAGS
763 LIBS
764 CPPFLAGS
765 CPP
766 CXX
767 CXXFLAGS
768 CCC'
769 ac_subdirs_all='
770 '
771
772 # Initialize some variables set by options.
773 ac_init_help=
774 ac_init_version=false
775 ac_unrecognized_opts=
776 ac_unrecognized_sep=
777 # The variables have the same names as the options, with
778 # dashes changed to underlines.
779 cache_file=/dev/null
780 exec_prefix=NONE
781 no_create=
782 no_recursion=
783 prefix=NONE
784 program_prefix=NONE
785 program_suffix=NONE
786 program_transform_name=s,x,x,
787 silent=
788 site=
789 srcdir=
790 verbose=
791 x_includes=NONE
792 x_libraries=NONE
793
794 # Installation directory options.
795 # These are left unexpanded so users can "make install exec_prefix=/foo"
796 # and all the variables that are supposed to be based on exec_prefix
797 # by default will actually change.
798 # Use braces instead of parens because sh, perl, etc. also accept them.
799 # (The list follows the same order as the GNU Coding Standards.)
800 bindir='${exec_prefix}/bin'
801 sbindir='${exec_prefix}/sbin'
802 libexecdir='${exec_prefix}/libexec'
803 datarootdir='${prefix}/share'
804 datadir='${datarootdir}'
805 sysconfdir='${prefix}/etc'
806 sharedstatedir='${prefix}/com'
807 localstatedir='${prefix}/var'
808 includedir='${prefix}/include'
809 oldincludedir='/usr/include'
810 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
811 infodir='${datarootdir}/info'
812 htmldir='${docdir}'
813 dvidir='${docdir}'
814 pdfdir='${docdir}'
815 psdir='${docdir}'
816 libdir='${exec_prefix}/lib'
817 localedir='${datarootdir}/locale'
818 mandir='${datarootdir}/man'
819
820 ac_prev=
821 ac_dashdash=
822 for ac_option
823 do
824   # If the previous option needs an argument, assign it.
825   if test -n "$ac_prev"; then
826     eval $ac_prev=\$ac_option
827     ac_prev=
828     continue
829   fi
830
831   case $ac_option in
832   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
833   *=)   ac_optarg= ;;
834   *)    ac_optarg=yes ;;
835   esac
836
837   # Accept the important Cygnus configure options, so we can diagnose typos.
838
839   case $ac_dashdash$ac_option in
840   --)
841     ac_dashdash=yes ;;
842
843   -bindir | --bindir | --bindi | --bind | --bin | --bi)
844     ac_prev=bindir ;;
845   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
846     bindir=$ac_optarg ;;
847
848   -build | --build | --buil | --bui | --bu)
849     ac_prev=build_alias ;;
850   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
851     build_alias=$ac_optarg ;;
852
853   -cache-file | --cache-file | --cache-fil | --cache-fi \
854   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
855     ac_prev=cache_file ;;
856   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
857   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
858     cache_file=$ac_optarg ;;
859
860   --config-cache | -C)
861     cache_file=config.cache ;;
862
863   -datadir | --datadir | --datadi | --datad)
864     ac_prev=datadir ;;
865   -datadir=* | --datadir=* | --datadi=* | --datad=*)
866     datadir=$ac_optarg ;;
867
868   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
869   | --dataroo | --dataro | --datar)
870     ac_prev=datarootdir ;;
871   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
872   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
873     datarootdir=$ac_optarg ;;
874
875   -disable-* | --disable-*)
876     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
877     # Reject names that are not valid shell variable names.
878     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879       as_fn_error $? "invalid feature name: $ac_useropt"
880     ac_useropt_orig=$ac_useropt
881     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882     case $ac_user_opts in
883       *"
884 "enable_$ac_useropt"
885 "*) ;;
886       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
887          ac_unrecognized_sep=', ';;
888     esac
889     eval enable_$ac_useropt=no ;;
890
891   -docdir | --docdir | --docdi | --doc | --do)
892     ac_prev=docdir ;;
893   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
894     docdir=$ac_optarg ;;
895
896   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897     ac_prev=dvidir ;;
898   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
899     dvidir=$ac_optarg ;;
900
901   -enable-* | --enable-*)
902     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
903     # Reject names that are not valid shell variable names.
904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
905       as_fn_error $? "invalid feature name: $ac_useropt"
906     ac_useropt_orig=$ac_useropt
907     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908     case $ac_user_opts in
909       *"
910 "enable_$ac_useropt"
911 "*) ;;
912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
913          ac_unrecognized_sep=', ';;
914     esac
915     eval enable_$ac_useropt=\$ac_optarg ;;
916
917   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
918   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
919   | --exec | --exe | --ex)
920     ac_prev=exec_prefix ;;
921   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
922   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
923   | --exec=* | --exe=* | --ex=*)
924     exec_prefix=$ac_optarg ;;
925
926   -gas | --gas | --ga | --g)
927     # Obsolete; use --with-gas.
928     with_gas=yes ;;
929
930   -help | --help | --hel | --he | -h)
931     ac_init_help=long ;;
932   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
933     ac_init_help=recursive ;;
934   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
935     ac_init_help=short ;;
936
937   -host | --host | --hos | --ho)
938     ac_prev=host_alias ;;
939   -host=* | --host=* | --hos=* | --ho=*)
940     host_alias=$ac_optarg ;;
941
942   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
943     ac_prev=htmldir ;;
944   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
945   | --ht=*)
946     htmldir=$ac_optarg ;;
947
948   -includedir | --includedir | --includedi | --included | --include \
949   | --includ | --inclu | --incl | --inc)
950     ac_prev=includedir ;;
951   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
952   | --includ=* | --inclu=* | --incl=* | --inc=*)
953     includedir=$ac_optarg ;;
954
955   -infodir | --infodir | --infodi | --infod | --info | --inf)
956     ac_prev=infodir ;;
957   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
958     infodir=$ac_optarg ;;
959
960   -libdir | --libdir | --libdi | --libd)
961     ac_prev=libdir ;;
962   -libdir=* | --libdir=* | --libdi=* | --libd=*)
963     libdir=$ac_optarg ;;
964
965   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
966   | --libexe | --libex | --libe)
967     ac_prev=libexecdir ;;
968   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
969   | --libexe=* | --libex=* | --libe=*)
970     libexecdir=$ac_optarg ;;
971
972   -localedir | --localedir | --localedi | --localed | --locale)
973     ac_prev=localedir ;;
974   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
975     localedir=$ac_optarg ;;
976
977   -localstatedir | --localstatedir | --localstatedi | --localstated \
978   | --localstate | --localstat | --localsta | --localst | --locals)
979     ac_prev=localstatedir ;;
980   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
981   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
982     localstatedir=$ac_optarg ;;
983
984   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
985     ac_prev=mandir ;;
986   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
987     mandir=$ac_optarg ;;
988
989   -nfp | --nfp | --nf)
990     # Obsolete; use --without-fp.
991     with_fp=no ;;
992
993   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
994   | --no-cr | --no-c | -n)
995     no_create=yes ;;
996
997   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
998   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
999     no_recursion=yes ;;
1000
1001   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1002   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1003   | --oldin | --oldi | --old | --ol | --o)
1004     ac_prev=oldincludedir ;;
1005   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1006   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1007   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1008     oldincludedir=$ac_optarg ;;
1009
1010   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1011     ac_prev=prefix ;;
1012   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1013     prefix=$ac_optarg ;;
1014
1015   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1016   | --program-pre | --program-pr | --program-p)
1017     ac_prev=program_prefix ;;
1018   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1019   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1020     program_prefix=$ac_optarg ;;
1021
1022   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1023   | --program-suf | --program-su | --program-s)
1024     ac_prev=program_suffix ;;
1025   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1026   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1027     program_suffix=$ac_optarg ;;
1028
1029   -program-transform-name | --program-transform-name \
1030   | --program-transform-nam | --program-transform-na \
1031   | --program-transform-n | --program-transform- \
1032   | --program-transform | --program-transfor \
1033   | --program-transfo | --program-transf \
1034   | --program-trans | --program-tran \
1035   | --progr-tra | --program-tr | --program-t)
1036     ac_prev=program_transform_name ;;
1037   -program-transform-name=* | --program-transform-name=* \
1038   | --program-transform-nam=* | --program-transform-na=* \
1039   | --program-transform-n=* | --program-transform-=* \
1040   | --program-transform=* | --program-transfor=* \
1041   | --program-transfo=* | --program-transf=* \
1042   | --program-trans=* | --program-tran=* \
1043   | --progr-tra=* | --program-tr=* | --program-t=*)
1044     program_transform_name=$ac_optarg ;;
1045
1046   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1047     ac_prev=pdfdir ;;
1048   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1049     pdfdir=$ac_optarg ;;
1050
1051   -psdir | --psdir | --psdi | --psd | --ps)
1052     ac_prev=psdir ;;
1053   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1054     psdir=$ac_optarg ;;
1055
1056   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057   | -silent | --silent | --silen | --sile | --sil)
1058     silent=yes ;;
1059
1060   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1061     ac_prev=sbindir ;;
1062   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1063   | --sbi=* | --sb=*)
1064     sbindir=$ac_optarg ;;
1065
1066   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1067   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1068   | --sharedst | --shareds | --shared | --share | --shar \
1069   | --sha | --sh)
1070     ac_prev=sharedstatedir ;;
1071   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1072   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1073   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1074   | --sha=* | --sh=*)
1075     sharedstatedir=$ac_optarg ;;
1076
1077   -site | --site | --sit)
1078     ac_prev=site ;;
1079   -site=* | --site=* | --sit=*)
1080     site=$ac_optarg ;;
1081
1082   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1083     ac_prev=srcdir ;;
1084   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1085     srcdir=$ac_optarg ;;
1086
1087   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1088   | --syscon | --sysco | --sysc | --sys | --sy)
1089     ac_prev=sysconfdir ;;
1090   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1091   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1092     sysconfdir=$ac_optarg ;;
1093
1094   -target | --target | --targe | --targ | --tar | --ta | --t)
1095     ac_prev=target_alias ;;
1096   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1097     target_alias=$ac_optarg ;;
1098
1099   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1100     verbose=yes ;;
1101
1102   -version | --version | --versio | --versi | --vers | -V)
1103     ac_init_version=: ;;
1104
1105   -with-* | --with-*)
1106     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1107     # Reject names that are not valid shell variable names.
1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109       as_fn_error $? "invalid package name: $ac_useropt"
1110     ac_useropt_orig=$ac_useropt
1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112     case $ac_user_opts in
1113       *"
1114 "with_$ac_useropt"
1115 "*) ;;
1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1117          ac_unrecognized_sep=', ';;
1118     esac
1119     eval with_$ac_useropt=\$ac_optarg ;;
1120
1121   -without-* | --without-*)
1122     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123     # Reject names that are not valid shell variable names.
1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1125       as_fn_error $? "invalid package name: $ac_useropt"
1126     ac_useropt_orig=$ac_useropt
1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128     case $ac_user_opts in
1129       *"
1130 "with_$ac_useropt"
1131 "*) ;;
1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1133          ac_unrecognized_sep=', ';;
1134     esac
1135     eval with_$ac_useropt=no ;;
1136
1137   --x)
1138     # Obsolete; use --with-x.
1139     with_x=yes ;;
1140
1141   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1142   | --x-incl | --x-inc | --x-in | --x-i)
1143     ac_prev=x_includes ;;
1144   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1145   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1146     x_includes=$ac_optarg ;;
1147
1148   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1149   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1150     ac_prev=x_libraries ;;
1151   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1152   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1153     x_libraries=$ac_optarg ;;
1154
1155   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1156 Try \`$0 --help' for more information"
1157     ;;
1158
1159   *=*)
1160     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1161     # Reject names that are not valid shell variable names.
1162     case $ac_envvar in #(
1163       '' | [0-9]* | *[!_$as_cr_alnum]* )
1164       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1165     esac
1166     eval $ac_envvar=\$ac_optarg
1167     export $ac_envvar ;;
1168
1169   *)
1170     # FIXME: should be removed in autoconf 3.0.
1171     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1172     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1174     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1175     ;;
1176
1177   esac
1178 done
1179
1180 if test -n "$ac_prev"; then
1181   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1182   as_fn_error $? "missing argument to $ac_option"
1183 fi
1184
1185 if test -n "$ac_unrecognized_opts"; then
1186   case $enable_option_checking in
1187     no) ;;
1188     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1189     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1190   esac
1191 fi
1192
1193 # Check all directory arguments for consistency.
1194 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1195                 datadir sysconfdir sharedstatedir localstatedir includedir \
1196                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1197                 libdir localedir mandir
1198 do
1199   eval ac_val=\$$ac_var
1200   # Remove trailing slashes.
1201   case $ac_val in
1202     */ )
1203       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1204       eval $ac_var=\$ac_val;;
1205   esac
1206   # Be sure to have absolute directory names.
1207   case $ac_val in
1208     [\\/$]* | ?:[\\/]* )  continue;;
1209     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1210   esac
1211   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1212 done
1213
1214 # There might be people who depend on the old broken behavior: `$host'
1215 # used to hold the argument of --host etc.
1216 # FIXME: To remove some day.
1217 build=$build_alias
1218 host=$host_alias
1219 target=$target_alias
1220
1221 # FIXME: To remove some day.
1222 if test "x$host_alias" != x; then
1223   if test "x$build_alias" = x; then
1224     cross_compiling=maybe
1225     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1226     If a cross compiler is detected then cross compile mode will be used" >&2
1227   elif test "x$build_alias" != "x$host_alias"; then
1228     cross_compiling=yes
1229   fi
1230 fi
1231
1232 ac_tool_prefix=
1233 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1234
1235 test "$silent" = yes && exec 6>/dev/null
1236
1237
1238 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1239 ac_ls_di=`ls -di .` &&
1240 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1241   as_fn_error $? "working directory cannot be determined"
1242 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1243   as_fn_error $? "pwd does not report name of working directory"
1244
1245
1246 # Find the source files, if location was not specified.
1247 if test -z "$srcdir"; then
1248   ac_srcdir_defaulted=yes
1249   # Try the directory containing this script, then the parent directory.
1250   ac_confdir=`$as_dirname -- "$as_myself" ||
1251 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1252          X"$as_myself" : 'X\(//\)[^/]' \| \
1253          X"$as_myself" : 'X\(//\)$' \| \
1254          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1255 $as_echo X"$as_myself" |
1256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1257             s//\1/
1258             q
1259           }
1260           /^X\(\/\/\)[^/].*/{
1261             s//\1/
1262             q
1263           }
1264           /^X\(\/\/\)$/{
1265             s//\1/
1266             q
1267           }
1268           /^X\(\/\).*/{
1269             s//\1/
1270             q
1271           }
1272           s/.*/./; q'`
1273   srcdir=$ac_confdir
1274   if test ! -r "$srcdir/$ac_unique_file"; then
1275     srcdir=..
1276   fi
1277 else
1278   ac_srcdir_defaulted=no
1279 fi
1280 if test ! -r "$srcdir/$ac_unique_file"; then
1281   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1282   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1283 fi
1284 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1285 ac_abs_confdir=`(
1286         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1287         pwd)`
1288 # When building in place, set srcdir=.
1289 if test "$ac_abs_confdir" = "$ac_pwd"; then
1290   srcdir=.
1291 fi
1292 # Remove unnecessary trailing slashes from srcdir.
1293 # Double slashes in file names in object file debugging info
1294 # mess up M-x gdb in Emacs.
1295 case $srcdir in
1296 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 esac
1298 for ac_var in $ac_precious_vars; do
1299   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1300   eval ac_env_${ac_var}_value=\$${ac_var}
1301   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1302   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1303 done
1304
1305 #
1306 # Report the --help message.
1307 #
1308 if test "$ac_init_help" = "long"; then
1309   # Omit some internal or obsolete options to make the list less imposing.
1310   # This message is too long to be a string in the A/UX 3.1 sh.
1311   cat <<_ACEOF
1312 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1313
1314 Usage: $0 [OPTION]... [VAR=VALUE]...
1315
1316 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1317 VAR=VALUE.  See below for descriptions of some of the useful variables.
1318
1319 Defaults for the options are specified in brackets.
1320
1321 Configuration:
1322   -h, --help              display this help and exit
1323       --help=short        display options specific to this package
1324       --help=recursive    display the short help of all the included packages
1325   -V, --version           display version information and exit
1326   -q, --quiet, --silent   do not print \`checking ...' messages
1327       --cache-file=FILE   cache test results in FILE [disabled]
1328   -C, --config-cache      alias for \`--cache-file=config.cache'
1329   -n, --no-create         do not create output files
1330       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1331
1332 Installation directories:
1333   --prefix=PREFIX         install architecture-independent files in PREFIX
1334                           [$ac_default_prefix]
1335   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1336                           [PREFIX]
1337
1338 By default, \`make install' will install all the files in
1339 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1340 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1341 for instance \`--prefix=\$HOME'.
1342
1343 For better control, use the options below.
1344
1345 Fine tuning of the installation directories:
1346   --bindir=DIR            user executables [EPREFIX/bin]
1347   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1348   --libexecdir=DIR        program executables [EPREFIX/libexec]
1349   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1350   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1351   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1352   --libdir=DIR            object code libraries [EPREFIX/lib]
1353   --includedir=DIR        C header files [PREFIX/include]
1354   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1355   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1356   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1357   --infodir=DIR           info documentation [DATAROOTDIR/info]
1358   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1359   --mandir=DIR            man documentation [DATAROOTDIR/man]
1360   --docdir=DIR            documentation root [DATAROOTDIR/doc/glibc]
1361   --htmldir=DIR           html documentation [DOCDIR]
1362   --dvidir=DIR            dvi documentation [DOCDIR]
1363   --pdfdir=DIR            pdf documentation [DOCDIR]
1364   --psdir=DIR             ps documentation [DOCDIR]
1365 _ACEOF
1366
1367   cat <<\_ACEOF
1368
1369 System types:
1370   --build=BUILD     configure for building on BUILD [guessed]
1371   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1372 _ACEOF
1373 fi
1374
1375 if test -n "$ac_init_help"; then
1376   case $ac_init_help in
1377      short | recursive ) echo "Configuration of GNU C Library (see version.h):";;
1378    esac
1379   cat <<\_ACEOF
1380
1381 Optional Features:
1382   --disable-option-checking  ignore unrecognized --enable/--with options
1383   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1384   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1385   --disable-sanity-checks really do not use threads (should not be used except
1386                           in special situations) [default=yes]
1387   --enable-shared         build shared library [default=yes if GNU ld]
1388   --enable-profile        build profiled library [default=no]
1389   --disable-versioning    do not include versioning information in the library
1390                           objects [default=yes if supported]
1391   --enable-oldest-abi=ABI configure the oldest ABI supported [e.g. 2.2]
1392                           [default=glibc default]
1393   --enable-stackguard-randomization
1394                           initialize __stack_chk_guard canary with a random
1395                           number at program start
1396   --enable-add-ons[=DIRS...]
1397                           configure and build add-ons in DIR1,DIR2,... search
1398                           for add-ons if no parameter given
1399   --disable-hidden-plt    do not hide internal function calls to avoid PLT
1400   --enable-bind-now       disable lazy relocations in DSOs
1401   --enable-static-nss     build static NSS modules [default=no]
1402   --disable-force-install don't force installation of files from this package,
1403                           even if they are older than the installed files
1404   --enable-kernel=VERSION compile for compatibility with kernel not older than
1405                           VERSION
1406   --enable-all-warnings   enable all useful warnings gcc can issue
1407   --enable-multi-arch     enable single DSO with optimizations for multiple
1408                           architectures
1409   --enable-nss-crypt      enable libcrypt to use nss
1410   --enable-obsolete-rpc   build and install the obsolete RPC code for
1411                           link-time usage
1412   --enable-systemtap      enable systemtap static probe points [default=no]
1413   --disable-nscd          library functions will not contact the nscd daemon
1414
1415 Optional Packages:
1416   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1417   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1418   --with-gd=DIR           find libgd include dir and library with prefix DIR
1419   --with-gd-include=DIR   find libgd include files in DIR
1420   --with-gd-lib=DIR       find libgd library files in DIR
1421   --with-fp               if using floating-point hardware [default=yes]
1422   --with-binutils=PATH    specify location of binutils (as and ld)
1423   --with-selinux          if building with SELinux support
1424   --with-headers=PATH     location of system headers to use (for example
1425                           /usr/src/linux/include) [default=compiler default]
1426   --with-default-link     do not use explicit linker scripts
1427   --with-cpu=CPU          select code for CPU variant
1428
1429 Some influential environment variables:
1430   CC          C compiler command
1431   CFLAGS      C compiler flags
1432   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1433               nonstandard directory <lib dir>
1434   LIBS        libraries to pass to the linker, e.g. -l<library>
1435   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1436               you have headers in a nonstandard directory <include dir>
1437   CPP         C preprocessor
1438   CXX         C++ compiler command
1439   CXXFLAGS    C++ compiler flags
1440
1441 Use these variables to override the choices made by `configure' or to help
1442 it to find libraries and programs with nonstandard names/locations.
1443
1444 Report bugs to <http://sourceware.org/bugzilla/>.
1445 GNU C Library home page: <http://www.gnu.org/software/glibc/>.
1446 General help using GNU software: <http://www.gnu.org/gethelp/>.
1447 _ACEOF
1448 ac_status=$?
1449 fi
1450
1451 if test "$ac_init_help" = "recursive"; then
1452   # If there are subdirs, report their specific --help.
1453   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1454     test -d "$ac_dir" ||
1455       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1456       continue
1457     ac_builddir=.
1458
1459 case "$ac_dir" in
1460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1461 *)
1462   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1463   # A ".." for each directory in $ac_dir_suffix.
1464   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1465   case $ac_top_builddir_sub in
1466   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1467   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1468   esac ;;
1469 esac
1470 ac_abs_top_builddir=$ac_pwd
1471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1472 # for backward compatibility:
1473 ac_top_builddir=$ac_top_build_prefix
1474
1475 case $srcdir in
1476   .)  # We are building in place.
1477     ac_srcdir=.
1478     ac_top_srcdir=$ac_top_builddir_sub
1479     ac_abs_top_srcdir=$ac_pwd ;;
1480   [\\/]* | ?:[\\/]* )  # Absolute name.
1481     ac_srcdir=$srcdir$ac_dir_suffix;
1482     ac_top_srcdir=$srcdir
1483     ac_abs_top_srcdir=$srcdir ;;
1484   *) # Relative name.
1485     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1486     ac_top_srcdir=$ac_top_build_prefix$srcdir
1487     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1488 esac
1489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1490
1491     cd "$ac_dir" || { ac_status=$?; continue; }
1492     # Check for guested configure.
1493     if test -f "$ac_srcdir/configure.gnu"; then
1494       echo &&
1495       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1496     elif test -f "$ac_srcdir/configure"; then
1497       echo &&
1498       $SHELL "$ac_srcdir/configure" --help=recursive
1499     else
1500       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1501     fi || ac_status=$?
1502     cd "$ac_pwd" || { ac_status=$?; break; }
1503   done
1504 fi
1505
1506 test -n "$ac_init_help" && exit $ac_status
1507 if $ac_init_version; then
1508   cat <<\_ACEOF
1509 GNU C Library configure (see version.h)
1510 generated by GNU Autoconf 2.68
1511
1512 Copyright (C) 2010 Free Software Foundation, Inc.
1513 This configure script is free software; the Free Software Foundation
1514 gives unlimited permission to copy, distribute and modify it.
1515 _ACEOF
1516   exit
1517 fi
1518
1519 ## ------------------------ ##
1520 ## Autoconf initialization. ##
1521 ## ------------------------ ##
1522
1523 # ac_fn_c_try_compile LINENO
1524 # --------------------------
1525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1526 ac_fn_c_try_compile ()
1527 {
1528   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1529   rm -f conftest.$ac_objext
1530   if { { ac_try="$ac_compile"
1531 case "(($ac_try" in
1532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1533   *) ac_try_echo=$ac_try;;
1534 esac
1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536 $as_echo "$ac_try_echo"; } >&5
1537   (eval "$ac_compile") 2>conftest.err
1538   ac_status=$?
1539   if test -s conftest.err; then
1540     grep -v '^ *+' conftest.err >conftest.er1
1541     cat conftest.er1 >&5
1542     mv -f conftest.er1 conftest.err
1543   fi
1544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1545   test $ac_status = 0; } && {
1546          test -z "$ac_c_werror_flag" ||
1547          test ! -s conftest.err
1548        } && test -s conftest.$ac_objext; then :
1549   ac_retval=0
1550 else
1551   $as_echo "$as_me: failed program was:" >&5
1552 sed 's/^/| /' conftest.$ac_ext >&5
1553
1554         ac_retval=1
1555 fi
1556   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1557   as_fn_set_status $ac_retval
1558
1559 } # ac_fn_c_try_compile
1560
1561 # ac_fn_c_try_cpp LINENO
1562 # ----------------------
1563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1564 ac_fn_c_try_cpp ()
1565 {
1566   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1567   if { { ac_try="$ac_cpp conftest.$ac_ext"
1568 case "(($ac_try" in
1569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1570   *) ac_try_echo=$ac_try;;
1571 esac
1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573 $as_echo "$ac_try_echo"; } >&5
1574   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1575   ac_status=$?
1576   if test -s conftest.err; then
1577     grep -v '^ *+' conftest.err >conftest.er1
1578     cat conftest.er1 >&5
1579     mv -f conftest.er1 conftest.err
1580   fi
1581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582   test $ac_status = 0; } > conftest.i && {
1583          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1584          test ! -s conftest.err
1585        }; then :
1586   ac_retval=0
1587 else
1588   $as_echo "$as_me: failed program was:" >&5
1589 sed 's/^/| /' conftest.$ac_ext >&5
1590
1591     ac_retval=1
1592 fi
1593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594   as_fn_set_status $ac_retval
1595
1596 } # ac_fn_c_try_cpp
1597
1598 # ac_fn_cxx_try_compile LINENO
1599 # ----------------------------
1600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1601 ac_fn_cxx_try_compile ()
1602 {
1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604   rm -f conftest.$ac_objext
1605   if { { ac_try="$ac_compile"
1606 case "(($ac_try" in
1607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608   *) ac_try_echo=$ac_try;;
1609 esac
1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612   (eval "$ac_compile") 2>conftest.err
1613   ac_status=$?
1614   if test -s conftest.err; then
1615     grep -v '^ *+' conftest.err >conftest.er1
1616     cat conftest.er1 >&5
1617     mv -f conftest.er1 conftest.err
1618   fi
1619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620   test $ac_status = 0; } && {
1621          test -z "$ac_cxx_werror_flag" ||
1622          test ! -s conftest.err
1623        } && test -s conftest.$ac_objext; then :
1624   ac_retval=0
1625 else
1626   $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.$ac_ext >&5
1628
1629         ac_retval=1
1630 fi
1631   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632   as_fn_set_status $ac_retval
1633
1634 } # ac_fn_cxx_try_compile
1635
1636 # ac_fn_c_try_link LINENO
1637 # -----------------------
1638 # Try to link conftest.$ac_ext, and return whether this succeeded.
1639 ac_fn_c_try_link ()
1640 {
1641   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642   rm -f conftest.$ac_objext conftest$ac_exeext
1643   if { { ac_try="$ac_link"
1644 case "(($ac_try" in
1645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1646   *) ac_try_echo=$ac_try;;
1647 esac
1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649 $as_echo "$ac_try_echo"; } >&5
1650   (eval "$ac_link") 2>conftest.err
1651   ac_status=$?
1652   if test -s conftest.err; then
1653     grep -v '^ *+' conftest.err >conftest.er1
1654     cat conftest.er1 >&5
1655     mv -f conftest.er1 conftest.err
1656   fi
1657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658   test $ac_status = 0; } && {
1659          test -z "$ac_c_werror_flag" ||
1660          test ! -s conftest.err
1661        } && test -s conftest$ac_exeext && {
1662          test "$cross_compiling" = yes ||
1663          $as_test_x conftest$ac_exeext
1664        }; then :
1665   ac_retval=0
1666 else
1667   $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.$ac_ext >&5
1669
1670         ac_retval=1
1671 fi
1672   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1673   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1674   # interfere with the next link command; also delete a directory that is
1675   # left behind by Apple's compiler.  We do this before executing the actions.
1676   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678   as_fn_set_status $ac_retval
1679
1680 } # ac_fn_c_try_link
1681
1682 # ac_fn_c_try_run LINENO
1683 # ----------------------
1684 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1685 # that executables *can* be run.
1686 ac_fn_c_try_run ()
1687 {
1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689   if { { ac_try="$ac_link"
1690 case "(($ac_try" in
1691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692   *) ac_try_echo=$ac_try;;
1693 esac
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696   (eval "$ac_link") 2>&5
1697   ac_status=$?
1698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1700   { { case "(($ac_try" in
1701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702   *) ac_try_echo=$ac_try;;
1703 esac
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706   (eval "$ac_try") 2>&5
1707   ac_status=$?
1708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709   test $ac_status = 0; }; }; then :
1710   ac_retval=0
1711 else
1712   $as_echo "$as_me: program exited with status $ac_status" >&5
1713        $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1715
1716        ac_retval=$ac_status
1717 fi
1718   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1719   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720   as_fn_set_status $ac_retval
1721
1722 } # ac_fn_c_try_run
1723
1724 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1725 # --------------------------------------------
1726 # Tries to find the compile-time value of EXPR in a program that includes
1727 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1728 # computed
1729 ac_fn_c_compute_int ()
1730 {
1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732   if test "$cross_compiling" = yes; then
1733     # Depending upon the size, compute the lo and hi bounds.
1734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1735 /* end confdefs.h.  */
1736 $4
1737 int
1738 main ()
1739 {
1740 static int test_array [1 - 2 * !(($2) >= 0)];
1741 test_array [0] = 0
1742
1743   ;
1744   return 0;
1745 }
1746 _ACEOF
1747 if ac_fn_c_try_compile "$LINENO"; then :
1748   ac_lo=0 ac_mid=0
1749   while :; do
1750     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h.  */
1752 $4
1753 int
1754 main ()
1755 {
1756 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1757 test_array [0] = 0
1758
1759   ;
1760   return 0;
1761 }
1762 _ACEOF
1763 if ac_fn_c_try_compile "$LINENO"; then :
1764   ac_hi=$ac_mid; break
1765 else
1766   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1767                         if test $ac_lo -le $ac_mid; then
1768                           ac_lo= ac_hi=
1769                           break
1770                         fi
1771                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1772 fi
1773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1774   done
1775 else
1776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h.  */
1778 $4
1779 int
1780 main ()
1781 {
1782 static int test_array [1 - 2 * !(($2) < 0)];
1783 test_array [0] = 0
1784
1785   ;
1786   return 0;
1787 }
1788 _ACEOF
1789 if ac_fn_c_try_compile "$LINENO"; then :
1790   ac_hi=-1 ac_mid=-1
1791   while :; do
1792     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h.  */
1794 $4
1795 int
1796 main ()
1797 {
1798 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1799 test_array [0] = 0
1800
1801   ;
1802   return 0;
1803 }
1804 _ACEOF
1805 if ac_fn_c_try_compile "$LINENO"; then :
1806   ac_lo=$ac_mid; break
1807 else
1808   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1809                         if test $ac_mid -le $ac_hi; then
1810                           ac_lo= ac_hi=
1811                           break
1812                         fi
1813                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1814 fi
1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1816   done
1817 else
1818   ac_lo= ac_hi=
1819 fi
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 fi
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823 # Binary search between lo and hi bounds.
1824 while test "x$ac_lo" != "x$ac_hi"; do
1825   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h.  */
1828 $4
1829 int
1830 main ()
1831 {
1832 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1833 test_array [0] = 0
1834
1835   ;
1836   return 0;
1837 }
1838 _ACEOF
1839 if ac_fn_c_try_compile "$LINENO"; then :
1840   ac_hi=$ac_mid
1841 else
1842   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1843 fi
1844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1845 done
1846 case $ac_lo in #((
1847 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1848 '') ac_retval=1 ;;
1849 esac
1850   else
1851     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h.  */
1853 $4
1854 static long int longval () { return $2; }
1855 static unsigned long int ulongval () { return $2; }
1856 #include <stdio.h>
1857 #include <stdlib.h>
1858 int
1859 main ()
1860 {
1861
1862   FILE *f = fopen ("conftest.val", "w");
1863   if (! f)
1864     return 1;
1865   if (($2) < 0)
1866     {
1867       long int i = longval ();
1868       if (i != ($2))
1869         return 1;
1870       fprintf (f, "%ld", i);
1871     }
1872   else
1873     {
1874       unsigned long int i = ulongval ();
1875       if (i != ($2))
1876         return 1;
1877       fprintf (f, "%lu", i);
1878     }
1879   /* Do not output a trailing newline, as this causes \r\n confusion
1880      on some platforms.  */
1881   return ferror (f) || fclose (f) != 0;
1882
1883   ;
1884   return 0;
1885 }
1886 _ACEOF
1887 if ac_fn_c_try_run "$LINENO"; then :
1888   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1889 else
1890   ac_retval=1
1891 fi
1892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1893   conftest.$ac_objext conftest.beam conftest.$ac_ext
1894 rm -f conftest.val
1895
1896   fi
1897   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898   as_fn_set_status $ac_retval
1899
1900 } # ac_fn_c_compute_int
1901 cat >config.log <<_ACEOF
1902 This file contains any messages produced by compilers while
1903 running configure, to aid debugging if configure makes a mistake.
1904
1905 It was created by GNU C Library $as_me (see version.h), which was
1906 generated by GNU Autoconf 2.68.  Invocation command line was
1907
1908   $ $0 $@
1909
1910 _ACEOF
1911 exec 5>>config.log
1912 {
1913 cat <<_ASUNAME
1914 ## --------- ##
1915 ## Platform. ##
1916 ## --------- ##
1917
1918 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1919 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1920 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1921 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1922 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1923
1924 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1925 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1926
1927 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1928 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1929 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1930 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1931 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1932 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1933 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1934
1935 _ASUNAME
1936
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1939 do
1940   IFS=$as_save_IFS
1941   test -z "$as_dir" && as_dir=.
1942     $as_echo "PATH: $as_dir"
1943   done
1944 IFS=$as_save_IFS
1945
1946 } >&5
1947
1948 cat >&5 <<_ACEOF
1949
1950
1951 ## ----------- ##
1952 ## Core tests. ##
1953 ## ----------- ##
1954
1955 _ACEOF
1956
1957
1958 # Keep a trace of the command line.
1959 # Strip out --no-create and --no-recursion so they do not pile up.
1960 # Strip out --silent because we don't want to record it for future runs.
1961 # Also quote any args containing shell meta-characters.
1962 # Make two passes to allow for proper duplicate-argument suppression.
1963 ac_configure_args=
1964 ac_configure_args0=
1965 ac_configure_args1=
1966 ac_must_keep_next=false
1967 for ac_pass in 1 2
1968 do
1969   for ac_arg
1970   do
1971     case $ac_arg in
1972     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1973     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1974     | -silent | --silent | --silen | --sile | --sil)
1975       continue ;;
1976     *\'*)
1977       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1978     esac
1979     case $ac_pass in
1980     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1981     2)
1982       as_fn_append ac_configure_args1 " '$ac_arg'"
1983       if test $ac_must_keep_next = true; then
1984         ac_must_keep_next=false # Got value, back to normal.
1985       else
1986         case $ac_arg in
1987           *=* | --config-cache | -C | -disable-* | --disable-* \
1988           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1989           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1990           | -with-* | --with-* | -without-* | --without-* | --x)
1991             case "$ac_configure_args0 " in
1992               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1993             esac
1994             ;;
1995           -* ) ac_must_keep_next=true ;;
1996         esac
1997       fi
1998       as_fn_append ac_configure_args " '$ac_arg'"
1999       ;;
2000     esac
2001   done
2002 done
2003 { ac_configure_args0=; unset ac_configure_args0;}
2004 { ac_configure_args1=; unset ac_configure_args1;}
2005
2006 # When interrupted or exit'd, cleanup temporary files, and complete
2007 # config.log.  We remove comments because anyway the quotes in there
2008 # would cause problems or look ugly.
2009 # WARNING: Use '\'' to represent an apostrophe within the trap.
2010 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2011 trap 'exit_status=$?
2012   # Save into config.log some information that might help in debugging.
2013   {
2014     echo
2015
2016     $as_echo "## ---------------- ##
2017 ## Cache variables. ##
2018 ## ---------------- ##"
2019     echo
2020     # The following way of writing the cache mishandles newlines in values,
2021 (
2022   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2023     eval ac_val=\$$ac_var
2024     case $ac_val in #(
2025     *${as_nl}*)
2026       case $ac_var in #(
2027       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2028 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2029       esac
2030       case $ac_var in #(
2031       _ | IFS | as_nl) ;; #(
2032       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2033       *) { eval $ac_var=; unset $ac_var;} ;;
2034       esac ;;
2035     esac
2036   done
2037   (set) 2>&1 |
2038     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2039     *${as_nl}ac_space=\ *)
2040       sed -n \
2041         "s/'\''/'\''\\\\'\'''\''/g;
2042           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2043       ;; #(
2044     *)
2045       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2046       ;;
2047     esac |
2048     sort
2049 )
2050     echo
2051
2052     $as_echo "## ----------------- ##
2053 ## Output variables. ##
2054 ## ----------------- ##"
2055     echo
2056     for ac_var in $ac_subst_vars
2057     do
2058       eval ac_val=\$$ac_var
2059       case $ac_val in
2060       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2061       esac
2062       $as_echo "$ac_var='\''$ac_val'\''"
2063     done | sort
2064     echo
2065
2066     if test -n "$ac_subst_files"; then
2067       $as_echo "## ------------------- ##
2068 ## File substitutions. ##
2069 ## ------------------- ##"
2070       echo
2071       for ac_var in $ac_subst_files
2072       do
2073         eval ac_val=\$$ac_var
2074         case $ac_val in
2075         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2076         esac
2077         $as_echo "$ac_var='\''$ac_val'\''"
2078       done | sort
2079       echo
2080     fi
2081
2082     if test -s confdefs.h; then
2083       $as_echo "## ----------- ##
2084 ## confdefs.h. ##
2085 ## ----------- ##"
2086       echo
2087       cat confdefs.h
2088       echo
2089     fi
2090     test "$ac_signal" != 0 &&
2091       $as_echo "$as_me: caught signal $ac_signal"
2092     $as_echo "$as_me: exit $exit_status"
2093   } >&5
2094   rm -f core *.core core.conftest.* &&
2095     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2096     exit $exit_status
2097 ' 0
2098 for ac_signal in 1 2 13 15; do
2099   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2100 done
2101 ac_signal=0
2102
2103 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2104 rm -f -r conftest* confdefs.h
2105
2106 $as_echo "/* confdefs.h */" > confdefs.h
2107
2108 # Predefined preprocessor variables.
2109
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_NAME "$PACKAGE_NAME"
2112 _ACEOF
2113
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2116 _ACEOF
2117
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2120 _ACEOF
2121
2122 cat >>confdefs.h <<_ACEOF
2123 #define PACKAGE_STRING "$PACKAGE_STRING"
2124 _ACEOF
2125
2126 cat >>confdefs.h <<_ACEOF
2127 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2128 _ACEOF
2129
2130 cat >>confdefs.h <<_ACEOF
2131 #define PACKAGE_URL "$PACKAGE_URL"
2132 _ACEOF
2133
2134
2135 # Let the site file select an alternate cache file if it wants to.
2136 # Prefer an explicitly selected file to automatically selected ones.
2137 ac_site_file1=NONE
2138 ac_site_file2=NONE
2139 if test -n "$CONFIG_SITE"; then
2140   # We do not want a PATH search for config.site.
2141   case $CONFIG_SITE in #((
2142     -*)  ac_site_file1=./$CONFIG_SITE;;
2143     */*) ac_site_file1=$CONFIG_SITE;;
2144     *)   ac_site_file1=./$CONFIG_SITE;;
2145   esac
2146 elif test "x$prefix" != xNONE; then
2147   ac_site_file1=$prefix/share/config.site
2148   ac_site_file2=$prefix/etc/config.site
2149 else
2150   ac_site_file1=$ac_default_prefix/share/config.site
2151   ac_site_file2=$ac_default_prefix/etc/config.site
2152 fi
2153 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2154 do
2155   test "x$ac_site_file" = xNONE && continue
2156   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2157     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2158 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2159     sed 's/^/| /' "$ac_site_file" >&5
2160     . "$ac_site_file" \
2161       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2163 as_fn_error $? "failed to load site script $ac_site_file
2164 See \`config.log' for more details" "$LINENO" 5; }
2165   fi
2166 done
2167
2168 if test -r "$cache_file"; then
2169   # Some versions of bash will fail to source /dev/null (special files
2170   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2171   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2172     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2173 $as_echo "$as_me: loading cache $cache_file" >&6;}
2174     case $cache_file in
2175       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2176       *)                      . "./$cache_file";;
2177     esac
2178   fi
2179 else
2180   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2181 $as_echo "$as_me: creating cache $cache_file" >&6;}
2182   >$cache_file
2183 fi
2184
2185 # Check that the precious variables saved in the cache have kept the same
2186 # value.
2187 ac_cache_corrupted=false
2188 for ac_var in $ac_precious_vars; do
2189   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2190   eval ac_new_set=\$ac_env_${ac_var}_set
2191   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2192   eval ac_new_val=\$ac_env_${ac_var}_value
2193   case $ac_old_set,$ac_new_set in
2194     set,)
2195       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2196 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2197       ac_cache_corrupted=: ;;
2198     ,set)
2199       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2200 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2201       ac_cache_corrupted=: ;;
2202     ,);;
2203     *)
2204       if test "x$ac_old_val" != "x$ac_new_val"; then
2205         # differences in whitespace do not lead to failure.
2206         ac_old_val_w=`echo x $ac_old_val`
2207         ac_new_val_w=`echo x $ac_new_val`
2208         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2209           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2210 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2211           ac_cache_corrupted=:
2212         else
2213           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2214 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2215           eval $ac_var=\$ac_old_val
2216         fi
2217         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2218 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2219         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2220 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2221       fi;;
2222   esac
2223   # Pass precious variables to config.status.
2224   if test "$ac_new_set" = set; then
2225     case $ac_new_val in
2226     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2227     *) ac_arg=$ac_var=$ac_new_val ;;
2228     esac
2229     case " $ac_configure_args " in
2230       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2231       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2232     esac
2233   fi
2234 done
2235 if $ac_cache_corrupted; then
2236   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2238   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2239 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2240   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2241 fi
2242 ## -------------------- ##
2243 ## Main body of script. ##
2244 ## -------------------- ##
2245
2246 ac_ext=c
2247 ac_cpp='$CPP $CPPFLAGS'
2248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2251
2252
2253
2254 ac_config_headers="$ac_config_headers config.h"
2255
2256 ac_aux_dir=
2257 for ac_dir in scripts "$srcdir"/scripts; do
2258   if test -f "$ac_dir/install-sh"; then
2259     ac_aux_dir=$ac_dir
2260     ac_install_sh="$ac_aux_dir/install-sh -c"
2261     break
2262   elif test -f "$ac_dir/install.sh"; then
2263     ac_aux_dir=$ac_dir
2264     ac_install_sh="$ac_aux_dir/install.sh -c"
2265     break
2266   elif test -f "$ac_dir/shtool"; then
2267     ac_aux_dir=$ac_dir
2268     ac_install_sh="$ac_aux_dir/shtool install -c"
2269     break
2270   fi
2271 done
2272 if test -z "$ac_aux_dir"; then
2273   as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
2274 fi
2275
2276 # These three variables are undocumented and unsupported,
2277 # and are intended to be withdrawn in a future Autoconf release.
2278 # They can cause serious problems if a builder's source tree is in a directory
2279 # whose full name contains unusual characters.
2280 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2281 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2282 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2283
2284
2285
2286 # Glibc should not depend on any header files
2287
2288
2289
2290
2291 subdirs="$subdirs "
2292
2293
2294 # Make sure we can run config.sub.
2295 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2296   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2297
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2299 $as_echo_n "checking build system type... " >&6; }
2300 if ${ac_cv_build+:} false; then :
2301   $as_echo_n "(cached) " >&6
2302 else
2303   ac_build_alias=$build_alias
2304 test "x$ac_build_alias" = x &&
2305   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2306 test "x$ac_build_alias" = x &&
2307   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2308 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2309   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2310
2311 fi
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2313 $as_echo "$ac_cv_build" >&6; }
2314 case $ac_cv_build in
2315 *-*-*) ;;
2316 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2317 esac
2318 build=$ac_cv_build
2319 ac_save_IFS=$IFS; IFS='-'
2320 set x $ac_cv_build
2321 shift
2322 build_cpu=$1
2323 build_vendor=$2
2324 shift; shift
2325 # Remember, the first character of IFS is used to create $*,
2326 # except with old shells:
2327 build_os=$*
2328 IFS=$ac_save_IFS
2329 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2330
2331
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2333 $as_echo_n "checking host system type... " >&6; }
2334 if ${ac_cv_host+:} false; then :
2335   $as_echo_n "(cached) " >&6
2336 else
2337   if test "x$host_alias" = x; then
2338   ac_cv_host=$ac_cv_build
2339 else
2340   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2341     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2342 fi
2343
2344 fi
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2346 $as_echo "$ac_cv_host" >&6; }
2347 case $ac_cv_host in
2348 *-*-*) ;;
2349 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2350 esac
2351 host=$ac_cv_host
2352 ac_save_IFS=$IFS; IFS='-'
2353 set x $ac_cv_host
2354 shift
2355 host_cpu=$1
2356 host_vendor=$2
2357 shift; shift
2358 # Remember, the first character of IFS is used to create $*,
2359 # except with old shells:
2360 host_os=$*
2361 IFS=$ac_save_IFS
2362 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2363
2364
2365
2366 ac_ext=c
2367 ac_cpp='$CPP $CPPFLAGS'
2368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2371 if test -n "$ac_tool_prefix"; then
2372   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2373 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2375 $as_echo_n "checking for $ac_word... " >&6; }
2376 if ${ac_cv_prog_CC+:} false; then :
2377   $as_echo_n "(cached) " >&6
2378 else
2379   if test -n "$CC"; then
2380   ac_cv_prog_CC="$CC" # Let the user override the test.
2381 else
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 for as_dir in $PATH
2384 do
2385   IFS=$as_save_IFS
2386   test -z "$as_dir" && as_dir=.
2387     for ac_exec_ext in '' $ac_executable_extensions; do
2388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2391     break 2
2392   fi
2393 done
2394   done
2395 IFS=$as_save_IFS
2396
2397 fi
2398 fi
2399 CC=$ac_cv_prog_CC
2400 if test -n "$CC"; then
2401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2402 $as_echo "$CC" >&6; }
2403 else
2404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2405 $as_echo "no" >&6; }
2406 fi
2407
2408
2409 fi
2410 if test -z "$ac_cv_prog_CC"; then
2411   ac_ct_CC=$CC
2412   # Extract the first word of "gcc", so it can be a program name with args.
2413 set dummy gcc; ac_word=$2
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2415 $as_echo_n "checking for $ac_word... " >&6; }
2416 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2417   $as_echo_n "(cached) " >&6
2418 else
2419   if test -n "$ac_ct_CC"; then
2420   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2421 else
2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 for as_dir in $PATH
2424 do
2425   IFS=$as_save_IFS
2426   test -z "$as_dir" && as_dir=.
2427     for ac_exec_ext in '' $ac_executable_extensions; do
2428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429     ac_cv_prog_ac_ct_CC="gcc"
2430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2431     break 2
2432   fi
2433 done
2434   done
2435 IFS=$as_save_IFS
2436
2437 fi
2438 fi
2439 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2440 if test -n "$ac_ct_CC"; then
2441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2442 $as_echo "$ac_ct_CC" >&6; }
2443 else
2444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2445 $as_echo "no" >&6; }
2446 fi
2447
2448   if test "x$ac_ct_CC" = x; then
2449     CC=""
2450   else
2451     case $cross_compiling:$ac_tool_warned in
2452 yes:)
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2455 ac_tool_warned=yes ;;
2456 esac
2457     CC=$ac_ct_CC
2458   fi
2459 else
2460   CC="$ac_cv_prog_CC"
2461 fi
2462
2463 if test -z "$CC"; then
2464           if test -n "$ac_tool_prefix"; then
2465     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2466 set dummy ${ac_tool_prefix}cc; ac_word=$2
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2468 $as_echo_n "checking for $ac_word... " >&6; }
2469 if ${ac_cv_prog_CC+:} false; then :
2470   $as_echo_n "(cached) " >&6
2471 else
2472   if test -n "$CC"; then
2473   ac_cv_prog_CC="$CC" # Let the user override the test.
2474 else
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 for as_dir in $PATH
2477 do
2478   IFS=$as_save_IFS
2479   test -z "$as_dir" && as_dir=.
2480     for ac_exec_ext in '' $ac_executable_extensions; do
2481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2482     ac_cv_prog_CC="${ac_tool_prefix}cc"
2483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2484     break 2
2485   fi
2486 done
2487   done
2488 IFS=$as_save_IFS
2489
2490 fi
2491 fi
2492 CC=$ac_cv_prog_CC
2493 if test -n "$CC"; then
2494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2495 $as_echo "$CC" >&6; }
2496 else
2497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2498 $as_echo "no" >&6; }
2499 fi
2500
2501
2502   fi
2503 fi
2504 if test -z "$CC"; then
2505   # Extract the first word of "cc", so it can be a program name with args.
2506 set dummy cc; ac_word=$2
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2508 $as_echo_n "checking for $ac_word... " >&6; }
2509 if ${ac_cv_prog_CC+:} false; then :
2510   $as_echo_n "(cached) " >&6
2511 else
2512   if test -n "$CC"; then
2513   ac_cv_prog_CC="$CC" # Let the user override the test.
2514 else
2515   ac_prog_rejected=no
2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517 for as_dir in $PATH
2518 do
2519   IFS=$as_save_IFS
2520   test -z "$as_dir" && as_dir=.
2521     for ac_exec_ext in '' $ac_executable_extensions; do
2522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2523     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2524        ac_prog_rejected=yes
2525        continue
2526      fi
2527     ac_cv_prog_CC="cc"
2528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2529     break 2
2530   fi
2531 done
2532   done
2533 IFS=$as_save_IFS
2534
2535 if test $ac_prog_rejected = yes; then
2536   # We found a bogon in the path, so make sure we never use it.
2537   set dummy $ac_cv_prog_CC
2538   shift
2539   if test $# != 0; then
2540     # We chose a different compiler from the bogus one.
2541     # However, it has the same basename, so the bogon will be chosen
2542     # first if we set CC to just the basename; use the full file name.
2543     shift
2544     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2545   fi
2546 fi
2547 fi
2548 fi
2549 CC=$ac_cv_prog_CC
2550 if test -n "$CC"; then
2551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2552 $as_echo "$CC" >&6; }
2553 else
2554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2556 fi
2557
2558
2559 fi
2560 if test -z "$CC"; then
2561   if test -n "$ac_tool_prefix"; then
2562   for ac_prog in cl.exe
2563   do
2564     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if ${ac_cv_prog_CC+:} false; then :
2569   $as_echo_n "(cached) " >&6
2570 else
2571   if test -n "$CC"; then
2572   ac_cv_prog_CC="$CC" # Let the user override the test.
2573 else
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575 for as_dir in $PATH
2576 do
2577   IFS=$as_save_IFS
2578   test -z "$as_dir" && as_dir=.
2579     for ac_exec_ext in '' $ac_executable_extensions; do
2580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2583     break 2
2584   fi
2585 done
2586   done
2587 IFS=$as_save_IFS
2588
2589 fi
2590 fi
2591 CC=$ac_cv_prog_CC
2592 if test -n "$CC"; then
2593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2594 $as_echo "$CC" >&6; }
2595 else
2596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2598 fi
2599
2600
2601     test -n "$CC" && break
2602   done
2603 fi
2604 if test -z "$CC"; then
2605   ac_ct_CC=$CC
2606   for ac_prog in cl.exe
2607 do
2608   # Extract the first word of "$ac_prog", so it can be a program name with args.
2609 set dummy $ac_prog; ac_word=$2
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2613   $as_echo_n "(cached) " >&6
2614 else
2615   if test -n "$ac_ct_CC"; then
2616   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2617 else
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 for as_dir in $PATH
2620 do
2621   IFS=$as_save_IFS
2622   test -z "$as_dir" && as_dir=.
2623     for ac_exec_ext in '' $ac_executable_extensions; do
2624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2625     ac_cv_prog_ac_ct_CC="$ac_prog"
2626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627     break 2
2628   fi
2629 done
2630   done
2631 IFS=$as_save_IFS
2632
2633 fi
2634 fi
2635 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2636 if test -n "$ac_ct_CC"; then
2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2638 $as_echo "$ac_ct_CC" >&6; }
2639 else
2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2642 fi
2643
2644
2645   test -n "$ac_ct_CC" && break
2646 done
2647
2648   if test "x$ac_ct_CC" = x; then
2649     CC=""
2650   else
2651     case $cross_compiling:$ac_tool_warned in
2652 yes:)
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2655 ac_tool_warned=yes ;;
2656 esac
2657     CC=$ac_ct_CC
2658   fi
2659 fi
2660
2661 fi
2662
2663
2664 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2666 as_fn_error $? "no acceptable C compiler found in \$PATH
2667 See \`config.log' for more details" "$LINENO" 5; }
2668
2669 # Provide some information about the compiler.
2670 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2671 set X $ac_compile
2672 ac_compiler=$2
2673 for ac_option in --version -v -V -qversion; do
2674   { { ac_try="$ac_compiler $ac_option >&5"
2675 case "(($ac_try" in
2676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677   *) ac_try_echo=$ac_try;;
2678 esac
2679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2680 $as_echo "$ac_try_echo"; } >&5
2681   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2682   ac_status=$?
2683   if test -s conftest.err; then
2684     sed '10a\
2685 ... rest of stderr output deleted ...
2686          10q' conftest.err >conftest.er1
2687     cat conftest.er1 >&5
2688   fi
2689   rm -f conftest.er1 conftest.err
2690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691   test $ac_status = 0; }
2692 done
2693
2694 EXEEXT=
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2696 $as_echo_n "checking for suffix of object files... " >&6; }
2697 if ${ac_cv_objext+:} false; then :
2698   $as_echo_n "(cached) " >&6
2699 else
2700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2701 /* end confdefs.h.  */
2702
2703 int
2704 main ()
2705 {
2706
2707   ;
2708   return 0;
2709 }
2710 _ACEOF
2711 rm -f conftest.o conftest.obj
2712 if { { ac_try="$ac_compile"
2713 case "(($ac_try" in
2714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715   *) ac_try_echo=$ac_try;;
2716 esac
2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2718 $as_echo "$ac_try_echo"; } >&5
2719   (eval "$ac_compile") 2>&5
2720   ac_status=$?
2721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2722   test $ac_status = 0; }; then :
2723   for ac_file in conftest.o conftest.obj conftest.*; do
2724   test -f "$ac_file" || continue;
2725   case $ac_file in
2726     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2727     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2728        break;;
2729   esac
2730 done
2731 else
2732   $as_echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2734
2735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2737 as_fn_error $? "cannot compute suffix of object files: cannot compile
2738 See \`config.log' for more details" "$LINENO" 5; }
2739 fi
2740 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2741 fi
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2743 $as_echo "$ac_cv_objext" >&6; }
2744 OBJEXT=$ac_cv_objext
2745 ac_objext=$OBJEXT
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2747 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2748 if ${ac_cv_c_compiler_gnu+:} false; then :
2749   $as_echo_n "(cached) " >&6
2750 else
2751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2752 /* end confdefs.h.  */
2753
2754 int
2755 main ()
2756 {
2757 #ifndef __GNUC__
2758        choke me
2759 #endif
2760
2761   ;
2762   return 0;
2763 }
2764 _ACEOF
2765 if ac_fn_c_try_compile "$LINENO"; then :
2766   ac_compiler_gnu=yes
2767 else
2768   ac_compiler_gnu=no
2769 fi
2770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2771 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2772
2773 fi
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2775 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2776 if test $ac_compiler_gnu = yes; then
2777   GCC=yes
2778 else
2779   GCC=
2780 fi
2781 ac_test_CFLAGS=${CFLAGS+set}
2782 ac_save_CFLAGS=$CFLAGS
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2784 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2785 if ${ac_cv_prog_cc_g+:} false; then :
2786   $as_echo_n "(cached) " >&6
2787 else
2788   ac_save_c_werror_flag=$ac_c_werror_flag
2789    ac_c_werror_flag=yes
2790    ac_cv_prog_cc_g=no
2791    CFLAGS="-g"
2792    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h.  */
2794
2795 int
2796 main ()
2797 {
2798
2799   ;
2800   return 0;
2801 }
2802 _ACEOF
2803 if ac_fn_c_try_compile "$LINENO"; then :
2804   ac_cv_prog_cc_g=yes
2805 else
2806   CFLAGS=""
2807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808 /* end confdefs.h.  */
2809
2810 int
2811 main ()
2812 {
2813
2814   ;
2815   return 0;
2816 }
2817 _ACEOF
2818 if ac_fn_c_try_compile "$LINENO"; then :
2819
2820 else
2821   ac_c_werror_flag=$ac_save_c_werror_flag
2822          CFLAGS="-g"
2823          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h.  */
2825
2826 int
2827 main ()
2828 {
2829
2830   ;
2831   return 0;
2832 }
2833 _ACEOF
2834 if ac_fn_c_try_compile "$LINENO"; then :
2835   ac_cv_prog_cc_g=yes
2836 fi
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 fi
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 fi
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842    ac_c_werror_flag=$ac_save_c_werror_flag
2843 fi
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2845 $as_echo "$ac_cv_prog_cc_g" >&6; }
2846 if test "$ac_test_CFLAGS" = set; then
2847   CFLAGS=$ac_save_CFLAGS
2848 elif test $ac_cv_prog_cc_g = yes; then
2849   if test "$GCC" = yes; then
2850     CFLAGS="-g -O2"
2851   else
2852     CFLAGS="-g"
2853   fi
2854 else
2855   if test "$GCC" = yes; then
2856     CFLAGS="-O2"
2857   else
2858     CFLAGS=
2859   fi
2860 fi
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2862 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2863 if ${ac_cv_prog_cc_c89+:} false; then :
2864   $as_echo_n "(cached) " >&6
2865 else
2866   ac_cv_prog_cc_c89=no
2867 ac_save_CC=$CC
2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h.  */
2870 #include <stdarg.h>
2871 #include <stdio.h>
2872 #include <sys/types.h>
2873 #include <sys/stat.h>
2874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2875 struct buf { int x; };
2876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2877 static char *e (p, i)
2878      char **p;
2879      int i;
2880 {
2881   return p[i];
2882 }
2883 static char *f (char * (*g) (char **, int), char **p, ...)
2884 {
2885   char *s;
2886   va_list v;
2887   va_start (v,p);
2888   s = g (p, va_arg (v,int));
2889   va_end (v);
2890   return s;
2891 }
2892
2893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2894    function prototypes and stuff, but not '\xHH' hex character constants.
2895    These don't provoke an error unfortunately, instead are silently treated
2896    as 'x'.  The following induces an error, until -std is added to get
2897    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2898    array size at least.  It's necessary to write '\x00'==0 to get something
2899    that's true only with -std.  */
2900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2901
2902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2903    inside strings and character constants.  */
2904 #define FOO(x) 'x'
2905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2906
2907 int test (int i, double x);
2908 struct s1 {int (*f) (int a);};
2909 struct s2 {int (*f) (double a);};
2910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2911 int argc;
2912 char **argv;
2913 int
2914 main ()
2915 {
2916 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2917   ;
2918   return 0;
2919 }
2920 _ACEOF
2921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2922         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2923 do
2924   CC="$ac_save_CC $ac_arg"
2925   if ac_fn_c_try_compile "$LINENO"; then :
2926   ac_cv_prog_cc_c89=$ac_arg
2927 fi
2928 rm -f core conftest.err conftest.$ac_objext
2929   test "x$ac_cv_prog_cc_c89" != "xno" && break
2930 done
2931 rm -f conftest.$ac_ext
2932 CC=$ac_save_CC
2933
2934 fi
2935 # AC_CACHE_VAL
2936 case "x$ac_cv_prog_cc_c89" in
2937   x)
2938     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2939 $as_echo "none needed" >&6; } ;;
2940   xno)
2941     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2942 $as_echo "unsupported" >&6; } ;;
2943   *)
2944     CC="$CC $ac_cv_prog_cc_c89"
2945     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2946 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2947 esac
2948 if test "x$ac_cv_prog_cc_c89" != xno; then :
2949
2950 fi
2951
2952 ac_ext=c
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2957
2958 if test $host != $build; then
2959   for ac_prog in gcc cc
2960 do
2961   # Extract the first word of "$ac_prog", so it can be a program name with args.
2962 set dummy $ac_prog; ac_word=$2
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if ${ac_cv_prog_BUILD_CC+:} false; then :
2966   $as_echo_n "(cached) " >&6
2967 else
2968   if test -n "$BUILD_CC"; then
2969   ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2970 else
2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972 for as_dir in $PATH
2973 do
2974   IFS=$as_save_IFS
2975   test -z "$as_dir" && as_dir=.
2976     for ac_exec_ext in '' $ac_executable_extensions; do
2977   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978     ac_cv_prog_BUILD_CC="$ac_prog"
2979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980     break 2
2981   fi
2982 done
2983   done
2984 IFS=$as_save_IFS
2985
2986 fi
2987 fi
2988 BUILD_CC=$ac_cv_prog_BUILD_CC
2989 if test -n "$BUILD_CC"; then
2990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
2991 $as_echo "$BUILD_CC" >&6; }
2992 else
2993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994 $as_echo "no" >&6; }
2995 fi
2996
2997
2998   test -n "$BUILD_CC" && break
2999 done
3000
3001 fi
3002
3003 ac_ext=c
3004 ac_cpp='$CPP $CPPFLAGS'
3005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3009 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3010 # On Suns, sometimes $CPP names a directory.
3011 if test -n "$CPP" && test -d "$CPP"; then
3012   CPP=
3013 fi
3014 if test -z "$CPP"; then
3015   if ${ac_cv_prog_CPP+:} false; then :
3016   $as_echo_n "(cached) " >&6
3017 else
3018       # Double quotes because CPP needs to be expanded
3019     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3020     do
3021       ac_preproc_ok=false
3022 for ac_c_preproc_warn_flag in '' yes
3023 do
3024   # Use a header file that comes with gcc, so configuring glibc
3025   # with a fresh cross-compiler works.
3026   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3027   # <limits.h> exists even on freestanding compilers.
3028   # On the NeXT, cc -E runs the code through the compiler's parser,
3029   # not just through cpp. "Syntax error" is here to catch this case.
3030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h.  */
3032 #ifdef __STDC__
3033 # include <limits.h>
3034 #else
3035 # include <assert.h>
3036 #endif
3037                      Syntax error
3038 _ACEOF
3039 if ac_fn_c_try_cpp "$LINENO"; then :
3040
3041 else
3042   # Broken: fails on valid input.
3043 continue
3044 fi
3045 rm -f conftest.err conftest.i conftest.$ac_ext
3046
3047   # OK, works on sane cases.  Now check whether nonexistent headers
3048   # can be detected and how.
3049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h.  */
3051 #include <ac_nonexistent.h>
3052 _ACEOF
3053 if ac_fn_c_try_cpp "$LINENO"; then :
3054   # Broken: success on invalid input.
3055 continue
3056 else
3057   # Passes both tests.
3058 ac_preproc_ok=:
3059 break
3060 fi
3061 rm -f conftest.err conftest.i conftest.$ac_ext
3062
3063 done
3064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3065 rm -f conftest.i conftest.err conftest.$ac_ext
3066 if $ac_preproc_ok; then :
3067   break
3068 fi
3069
3070     done
3071     ac_cv_prog_CPP=$CPP
3072
3073 fi
3074   CPP=$ac_cv_prog_CPP
3075 else
3076   ac_cv_prog_CPP=$CPP
3077 fi
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3079 $as_echo "$CPP" >&6; }
3080 ac_preproc_ok=false
3081 for ac_c_preproc_warn_flag in '' yes
3082 do
3083   # Use a header file that comes with gcc, so configuring glibc
3084   # with a fresh cross-compiler works.
3085   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3086   # <limits.h> exists even on freestanding compilers.
3087   # On the NeXT, cc -E runs the code through the compiler's parser,
3088   # not just through cpp. "Syntax error" is here to catch this case.
3089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h.  */
3091 #ifdef __STDC__
3092 # include <limits.h>
3093 #else
3094 # include <assert.h>
3095 #endif
3096                      Syntax error
3097 _ACEOF
3098 if ac_fn_c_try_cpp "$LINENO"; then :
3099
3100 else
3101   # Broken: fails on valid input.
3102 continue
3103 fi
3104 rm -f conftest.err conftest.i conftest.$ac_ext
3105
3106   # OK, works on sane cases.  Now check whether nonexistent headers
3107   # can be detected and how.
3108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h.  */
3110 #include <ac_nonexistent.h>
3111 _ACEOF
3112 if ac_fn_c_try_cpp "$LINENO"; then :
3113   # Broken: success on invalid input.
3114 continue
3115 else
3116   # Passes both tests.
3117 ac_preproc_ok=:
3118 break
3119 fi
3120 rm -f conftest.err conftest.i conftest.$ac_ext
3121
3122 done
3123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3124 rm -f conftest.i conftest.err conftest.$ac_ext
3125 if $ac_preproc_ok; then :
3126
3127 else
3128   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3130 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3131 See \`config.log' for more details" "$LINENO" 5; }
3132 fi
3133
3134 ac_ext=c
3135 ac_cpp='$CPP $CPPFLAGS'
3136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3139
3140 # We need the C++ compiler only for testing.
3141 ac_ext=cpp
3142 ac_cpp='$CXXCPP $CPPFLAGS'
3143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3146 if test -z "$CXX"; then
3147   if test -n "$CCC"; then
3148     CXX=$CCC
3149   else
3150     if test -n "$ac_tool_prefix"; then
3151   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3152   do
3153     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if ${ac_cv_prog_CXX+:} false; then :
3158   $as_echo_n "(cached) " >&6
3159 else
3160   if test -n "$CXX"; then
3161   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3162 else
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 for as_dir in $PATH
3165 do
3166   IFS=$as_save_IFS
3167   test -z "$as_dir" && as_dir=.
3168     for ac_exec_ext in '' $ac_executable_extensions; do
3169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3170     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172     break 2
3173   fi
3174 done
3175   done
3176 IFS=$as_save_IFS
3177
3178 fi
3179 fi
3180 CXX=$ac_cv_prog_CXX
3181 if test -n "$CXX"; then
3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3183 $as_echo "$CXX" >&6; }
3184 else
3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3187 fi
3188
3189
3190     test -n "$CXX" && break
3191   done
3192 fi
3193 if test -z "$CXX"; then
3194   ac_ct_CXX=$CXX
3195   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3196 do
3197   # Extract the first word of "$ac_prog", so it can be a program name with args.
3198 set dummy $ac_prog; ac_word=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3202   $as_echo_n "(cached) " >&6
3203 else
3204   if test -n "$ac_ct_CXX"; then
3205   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3206 else
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 for as_dir in $PATH
3209 do
3210   IFS=$as_save_IFS
3211   test -z "$as_dir" && as_dir=.
3212     for ac_exec_ext in '' $ac_executable_extensions; do
3213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3214     ac_cv_prog_ac_ct_CXX="$ac_prog"
3215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216     break 2
3217   fi
3218 done
3219   done
3220 IFS=$as_save_IFS
3221
3222 fi
3223 fi
3224 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3225 if test -n "$ac_ct_CXX"; then
3226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3227 $as_echo "$ac_ct_CXX" >&6; }
3228 else
3229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3231 fi
3232
3233
3234   test -n "$ac_ct_CXX" && break
3235 done
3236
3237   if test "x$ac_ct_CXX" = x; then
3238     CXX="g++"
3239   else
3240     case $cross_compiling:$ac_tool_warned in
3241 yes:)
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3244 ac_tool_warned=yes ;;
3245 esac
3246     CXX=$ac_ct_CXX
3247   fi
3248 fi
3249
3250   fi
3251 fi
3252 # Provide some information about the compiler.
3253 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3254 set X $ac_compile
3255 ac_compiler=$2
3256 for ac_option in --version -v -V -qversion; do
3257   { { ac_try="$ac_compiler $ac_option >&5"
3258 case "(($ac_try" in
3259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260   *) ac_try_echo=$ac_try;;
3261 esac
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3265   ac_status=$?
3266   if test -s conftest.err; then
3267     sed '10a\
3268 ... rest of stderr output deleted ...
3269          10q' conftest.err >conftest.er1
3270     cat conftest.er1 >&5
3271   fi
3272   rm -f conftest.er1 conftest.err
3273   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3274   test $ac_status = 0; }
3275 done
3276
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3278 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3279 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3280   $as_echo_n "(cached) " >&6
3281 else
3282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h.  */
3284
3285 int
3286 main ()
3287 {
3288 #ifndef __GNUC__
3289        choke me
3290 #endif
3291
3292   ;
3293   return 0;
3294 }
3295 _ACEOF
3296 if ac_fn_cxx_try_compile "$LINENO"; then :
3297   ac_compiler_gnu=yes
3298 else
3299   ac_compiler_gnu=no
3300 fi
3301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3303
3304 fi
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3306 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3307 if test $ac_compiler_gnu = yes; then
3308   GXX=yes
3309 else
3310   GXX=
3311 fi
3312 ac_test_CXXFLAGS=${CXXFLAGS+set}
3313 ac_save_CXXFLAGS=$CXXFLAGS
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3315 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3316 if ${ac_cv_prog_cxx_g+:} false; then :
3317   $as_echo_n "(cached) " >&6
3318 else
3319   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3320    ac_cxx_werror_flag=yes
3321    ac_cv_prog_cxx_g=no
3322    CXXFLAGS="-g"
3323    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h.  */
3325
3326 int
3327 main ()
3328 {
3329
3330   ;
3331   return 0;
3332 }
3333 _ACEOF
3334 if ac_fn_cxx_try_compile "$LINENO"; then :
3335   ac_cv_prog_cxx_g=yes
3336 else
3337   CXXFLAGS=""
3338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h.  */
3340
3341 int
3342 main ()
3343 {
3344
3345   ;
3346   return 0;
3347 }
3348 _ACEOF
3349 if ac_fn_cxx_try_compile "$LINENO"; then :
3350
3351 else
3352   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3353          CXXFLAGS="-g"
3354          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h.  */
3356
3357 int
3358 main ()
3359 {
3360
3361   ;
3362   return 0;
3363 }
3364 _ACEOF
3365 if ac_fn_cxx_try_compile "$LINENO"; then :
3366   ac_cv_prog_cxx_g=yes
3367 fi
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 fi
3370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3371 fi
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3374 fi
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3376 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3377 if test "$ac_test_CXXFLAGS" = set; then
3378   CXXFLAGS=$ac_save_CXXFLAGS
3379 elif test $ac_cv_prog_cxx_g = yes; then
3380   if test "$GXX" = yes; then
3381     CXXFLAGS="-g -O2"
3382   else
3383     CXXFLAGS="-g"
3384   fi
3385 else
3386   if test "$GXX" = yes; then
3387     CXXFLAGS="-O2"
3388   else
3389     CXXFLAGS=
3390   fi
3391 fi
3392 ac_ext=c
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3397
3398
3399 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
3400   as_fn_error $? "you must configure in a separate build directory" "$LINENO" 5
3401 fi
3402
3403 # This will get text that should go into config.make.
3404 config_vars=
3405
3406 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3407
3408 # Check whether --with-gd was given.
3409 if test "${with_gd+set}" = set; then :
3410   withval=$with_gd; case "$with_gd" in
3411 yes|''|no) ;;
3412 *) libgd_include="-I$withval/include"
3413    libgd_ldflags="-L$withval/lib" ;;
3414 esac
3415
3416 fi
3417
3418
3419 # Check whether --with-gd-include was given.
3420 if test "${with_gd_include+set}" = set; then :
3421   withval=$with_gd_include; case "$with_gd_include" in
3422 ''|no) ;;
3423 *) libgd_include="-I$withval" ;;
3424 esac
3425
3426 fi
3427
3428
3429 # Check whether --with-gd-lib was given.
3430 if test "${with_gd_lib+set}" = set; then :
3431   withval=$with_gd_lib; case "$with_gd_lib" in
3432 ''|no) ;;
3433 *) libgd_ldflags="-L$withval" ;;
3434 esac
3435
3436 fi
3437
3438
3439 if test -n "$libgd_include"; then
3440   config_vars="$config_vars
3441 CFLAGS-memusagestat.c = $libgd_include"
3442 fi
3443 if test -n "$libgd_ldflags"; then
3444   config_vars="$config_vars
3445 libgd-LDFLAGS = $libgd_ldflags"
3446 fi
3447
3448
3449 # Check whether --with-fp was given.
3450 if test "${with_fp+set}" = set; then :
3451   withval=$with_fp; with_fp=$withval
3452 else
3453   with_fp=yes
3454 fi
3455
3456
3457
3458 # Check whether --with-binutils was given.
3459 if test "${with_binutils+set}" = set; then :
3460   withval=$with_binutils; path_binutils=$withval
3461 else
3462   path_binutils=''
3463 fi
3464
3465
3466 # Check whether --with-selinux was given.
3467 if test "${with_selinux+set}" = set; then :
3468   withval=$with_selinux; with_selinux=$withval
3469 else
3470   with_selinux=auto
3471 fi
3472
3473
3474
3475 # Check whether --with-headers was given.
3476 if test "${with_headers+set}" = set; then :
3477   withval=$with_headers; sysheaders=$withval
3478 else
3479   sysheaders=''
3480 fi
3481
3482
3483
3484
3485
3486 # Check whether --with-default-link was given.
3487 if test "${with_default_link+set}" = set; then :
3488   withval=$with_default_link; use_default_link=$withval
3489 else
3490   use_default_link=default
3491 fi
3492
3493
3494 # Check whether --enable-sanity-checks was given.
3495 if test "${enable_sanity_checks+set}" = set; then :
3496   enableval=$enable_sanity_checks; enable_sanity=$enableval
3497 else
3498   enable_sanity=yes
3499 fi
3500
3501
3502 # Check whether --enable-shared was given.
3503 if test "${enable_shared+set}" = set; then :
3504   enableval=$enable_shared; shared=$enableval
3505 else
3506   shared=yes
3507 fi
3508
3509 # Check whether --enable-profile was given.
3510 if test "${enable_profile+set}" = set; then :
3511   enableval=$enable_profile; profile=$enableval
3512 else
3513   profile=no
3514 fi
3515
3516 # Check whether --enable-versioning was given.
3517 if test "${enable_versioning+set}" = set; then :
3518   enableval=$enable_versioning; enable_versioning=$enableval
3519 else
3520   enable_versioning=yes
3521 fi
3522
3523
3524 # Check whether --enable-oldest-abi was given.
3525 if test "${enable_oldest_abi+set}" = set; then :
3526   enableval=$enable_oldest_abi; oldest_abi=$enableval
3527 else
3528   oldest_abi=no
3529 fi
3530
3531 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3532   oldest_abi=default
3533 else
3534   cat >>confdefs.h <<_ACEOF
3535 #define GLIBC_OLDEST_ABI "$oldest_abi"
3536 _ACEOF
3537
3538 fi
3539
3540
3541 # Check whether --enable-stackguard-randomization was given.
3542 if test "${enable_stackguard_randomization+set}" = set; then :
3543   enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3544 else
3545   enable_stackguard_randomize=no
3546 fi
3547
3548 if test "$enable_stackguard_randomize" = yes; then
3549   $as_echo "#define ENABLE_STACKGUARD_RANDOMIZE 1" >>confdefs.h
3550
3551 fi
3552
3553 # Check whether --enable-add-ons was given.
3554 if test "${enable_add_ons+set}" = set; then :
3555   enableval=$enable_add_ons;
3556 else
3557   enable_add_ons=yes
3558 fi
3559
3560
3561 # Check whether --enable-hidden-plt was given.
3562 if test "${enable_hidden_plt+set}" = set; then :
3563   enableval=$enable_hidden_plt; hidden=$enableval
3564 else
3565   hidden=yes
3566 fi
3567
3568 if test "x$hidden" = xno; then
3569   $as_echo "#define NO_HIDDEN 1" >>confdefs.h
3570
3571 fi
3572
3573 # Check whether --enable-bind-now was given.
3574 if test "${enable_bind_now+set}" = set; then :
3575   enableval=$enable_bind_now; bindnow=$enableval
3576 else
3577   bindnow=no
3578 fi
3579
3580
3581
3582 # Check whether --enable-static-nss was given.
3583 if test "${enable_static_nss+set}" = set; then :
3584   enableval=$enable_static_nss; static_nss=$enableval
3585 else
3586   static_nss=no
3587 fi
3588
3589 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3590   static_nss=yes
3591   $as_echo "#define DO_STATIC_NSS 1" >>confdefs.h
3592
3593 fi
3594
3595 # Check whether --enable-force-install was given.
3596 if test "${enable_force_install+set}" = set; then :
3597   enableval=$enable_force_install; force_install=$enableval
3598 else
3599   force_install=yes
3600 fi
3601
3602
3603
3604 # Check whether --enable-kernel was given.
3605 if test "${enable_kernel+set}" = set; then :
3606   enableval=$enable_kernel; minimum_kernel=$enableval
3607 fi
3608
3609 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3610   # Better nothing than this.
3611   minimum_kernel=""
3612 else
3613   if test "$minimum_kernel" = current; then
3614     minimum_kernel=`uname -r 2>/dev/null` || minimum_kernel=
3615   fi
3616 fi
3617
3618 # Check whether --enable-all-warnings was given.
3619 if test "${enable_all_warnings+set}" = set; then :
3620   enableval=$enable_all_warnings; all_warnings=$enableval
3621 fi
3622
3623
3624
3625 # Check whether --enable-multi-arch was given.
3626 if test "${enable_multi_arch+set}" = set; then :
3627   enableval=$enable_multi_arch; multi_arch=$enableval
3628 else
3629   multi_arch=default
3630 fi
3631
3632
3633 # Check whether --enable-nss-crypt was given.
3634 if test "${enable_nss_crypt+set}" = set; then :
3635   enableval=$enable_nss_crypt; nss_crypt=$enableval
3636 else
3637   nss_crypt=no
3638 fi
3639
3640 if test x$nss_crypt = xyes; then
3641   nss_includes=-I$(nss-config --includedir 2>/dev/null)
3642   if test $? -ne 0; then
3643     as_fn_error $? "cannot find include directory with nss-config" "$LINENO" 5
3644   fi
3645   old_CFLAGS="$CFLAGS"
3646   CFLAGS="$CFLAGS $nss_includes"
3647
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h.  */
3650 typedef int PRBool;
3651 #include <hasht.h>
3652 #include <nsslowhash.h>
3653 void f (void) { NSSLOW_Init (); }
3654 int
3655 main ()
3656 {
3657
3658   ;
3659   return 0;
3660 }
3661 _ACEOF
3662 if ac_fn_c_try_compile "$LINENO"; then :
3663   libc_cv_nss_crypt=yes
3664 else
3665   as_fn_error $? "
3666 cannot find NSS headers with lowlevel hash function interfaces" "$LINENO" 5
3667 fi
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669   old_LIBS="$LIBS"
3670   LIBS="$LIBS -lfreebl3"
3671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h.  */
3673 typedef int PRBool;
3674 #include <hasht.h>
3675 #include <nsslowhash.h>
3676 int
3677 main ()
3678 {
3679 NSSLOW_Init();
3680   ;
3681   return 0;
3682 }
3683 _ACEOF
3684 if ac_fn_c_try_link "$LINENO"; then :
3685   libc_cv_nss_crypt=yes
3686 else
3687   as_fn_error $? "
3688 cannot link program using lowlevel NSS hash functions" "$LINENO" 5
3689 fi
3690 rm -f core conftest.err conftest.$ac_objext \
3691     conftest$ac_exeext conftest.$ac_ext
3692   CFLAGS="$old_CFLAGS"
3693   LIBS="$old_LIBS"
3694 else
3695   libc_cv_nss_crypt=no
3696 fi
3697
3698
3699
3700 # Check whether --enable-obsolete-rpc was given.
3701 if test "${enable_obsolete_rpc+set}" = set; then :
3702   enableval=$enable_obsolete_rpc; link_obsolete_rpc=$enableval
3703 else
3704   link_obsolete_rpc=no
3705 fi
3706
3707
3708
3709 if test "$link_obsolete_rpc" = yes; then
3710   $as_echo "#define LINK_OBSOLETE_RPC 1" >>confdefs.h
3711
3712 fi
3713
3714 # Check whether --enable-systemtap was given.
3715 if test "${enable_systemtap+set}" = set; then :
3716   enableval=$enable_systemtap; systemtap=$enableval
3717 else
3718   systemtap=no
3719 fi
3720
3721 if test "x$systemtap" != xno; then
3722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemtap static probe support" >&5
3723 $as_echo_n "checking for systemtap static probe support... " >&6; }
3724 if ${libc_cv_sdt+:} false; then :
3725   $as_echo_n "(cached) " >&6
3726 else
3727     old_CFLAGS="$CFLAGS"
3728   CFLAGS="-std=gnu99 $CFLAGS"
3729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3730 /* end confdefs.h.  */
3731 #include <sys/sdt.h>
3732 void foo (int i, void *p)
3733 {
3734   asm ("" STAP_PROBE_ASM (foo, bar, STAP_PROBE_ASM_TEMPLATE (2)) ""
3735        :: STAP_PROBE_ASM_OPERANDS (2, i, p));
3736 }
3737 _ACEOF
3738 if ac_fn_c_try_compile "$LINENO"; then :
3739   libc_cv_sdt=yes
3740 else
3741   libc_cv_sdt=no
3742 fi
3743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744   CFLAGS="$old_CFLAGS"
3745 fi
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_sdt" >&5
3747 $as_echo "$libc_cv_sdt" >&6; }
3748   if test $libc_cv_sdt = yes; then
3749     $as_echo "#define USE_STAP_PROBE 1" >>confdefs.h
3750
3751   elif test "x$systemtap" != xauto; then
3752     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3754 as_fn_error $? "systemtap support needs sys/sdt.h with asm support
3755 See \`config.log' for more details" "$LINENO" 5; }
3756   fi
3757 fi
3758
3759 # Note the use of $use_nscd is near the bottom of the file.
3760 # Check whether --enable-nscd was given.
3761 if test "${enable_nscd+set}" = set; then :
3762   enableval=$enable_nscd; use_nscd=$enableval
3763 else
3764   use_nscd=yes
3765 fi
3766
3767
3768 # The way shlib-versions is used to generate soversions.mk uses a
3769 # fairly simplistic model for name recognition that can't distinguish
3770 # i486-pc-linux-gnu fully from i486-pc-gnu.  So we mutate a $host_os
3771 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
3772 # tell.  This doesn't get used much beyond that, so it's fairly safe.
3773 case "$host_os" in
3774 linux*)
3775   ;;
3776 gnu*)
3777   host_os=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3778   ;;
3779 esac
3780
3781 # We keep the original values in `$config_*' and never modify them, so we
3782 # can write them unchanged into config.make.  Everything else uses
3783 # $machine, $vendor, and $os, and changes them whenever convenient.
3784 config_machine=$host_cpu config_vendor=$host_vendor config_os=$host_os
3785
3786 # Don't allow vendor == "unknown"
3787 test "$config_vendor" = unknown && config_vendor=
3788 config_os="`echo $config_os | sed 's/^unknown-//'`"
3789
3790 # Some configurations imply other options.
3791 elf=yes
3792
3793 # The configure fragment of an add-on port can modify these to supplement
3794 # or override the table in the case statement below.  No fragment should
3795 # ever change the config_* variables, however.
3796 machine=$config_machine
3797 vendor=$config_vendor
3798 os=$config_os
3799 base_os=''
3800
3801 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3802 # Unify this here.
3803 if test "$machine" = rs6000; then
3804   machine="powerpc"
3805 fi
3806
3807 # Braindead PowerPC box with absolutely no FPU.
3808 case "$machine-$host_os" in
3809   powerpc*-*soft)
3810     with_fp=no
3811     ;;
3812 esac
3813
3814 submachine=
3815
3816 # Check whether --with-cpu was given.
3817 if test "${with_cpu+set}" = set; then :
3818   withval=$with_cpu;   case "$withval" in
3819   yes|'') as_fn_error $? "--with-cpu requires an argument" "$LINENO" 5 ;;
3820   no) ;;
3821   *) submachine="$withval" ;;
3822   esac
3823
3824 fi
3825
3826
3827 if frags=`ls -d $srcdir/sysdeps/*/preconfigure 2> /dev/null`
3828 then
3829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysdeps preconfigure fragments" >&5
3830 $as_echo_n "checking for sysdeps preconfigure fragments... " >&6; }
3831   for frag in $frags; do
3832     name=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3833     echo $ECHO_N "$name $ECHO_C" >&6
3834     . "$frag"
3835   done
3836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
3837 $as_echo "" >&6; }
3838 fi
3839
3840 # An add-on can set this when it wants to disable the sanity check below.
3841 libc_config_ok=no
3842
3843 subdirs="$subdirs "
3844
3845
3846 case "$enable_add_ons" in
3847 ''|no) add_ons= ;;
3848 yes|'*')
3849  add_ons=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
3850           sed 's@/[^/]*$@@' | sort | uniq`
3851          add_ons_automatic=yes
3852          ;;
3853 *) add_ons=`echo "$enable_add_ons" | sed 's/,/ /g'`
3854        add_ons_automatic=no ;;
3855 esac
3856
3857 configured_add_ons=
3858 add_ons_sfx=
3859 add_ons_pfx=
3860 if test x"$add_ons" != x; then
3861   for f in $add_ons; do
3862     # Some sanity checks
3863     case "$f" in
3864     crypt)
3865       as_fn_error $? "
3866 *** It seems that you're using an old \`crypt' add-on.  crypt is now
3867 *** part of glibc and using the old add-on will not work with this
3868 *** release.  Start again with fresh sources and without the old
3869 *** \`crypt' add-on." "$LINENO" 5
3870     ;;
3871     localedata)
3872       as_fn_error $? "
3873 *** It seems that you're using an old \`localedata' add-on.  localedata
3874 *** is now part of glibc and using the old add-on will not work with
3875 *** this release.  Start again with fresh sources and without the old
3876 *** \`localedata' add-on." "$LINENO" 5
3877     ;;
3878     esac
3879   done
3880
3881   # Now source each add-on's configure fragment.
3882   # The fragments can use $srcdir/$libc_add_on to find themselves,
3883   # and test $add_ons_automatic to see if they were explicitly requested.
3884   # A fragment can clear (or even change) $libc_add_on to affect
3885   # whether it goes into the list to be actually used in the build.
3886   use_add_ons=
3887   for libc_add_on in $add_ons; do
3888     # Test whether such a directory really exists.
3889     # It can be absolute, or relative to $srcdir, or relative to the build dir.
3890     case "$libc_add_on" in
3891     /*)
3892       libc_add_on_srcdir=$libc_add_on
3893       ;;
3894     *)
3895       test -d "$srcdir/$libc_add_on" || {
3896         if test -d "$libc_add_on"; then
3897           libc_add_on="`pwd`/$libc_add_on"
3898         else
3899           as_fn_error $? "add-on directory \"$libc_add_on\" does not exist" "$LINENO" 5
3900         fi
3901       }
3902       libc_add_on_srcdir=$srcdir/$libc_add_on
3903       ;;
3904     esac
3905
3906     libc_add_on_frag=$libc_add_on_srcdir/configure
3907     libc_add_on_canonical=
3908     libc_add_on_config_subdirs=
3909     if test -r "$libc_add_on_frag"; then
3910       { $as_echo "$as_me:${as_lineno-$LINENO}: running configure fragment for add-on $libc_add_on" >&5
3911 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
3912       libc_add_on_canonical=unknown
3913       libc_add_on_subdirs=
3914       . "$libc_add_on_frag"
3915       test -z "$libc_add_on" || {
3916         configured_add_ons="$configured_add_ons $libc_add_on"
3917         if test "x$libc_add_on_canonical" = xunknown; then
3918           as_fn_error $? "fragment must set \$libc_add_on_canonical" "$LINENO" 5
3919         fi
3920         for d in $libc_add_on_subdirs; do
3921           case "$libc_add_on" in
3922           /*) subdir_srcdir="$libc_add_on" ;;
3923           *) subdir_srcdir="\$(..)$libc_add_on" ;;
3924           esac
3925           case "$d" in
3926           .)
3927             d="${libc_add_on_canonical:-$libc_add_on}"
3928             ;;
3929           /*)
3930             subdir_srcdir="$d"
3931             ;;
3932           *)
3933             subdir_srcdir="$subdir_srcdir/$d"
3934             ;;
3935           esac
3936           d=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
3937           add_on_subdirs="$add_on_subdirs $d"
3938           test "$subdir_srcdir" = "\$(..)$d" || config_vars="$config_vars
3939 $d-srcdir = $subdir_srcdir"
3940         done
3941         for d in $libc_add_on_config_subdirs; do
3942           case "$d" in
3943           /*) as_fn_error $? "fragment uses absolute path in \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
3944           esac
3945           if test ! -d "$libc_add_on_srcdir/$d"; then
3946             as_fn_error $? "fragment wants to configure missing directory $d" "$LINENO" 5
3947           fi
3948           case "$libc_add_on" in
3949           /*) as_fn_error $? "relative path required for add-on using \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
3950           esac
3951           subdirs="$subdirs $libc_add_on/$d"
3952         done
3953       }
3954     fi
3955     if test -n "$libc_add_on"; then
3956       if frags=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
3957 then
3958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking add-on $libc_add_on for preconfigure fragments" >&5
3959 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
3960   for frag in $frags; do
3961     name=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3962     echo $ECHO_N "$name $ECHO_C" >&6
3963     . "$frag"
3964   done
3965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
3966 $as_echo "" >&6; }
3967 fi
3968       use_add_ons="$use_add_ons $libc_add_on"
3969       add_ons_pfx="$add_ons_pfx $libc_add_on/"
3970       test -z "$libc_add_on_canonical" ||
3971       add_ons_sfx="$add_ons_sfx /$libc_add_on_canonical"
3972     fi
3973   done
3974   # Use echo to strip excess whitespace.
3975   add_ons="`echo $use_add_ons`"
3976 fi
3977
3978
3979
3980
3981 ###
3982 ### I put this here to prevent those annoying emails from people who cannot
3983 ### read and try to compile glibc on unsupported platforms.  --drepper
3984 ###
3985 ### By using the undocumented --enable-hacker-mode option for configure
3986 ### one can skip this test to make the configuration not fail for unsupported
3987 ### platforms.
3988 ###
3989 if test -z "$enable_hacker_mode" && test x"$libc_config_ok" != xyes; then
3990   case "$machine-$host_os" in
3991   *-linux* | *-gnu*)
3992     ;;
3993   *)
3994     echo "*** The GNU C library is currently not available for this platform."
3995     echo "*** So far nobody cared to port it and if there is no volunteer it"
3996     echo "*** might never happen.  So, if you have interest to see glibc on"
3997     echo "*** this platform visit"
3998     echo "***   http://www.gnu.org/software/libc/porting.html"
3999     echo "*** and join the group of porters"
4000     exit 1
4001     ;;
4002   esac
4003 fi
4004
4005 # Expand the configuration machine name into a subdirectory by architecture
4006 # type and particular chip.  If an add-on configure fragment already set
4007 # base_machine, we don't change it.
4008 test -n "$base_machine" || case "$machine" in
4009 i[34567]86)     base_machine=i386 machine=i386/$machine ;;
4010 powerpc)        base_machine=powerpc machine=powerpc/powerpc32 ;;
4011 powerpc64)      base_machine=powerpc machine=powerpc/powerpc64 ;;
4012 s390)           base_machine=s390 machine=s390/s390-32 ;;
4013 s390x)          base_machine=s390 machine=s390/s390-64 ;;
4014 sh3*)           base_machine=sh machine=sh/sh3 ;;
4015 sh4*)           base_machine=sh machine=sh/sh4 ;;
4016 sparc | sparcv[67])
4017                 base_machine=sparc machine=sparc/sparc32 ;;
4018 sparcv8 | supersparc | hypersparc)
4019                 base_machine=sparc machine=sparc/sparc32/sparcv8 ;;
4020 sparcv8plus | sparcv8plusa | sparcv9)
4021                 base_machine=sparc machine=sparc/sparc32/sparcv9 ;;
4022 sparcv8plusb | sparcv9b)
4023                 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9b ;;
4024 sparcv9v)
4025                 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v ;;
4026 sparcv9v2)
4027                 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v2 ;;
4028 sparc64)
4029                 base_machine=sparc machine=sparc/sparc64 ;;
4030 sparc64b)
4031                 base_machine=sparc machine=sparc/sparc64/sparcv9b ;;
4032 sparc64v)
4033                 base_machine=sparc machine=sparc/sparc64/sparcv9v ;;
4034 sparc64v2)
4035                 base_machine=sparc machine=sparc/sparc64/sparcv9v2 ;;
4036 *)              base_machine=$machine ;;
4037 esac
4038
4039
4040 if test "$base_machine" = "i386"; then
4041   $as_echo "#define USE_REGPARMS 1" >>confdefs.h
4042
4043 fi
4044
4045 # For the multi-arch option we need support in the assembler.
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler gnu_indirect_function symbol type support" >&5
4047 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
4048 if ${libc_cv_asm_gnu_indirect_function+:} false; then :
4049   $as_echo_n "(cached) " >&6
4050 else
4051   cat > conftest.s <<EOF
4052 .type foo,%gnu_indirect_function
4053 EOF
4054 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5;
4055 then
4056   libc_cv_asm_gnu_indirect_function=yes
4057 else
4058   libc_cv_asm_gnu_indirect_function=no
4059 fi
4060 rm -f conftest*
4061 fi
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_gnu_indirect_function" >&5
4063 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
4064
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .text pseudo-op must be used" >&5
4066 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
4067 if ${libc_cv_dot_text+:} false; then :
4068   $as_echo_n "(cached) " >&6
4069 else
4070   cat > conftest.s <<EOF
4071 .text
4072 EOF
4073 libc_cv_dot_text=
4074 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4075   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4076   (eval $ac_try) 2>&5
4077   ac_status=$?
4078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4079   test $ac_status = 0; }; }; then
4080   libc_cv_dot_text=.text
4081 fi
4082 rm -f conftest*
4083 fi
4084
4085 if test -z "$libc_cv_dot_text"; then
4086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4087 $as_echo "no" >&6; }
4088 else
4089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4090 $as_echo "yes" >&6; }
4091 fi
4092
4093 if test x"$libc_cv_asm_gnu_indirect_function" != xyes; then
4094   if test x"$multi_arch" = xyes; then
4095     as_fn_error $? "--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
4096   else
4097     multi_arch=no
4098   fi
4099 fi
4100 if test x"$multi_arch" != xno; then
4101   multi_arch_d=/multiarch
4102 fi
4103
4104 # Compute the list of sysdep directories for this configuration.
4105 # This can take a while to compute.
4106 sysdep_dir=$srcdir/sysdeps
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysdep dirs" >&5
4108 $as_echo_n "checking sysdep dirs... " >&6; }
4109 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4110 os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4111
4112 test "x$base_os" != x || case "$os" in
4113 gnu*)
4114   base_os=mach/hurd ;;
4115 linux*)
4116   base_os=unix/sysv ;;
4117 esac
4118
4119 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4120 tail=$os
4121 ostry=$os
4122 while o=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4123   ostry="$ostry /$o"
4124   tail=$o
4125 done
4126 o=`echo $tail | sed 's/[0-9]*$//'`
4127 if test $o != $tail; then
4128   ostry="$ostry /$o"
4129 fi
4130 # For linux-gnu, try linux-gnu, then linux.
4131 o=`echo $tail | sed 's/-.*$//'`
4132 if test $o != $tail; then
4133   ostry="$ostry /$o"
4134 fi
4135
4136 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4137 base=
4138 tail=$base_os
4139 while b=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4140   set $b
4141   base="$base /$1"
4142   tail="$2"
4143 done
4144
4145 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4146 mach=
4147 tail=$machine${submachine:+/$submachine}
4148 while m=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4149   set $m
4150   # Prepend the machine's FPU directory unless --without-fp.
4151   if test "$with_fp" = yes; then
4152     mach="$mach /$1/fpu"
4153   else
4154     mach="$mach /$1/nofpu"
4155   fi
4156   mach="$mach /$1"
4157   tail="$2"
4158 done
4159
4160
4161 # Find what sysdep directories exist.
4162 sysnames_add_ons=
4163 sysnames=
4164 for b in $base ''; do
4165   for m0 in $mach ''; do
4166     for v in /$vendor ''; do
4167       test "$v" = / && continue
4168       for o in /$ostry ''; do
4169         test "$o" = / && continue
4170         for m in $multi_arch_d $mach ''; do
4171           for d in $add_ons_pfx ''; do
4172             for a in $add_ons_sfx ''; do
4173               if test -n "$m0$m0sub$b$v$o$m$msub"; then
4174                 try_srcdir="${srcdir}/"
4175                 case "$d" in
4176                 /*) try_srcdir= ;;
4177                 esac
4178                 try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4179                 test -n "$enable_debug_configure" &&
4180                 echo "$0 DEBUG: try $try" >&2
4181                 if test -d "$try_srcdir$try"; then
4182                   sysnames="$sysnames $try"
4183                   { test -n "$o" || test -n "$b"; } && os_used=t
4184                   { test -n "$m" || test -n "$m0"; } && machine_used=t
4185                   case x${m0:-$m} in
4186                   x*/$submachine) submachine_used=t ;;
4187                   esac
4188                   if test -n "$d"; then
4189                     case "$sysnames_add_ons" in
4190                     *" $d "*) ;;
4191                     *|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
4192                     esac
4193                   fi
4194                 fi
4195               fi
4196             done
4197           done
4198         done
4199       done
4200     done
4201   done
4202 done
4203
4204 # If the assembler supports gnu_indirect_function symbol type and the
4205 # architecture supports multi-arch, we enable multi-arch by default.
4206 case $sysnames_add_ons$sysnames in
4207 *"$multi_arch_d"*)
4208   ;;
4209 *)
4210   test x"$multi_arch" = xdefault && multi_arch=no
4211   ;;
4212 esac
4213 if test x"$multi_arch" != xno; then
4214   $as_echo "#define USE_MULTIARCH 1" >>confdefs.h
4215
4216 fi
4217
4218
4219 if test -z "$os_used" && test "$os" != none; then
4220   as_fn_error $? "Operating system $os is not supported." "$LINENO" 5
4221 fi
4222 if test -z "$machine_used" && test "$machine" != none; then
4223   as_fn_error $? "The $machine is not supported." "$LINENO" 5
4224 fi
4225 if test -z "$submachine_used" && test -n "$submachine"; then
4226   as_fn_error $? "The $submachine subspecies of $host_cpu is not supported." "$LINENO" 5
4227 fi
4228
4229
4230 # We have now validated the configuration.
4231
4232 # Expand the list of system names into a full list of directories
4233 # from each element's parent name and Implies file (if present).
4234 set $sysnames
4235 names=
4236 while test $# -gt 0; do
4237   name=$1
4238   shift
4239
4240   case " $names " in *" $name "*)
4241     # Already in the list.
4242     continue
4243   esac
4244
4245   # Report each name as we discover it, so there is no long pause in output.
4246   echo $ECHO_N "$name $ECHO_C" >&6
4247
4248   name_base=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4249
4250   case $name in
4251     /*) xsrcdir= ;;
4252     *)  xsrcdir=$srcdir/ ;;
4253   esac
4254   test -n "$enable_debug_configure" &&
4255   echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4256
4257   for implies_file in Implies Implies-before Implies-after; do
4258     implies_type=`echo $implies_file | sed s/-/_/`
4259     eval ${implies_type}=
4260     if test -f $xsrcdir$name/$implies_file; then
4261       # Collect more names from the `Implies' file (removing comments).
4262       implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/$implies_file`"
4263       for x in $implied_candidate; do
4264         found=no
4265         if test -d $xsrcdir$name_base/$x; then
4266           eval "${implies_type}=\"\$${implies_type} \$name_base/\$x\""
4267           found=yes
4268         fi
4269         for d in $add_ons_pfx ''; do
4270           try="${d}sysdeps/$x"
4271           case $d in
4272            /*) try_srcdir= ;;
4273            *) try_srcdir=$srcdir/ ;;
4274           esac
4275           test -n "$enable_debug_configure" &&
4276            echo "DEBUG: $name $implies_file $x try($d) {$try_srcdir}$try" >&2
4277           if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4278           then
4279             eval "${implies_type}=\"\$${implies_type} \$try\""
4280             found=yes
4281             case "$sysnames_add_ons" in
4282             *" $d "*) ;;
4283             *|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
4284             esac
4285           fi
4286         done
4287         if test $found = no; then
4288           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/$implies_file specifies nonexistent $x" >&5
4289 $as_echo "$as_me: WARNING: $name/$implies_file specifies nonexistent $x" >&2;}
4290         fi
4291       done
4292     fi
4293   done
4294
4295   # Add NAME to the list of names.
4296   names="$names $name"
4297
4298   # Find the parent of NAME, using the empty string if it has none.
4299   parent="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4300
4301   test -n "$enable_debug_configure" &&
4302     echo "DEBUG: $name Implies='$Implies' rest='$*' parent='$parent' \
4303 Implies_before='$Implies_before' Implies_after='$Implies_after'" >&2
4304
4305   # Add the names implied by NAME, and NAME's parent (if it has one), to
4306   # the list of names to be processed (the argument list).  We prepend the
4307   # implied names to the list and append the parent.  We want implied
4308   # directories to come before further directories inferred from the
4309   # configuration components; this ensures that for sysv4, unix/common
4310   # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4311   # after sysv4).
4312   sysnames="`echo $Implies $* $Implies_before $parent $Implies_after`"
4313   test -n "$sysnames" && set $sysnames
4314 done
4315
4316 # Add the default directories.
4317 default_sysnames="sysdeps/generic"
4318 sysnames="$names $default_sysnames"
4319
4320 # The other names were emitted during the scan.
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_sysnames" >&5
4322 $as_echo "$default_sysnames" >&6; }
4323
4324 # Collect the list of add-ons that supply partial sysdeps trees.
4325 sysdeps_add_ons=
4326 for add_on in $add_ons; do
4327   case "$add_on" in
4328   /*) xsrcdir= ;;
4329   *) xsrcdir="$srcdir/" ;;
4330   esac
4331
4332   test -d "$xsrcdir$add_on/sysdeps" || {
4333     case "$configured_add_ons " in
4334     *" $add_on "*) ;;
4335     *|'')
4336       as_fn_error $? "add-on $add_on has no configure fragment or sysdeps tree" "$LINENO" 5
4337       ;;
4338     esac
4339     continue
4340   }
4341
4342   sysdeps_add_ons="$sysdeps_add_ons $add_on"
4343   case "$sysnames_add_ons" in
4344   *" $add_on/ "*) ;;
4345   *|'')
4346     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4347 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4348     continue ;;
4349   esac
4350
4351   found=no
4352   for d in $sysnames; do
4353     case "$d" in
4354     $add_on/sysdeps/*) ;;
4355     *) continue ;;
4356     esac
4357     (cd "$xsrcdir$d" && for f in *[!~]; do
4358        case "$f" in
4359        sys|bits)
4360          for ff in $f/*.h; do
4361            test -d "$ff" || { test -e "$ff" && exit 88; }
4362          done
4363          ;;
4364        *)
4365          test -d "$f" || { test -e "$f" && exit 88; }
4366          ;;
4367        esac
4368      done)
4369     if test $? -eq 88; then
4370       found=yes
4371       break
4372     fi
4373   done
4374   if test $found = no; then
4375     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4376 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4377   fi
4378 done
4379
4380
4381
4382 ### Locate tools.
4383
4384 # Find a good install program.  We prefer a C program (faster),
4385 # so one script is as good as another.  But avoid the broken or
4386 # incompatible versions:
4387 # SysV /etc/install, /usr/sbin/install
4388 # SunOS /usr/etc/install
4389 # IRIX /sbin/install
4390 # AIX /bin/install
4391 # AmigaOS /C/install, which installs bootblocks on floppy discs
4392 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4395 # OS/2's system install, which has a completely different semantic
4396 # ./install, which can be erroneously created by make from ./install.sh.
4397 # Reject install programs that cannot install multiple files.
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4399 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4400 if test -z "$INSTALL"; then
4401 if ${ac_cv_path_install+:} false; then :
4402   $as_echo_n "(cached) " >&6
4403 else
4404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH
4406 do
4407   IFS=$as_save_IFS
4408   test -z "$as_dir" && as_dir=.
4409     # Account for people who put trailing slashes in PATH elements.
4410 case $as_dir/ in #((
4411   ./ | .// | /[cC]/* | \
4412   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4413   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4414   /usr/ucb/* ) ;;
4415   *)
4416     # OSF1 and SCO ODT 3.0 have their own names for install.
4417     # Don't use installbsd from OSF since it installs stuff as root
4418     # by default.
4419     for ac_prog in ginstall scoinst install; do
4420       for ac_exec_ext in '' $ac_executable_extensions; do
4421         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4422           if test $ac_prog = install &&
4423             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4424             # AIX install.  It has an incompatible calling convention.
4425             :
4426           elif test $ac_prog = install &&
4427             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4428             # program-specific install script used by HP pwplus--don't use.
4429             :
4430           else
4431             rm -rf conftest.one conftest.two conftest.dir
4432             echo one > conftest.one
4433             echo two > conftest.two
4434             mkdir conftest.dir
4435             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4436               test -s conftest.one && test -s conftest.two &&
4437               test -s conftest.dir/conftest.one &&
4438               test -s conftest.dir/conftest.two
4439             then
4440               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4441               break 3
4442             fi
4443           fi
4444         fi
4445       done
4446     done
4447     ;;
4448 esac
4449
4450   done
4451 IFS=$as_save_IFS
4452
4453 rm -rf conftest.one conftest.two conftest.dir
4454
4455 fi
4456   if test "${ac_cv_path_install+set}" = set; then
4457     INSTALL=$ac_cv_path_install
4458   else
4459     # As a last resort, use the slow shell script.  Don't cache a
4460     # value for INSTALL within a source directory, because that will
4461     # break other packages using the cache if that directory is
4462     # removed, or if the value is a relative name.
4463     INSTALL=$ac_install_sh
4464   fi
4465 fi
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4467 $as_echo "$INSTALL" >&6; }
4468
4469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4470 # It thinks the first close brace ends the variable substitution.
4471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4472
4473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4474
4475 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4476
4477 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4478   # The makefiles need to use a different form to find it in $srcdir.
4479   INSTALL='\$(..)./scripts/install-sh -c'
4480 fi
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4482 $as_echo_n "checking whether ln -s works... " >&6; }
4483 LN_S=$as_ln_s
4484 if test "$LN_S" = "ln -s"; then
4485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4486 $as_echo "yes" >&6; }
4487 else
4488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4489 $as_echo "no, using $LN_S" >&6; }
4490 fi
4491
4492
4493 # Was a --with-binutils option given?
4494 if test -n "$path_binutils"; then
4495     # Make absolute; ensure a single trailing slash.
4496     path_binutils=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4497     CC="$CC -B$path_binutils"
4498 fi
4499 AS=`$CC -print-prog-name=as`
4500 LD=`$CC -print-prog-name=ld`
4501 AR=`$CC -print-prog-name=ar`
4502
4503 OBJDUMP=`$CC -print-prog-name=objdump`
4504
4505 OBJCOPY=`$CC -print-prog-name=objcopy`
4506
4507
4508 # Determine whether we are using GNU binutils.
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AS is GNU as" >&5
4510 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4511 if ${libc_cv_prog_as_gnu+:} false; then :
4512   $as_echo_n "(cached) " >&6
4513 else
4514   # Most GNU programs take a -v and spit out some text including
4515 # the word 'GNU'.  Some try to read stdin, so give them /dev/null.
4516 if $AS -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4517   libc_cv_prog_as_gnu=yes
4518 else
4519   libc_cv_prog_as_gnu=no
4520 fi
4521 rm -fr contest*
4522 fi
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_as_gnu" >&5
4524 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4525 rm -f a.out
4526 gnu_as=$libc_cv_prog_as_gnu
4527
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD is GNU ld" >&5
4529 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4530 if ${libc_cv_prog_ld_gnu+:} false; then :
4531   $as_echo_n "(cached) " >&6
4532 else
4533   # Most GNU programs take a -v and spit out some text including
4534 # the word 'GNU'.  Some try to read stdin, so give them /dev/null.
4535 if $LD -o conftest -v </dev/null 2>&1 | grep GNU > /dev/null 2>&1; then
4536   libc_cv_prog_ld_gnu=yes
4537 else
4538   libc_cv_prog_ld_gnu=no
4539 fi
4540 rm -fr contest*
4541 fi
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_ld_gnu" >&5
4543 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4544 gnu_ld=$libc_cv_prog_ld_gnu
4545
4546
4547 # Accept binutils 2.20 or newer.
4548 for ac_prog in $AS
4549 do
4550   # Extract the first word of "$ac_prog", so it can be a program name with args.
4551 set dummy $ac_prog; ac_word=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if ${ac_cv_prog_AS+:} false; then :
4555   $as_echo_n "(cached) " >&6
4556 else
4557   if test -n "$AS"; then
4558   ac_cv_prog_AS="$AS" # Let the user override the test.
4559 else
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 for as_dir in $PATH
4562 do
4563   IFS=$as_save_IFS
4564   test -z "$as_dir" && as_dir=.
4565     for ac_exec_ext in '' $ac_executable_extensions; do
4566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567     ac_cv_prog_AS="$ac_prog"
4568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569     break 2
4570   fi
4571 done
4572   done
4573 IFS=$as_save_IFS
4574
4575 fi
4576 fi
4577 AS=$ac_cv_prog_AS
4578 if test -n "$AS"; then
4579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4580 $as_echo "$AS" >&6; }
4581 else
4582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4584 fi
4585
4586
4587   test -n "$AS" && break
4588 done
4589
4590 if test -z "$AS"; then
4591   ac_verc_fail=yes
4592 else
4593   # Found it, now check the version.
4594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AS" >&5
4595 $as_echo_n "checking version of $AS... " >&6; }
4596   ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4597   case $ac_prog_version in
4598     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4599     2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*)
4600        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4601     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4602
4603   esac
4604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4605 $as_echo "$ac_prog_version" >&6; }
4606 fi
4607 if test $ac_verc_fail = yes; then
4608   AS=: critic_missing="$critic_missing as"
4609 fi
4610
4611 for ac_prog in $LD
4612 do
4613   # Extract the first word of "$ac_prog", so it can be a program name with args.
4614 set dummy $ac_prog; ac_word=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if ${ac_cv_prog_LD+:} false; then :
4618   $as_echo_n "(cached) " >&6
4619 else
4620   if test -n "$LD"; then
4621   ac_cv_prog_LD="$LD" # Let the user override the test.
4622 else
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 for as_dir in $PATH
4625 do
4626   IFS=$as_save_IFS
4627   test -z "$as_dir" && as_dir=.
4628     for ac_exec_ext in '' $ac_executable_extensions; do
4629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4630     ac_cv_prog_LD="$ac_prog"
4631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632     break 2
4633   fi
4634 done
4635   done
4636 IFS=$as_save_IFS
4637
4638 fi
4639 fi
4640 LD=$ac_cv_prog_LD
4641 if test -n "$LD"; then
4642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4643 $as_echo "$LD" >&6; }
4644 else
4645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4647 fi
4648
4649
4650   test -n "$LD" && break
4651 done
4652
4653 if test -z "$LD"; then
4654   ac_verc_fail=yes
4655 else
4656   # Found it, now check the version.
4657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4658 $as_echo_n "checking version of $LD... " >&6; }
4659   ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4660   case $ac_prog_version in
4661     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4662     2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*)
4663        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4664     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4665
4666   esac
4667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4668 $as_echo "$ac_prog_version" >&6; }
4669 fi
4670 if test $ac_verc_fail = yes; then
4671   LD=: critic_missing="$critic_missing ld"
4672 fi
4673
4674
4675 # These programs are version sensitive.
4676
4677 for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc
4678 do
4679   # Extract the first word of "$ac_prog", so it can be a program name with args.
4680 set dummy $ac_prog; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_CC+:} false; then :
4684   $as_echo_n "(cached) " >&6
4685 else
4686   if test -n "$CC"; then
4687   ac_cv_prog_CC="$CC" # Let the user override the test.
4688 else
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH
4691 do
4692   IFS=$as_save_IFS
4693   test -z "$as_dir" && as_dir=.
4694     for ac_exec_ext in '' $ac_executable_extensions; do
4695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4696     ac_cv_prog_CC="$ac_prog"
4697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698     break 2
4699   fi
4700 done
4701   done
4702 IFS=$as_save_IFS
4703
4704 fi
4705 fi
4706 CC=$ac_cv_prog_CC
4707 if test -n "$CC"; then
4708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4709 $as_echo "$CC" >&6; }
4710 else
4711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4713 fi
4714
4715
4716   test -n "$CC" && break
4717 done
4718
4719 if test -z "$CC"; then
4720   ac_verc_fail=yes
4721 else
4722   # Found it, now check the version.
4723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $CC" >&5
4724 $as_echo_n "checking version of $CC... " >&6; }
4725   ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
4726   case $ac_prog_version in
4727     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4728     4.[3-9].* | 4.[1-9][0-9].* | [5-9].* )
4729        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4730     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4731
4732   esac
4733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4734 $as_echo "$ac_prog_version" >&6; }
4735 fi
4736 if test $ac_verc_fail = yes; then
4737   critic_missing="$critic_missing gcc"
4738 fi
4739
4740 for ac_prog in gnumake gmake make
4741 do
4742   # Extract the first word of "$ac_prog", so it can be a program name with args.
4743 set dummy $ac_prog; ac_word=$2
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if ${ac_cv_prog_MAKE+:} false; then :
4747   $as_echo_n "(cached) " >&6
4748 else
4749   if test -n "$MAKE"; then
4750   ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
4751 else
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4753 for as_dir in $PATH
4754 do
4755   IFS=$as_save_IFS
4756   test -z "$as_dir" && as_dir=.
4757     for ac_exec_ext in '' $ac_executable_extensions; do
4758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4759     ac_cv_prog_MAKE="$ac_prog"
4760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4761     break 2
4762   fi
4763 done
4764   done
4765 IFS=$as_save_IFS
4766
4767 fi
4768 fi
4769 MAKE=$ac_cv_prog_MAKE
4770 if test -n "$MAKE"; then
4771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4772 $as_echo "$MAKE" >&6; }
4773 else
4774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4776 fi
4777
4778
4779   test -n "$MAKE" && break
4780 done
4781
4782 if test -z "$MAKE"; then
4783   ac_verc_fail=yes
4784 else
4785   # Found it, now check the version.
4786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
4787 $as_echo_n "checking version of $MAKE... " >&6; }
4788   ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4789   case $ac_prog_version in
4790     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4791     3.79* | 3.[89]*)
4792        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4793     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4794
4795   esac
4796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4797 $as_echo "$ac_prog_version" >&6; }
4798 fi
4799 if test $ac_verc_fail = yes; then
4800   critic_missing="$critic_missing make"
4801 fi
4802
4803
4804 for ac_prog in gnumsgfmt gmsgfmt msgfmt
4805 do
4806   # Extract the first word of "$ac_prog", so it can be a program name with args.
4807 set dummy $ac_prog; ac_word=$2
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809 $as_echo_n "checking for $ac_word... " >&6; }
4810 if ${ac_cv_prog_MSGFMT+:} false; then :
4811   $as_echo_n "(cached) " >&6
4812 else
4813   if test -n "$MSGFMT"; then
4814   ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
4815 else
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817 for as_dir in $PATH
4818 do
4819   IFS=$as_save_IFS
4820   test -z "$as_dir" && as_dir=.
4821     for ac_exec_ext in '' $ac_executable_extensions; do
4822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4823     ac_cv_prog_MSGFMT="$ac_prog"
4824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825     break 2
4826   fi
4827 done
4828   done
4829 IFS=$as_save_IFS
4830
4831 fi
4832 fi
4833 MSGFMT=$ac_cv_prog_MSGFMT
4834 if test -n "$MSGFMT"; then
4835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4836 $as_echo "$MSGFMT" >&6; }
4837 else
4838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4840 fi
4841
4842
4843   test -n "$MSGFMT" && break
4844 done
4845
4846 if test -z "$MSGFMT"; then
4847   ac_verc_fail=yes
4848 else
4849   # Found it, now check the version.
4850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
4851 $as_echo_n "checking version of $MSGFMT... " >&6; }
4852   ac_prog_version=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4853   case $ac_prog_version in
4854     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4855     0.10.3[6-9]* | 0.10.[4-9][0-9]* | 0.1[1-9]* | 0.[2-9][0-9]* | [1-9].*)
4856        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4857     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4858
4859   esac
4860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4861 $as_echo "$ac_prog_version" >&6; }
4862 fi
4863 if test $ac_verc_fail = yes; then
4864   MSGFMT=: aux_missing="$aux_missing msgfmt"
4865 fi
4866
4867 for ac_prog in makeinfo
4868 do
4869   # Extract the first word of "$ac_prog", so it can be a program name with args.
4870 set dummy $ac_prog; ac_word=$2
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 $as_echo_n "checking for $ac_word... " >&6; }
4873 if ${ac_cv_prog_MAKEINFO+:} false; then :
4874   $as_echo_n "(cached) " >&6
4875 else
4876   if test -n "$MAKEINFO"; then
4877   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
4878 else
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 for as_dir in $PATH
4881 do
4882   IFS=$as_save_IFS
4883   test -z "$as_dir" && as_dir=.
4884     for ac_exec_ext in '' $ac_executable_extensions; do
4885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4886     ac_cv_prog_MAKEINFO="$ac_prog"
4887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4888     break 2
4889   fi
4890 done
4891   done
4892 IFS=$as_save_IFS
4893
4894 fi
4895 fi
4896 MAKEINFO=$ac_cv_prog_MAKEINFO
4897 if test -n "$MAKEINFO"; then
4898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4899 $as_echo "$MAKEINFO" >&6; }
4900 else
4901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4903 fi
4904
4905
4906   test -n "$MAKEINFO" && break
4907 done
4908
4909 if test -z "$MAKEINFO"; then
4910   ac_verc_fail=yes
4911 else
4912   # Found it, now check the version.
4913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
4914 $as_echo_n "checking version of $MAKEINFO... " >&6; }
4915   ac_prog_version=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4916   case $ac_prog_version in
4917     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4918     4.[5-9]*|4.[1-9][0-9]*|[5-9].*)
4919        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4920     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4921
4922   esac
4923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4924 $as_echo "$ac_prog_version" >&6; }
4925 fi
4926 if test $ac_verc_fail = yes; then
4927   MAKEINFO=: aux_missing="$aux_missing makeinfo"
4928 fi
4929
4930 for ac_prog in sed
4931 do
4932   # Extract the first word of "$ac_prog", so it can be a program name with args.
4933 set dummy $ac_prog; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_SED+:} false; then :
4937   $as_echo_n "(cached) " >&6
4938 else
4939   if test -n "$SED"; then
4940   ac_cv_prog_SED="$SED" # Let the user override the test.
4941 else
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 for as_dir in $PATH
4944 do
4945   IFS=$as_save_IFS
4946   test -z "$as_dir" && as_dir=.
4947     for ac_exec_ext in '' $ac_executable_extensions; do
4948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4949     ac_cv_prog_SED="$ac_prog"
4950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951     break 2
4952   fi
4953 done
4954   done
4955 IFS=$as_save_IFS
4956
4957 fi
4958 fi
4959 SED=$ac_cv_prog_SED
4960 if test -n "$SED"; then
4961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4962 $as_echo "$SED" >&6; }
4963 else
4964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4966 fi
4967
4968
4969   test -n "$SED" && break
4970 done
4971
4972 if test -z "$SED"; then
4973   ac_verc_fail=yes
4974 else
4975   # Found it, now check the version.
4976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
4977 $as_echo_n "checking version of $SED... " >&6; }
4978   ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4979   case $ac_prog_version in
4980     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4981     3.0[2-9]*|3.[1-9]*|[4-9]*)
4982        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4983     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4984
4985   esac
4986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4987 $as_echo "$ac_prog_version" >&6; }
4988 fi
4989 if test $ac_verc_fail = yes; then
4990   SED=: aux_missing="$aux_missing sed"
4991 fi
4992
4993
4994 if test -n "$ac_tool_prefix"; then
4995   # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
4996 set dummy ${ac_tool_prefix}readelf; ac_word=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_READELF+:} false; then :
5000   $as_echo_n "(cached) " >&6
5001 else
5002   if test -n "$READELF"; then
5003   ac_cv_prog_READELF="$READELF" # Let the user override the test.
5004 else
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5007 do
5008   IFS=$as_save_IFS
5009   test -z "$as_dir" && as_dir=.
5010     for ac_exec_ext in '' $ac_executable_extensions; do
5011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5012     ac_cv_prog_READELF="${ac_tool_prefix}readelf"
5013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014     break 2
5015   fi
5016 done
5017   done
5018 IFS=$as_save_IFS
5019
5020 fi
5021 fi
5022 READELF=$ac_cv_prog_READELF
5023 if test -n "$READELF"; then
5024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
5025 $as_echo "$READELF" >&6; }
5026 else
5027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5029 fi
5030
5031
5032 fi
5033 if test -z "$ac_cv_prog_READELF"; then
5034   ac_ct_READELF=$READELF
5035   # Extract the first word of "readelf", so it can be a program name with args.
5036 set dummy readelf; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
5040   $as_echo_n "(cached) " >&6
5041 else
5042   if test -n "$ac_ct_READELF"; then
5043   ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5047 do
5048   IFS=$as_save_IFS
5049   test -z "$as_dir" && as_dir=.
5050     for ac_exec_ext in '' $ac_executable_extensions; do
5051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052     ac_cv_prog_ac_ct_READELF="readelf"
5053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054     break 2
5055   fi
5056 done
5057   done
5058 IFS=$as_save_IFS
5059
5060 fi
5061 fi
5062 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
5063 if test -n "$ac_ct_READELF"; then
5064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
5065 $as_echo "$ac_ct_READELF" >&6; }
5066 else
5067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5069 fi
5070
5071   if test "x$ac_ct_READELF" = x; then
5072     READELF="false"
5073   else
5074     case $cross_compiling:$ac_tool_warned in
5075 yes:)
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5078 ac_tool_warned=yes ;;
5079 esac
5080     READELF=$ac_ct_READELF
5081   fi
5082 else
5083   READELF="$ac_cv_prog_READELF"
5084 fi
5085
5086 if test -n "$ac_tool_prefix"; then
5087   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
5088 set dummy ${ac_tool_prefix}nm; ac_word=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if ${ac_cv_prog_NM+:} false; then :
5092   $as_echo_n "(cached) " >&6
5093 else
5094   if test -n "$NM"; then
5095   ac_cv_prog_NM="$NM" # Let the user override the test.
5096 else
5097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098 for as_dir in $PATH
5099 do
5100   IFS=$as_save_IFS
5101   test -z "$as_dir" && as_dir=.
5102     for ac_exec_ext in '' $ac_executable_extensions; do
5103   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5104     ac_cv_prog_NM="${ac_tool_prefix}nm"
5105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106     break 2
5107   fi
5108 done
5109   done
5110 IFS=$as_save_IFS
5111
5112 fi
5113 fi
5114 NM=$ac_cv_prog_NM
5115 if test -n "$NM"; then
5116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
5117 $as_echo "$NM" >&6; }
5118 else
5119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5121 fi
5122
5123
5124 fi
5125 if test -z "$ac_cv_prog_NM"; then
5126   ac_ct_NM=$NM
5127   # Extract the first word of "nm", so it can be a program name with args.
5128 set dummy nm; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if ${ac_cv_prog_ac_ct_NM+:} false; then :
5132   $as_echo_n "(cached) " >&6
5133 else
5134   if test -n "$ac_ct_NM"; then
5135   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5139 do
5140   IFS=$as_save_IFS
5141   test -z "$as_dir" && as_dir=.
5142     for ac_exec_ext in '' $ac_executable_extensions; do
5143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144     ac_cv_prog_ac_ct_NM="nm"
5145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146     break 2
5147   fi
5148 done
5149   done
5150 IFS=$as_save_IFS
5151
5152 fi
5153 fi
5154 ac_ct_NM=$ac_cv_prog_ac_ct_NM
5155 if test -n "$ac_ct_NM"; then
5156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
5157 $as_echo "$ac_ct_NM" >&6; }
5158 else
5159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5161 fi
5162
5163   if test "x$ac_ct_NM" = x; then
5164     NM="false"
5165   else
5166     case $cross_compiling:$ac_tool_warned in
5167 yes:)
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5170 ac_tool_warned=yes ;;
5171 esac
5172     NM=$ac_ct_NM
5173   fi
5174 else
5175   NM="$ac_cv_prog_NM"
5176 fi
5177
5178
5179 for ac_prog in autoconf
5180 do
5181   # Extract the first word of "$ac_prog", so it can be a program name with args.
5182 set dummy $ac_prog; ac_word=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if ${ac_cv_prog_AUTOCONF+:} false; then :
5186   $as_echo_n "(cached) " >&6
5187 else
5188   if test -n "$AUTOCONF"; then
5189   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
5190 else
5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 for as_dir in $PATH
5193 do
5194   IFS=$as_save_IFS
5195   test -z "$as_dir" && as_dir=.
5196     for ac_exec_ext in '' $ac_executable_extensions; do
5197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5198     ac_cv_prog_AUTOCONF="$ac_prog"
5199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200     break 2
5201   fi
5202 done
5203   done
5204 IFS=$as_save_IFS
5205
5206 fi
5207 fi
5208 AUTOCONF=$ac_cv_prog_AUTOCONF
5209 if test -n "$AUTOCONF"; then
5210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5211 $as_echo "$AUTOCONF" >&6; }
5212 else
5213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5215 fi
5216
5217
5218   test -n "$AUTOCONF" && break
5219 done
5220 test -n "$AUTOCONF" || AUTOCONF="no"
5221
5222 case "x$AUTOCONF" in
5223 xno|x|x:) AUTOCONF=no ;;
5224 *)
5225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5226 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5227 if ${libc_cv_autoconf_works+:} false; then :
5228   $as_echo_n "(cached) " >&6
5229 else
5230     if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then
5231     libc_cv_autoconf_works=yes
5232   else
5233     libc_cv_autoconf_works=no
5234   fi
5235 fi
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
5237 $as_echo "$libc_cv_autoconf_works" >&6; }
5238   test $libc_cv_autoconf_works = yes || AUTOCONF=no
5239   ;;
5240 esac
5241 if test "x$AUTOCONF" = xno; then
5242   aux_missing="$aux_missing autoconf"
5243 fi
5244
5245 test -n "$critic_missing" && as_fn_error $? "
5246 *** These critical programs are missing or too old:$critic_missing
5247 *** Check the INSTALL file for required versions." "$LINENO" 5
5248
5249 test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
5250 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5251 *** some features will be disabled.
5252 *** Check the INSTALL file for required versions." >&5
5253 $as_echo "$as_me: WARNING:
5254 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5255 *** some features will be disabled.
5256 *** Check the INSTALL file for required versions." >&2;}
5257
5258 # if using special system headers, find out the compiler's sekrit
5259 # header directory and add that to the list.  NOTE: Only does the right
5260 # thing on a system that doesn't need fixincludes.  (Not presently a problem.)
5261 if test -n "$sysheaders"; then
5262   SYSINCLUDES=-nostdinc
5263   for d in include include-fixed; do
5264     i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
5265     SYSINCLUDES="$SYSINCLUDES -isystem $i"
5266   done
5267   SYSINCLUDES="$SYSINCLUDES \
5268 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5269   if test -n "$CXX"; then
5270     CXX_SYSINCLUDES=
5271     cxxversion=`$CXX -dumpversion 2>&5` &&
5272     cxxmachine=`$CXX -dumpmachine 2>&5` &&
5273     for d in include "$cxxmachine/include"; do
5274       i=../../../../$d/c++/$cxxversion
5275       cxxheaders=`$CXX -print-file-name="$i"` &&
5276       test "x$cxxheaders" != x && test "x$i" != "x$cxxheaders" &&
5277       CXX_SYSINCLUDES="$CXX_SYSINCLUDES -isystem $cxxheaders \
5278 -isystem $cxxheaders/$cxxmachine -isystem $cxxheaders/backward"
5279     done
5280   fi
5281 fi
5282
5283
5284
5285 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5286 # since this would lead to problems installing/building glibc.
5287 # LD_LIBRARY_PATH contains the current directory if one of the following
5288 # is true:
5289 # - one of the terminals (":" and ";") is the first or last sign
5290 # - two terminals occur directly after each other
5291 # - the path contains an element with a dot in it
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
5293 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5294 case ${LD_LIBRARY_PATH} in
5295   [:\;]* | *[:\;] | *[:\;][:\;]* |  *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
5296     ld_library_path_setting="contains current directory"
5297     ;;
5298   *)
5299     ld_library_path_setting="ok"
5300     ;;
5301 esac
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
5303 $as_echo "$ld_library_path_setting" >&6; }
5304 if test "$ld_library_path_setting" != "ok"; then
5305 as_fn_error $? "
5306 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5307 *** building glibc. Please change the environment variable
5308 *** and run configure again." "$LINENO" 5
5309 fi
5310
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports -static-libgcc" >&5
5312 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5313 if ${libc_cv_gcc_static_libgcc+:} false; then :
5314   $as_echo_n "(cached) " >&6
5315 else
5316   if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized option.*static-libgcc'; then
5317   libc_cv_gcc_static_libgcc=
5318 else
5319   libc_cv_gcc_static_libgcc=-static-libgcc
5320 fi
5321 fi
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_static_libgcc" >&5
5323 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5324
5325
5326 # Extract the first word of "bash", so it can be a program name with args.
5327 set dummy bash; ac_word=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_path_BASH_SHELL+:} false; then :
5331   $as_echo_n "(cached) " >&6
5332 else
5333   case $BASH_SHELL in
5334   [\\/]* | ?:[\\/]*)
5335   ac_cv_path_BASH_SHELL="$BASH_SHELL" # Let the user override the test with a path.
5336   ;;
5337   *)
5338   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 for as_dir in $PATH
5340 do
5341   IFS=$as_save_IFS
5342   test -z "$as_dir" && as_dir=.
5343     for ac_exec_ext in '' $ac_executable_extensions; do
5344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5345     ac_cv_path_BASH_SHELL="$as_dir/$ac_word$ac_exec_ext"
5346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5347     break 2
5348   fi
5349 done
5350   done
5351 IFS=$as_save_IFS
5352
5353   test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL="no"
5354   ;;
5355 esac
5356 fi
5357 BASH_SHELL=$ac_cv_path_BASH_SHELL
5358 if test -n "$BASH_SHELL"; then
5359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
5360 $as_echo "$BASH_SHELL" >&6; }
5361 else
5362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5363 $as_echo "no" >&6; }
5364 fi
5365
5366
5367 if test "$BASH_SHELL" != no &&
5368    $BASH_SHELL -c 'test "$BASH_VERSINFO" \
5369              && test "$BASH_VERSINFO" -ge 2 >&/dev/null'; then
5370   libc_cv_have_bash2=yes
5371 else
5372   libc_cv_have_bash2=no
5373 fi
5374
5375
5376 if test "$BASH_SHELL" = no; then
5377   # Extract the first word of "ksh", so it can be a program name with args.
5378 set dummy ksh; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_path_KSH+:} false; then :
5382   $as_echo_n "(cached) " >&6
5383 else
5384   case $KSH in
5385   [\\/]* | ?:[\\/]*)
5386   ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
5387   ;;
5388   *)
5389   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 for as_dir in $PATH
5391 do
5392   IFS=$as_save_IFS
5393   test -z "$as_dir" && as_dir=.
5394     for ac_exec_ext in '' $ac_executable_extensions; do
5395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5396     ac_cv_path_KSH="$as_dir/$ac_word$ac_exec_ext"
5397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398     break 2
5399   fi
5400 done
5401   done
5402 IFS=$as_save_IFS
5403
5404   test -z "$ac_cv_path_KSH" && ac_cv_path_KSH="no"
5405   ;;
5406 esac
5407 fi
5408 KSH=$ac_cv_path_KSH
5409 if test -n "$KSH"; then
5410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KSH" >&5
5411 $as_echo "$KSH" >&6; }
5412 else
5413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5415 fi
5416
5417
5418   if test "$KSH" = no; then
5419     libc_cv_have_ksh=no
5420   else
5421     libc_cv_have_ksh=yes
5422   fi
5423 else
5424   KSH="$BASH_SHELL"
5425
5426   libc_cv_have_ksh=yes
5427 fi
5428
5429
5430 for ac_prog in gawk mawk nawk awk
5431 do
5432   # Extract the first word of "$ac_prog", so it can be a program name with args.
5433 set dummy $ac_prog; ac_word=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if ${ac_cv_prog_AWK+:} false; then :
5437   $as_echo_n "(cached) " >&6
5438 else
5439   if test -n "$AWK"; then
5440   ac_cv_prog_AWK="$AWK" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5444 do
5445   IFS=$as_save_IFS
5446   test -z "$as_dir" && as_dir=.
5447     for ac_exec_ext in '' $ac_executable_extensions; do
5448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449     ac_cv_prog_AWK="$ac_prog"
5450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5451     break 2
5452   fi
5453 done
5454   done
5455 IFS=$as_save_IFS
5456
5457 fi
5458 fi
5459 AWK=$ac_cv_prog_AWK
5460 if test -n "$AWK"; then
5461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5462 $as_echo "$AWK" >&6; }
5463 else
5464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5466 fi
5467
5468
5469   test -n "$AWK" && break
5470 done
5471
5472 # Extract the first word of "perl", so it can be a program name with args.
5473 set dummy perl; ac_word=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_path_PERL+:} false; then :
5477   $as_echo_n "(cached) " >&6
5478 else
5479   case $PERL in
5480   [\\/]* | ?:[\\/]*)
5481   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5482   ;;
5483   *)
5484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5486 do
5487   IFS=$as_save_IFS
5488   test -z "$as_dir" && as_dir=.
5489     for ac_exec_ext in '' $ac_executable_extensions; do
5490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493     break 2
5494   fi
5495 done
5496   done
5497 IFS=$as_save_IFS
5498
5499   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
5500   ;;
5501 esac
5502 fi
5503 PERL=$ac_cv_path_PERL
5504 if test -n "$PERL"; then
5505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5506 $as_echo "$PERL" >&6; }
5507 else
5508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5510 fi
5511
5512
5513 if test "$PERL" != no &&
5514    (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5515   PERL=no
5516 fi
5517 # Extract the first word of "install-info", so it can be a program name with args.
5518 set dummy install-info; ac_word=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_path_INSTALL_INFO+:} false; then :
5522   $as_echo_n "(cached) " >&6
5523 else
5524   case $INSTALL_INFO in
5525   [\\/]* | ?:[\\/]*)
5526   ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5527   ;;
5528   *)
5529   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 as_dummy="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5531 for as_dir in $as_dummy
5532 do
5533   IFS=$as_save_IFS
5534   test -z "$as_dir" && as_dir=.
5535     for ac_exec_ext in '' $ac_executable_extensions; do
5536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5537     ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539     break 2
5540   fi
5541 done
5542   done
5543 IFS=$as_save_IFS
5544
5545   test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="no"
5546   ;;
5547 esac
5548 fi
5549 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5550 if test -n "$INSTALL_INFO"; then
5551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5552 $as_echo "$INSTALL_INFO" >&6; }
5553 else
5554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5556 fi
5557
5558
5559 # Extract the first word of "bison", so it can be a program name with args.
5560 set dummy bison; ac_word=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_path_BISON+:} false; then :
5564   $as_echo_n "(cached) " >&6
5565 else
5566   case $BISON in
5567   [\\/]* | ?:[\\/]*)
5568   ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
5569   ;;
5570   *)
5571   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 as_dummy="$PATH:/usr/local/bin:/usr/bin:/bin"
5573 for as_dir in $as_dummy
5574 do
5575   IFS=$as_save_IFS
5576   test -z "$as_dir" && as_dir=.
5577     for ac_exec_ext in '' $ac_executable_extensions; do
5578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5579     ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
5580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581     break 2
5582   fi
5583 done
5584   done
5585 IFS=$as_save_IFS
5586
5587   test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="no"
5588   ;;
5589 esac
5590 fi
5591 BISON=$ac_cv_path_BISON
5592 if test -n "$BISON"; then
5593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5594 $as_echo "$BISON" >&6; }
5595 else
5596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5598 fi
5599
5600
5601
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libc-friendly stddef.h" >&5
5603 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5604 if ${libc_cv_friendly_stddef+:} false; then :
5605   $as_echo_n "(cached) " >&6
5606 else
5607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h.  */
5609 #define __need_size_t
5610 #define __need_wchar_t
5611 #include <stddef.h>
5612 #define __need_NULL
5613 #include <stddef.h>
5614 int
5615 main ()
5616 {
5617 size_t size; wchar_t wchar;
5618 #ifdef offsetof
5619 #error stddef.h ignored __need_*
5620 #endif
5621 if (&size == NULL || &wchar == NULL) abort ();
5622   ;
5623   return 0;
5624 }
5625 _ACEOF
5626 if ac_fn_c_try_compile "$LINENO"; then :
5627   libc_cv_friendly_stddef=yes
5628 else
5629   libc_cv_friendly_stddef=no
5630 fi
5631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5632 fi
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_friendly_stddef" >&5
5634 $as_echo "$libc_cv_friendly_stddef" >&6; }
5635 if test $libc_cv_friendly_stddef = yes; then
5636   config_vars="$config_vars
5637 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5638 fi
5639
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to use -P to assemble .S files" >&5
5641 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5642 if ${libc_cv_need_minus_P+:} false; then :
5643   $as_echo_n "(cached) " >&6
5644 else
5645   cat > conftest.S <<EOF
5646 #include "confdefs.h"
5647 /* Nothing whatsoever.  */
5648 EOF
5649 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5650   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5651   (eval $ac_try) 2>&5
5652   ac_status=$?
5653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5654   test $ac_status = 0; }; }; then
5655   libc_cv_need_minus_P=no
5656 else
5657   libc_cv_need_minus_P=yes
5658 fi
5659 rm -f conftest*
5660 fi
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_need_minus_P" >&5
5662 $as_echo "$libc_cv_need_minus_P" >&6; }
5663 if test $libc_cv_need_minus_P = yes; then
5664   config_vars="$config_vars
5665 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5666 fi
5667
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
5669 $as_echo_n "checking for .set assembler directive... " >&6; }
5670 if ${libc_cv_asm_set_directive+:} false; then :
5671   $as_echo_n "(cached) " >&6
5672 else
5673   cat > conftest.s <<EOF
5674 ${libc_cv_dot_text}
5675 foo:
5676 .set glibc_conftest_frobozz,foo
5677 .globl glibc_conftest_frobozz
5678 EOF
5679 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5680 # (but it doesn't work), so we must do a linking check to be sure.
5681 cat > conftest1.c <<\EOF
5682 extern int glibc_conftest_frobozz;
5683 void _start() { glibc_conftest_frobozz = 1; }
5684 EOF
5685 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5686             -nostartfiles -nostdlib \
5687             -o conftest conftest.s conftest1.c 1>&5 2>&5; then
5688   libc_cv_asm_set_directive=yes
5689 else
5690   libc_cv_asm_set_directive=no
5691 fi
5692 rm -f conftest*
5693 fi
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
5695 $as_echo "$libc_cv_asm_set_directive" >&6; }
5696 if test $libc_cv_asm_set_directive = yes; then
5697   $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
5698
5699 fi
5700
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler gnu_unique_object symbol type" >&5
5702 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
5703 if ${libc_cv_asm_unique_object+:} false; then :
5704   $as_echo_n "(cached) " >&6
5705 else
5706   cat > conftest.s <<EOF
5707 ${libc_cv_dot_text}
5708 _sym:
5709 .type _sym, %gnu_unique_object
5710 EOF
5711 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
5712   libc_cv_asm_unique_object=yes
5713 else
5714   libc_cv_asm_unique_object=no
5715 fi
5716 rm -f conftest*
5717 fi
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_unique_object" >&5
5719 $as_echo "$libc_cv_asm_unique_object" >&6; }
5720 if test $libc_cv_asm_unique_object = yes; then
5721   $as_echo "#define HAVE_ASM_UNIQUE_OBJECT 1" >>confdefs.h
5722
5723 fi
5724
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .symver assembler directive" >&5
5726 $as_echo_n "checking for .symver assembler directive... " >&6; }
5727 if ${libc_cv_asm_symver_directive+:} false; then :
5728   $as_echo_n "(cached) " >&6
5729 else
5730   cat > conftest.s <<EOF
5731 ${libc_cv_dot_text}
5732 _sym:
5733 .symver _sym,sym@VERS
5734 EOF
5735 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
5736   libc_cv_asm_symver_directive=yes
5737 else
5738   libc_cv_asm_symver_directive=no
5739 fi
5740 rm -f conftest*
5741 fi
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_symver_directive" >&5
5743 $as_echo "$libc_cv_asm_symver_directive" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --version-script" >&5
5745 $as_echo_n "checking for ld --version-script... " >&6; }
5746 if ${libc_cv_ld_version_script_option+:} false; then :
5747   $as_echo_n "(cached) " >&6
5748 else
5749   if test $libc_cv_asm_symver_directive = yes; then
5750   cat > conftest.s <<EOF
5751 ${libc_cv_dot_text}
5752 _sym:
5753 .symver _sym,sym@VERS
5754 EOF
5755   cat > conftest.map <<EOF
5756 VERS_1 {
5757         global: sym;
5758 };
5759
5760 VERS_2 {
5761         global: sym;
5762 } VERS_1;
5763 EOF
5764   if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5; then
5765     if { ac_try='${CC-cc} $CFLAGS $LDFLAGS -shared
5766                                 -o conftest.so conftest.o
5767                                 -nostartfiles -nostdlib
5768                                 -Wl,--version-script,conftest.map
5769                        1>&5'
5770   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5771   (eval $ac_try) 2>&5
5772   ac_status=$?
5773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5774   test $ac_status = 0; }; };
5775     then
5776       libc_cv_ld_version_script_option=yes
5777     else
5778       libc_cv_ld_version_script_option=no
5779     fi
5780   else
5781     libc_cv_ld_version_script_option=no
5782   fi
5783 else
5784   libc_cv_ld_version_script_option=no
5785 fi
5786 rm -f conftest*
5787 fi
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_version_script_option" >&5
5789 $as_echo "$libc_cv_ld_version_script_option" >&6; }
5790 if test $shared != no &&
5791    test $libc_cv_asm_symver_directive = yes &&
5792    test $libc_cv_ld_version_script_option = yes &&
5793    test $enable_versioning = yes; then
5794   VERSIONING=yes
5795   $as_echo "#define DO_VERSIONING 1" >>confdefs.h
5796
5797 else
5798   VERSIONING=no
5799 fi
5800
5801
5802 if test $shared != no && test $VERSIONING = no; then
5803   echo "\
5804 *** WARNING: You should not compile GNU libc without versioning. Not using
5805 *** versioning will introduce incompatibilities so that old binaries
5806 *** will not run anymore.
5807 *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer)."
5808 fi
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .previous assembler directive" >&5
5810 $as_echo_n "checking for .previous assembler directive... " >&6; }
5811 if ${libc_cv_asm_previous_directive+:} false; then :
5812   $as_echo_n "(cached) " >&6
5813 else
5814   cat > conftest.s <<EOF
5815 .section foo_section
5816 .previous
5817 EOF
5818 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5819   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5820   (eval $ac_try) 2>&5
5821   ac_status=$?
5822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5823   test $ac_status = 0; }; }; then
5824   libc_cv_asm_previous_directive=yes
5825 else
5826   libc_cv_asm_previous_directive=no
5827 fi
5828 rm -f conftest*
5829 fi
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_previous_directive" >&5
5831 $as_echo "$libc_cv_asm_previous_directive" >&6; }
5832 if test $libc_cv_asm_previous_directive = yes; then
5833   $as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
5834
5835 else
5836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .popsection assembler directive" >&5
5837 $as_echo_n "checking for .popsection assembler directive... " >&6; }
5838 if ${libc_cv_asm_popsection_directive+:} false; then :
5839   $as_echo_n "(cached) " >&6
5840 else
5841     cat > conftest.s <<EOF
5842 .pushsection foo_section
5843 .popsection
5844 EOF
5845   if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5846   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5847   (eval $ac_try) 2>&5
5848   ac_status=$?
5849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5850   test $ac_status = 0; }; }; then
5851     libc_cv_asm_popsection_directive=yes
5852   else
5853     libc_cv_asm_popsection_directive=no
5854   fi
5855   rm -f conftest*
5856 fi
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_popsection_directive" >&5
5858 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
5859   if test $libc_cv_asm_popsection_directive = yes; then
5860     $as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
5861
5862   fi
5863 fi
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .protected and .hidden assembler directive" >&5
5865 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
5866 if ${libc_cv_asm_protected_directive+:} false; then :
5867   $as_echo_n "(cached) " >&6
5868 else
5869   cat > conftest.s <<EOF
5870 .protected foo
5871 foo:
5872 .hidden bar
5873 bar:
5874 EOF
5875 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5876   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5877   (eval $ac_try) 2>&5
5878   ac_status=$?
5879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5880   test $ac_status = 0; }; }; then
5881   libc_cv_asm_protected_directive=yes
5882 else
5883   as_fn_error $? "assembler support for symbol visibility is required" "$LINENO" 5
5884 fi
5885 rm -f conftest*
5886 fi
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_protected_directive" >&5
5888 $as_echo "$libc_cv_asm_protected_directive" >&6; }
5889
5890 if test $libc_cv_asm_protected_directive = yes; then
5891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((visibility())) is supported" >&5
5892 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
5893 if ${libc_cv_visibility_attribute+:} false; then :
5894   $as_echo_n "(cached) " >&6
5895 else
5896   cat > conftest.c <<EOF
5897                   int foo __attribute__ ((visibility ("hidden"))) = 1;
5898                   int bar __attribute__ ((visibility ("protected"))) = 1;
5899 EOF
5900                   libc_cv_visibility_attribute=no
5901                   if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5902   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5903   (eval $ac_try) 2>&5
5904   ac_status=$?
5905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5906   test $ac_status = 0; }; }; then
5907                     if grep '\.hidden.*foo' conftest.s >/dev/null; then
5908                       if grep '\.protected.*bar' conftest.s >/dev/null; then
5909                         libc_cv_visibility_attribute=yes
5910                       fi
5911                     fi
5912                   fi
5913                   rm -f conftest.{c,s}
5914
5915 fi
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_visibility_attribute" >&5
5917 $as_echo "$libc_cv_visibility_attribute" >&6; }
5918   if test $libc_cv_visibility_attribute != yes; then
5919     as_fn_error $? "compiler support for visibility attribute is required" "$LINENO" 5
5920   fi
5921 fi
5922
5923 if test $libc_cv_visibility_attribute = yes; then
5924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((visibility()))" >&5
5925 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
5926 if ${libc_cv_broken_visibility_attribute+:} false; then :
5927   $as_echo_n "(cached) " >&6
5928 else
5929   cat > conftest.c <<EOF
5930                   int foo (int x);
5931                   int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5932                   int bar (int x) { return x; }
5933 EOF
5934                   libc_cv_broken_visibility_attribute=yes
5935                   if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5936   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5937   (eval $ac_try) 2>&5
5938   ac_status=$?
5939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5940   test $ac_status = 0; }; }; then
5941                     if grep '\.hidden[  _]foo' conftest.s >/dev/null; then
5942                       libc_cv_broken_visibility_attribute=no
5943                     fi
5944                   fi
5945                   rm -f conftest.c conftest.s
5946
5947 fi
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_visibility_attribute" >&5
5949 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
5950   if test $libc_cv_broken_visibility_attribute = yes; then
5951     as_fn_error $? "working compiler support for visibility attribute is required" "$LINENO" 5
5952   fi
5953 fi
5954
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
5956 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
5957 if ${libc_cv_broken_alias_attribute+:} false; then :
5958   $as_echo_n "(cached) " >&6
5959 else
5960   cat > conftest.c <<EOF
5961                extern int foo (int x) __asm ("xyzzy");
5962                int bar (int x) { return x; }
5963                extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5964                extern int dfoo;
5965                extern __typeof (dfoo) dfoo __asm ("abccb");
5966                int dfoo = 1;
5967 EOF
5968                libc_cv_broken_alias_attribute=yes
5969                if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5970   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5971   (eval $ac_try) 2>&5
5972   ac_status=$?
5973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5974   test $ac_status = 0; }; }; then
5975                  if grep 'xyzzy' conftest.s >/dev/null &&
5976                     grep 'abccb' conftest.s >/dev/null; then
5977                    libc_cv_broken_alias_attribute=no
5978                  fi
5979                fi
5980                rm -f conftest.c conftest.s
5981
5982 fi
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
5984 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
5985 if test $libc_cv_broken_alias_attribute = yes; then
5986   as_fn_error $? "working alias attribute support required" "$LINENO" 5
5987 fi
5988
5989 if test $libc_cv_visibility_attribute = yes; then
5990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
5991 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
5992 if ${libc_cv_have_sdata_section+:} false; then :
5993   $as_echo_n "(cached) " >&6
5994 else
5995   echo "int i;" > conftest.c
5996                   libc_cv_have_sdata_section=no
5997                   if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c -o conftest.so 2>&1 \
5998                      | grep '\.sdata' >/dev/null; then
5999                     libc_cv_have_sdata_section=yes
6000                   fi
6001                   rm -f conftest.c conftest.so
6002
6003 fi
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
6005 $as_echo "$libc_cv_have_sdata_section" >&6; }
6006   if test $libc_cv_have_sdata_section = yes; then
6007     $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
6008
6009   fi
6010 fi
6011
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
6013 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
6014 if ${libc_cv_initfini_array+:} false; then :
6015   $as_echo_n "(cached) " >&6
6016 else
6017   cat > conftest.c <<EOF
6018 int _start (void) { return 0; }
6019 int __start (void) { return 0; }
6020
6021 int foo (void) { return 1; }
6022 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
6023
6024 EOF
6025 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest
6026                        conftest.c -static -nostartfiles -nostdlib
6027                        1>&5'
6028   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6029   (eval $ac_try) 2>&5
6030   ac_status=$?
6031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6032   test $ac_status = 0; }; }; then :
6033   if $READELF -S conftest | fgrep INIT_ARRAY > /dev/null; then
6034     libc_cv_initfini_array=yes
6035   else
6036     libc_cv_initfini_array=no
6037   fi
6038 else
6039   libc_cv_initfini_array=no
6040 fi
6041 rm -f conftest*
6042
6043 fi
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_initfini_array" >&5
6045 $as_echo "$libc_cv_initfini_array" >&6; }
6046 if test $libc_cv_initfini_array != yes; then
6047   as_fn_error $? "Need linker with .init_array/.fini_array support." "$LINENO" 5
6048 fi
6049
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use .ctors/.dtors header and trailer" >&5
6051 $as_echo_n "checking whether to use .ctors/.dtors header and trailer... " >&6; }
6052 if ${libc_cv_ctors_header+:} false; then :
6053   $as_echo_n "(cached) " >&6
6054 else
6055     libc_cv_ctors_header=yes
6056   cat > conftest.c <<EOF
6057 int _start (void) { return 0; }
6058 int __start (void) { return 0; }
6059
6060 __attribute__ ((constructor)) void ctor (void) { asm (""); }
6061 __attribute__ ((destructor))  void dtor (void) { asm (""); }
6062
6063 EOF
6064 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest
6065                        conftest.c -static -nostartfiles -nostdlib
6066                        1>&5'
6067   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6068   (eval $ac_try) 2>&5
6069   ac_status=$?
6070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6071   test $ac_status = 0; }; }; then :
6072         if $READELF -WS conftest$ac_exeext | $AWK '
6073         { gsub(/\[ */, "[") }
6074         $2 == ".ctors" || $2 == ".dtors" {
6075           size = strtonum("0x" $6)
6076           align = strtonum("0x" $NF)
6077           seen[$2] = 1
6078           stub[$2] = size == align * 2
6079         }
6080         END {
6081           ctors_ok = !seen[".ctors"] || stub[".ctors"]
6082           dtors_ok = !seen[".dtors"] || stub[".dtors"]
6083           exit ((ctors_ok && dtors_ok) ? 0 : 1)
6084         }
6085       '; then :
6086   libc_cv_ctors_header=no
6087 fi
6088
6089 else
6090         as_fn_error $? "missing __attribute__ ((constructor)) support??" "$LINENO" 5
6091
6092 fi
6093 rm -f conftest*
6094
6095 fi
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ctors_header" >&5
6097 $as_echo "$libc_cv_ctors_header" >&6; }
6098 if test $libc_cv_ctors_header = no; then
6099   $as_echo "#define NO_CTORS_DTORS_SECTIONS 1" >>confdefs.h
6100
6101 fi
6102
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
6104 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
6105 if ${libc_cv_cc_with_libunwind+:} false; then :
6106   $as_echo_n "(cached) " >&6
6107 else
6108
6109   cat > conftest.c <<EOF
6110 int main (void) { return 0; }
6111 EOF
6112   if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
6113      conftest.c -v 2>&1 >/dev/null | grep -q " -lunwind "; then
6114     libc_cv_cc_with_libunwind=yes
6115   else
6116     libc_cv_cc_with_libunwind=no
6117   fi
6118   rm -f conftest*
6119 fi
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
6121 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6122
6123 if test $libc_cv_cc_with_libunwind = yes; then
6124   $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
6125
6126 fi
6127
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z nodelete option" >&5
6129 $as_echo_n "checking for -z nodelete option... " >&6; }
6130 if ${libc_cv_z_nodelete+:} false; then :
6131   $as_echo_n "(cached) " >&6
6132 else
6133   cat > conftest.c <<EOF
6134 int _start (void) { return 42; }
6135 EOF
6136 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6137                    -fPIC -shared -o conftest.so conftest.c
6138                    -nostartfiles -nostdlib
6139                    -Wl,--enable-new-dtags,-z,nodelete 1>&5'
6140   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6141   (eval $ac_try) 2>&5
6142   ac_status=$?
6143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6144   test $ac_status = 0; }; }
6145 then
6146   libc_cv_z_nodelete=yes
6147 else
6148   as_fn_error $? "linker with -z nodelete support required" "$LINENO" 5
6149 fi
6150 rm -f conftest*
6151 fi
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_nodelete" >&5
6153 $as_echo "$libc_cv_z_nodelete" >&6; }
6154
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z nodlopen option" >&5
6156 $as_echo_n "checking for -z nodlopen option... " >&6; }
6157 if ${libc_cv_z_nodlopen+:} false; then :
6158   $as_echo_n "(cached) " >&6
6159 else
6160   cat > conftest.c <<EOF
6161 int _start (void) { return 42; }
6162 EOF
6163 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6164                         -fPIC -shared -o conftest.so conftest.c
6165                         -nostartfiles -nostdlib
6166                         -Wl,--enable-new-dtags,-z,nodlopen 1>&5'
6167   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6168   (eval $ac_try) 2>&5
6169   ac_status=$?
6170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6171   test $ac_status = 0; }; }
6172 then
6173   libc_cv_z_nodlopen=yes
6174 else
6175   as_fn_error $? "linker with -z nodlopen support required" "$LINENO" 5
6176 fi
6177 rm -f conftest*
6178 fi
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_nodlopen" >&5
6180 $as_echo "$libc_cv_z_nodlopen" >&6; }
6181
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z initfirst option" >&5
6183 $as_echo_n "checking for -z initfirst option... " >&6; }
6184 if ${libc_cv_z_initfirst+:} false; then :
6185   $as_echo_n "(cached) " >&6
6186 else
6187   cat > conftest.c <<EOF
6188 int _start (void) { return 42; }
6189 EOF
6190 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6191                         -fPIC -shared -o conftest.so conftest.c
6192                         -nostartfiles -nostdlib
6193                         -Wl,--enable-new-dtags,-z,initfirst 1>&5'
6194   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6195   (eval $ac_try) 2>&5
6196   ac_status=$?
6197   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6198   test $ac_status = 0; }; }
6199 then
6200   libc_cv_z_initfirst=yes
6201 else
6202   as_fn_error $? "linker with -z initfirst support required" "$LINENO" 5
6203 fi
6204 rm -f conftest*
6205 fi
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_initfirst" >&5
6207 $as_echo "$libc_cv_z_initfirst" >&6; }
6208
6209 # Add-on fragments can set these for other machines.
6210 libc_commonpagesize=${libc_commonpagesize:-no}
6211 libc_relro_required=${libc_relro_required:-no}
6212 case "$base_machine" in
6213   i[34567]86 | x86_64 | powerpc* | s390*)
6214     libc_commonpagesize=0x1000
6215     libc_relro_required=yes
6216     ;;
6217   sparc*)
6218     libc_commonpagesize=0x2000
6219     libc_relro_required=yes
6220     ;;
6221 esac
6222
6223 if test $libc_commonpagesize != no; then
6224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z relro option" >&5
6225 $as_echo_n "checking for -z relro option... " >&6; }
6226 if ${libc_cv_z_relro+:} false; then :
6227   $as_echo_n "(cached) " >&6
6228 else
6229     libc_cv_z_relro=no
6230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h.  */
6232
6233 int _start (void) { return 42; }
6234 extern void _exit (int);
6235 /* Since these pointers are const, they should go in rodata.
6236    Since they refer to functions that have to be resolved by
6237    dynamic linking, they should instead go in RELRO data.  */
6238 const void *const relro[] = { &_start, &_exit, 0 };
6239 /* GNU ld fails to produce RELRO data when it's very small and there is no
6240    normal writable data following it, or if only uninitialized (.bss) data
6241    follows it, or only very small writable data.  */
6242 int data[0x10000] = { 1, };
6243
6244 _ACEOF
6245   cat > conftest.awk <<\EOF
6246 BEGIN {
6247   result = "no"
6248   commonpagesize = strtonum(commonpagesize)
6249 }
6250 { print "LINE:", $0 > "/dev/stderr" }
6251 $1 == "GNU_RELRO" {
6252   vaddr = strtonum($3)
6253   memsz = strtonum($6)
6254   end = vaddr + memsz
6255   printf "vaddr %#x memsz %#x end %#x commonpagesize %#x\n", \
6256     vaddr, memsz, end, commonpagesize > "/dev/stderr"
6257   result = (end % commonpagesize == 0) ? "yes" : "broken"
6258 }
6259 END { print result }
6260 EOF
6261   { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6262                     -fPIC -shared -o conftest.so conftest.c
6263                     -nostartfiles -nostdlib
6264                     -Wl,-z,relro 1>&5'
6265   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6266   (eval $ac_try) 2>&5
6267   ac_status=$?
6268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6269   test $ac_status = 0; }; } &&
6270   { ac_try='$READELF -Wl conftest.so > conftest.ph'
6271   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6272   (eval $ac_try) 2>&5
6273   ac_status=$?
6274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6275   test $ac_status = 0; }; } &&
6276   { ac_try='
6277       $AWK -v commonpagesize=$libc_commonpagesize -f conftest.awk
6278            conftest.ph > conftest.cps
6279     '
6280   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6281   (eval $ac_try) 2>&5
6282   ac_status=$?
6283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6284   test $ac_status = 0; }; } &&
6285   libc_cv_z_relro=`cat conftest.cps 2>&5`
6286   rm -f conftest*
6287 fi
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_relro" >&5
6289 $as_echo "$libc_cv_z_relro" >&6; }
6290   if { test "x$libc_relro_required" = xyes &&
6291        test "x$libc_cv_z_relro" != xyes
6292      }
6293   then
6294     as_fn_error $? "linker with -z relro support required" "$LINENO" 5
6295   fi
6296 else
6297   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: missing architecture parameter to check for working -z relro" >&5
6298 $as_echo "$as_me: WARNING: missing architecture parameter to check for working -z relro" >&2;}
6299 fi
6300
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bgroup option" >&5
6302 $as_echo_n "checking for -Bgroup option... " >&6; }
6303 if ${libc_cv_Bgroup+:} false; then :
6304   $as_echo_n "(cached) " >&6
6305 else
6306   cat > conftest.c <<EOF
6307 int _start (void) { return 42; }
6308 EOF
6309 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6310                             -fPIC -shared -o conftest.so conftest.c
6311                             -Wl,-Bgroup -nostdlib 1>&5'
6312   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6313   (eval $ac_try) 2>&5
6314   ac_status=$?
6315   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6316   test $ac_status = 0; }; }
6317 then
6318   libc_cv_Bgroup=yes
6319 else
6320   libc_cv_Bgroup=no
6321 fi
6322 rm -f conftest*
6323 fi
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_Bgroup" >&5
6325 $as_echo "$libc_cv_Bgroup" >&6; }
6326
6327
6328 ASFLAGS_config=
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
6330 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6331 if ${libc_cv_as_noexecstack+:} false; then :
6332   $as_echo_n "(cached) " >&6
6333 else
6334   cat > conftest.c <<EOF
6335 void foo (void) { }
6336 EOF
6337 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS
6338                    -S -o conftest.s conftest.c 1>&5'
6339   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6340   (eval $ac_try) 2>&5
6341   ac_status=$?
6342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6343   test $ac_status = 0; }; } \
6344    && grep -q .note.GNU-stack conftest.s \
6345    && { ac_try='${CC-cc} $ASFLAGS -Wa,--noexecstack
6346                       -c -o conftest.o conftest.s 1>&5'
6347   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6348   (eval $ac_try) 2>&5
6349   ac_status=$?
6350   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6351   test $ac_status = 0; }; }
6352 then
6353   libc_cv_as_noexecstack=yes
6354 else
6355   libc_cv_as_noexecstack=no
6356 fi
6357 rm -f conftest*
6358 fi
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
6360 $as_echo "$libc_cv_as_noexecstack" >&6; }
6361 if test $libc_cv_as_noexecstack = yes; then
6362   ASFLAGS_config="$ASFLAGS_config -Wa,--noexecstack"
6363 fi
6364
6365
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z combreloc" >&5
6367 $as_echo_n "checking for -z combreloc... " >&6; }
6368 if ${libc_cv_z_combreloc+:} false; then :
6369   $as_echo_n "(cached) " >&6
6370 else
6371   cat > conftest.c <<EOF
6372 extern int bar (int);
6373 extern int mumble;
6374 int foo (void) { return bar (mumble); }
6375 EOF
6376 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6377                         -fPIC -shared -o conftest.so conftest.c
6378                         -nostdlib -nostartfiles
6379                         -Wl,-z,combreloc 1>&5'
6380   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6381   (eval $ac_try) 2>&5
6382   ac_status=$?
6383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384   test $ac_status = 0; }; }
6385 then
6386   if $READELF -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
6387     libc_cv_z_combreloc=yes
6388   else
6389     libc_cv_z_combreloc=no
6390   fi
6391 else
6392   libc_cv_z_combreloc=no
6393 fi
6394 rm -f conftest*
6395 fi
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_combreloc" >&5
6397 $as_echo "$libc_cv_z_combreloc" >&6; }
6398 if test "$libc_cv_z_combreloc" = yes; then
6399   $as_echo "#define HAVE_Z_COMBRELOC 1" >>confdefs.h
6400
6401 fi
6402
6403
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z execstack" >&5
6405 $as_echo_n "checking for -z execstack... " >&6; }
6406 if ${libc_cv_z_execstack+:} false; then :
6407   $as_echo_n "(cached) " >&6
6408 else
6409   cat > conftest.c <<EOF
6410 int _start (void) { return 42; }
6411 EOF
6412 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6413                             -fPIC -shared -o conftest.so conftest.c
6414                             -Wl,-z,execstack -nostdlib
6415                             1>&5'
6416   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6417   (eval $ac_try) 2>&5
6418   ac_status=$?
6419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6420   test $ac_status = 0; }; }
6421 then
6422   libc_cv_z_execstack=yes
6423 else
6424   libc_cv_z_execstack=no
6425 fi
6426 rm -f conftest*
6427 fi
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_execstack" >&5
6429 $as_echo "$libc_cv_z_execstack" >&6; }
6430
6431
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
6433 $as_echo_n "checking for -fpie... " >&6; }
6434 if ${libc_cv_fpie+:} false; then :
6435   $as_echo_n "(cached) " >&6
6436 else
6437   if { ac_try='${CC-cc} -fpie -xc /dev/null -S -o /dev/null'
6438   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6439   (eval $ac_try) 2>&5
6440   ac_status=$?
6441   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6442   test $ac_status = 0; }; }; then :
6443   libc_cv_fpie=yes
6444 else
6445   libc_cv_fpie=no
6446 fi
6447
6448 fi
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
6450 $as_echo "$libc_cv_fpie" >&6; }
6451
6452
6453
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style option" >&5
6455 $as_echo_n "checking for --hash-style option... " >&6; }
6456 if ${libc_cv_hashstyle+:} false; then :
6457   $as_echo_n "(cached) " >&6
6458 else
6459   cat > conftest.c <<EOF
6460 int _start (void) { return 42; }
6461 EOF
6462 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6463                             -fPIC -shared -o conftest.so conftest.c
6464                             -Wl,--hash-style=both -nostdlib 1>&5'
6465   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6466   (eval $ac_try) 2>&5
6467   ac_status=$?
6468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6469   test $ac_status = 0; }; }
6470 then
6471   libc_cv_hashstyle=yes
6472 else
6473   libc_cv_hashstyle=no
6474 fi
6475 rm -f conftest*
6476 fi
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hashstyle" >&5
6478 $as_echo "$libc_cv_hashstyle" >&6; }
6479
6480
6481 # The linker's default -shared behavior is good enough if it
6482 # does these things that our custom linker scripts ensure that
6483 # all allocated NOTE sections come first.
6484 if test "$use_default_link" = default; then
6485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sufficient default -shared layout" >&5
6486 $as_echo_n "checking for sufficient default -shared layout... " >&6; }
6487 if ${libc_cv_use_default_link+:} false; then :
6488   $as_echo_n "(cached) " >&6
6489 else
6490     libc_cv_use_default_link=no
6491   cat > conftest.s <<\EOF
6492           .section .note.a,"a",%note
6493           .balign 4
6494           .long 4,4,9
6495           .string "GNU"
6496           .string "foo"
6497           .section .note.b,"a",%note
6498           .balign 4
6499           .long 4,4,9
6500           .string "GNU"
6501           .string "bar"
6502 EOF
6503   if { ac_try='  ${CC-cc} $ASFLAGS -shared -o conftest.so conftest.s 1>&5'
6504   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6505   (eval $ac_try) 2>&5
6506   ac_status=$?
6507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6508   test $ac_status = 0; }; } &&
6509        ac_try=`$READELF -S conftest.so | sed -n \
6510          '${x;p;}
6511           s/^ *\[ *[1-9][0-9]*\]  *\([^ ][^ ]*\)  *\([^ ][^ ]*\) .*$/\2 \1/
6512           t a
6513           b
6514           : a
6515           H'`
6516   then
6517     libc_seen_a=no libc_seen_b=no
6518     set -- $ac_try
6519     while test $# -ge 2 -a "$1" = NOTE; do
6520       case "$2" in
6521       .note.a) libc_seen_a=yes ;;
6522       .note.b) libc_seen_b=yes ;;
6523       esac
6524       shift 2
6525     done
6526     case "$libc_seen_a$libc_seen_b" in
6527     yesyes)
6528       libc_cv_use_default_link=yes
6529       ;;
6530     *)
6531       echo >&5 "\
6532 $libc_seen_a$libc_seen_b from:
6533 $ac_try"
6534       ;;
6535     esac
6536   fi
6537   rm -f conftest*
6538 fi
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_use_default_link" >&5
6540 $as_echo "$libc_cv_use_default_link" >&6; }
6541   use_default_link=$libc_cv_use_default_link
6542 fi
6543
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker output format" >&5
6545 $as_echo_n "checking linker output format... " >&6; }
6546 if ${libc_cv_output_format+:} false; then :
6547   $as_echo_n "(cached) " >&6
6548 else
6549   if libc_cv_output_format=`
6550 ${CC-cc} -nostartfiles -nostdlib -Wl,--print-output-format 2>&5`
6551 then
6552   :
6553 else
6554   libc_cv_output_format=
6555 fi
6556 test -n "$libc_cv_output_format" || libc_cv_output_format=unknown
6557 fi
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_output_format" >&5
6559 $as_echo "$libc_cv_output_format" >&6; }
6560
6561
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6563 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6564 if ${libc_cv_fno_toplevel_reorder+:} false; then :
6565   $as_echo_n "(cached) " >&6
6566 else
6567   cat > conftest.c <<EOF
6568 int foo;
6569 EOF
6570 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6571                             conftest.c 1>&5'
6572   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6573   (eval $ac_try) 2>&5
6574   ac_status=$?
6575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6576   test $ac_status = 0; }; }
6577 then
6578   libc_cv_fno_toplevel_reorder=yes
6579 else
6580   libc_cv_fno_toplevel_reorder=no
6581 fi
6582 rm -f conftest*
6583 fi
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fno_toplevel_reorder" >&5
6585 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6586 if test $libc_cv_fno_toplevel_reorder = yes; then
6587   fno_unit_at_a_time="-fno-toplevel-reorder -fno-section-anchors"
6588 else
6589   fno_unit_at_a_time=-fno-unit-at-a-time
6590 fi
6591
6592
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
6594 $as_echo_n "checking for -fstack-protector... " >&6; }
6595 if ${libc_cv_ssp+:} false; then :
6596   $as_echo_n "(cached) " >&6
6597 else
6598   if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector -xc /dev/null -S -o /dev/null'
6599   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6600   (eval $ac_try) 2>&5
6601   ac_status=$?
6602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6603   test $ac_status = 0; }; }; then :
6604   libc_cv_ssp=yes
6605 else
6606   libc_cv_ssp=no
6607 fi
6608
6609 fi
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
6611 $as_echo "$libc_cv_ssp" >&6; }
6612
6613
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fgnu89-inline" >&5
6615 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6616 if ${libc_cv_gnu89_inline+:} false; then :
6617   $as_echo_n "(cached) " >&6
6618 else
6619   cat > conftest.c <<EOF
6620 int foo;
6621 #ifdef __GNUC_GNU_INLINE__
6622 main () { return 0;}
6623 #else
6624 #error
6625 #endif
6626 EOF
6627 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6628                             -o conftest.s conftest.c 1>&5'
6629   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6630   (eval $ac_try) 2>&5
6631   ac_status=$?
6632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6633   test $ac_status = 0; }; }
6634 then
6635   libc_cv_gnu89_inline=yes
6636 else
6637   libc_cv_gnu89_inline=no
6638 fi
6639 rm -f conftest*
6640 fi
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gnu89_inline" >&5
6642 $as_echo "$libc_cv_gnu89_inline" >&6; }
6643 if test $libc_cv_gnu89_inline = yes; then
6644   gnu89_inline=-fgnu89-inline
6645 else
6646   gnu89_inline=
6647 fi
6648
6649
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
6651 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6652 if ${libc_cv_have_section_quotes+:} false; then :
6653   $as_echo_n "(cached) " >&6
6654 else
6655   cat > conftest.c <<EOF
6656                 static const int foo
6657                 __attribute__ ((section ("bar"))) = 1;
6658 EOF
6659                 if ${CC-cc} -S conftest.c -o conftest.s; then
6660                   if grep '\.section.*"bar"' conftest.s >/dev/null; then
6661                     libc_cv_have_section_quotes=yes
6662                   else
6663                     libc_cv_have_section_quotes=no
6664                   fi
6665                 else
6666                   libc_cv_have_section_quotes=unknown
6667                 fi
6668                 rm -f conftest.{c,s}
6669
6670 fi
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
6672 $as_echo "$libc_cv_have_section_quotes" >&6; }
6673 if test $libc_cv_have_section_quotes = yes; then
6674   $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
6675
6676 fi
6677
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weak directive" >&5
6679 $as_echo_n "checking for assembler .weak directive... " >&6; }
6680 if ${libc_cv_asm_weak_directive+:} false; then :
6681   $as_echo_n "(cached) " >&6
6682 else
6683   cat > conftest.s <<EOF
6684 ${libc_cv_dot_text}
6685 .globl foo
6686 foo:
6687 .weak foo
6688 .weak bar; bar = foo
6689 EOF
6690 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6691   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6692   (eval $ac_try) 2>&5
6693   ac_status=$?
6694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6695   test $ac_status = 0; }; }; then
6696   libc_cv_asm_weak_directive=yes
6697 else
6698   libc_cv_asm_weak_directive=no
6699 fi
6700 rm -f conftest*
6701 fi
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weak_directive" >&5
6703 $as_echo "$libc_cv_asm_weak_directive" >&6; }
6704
6705 if test $libc_cv_asm_weak_directive = no; then
6706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weakext directive" >&5
6707 $as_echo_n "checking for assembler .weakext directive... " >&6; }
6708 if ${libc_cv_asm_weakext_directive+:} false; then :
6709   $as_echo_n "(cached) " >&6
6710 else
6711   cat > conftest.s <<EOF
6712 ${libc_cv_dot_text}
6713 .globl foo
6714 foo:
6715 .weakext bar foo
6716 .weakext baz
6717 .globl baz
6718 baz:
6719 EOF
6720   if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6721   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6722   (eval $ac_try) 2>&5
6723   ac_status=$?
6724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6725   test $ac_status = 0; }; }; then
6726     libc_cv_asm_weakext_directive=yes
6727   else
6728     libc_cv_asm_weakext_directive=no
6729   fi
6730   rm -f conftest*
6731 fi
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weakext_directive" >&5
6733 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
6734
6735 fi # no .weak
6736
6737 if test $libc_cv_asm_weak_directive = yes; then
6738   $as_echo "#define HAVE_ASM_WEAK_DIRECTIVE 1" >>confdefs.h
6739
6740 elif test $libc_cv_asm_weakext_directive = yes; then
6741   $as_echo "#define HAVE_ASM_WEAKEXT_DIRECTIVE 1" >>confdefs.h
6742
6743 fi
6744
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported" >&5
6746 $as_echo_n "checking whether CFI directives are supported... " >&6; }
6747 if ${libc_cv_asm_cfi_directives+:} false; then :
6748   $as_echo_n "(cached) " >&6
6749 else
6750   case $machine in
6751   sparc/sparc64*) cfi_offset=2047;;
6752   *) cfi_offset=0;;
6753 esac
6754 cat > conftest.s <<EOF
6755         .text
6756         .type   func,%function
6757 func:
6758         .cfi_startproc
6759         .cfi_remember_state
6760         .cfi_rel_offset 1, $cfi_offset
6761         .cfi_endproc
6762 EOF
6763 if { ac_try='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6764   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6765   (eval $ac_try) 2>&5
6766   ac_status=$?
6767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6768   test $ac_status = 0; }; }; then
6769   libc_cv_asm_cfi_directives=yes
6770 else
6771   libc_cv_asm_cfi_directives=no
6772 fi
6773 rm -f conftest*
6774 fi
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_cfi_directives" >&5
6776 $as_echo "$libc_cv_asm_cfi_directives" >&6; }
6777 if test $libc_cv_asm_cfi_directives = yes; then
6778   $as_echo "#define HAVE_ASM_CFI_DIRECTIVES 1" >>confdefs.h
6779
6780 fi
6781
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --no-whole-archive" >&5
6783 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
6784 if ${libc_cv_ld_no_whole_archive+:} false; then :
6785   $as_echo_n "(cached) " >&6
6786 else
6787   cat > conftest.c <<\EOF
6788 _start () {}
6789 int __eh_pc;
6790 __throw () {}
6791 EOF
6792 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6793                             -nostdlib -nostartfiles -Wl,--no-whole-archive
6794                             -o conftest conftest.c 1>&5'
6795   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6796   (eval $ac_try) 2>&5
6797   ac_status=$?
6798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6799   test $ac_status = 0; }; }; then
6800   libc_cv_ld_no_whole_archive=yes
6801 else
6802   libc_cv_ld_no_whole_archive=no
6803 fi
6804 rm -f conftest*
6805 fi
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_no_whole_archive" >&5
6807 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
6808 if test $libc_cv_ld_no_whole_archive = no; then
6809   as_fn_error $? "support for --no-whole-archive is needed" "$LINENO" 5
6810 fi
6811
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc -fexceptions" >&5
6813 $as_echo_n "checking for gcc -fexceptions... " >&6; }
6814 if ${libc_cv_gcc_exceptions+:} false; then :
6815   $as_echo_n "(cached) " >&6
6816 else
6817   cat > conftest.c <<\EOF
6818 _start () {}
6819 int __eh_pc;
6820 __throw () {}
6821 EOF
6822 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6823                             -nostdlib -nostartfiles -fexceptions
6824                             -o conftest conftest.c 1>&5'
6825   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6826   (eval $ac_try) 2>&5
6827   ac_status=$?
6828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6829   test $ac_status = 0; }; }; then
6830   libc_cv_gcc_exceptions=yes
6831 else
6832   libc_cv_gcc_exceptions=no
6833 fi
6834 rm -f conftest*
6835 fi
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_exceptions" >&5
6837 $as_echo "$libc_cv_gcc_exceptions" >&6; }
6838 if test $libc_cv_gcc_exceptions = yes; then
6839   exceptions=-fexceptions
6840 fi
6841
6842 if test "$host_cpu" = powerpc ; then
6843 # Check for a bug present in at least versions 2.8.x of GCC
6844 # and versions 1.0.x of EGCS.
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether clobbering cr0 causes problems" >&5
6846 $as_echo_n "checking whether clobbering cr0 causes problems... " >&6; }
6847 if ${libc_cv_c_asmcr0_bug+:} false; then :
6848   $as_echo_n "(cached) " >&6
6849 else
6850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h.  */
6852 int tester(int x) { asm ("" : : : "cc"); return x & 123; }
6853 int
6854 main ()
6855 {
6856
6857   ;
6858   return 0;
6859 }
6860 _ACEOF
6861 if ac_fn_c_try_compile "$LINENO"; then :
6862   libc_cv_c_asmcr0_bug='no'
6863 else
6864   libc_cv_c_asmcr0_bug='yes'
6865 fi
6866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6867 fi
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_c_asmcr0_bug" >&5
6869 $as_echo "$libc_cv_c_asmcr0_bug" >&6; }
6870 if test "$libc_cv_c_asmcr0_bug" != 'no'; then
6871   $as_echo "#define BROKEN_PPC_ASM_CR0 1" >>confdefs.h
6872
6873 fi
6874 fi
6875
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
6877 $as_echo_n "checking for __builtin_memset... " >&6; }
6878 if ${libc_cv_gcc_builtin_memset+:} false; then :
6879   $as_echo_n "(cached) " >&6
6880 else
6881   cat > conftest.c <<\EOF
6882 void zero (void *x)
6883 {
6884   __builtin_memset (x, 0, 1000);
6885 }
6886 EOF
6887 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
6888   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6889   (eval $ac_try) 2>&5
6890   ac_status=$?
6891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6892   test $ac_status = 0; }; };
6893 then
6894   libc_cv_gcc_builtin_memset=no
6895 else
6896   libc_cv_gcc_builtin_memset=yes
6897 fi
6898 rm -f conftest*
6899 fi
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
6901 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
6902 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6903   $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
6904
6905 fi
6906
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
6908 $as_echo_n "checking for redirection of built-in functions... " >&6; }
6909 if ${libc_cv_gcc_builtin_redirection+:} false; then :
6910   $as_echo_n "(cached) " >&6
6911 else
6912   cat > conftest.c <<\EOF
6913 extern char *strstr (const char *, const char *) __asm ("my_strstr");
6914 char *foo (const char *a, const char *b)
6915 {
6916   return __builtin_strstr (a, b);
6917 }
6918 EOF
6919 if { ac_try='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
6920   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6921   (eval $ac_try) 2>&5
6922   ac_status=$?
6923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6924   test $ac_status = 0; }; };
6925 then
6926   libc_cv_gcc_builtin_redirection=yes
6927 else
6928   libc_cv_gcc_builtin_redirection=no
6929 fi
6930 rm -f conftest*
6931 fi
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
6933 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
6934 if test "$libc_cv_gcc_builtin_redirection" = no; then
6935   as_fn_error $? "support for the symbol redirection needed" "$LINENO" 5
6936 fi
6937
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
6939 $as_echo_n "checking for __thread... " >&6; }
6940 if ${libc_cv_gcc___thread+:} false; then :
6941   $as_echo_n "(cached) " >&6
6942 else
6943   cat > conftest.c <<\EOF
6944 __thread int a = 42;
6945 EOF
6946 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
6947   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6948   (eval $ac_try) 2>&5
6949   ac_status=$?
6950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6951   test $ac_status = 0; }; }; then
6952   libc_cv_gcc___thread=yes
6953 else
6954   libc_cv_gcc___thread=no
6955 fi
6956 rm -f conftest*
6957 fi
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc___thread" >&5
6959 $as_echo "$libc_cv_gcc___thread" >&6; }
6960 if test "$libc_cv_gcc___thread" = no; then
6961   as_fn_error $? "support for the __thread keyword is required" "$LINENO" 5
6962 fi
6963
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tls_model attribute" >&5
6965 $as_echo_n "checking for tls_model attribute... " >&6; }
6966 if ${libc_cv_gcc_tls_model_attr+:} false; then :
6967   $as_echo_n "(cached) " >&6
6968 else
6969   cat > conftest.c <<\EOF
6970 extern __thread int a __attribute__((tls_model ("initial-exec")));
6971 EOF
6972 if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
6973   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6974   (eval $ac_try) 2>&5
6975   ac_status=$?
6976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6977   test $ac_status = 0; }; }; then
6978   libc_cv_gcc_tls_model_attr=yes
6979 else
6980   libc_cv_gcc_tls_model_attr=no
6981 fi
6982 rm -f conftest*
6983 fi
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_tls_model_attr" >&5
6985 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
6986 if test "$libc_cv_gcc_tls_model_attr" = no; then
6987   as_fn_error $? "support for the tls_model attribute is required" "$LINENO" 5
6988 fi
6989
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to disable generation of FMA instructions" >&5
6991 $as_echo_n "checking for compiler option to disable generation of FMA instructions... " >&6; }
6992 if ${libc_cv_cc_nofma+:} false; then :
6993   $as_echo_n "(cached) " >&6
6994 else
6995   libc_cv_cc_nofma=
6996 for opt in -ffp-contract=off -mno-fused-madd; do
6997   if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6998   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6999   (eval $ac_try) 2>&5
7000   ac_status=$?
7001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7002   test $ac_status = 0; }; }; then :
7003   libc_cv_cc_nofma=$opt; break
7004 fi
7005 done
7006 fi
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_nofma" >&5
7008 $as_echo "$libc_cv_cc_nofma" >&6; }
7009
7010 if test -n "$submachine"; then
7011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
7012 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
7013 if ${libc_cv_cc_submachine+:} false; then :
7014   $as_echo_n "(cached) " >&6
7015 else
7016     libc_cv_cc_submachine=no
7017   for opt in "-march=$submachine" "-mcpu=$submachine"; do
7018     if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
7019   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
7020   (eval $ac_try) 2>&5
7021   ac_status=$?
7022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7023   test $ac_status = 0; }; }; then :
7024
7025       libc_cv_cc_submachine="$opt"
7026       break
7027 fi
7028   done
7029 fi
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
7031 $as_echo "$libc_cv_cc_submachine" >&6; }
7032   if test "x$libc_cv_cc_submachine" = xno; then
7033     as_fn_error $? "${CC-cc} does not support $submachine" "$LINENO" 5
7034   fi
7035 fi
7036
7037
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
7039 $as_echo_n "checking for libgd... " >&6; }
7040 if test "$with_gd" != "no"; then
7041   old_CFLAGS="$CFLAGS"
7042   CFLAGS="$CFLAGS $libgd_include"
7043   old_LDFLAGS="$LDFLAGS"
7044   LDFLAGS="$LDFLAGS $libgd_ldflags"
7045   old_LIBS="$LIBS"
7046   LIBS="$LIBS -lgd -lpng -lz -lm"
7047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h.  */
7049 #include <gd.h>
7050 int
7051 main ()
7052 {
7053 gdImagePng (0, 0)
7054   ;
7055   return 0;
7056 }
7057 _ACEOF
7058 if ac_fn_c_try_link "$LINENO"; then :
7059   LIBGD=yes
7060 else
7061   LIBGD=no
7062 fi
7063 rm -f core conftest.err conftest.$ac_objext \
7064     conftest$ac_exeext conftest.$ac_ext
7065   CFLAGS="$old_CFLAGS"
7066   LDFLAGS="$old_LDFLAGS"
7067   LIBS="$old_LIBS"
7068 else
7069   LIBGD=no
7070 fi
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
7072 $as_echo "$LIBGD" >&6; }
7073
7074
7075 # SELinux detection
7076 if test x$with_selinux = xno ; then
7077   have_selinux=no;
7078 else
7079   # See if we have the SELinux library
7080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
7081 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
7082 if ${ac_cv_lib_selinux_is_selinux_enabled+:} false; then :
7083   $as_echo_n "(cached) " >&6
7084 else
7085   ac_check_lib_save_LIBS=$LIBS
7086 LIBS="-lselinux  $LIBS"
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h.  */
7089
7090 /* Override any GCC internal prototype to avoid an error.
7091    Use char because int might match the return type of a GCC
7092    builtin and then its argument prototype would still apply.  */
7093 #ifdef __cplusplus
7094 extern "C"
7095 #endif
7096 char is_selinux_enabled ();
7097 int
7098 main ()
7099 {
7100 return is_selinux_enabled ();
7101   ;
7102   return 0;
7103 }
7104 _ACEOF
7105 if ac_fn_c_try_link "$LINENO"; then :
7106   ac_cv_lib_selinux_is_selinux_enabled=yes
7107 else
7108   ac_cv_lib_selinux_is_selinux_enabled=no
7109 fi
7110 rm -f core conftest.err conftest.$ac_objext \
7111     conftest$ac_exeext conftest.$ac_ext
7112 LIBS=$ac_check_lib_save_LIBS
7113 fi
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
7115 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
7116 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes; then :
7117   have_selinux=yes
7118 else
7119   have_selinux=no
7120 fi
7121
7122   # See if we have the SELinux header with the NSCD permissions in it.
7123   if test x$have_selinux = xyes ; then
7124     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSCD Flask permissions in selinux/av_permissions.h" >&5
7125 $as_echo_n "checking for NSCD Flask permissions in selinux/av_permissions.h... " >&6; }
7126     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h.  */
7128 #include <selinux/av_permissions.h>
7129 int
7130 main ()
7131 {
7132 #ifdef NSCD__SHMEMHOST
7133                      return 0;
7134                      #else
7135                      #error NSCD__SHMEMHOST not defined
7136                      #endif
7137   ;
7138   return 0;
7139 }
7140 _ACEOF
7141 if ac_fn_c_try_compile "$LINENO"; then :
7142   have_selinux=yes
7143 else
7144   have_selinux=no
7145 fi
7146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7147     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_selinux" >&5
7148 $as_echo "$have_selinux" >&6; }
7149   fi
7150
7151   if test x$with_selinux = xyes ; then
7152     if test x$have_selinux = xno ; then
7153       as_fn_error $? "SELinux explicitly required, but sufficiently recent SELinux library not found" "$LINENO" 5
7154     fi
7155   fi
7156 fi
7157 # Check if we're building with SELinux support.
7158 if test "x$have_selinux" = xyes; then
7159
7160 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
7161
7162
7163   # See if we have the libaudit library
7164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
7165 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
7166 if ${ac_cv_lib_audit_audit_log_user_avc_message+:} false; then :
7167   $as_echo_n "(cached) " >&6
7168 else
7169   ac_check_lib_save_LIBS=$LIBS
7170 LIBS="-laudit  $LIBS"
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h.  */
7173
7174 /* Override any GCC internal prototype to avoid an error.
7175    Use char because int might match the return type of a GCC
7176    builtin and then its argument prototype would still apply.  */
7177 #ifdef __cplusplus
7178 extern "C"
7179 #endif
7180 char audit_log_user_avc_message ();
7181 int
7182 main ()
7183 {
7184 return audit_log_user_avc_message ();
7185   ;
7186   return 0;
7187 }
7188 _ACEOF
7189 if ac_fn_c_try_link "$LINENO"; then :
7190   ac_cv_lib_audit_audit_log_user_avc_message=yes
7191 else
7192   ac_cv_lib_audit_audit_log_user_avc_message=no
7193 fi
7194 rm -f core conftest.err conftest.$ac_objext \
7195     conftest$ac_exeext conftest.$ac_ext
7196 LIBS=$ac_check_lib_save_LIBS
7197 fi
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
7199 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
7200 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = xyes; then :
7201   have_libaudit=yes
7202 else
7203   have_libaudit=no
7204 fi
7205
7206   if test "x$have_libaudit" = xyes; then
7207
7208 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
7209
7210   fi
7211
7212
7213   # See if we have the libcap library
7214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
7215 $as_echo_n "checking for cap_init in -lcap... " >&6; }
7216 if ${ac_cv_lib_cap_cap_init+:} false; then :
7217   $as_echo_n "(cached) " >&6
7218 else
7219   ac_check_lib_save_LIBS=$LIBS
7220 LIBS="-lcap  $LIBS"
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h.  */
7223
7224 /* Override any GCC internal prototype to avoid an error.
7225    Use char because int might match the return type of a GCC
7226    builtin and then its argument prototype would still apply.  */
7227 #ifdef __cplusplus
7228 extern "C"
7229 #endif
7230 char cap_init ();
7231 int
7232 main ()
7233 {
7234 return cap_init ();
7235   ;
7236   return 0;
7237 }
7238 _ACEOF
7239 if ac_fn_c_try_link "$LINENO"; then :
7240   ac_cv_lib_cap_cap_init=yes
7241 else
7242   ac_cv_lib_cap_cap_init=no
7243 fi
7244 rm -f core conftest.err conftest.$ac_objext \
7245     conftest$ac_exeext conftest.$ac_ext
7246 LIBS=$ac_check_lib_save_LIBS
7247 fi
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
7249 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
7250 if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
7251   have_libcap=yes
7252 else
7253   have_libcap=no
7254 fi
7255
7256   if test "x$have_libcap" = xyes; then
7257
7258 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
7259
7260   fi
7261
7262 fi
7263
7264
7265
7266 # The cast to long int works around a bug in the HP C Compiler
7267 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7268 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7269 # This bug is HP SR number 8606223364.
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
7271 $as_echo_n "checking size of long double... " >&6; }
7272 if ${ac_cv_sizeof_long_double+:} false; then :
7273   $as_echo_n "(cached) " >&6
7274 else
7275   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
7276
7277 else
7278   if test "$ac_cv_type_long_double" = yes; then
7279      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7281 as_fn_error 77 "cannot compute sizeof (long double)
7282 See \`config.log' for more details" "$LINENO" 5; }
7283    else
7284      ac_cv_sizeof_long_double=0
7285    fi
7286 fi
7287
7288 fi
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
7290 $as_echo "$ac_cv_sizeof_long_double" >&6; }
7291
7292
7293
7294 cat >>confdefs.h <<_ACEOF
7295 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
7296 _ACEOF
7297
7298
7299 sizeof_long_double=$ac_cv_sizeof_long_double
7300
7301
7302 CPPUNDEFS=
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FORTIFY_SOURCE predefine" >&5
7304 $as_echo_n "checking for _FORTIFY_SOURCE predefine... " >&6; }
7305 if ${libc_cv_predef_fortify_source+:} false; then :
7306   $as_echo_n "(cached) " >&6
7307 else
7308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h.  */
7310
7311 int
7312 main ()
7313 {
7314
7315 #ifdef _FORTIFY_SOURCE
7316 # error bogon
7317 #endif
7318   ;
7319   return 0;
7320 }
7321 _ACEOF
7322 if ac_fn_c_try_compile "$LINENO"; then :
7323   libc_cv_predef_fortify_source=no
7324 else
7325   libc_cv_predef_fortify_source=yes
7326 fi
7327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7328 fi
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_fortify_source" >&5
7330 $as_echo "$libc_cv_predef_fortify_source" >&6; }
7331 if test $libc_cv_predef_fortify_source = yes; then
7332   CPPUNDEFS="${CPPUNDEFS:+$CPPUNDEFS }-U_FORTIFY_SOURCE"
7333 fi
7334
7335
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implicitly enables -fstack-protector" >&5
7337 $as_echo_n "checking whether $CC implicitly enables -fstack-protector... " >&6; }
7338 if ${libc_cv_predef_stack_protector+:} false; then :
7339   $as_echo_n "(cached) " >&6
7340 else
7341
7342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7343 /* end confdefs.h.  */
7344 extern void foobar (char *);
7345 int
7346 main ()
7347 {
7348 char large_array[2048]; foobar (large_array);
7349   ;
7350   return 0;
7351 }
7352 _ACEOF
7353 if ac_fn_c_try_compile "$LINENO"; then :
7354
7355 libc_undefs=`$NM -u conftest.o |
7356   LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
7357     2>&5` || {
7358   as_fn_error $? "confusing output from $NM -u" "$LINENO" 5
7359 }
7360 echo >&5 "libc_undefs='$libc_undefs'"
7361 # On some architectures, there are architecture-specific undefined
7362 # symbols (resolved by the linker), so filter out unknown symbols.
7363 # This will fail to produce the correct result if the compiler
7364 # defaults to -fstack-protector but this produces an undefined symbol
7365 # other than __stack_chk_fail.  However, compilers like that have not
7366 # been encountered in practice.
7367 libc_undefs=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail)$'`
7368 case "$libc_undefs" in
7369 foobar) libc_cv_predef_stack_protector=no ;;
7370 '__stack_chk_fail
7371 foobar') libc_cv_predef_stack_protector=yes ;;
7372 *) as_fn_error $? "unexpected symbols in test: $libc_undefs" "$LINENO" 5 ;;
7373 esac
7374 else
7375   as_fn_error $? "test compilation failed" "$LINENO" 5
7376 fi
7377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7378
7379 fi
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_stack_protector" >&5
7381 $as_echo "$libc_cv_predef_stack_protector" >&6; }
7382 libc_extra_cflags=
7383 if test $libc_cv_predef_stack_protector = yes; then
7384   libc_extra_cflags=-fno-stack-protector
7385 fi
7386
7387
7388 ### End of automated tests.
7389 ### Now run sysdeps configure fragments.
7390
7391 # They also can set these variables.
7392 use_ldconfig=no
7393 ldd_rewrite_script=no
7394 libc_cv_sysconfdir=$sysconfdir
7395 libc_cv_localstatedir=$localstatedir
7396 libc_cv_gcc_unwind_find_fde=no
7397 libc_cv_idn=no
7398
7399 # Iterate over all the sysdep directories we will use, running their
7400 # configure fragments.
7401 for dir in $sysnames; do
7402   case $dir in
7403     /*) dest=$dir ;;
7404     *)  dest=$srcdir/$dir ;;
7405   esac
7406   if test -r $dest/configure; then
7407     { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
7408 $as_echo "running configure fragment for $dir" >&6; }
7409     . $dest/configure
7410   fi
7411 done
7412
7413 if test x$libc_cv_gcc_unwind_find_fde = xyes; then
7414   $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
7415
7416 fi
7417
7418
7419 # This is far from the AC_ARG_ENABLE that sets it so that a sysdeps
7420 # configure fragment can override the value to prevent this AC_DEFINE.
7421
7422 if test "x$use_nscd" != xno; then
7423   $as_echo "#define USE_NSCD 1" >>confdefs.h
7424
7425 fi
7426
7427 # Test for old glibc 2.0.x headers so that they can be removed properly
7428 # Search only in includedir.
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old glibc 2.0.x headers" >&5
7430 $as_echo_n "checking for old glibc 2.0.x headers... " >&6; }
7431 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
7432 then
7433   old_glibc_headers=yes
7434 else
7435   old_glibc_headers=no
7436 fi
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $old_glibc_headers" >&5
7438 $as_echo "$old_glibc_headers" >&6; }
7439 if test ${old_glibc_headers} = yes; then
7440   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
7441 $as_echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
7442   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** be removed." >&5
7443 $as_echo "$as_me: WARNING: *** be removed." >&2;}
7444 fi
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
7471 $as_echo_n "checking whether -fPIC is default... " >&6; }
7472 if ${libc_cv_pic_default+:} false; then :
7473   $as_echo_n "(cached) " >&6
7474 else
7475   libc_cv_pic_default=yes
7476 cat > conftest.c <<EOF
7477 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
7478 # error PIC is default.
7479 #endif
7480 EOF
7481 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7482   libc_cv_pic_default=no
7483 fi
7484 rm -f conftest.*
7485 fi
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
7487 $as_echo "$libc_cv_pic_default" >&6; }
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
7498   config_makefile=
7499 else
7500   config_makefile=Makefile
7501 fi
7502
7503 VERSION=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
7504 RELEASE=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
7505
7506
7507
7508 ac_config_files="$ac_config_files config.make ${config_makefile}"
7509
7510 ac_config_commands="$ac_config_commands default"
7511
7512 cat >confcache <<\_ACEOF
7513 # This file is a shell script that caches the results of configure
7514 # tests run on this system so they can be shared between configure
7515 # scripts and configure runs, see configure's option --config-cache.
7516 # It is not useful on other systems.  If it contains results you don't
7517 # want to keep, you may remove or edit it.
7518 #
7519 # config.status only pays attention to the cache file if you give it
7520 # the --recheck option to rerun configure.
7521 #
7522 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7523 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7524 # following values.
7525
7526 _ACEOF
7527
7528 # The following way of writing the cache mishandles newlines in values,
7529 # but we know of no workaround that is simple, portable, and efficient.
7530 # So, we kill variables containing newlines.
7531 # Ultrix sh set writes to stderr and can't be redirected directly,
7532 # and sets the high bit in the cache file unless we assign to the vars.
7533 (
7534   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7535     eval ac_val=\$$ac_var
7536     case $ac_val in #(
7537     *${as_nl}*)
7538       case $ac_var in #(
7539       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7540 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7541       esac
7542       case $ac_var in #(
7543       _ | IFS | as_nl) ;; #(
7544       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7545       *) { eval $ac_var=; unset $ac_var;} ;;
7546       esac ;;
7547     esac
7548   done
7549
7550   (set) 2>&1 |
7551     case $as_nl`(ac_space=' '; set) 2>&1` in #(
7552     *${as_nl}ac_space=\ *)
7553       # `set' does not quote correctly, so add quotes: double-quote
7554       # substitution turns \\\\ into \\, and sed turns \\ into \.
7555       sed -n \
7556         "s/'/'\\\\''/g;
7557           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7558       ;; #(
7559     *)
7560       # `set' quotes correctly as required by POSIX, so do not add quotes.
7561       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7562       ;;
7563     esac |
7564     sort
7565 ) |
7566   sed '
7567      /^ac_cv_env_/b end
7568      t clear
7569      :clear
7570      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7571      t end
7572      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7573      :end' >>confcache
7574 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7575   if test -w "$cache_file"; then
7576     if test "x$cache_file" != "x/dev/null"; then
7577       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7578 $as_echo "$as_me: updating cache $cache_file" >&6;}
7579       if test ! -f "$cache_file" || test -h "$cache_file"; then
7580         cat confcache >"$cache_file"
7581       else
7582         case $cache_file in #(
7583         */* | ?:*)
7584           mv -f confcache "$cache_file"$$ &&
7585           mv -f "$cache_file"$$ "$cache_file" ;; #(
7586         *)
7587           mv -f confcache "$cache_file" ;;
7588         esac
7589       fi
7590     fi
7591   else
7592     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7593 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7594   fi
7595 fi
7596 rm -f confcache
7597
7598 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7599 # Let make expand exec_prefix.
7600 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7601
7602 DEFS=-DHAVE_CONFIG_H
7603
7604 ac_libobjs=
7605 ac_ltlibobjs=
7606 U=
7607 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7608   # 1. Remove the extension, and $U if already installed.
7609   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7610   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7611   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7612   #    will be set to the directory where LIBOBJS objects are built.
7613   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7614   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7615 done
7616 LIBOBJS=$ac_libobjs
7617
7618 LTLIBOBJS=$ac_ltlibobjs
7619
7620
7621
7622 : "${CONFIG_STATUS=./config.status}"
7623 ac_write_fail=0
7624 ac_clean_files_save=$ac_clean_files
7625 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7627 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7628 as_write_fail=0
7629 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7630 #! $SHELL
7631 # Generated by $as_me.
7632 # Run this file to recreate the current configuration.
7633 # Compiler output produced by configure, useful for debugging
7634 # configure, is in config.log if it exists.
7635
7636 debug=false
7637 ac_cs_recheck=false
7638 ac_cs_silent=false
7639
7640 SHELL=\${CONFIG_SHELL-$SHELL}
7641 export SHELL
7642 _ASEOF
7643 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7644 ## -------------------- ##
7645 ## M4sh Initialization. ##
7646 ## -------------------- ##
7647
7648 # Be more Bourne compatible
7649 DUALCASE=1; export DUALCASE # for MKS sh
7650 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7651   emulate sh
7652   NULLCMD=:
7653   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7654   # is contrary to our usage.  Disable this feature.
7655   alias -g '${1+"$@"}'='"$@"'
7656   setopt NO_GLOB_SUBST
7657 else
7658   case `(set -o) 2>/dev/null` in #(
7659   *posix*) :
7660     set -o posix ;; #(
7661   *) :
7662      ;;
7663 esac
7664 fi
7665
7666
7667 as_nl='
7668 '
7669 export as_nl
7670 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7671 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7672 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7673 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7674 # Prefer a ksh shell builtin over an external printf program on Solaris,
7675 # but without wasting forks for bash or zsh.
7676 if test -z "$BASH_VERSION$ZSH_VERSION" \
7677     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7678   as_echo='print -r --'
7679   as_echo_n='print -rn --'
7680 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7681   as_echo='printf %s\n'
7682   as_echo_n='printf %s'
7683 else
7684   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7685     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7686     as_echo_n='/usr/ucb/echo -n'
7687   else
7688     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7689     as_echo_n_body='eval
7690       arg=$1;
7691       case $arg in #(
7692       *"$as_nl"*)
7693         expr "X$arg" : "X\\(.*\\)$as_nl";
7694         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7695       esac;
7696       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7697     '
7698     export as_echo_n_body
7699     as_echo_n='sh -c $as_echo_n_body as_echo'
7700   fi
7701   export as_echo_body
7702   as_echo='sh -c $as_echo_body as_echo'
7703 fi
7704
7705 # The user is always right.
7706 if test "${PATH_SEPARATOR+set}" != set; then
7707   PATH_SEPARATOR=:
7708   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7709     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7710       PATH_SEPARATOR=';'
7711   }
7712 fi
7713
7714
7715 # IFS
7716 # We need space, tab and new line, in precisely that order.  Quoting is
7717 # there to prevent editors from complaining about space-tab.
7718 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7719 # splitting by setting IFS to empty value.)
7720 IFS=" ""        $as_nl"
7721
7722 # Find who we are.  Look in the path if we contain no directory separator.
7723 as_myself=
7724 case $0 in #((
7725   *[\\/]* ) as_myself=$0 ;;
7726   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727 for as_dir in $PATH
7728 do
7729   IFS=$as_save_IFS
7730   test -z "$as_dir" && as_dir=.
7731     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7732   done
7733 IFS=$as_save_IFS
7734
7735      ;;
7736 esac
7737 # We did not find ourselves, most probably we were run as `sh COMMAND'
7738 # in which case we are not to be found in the path.
7739 if test "x$as_myself" = x; then
7740   as_myself=$0
7741 fi
7742 if test ! -f "$as_myself"; then
7743   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7744   exit 1
7745 fi
7746
7747 # Unset variables that we do not need and which cause bugs (e.g. in
7748 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7749 # suppresses any "Segmentation fault" message there.  '((' could
7750 # trigger a bug in pdksh 5.2.14.
7751 for as_var in BASH_ENV ENV MAIL MAILPATH
7752 do eval test x\${$as_var+set} = xset \
7753   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7754 done
7755 PS1='$ '
7756 PS2='> '
7757 PS4='+ '
7758
7759 # NLS nuisances.
7760 LC_ALL=C
7761 export LC_ALL
7762 LANGUAGE=C
7763 export LANGUAGE
7764
7765 # CDPATH.
7766 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7767
7768
7769 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7770 # ----------------------------------------
7771 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7772 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7773 # script with STATUS, using 1 if that was 0.
7774 as_fn_error ()
7775 {
7776   as_status=$1; test $as_status -eq 0 && as_status=1
7777   if test "$4"; then
7778     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7779     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7780   fi
7781   $as_echo "$as_me: error: $2" >&2
7782   as_fn_exit $as_status
7783 } # as_fn_error
7784
7785
7786 # as_fn_set_status STATUS
7787 # -----------------------
7788 # Set $? to STATUS, without forking.
7789 as_fn_set_status ()
7790 {
7791   return $1
7792 } # as_fn_set_status
7793
7794 # as_fn_exit STATUS
7795 # -----------------
7796 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7797 as_fn_exit ()
7798 {
7799   set +e
7800   as_fn_set_status $1
7801   exit $1
7802 } # as_fn_exit
7803
7804 # as_fn_unset VAR
7805 # ---------------
7806 # Portably unset VAR.
7807 as_fn_unset ()
7808 {
7809   { eval $1=; unset $1;}
7810 }
7811 as_unset=as_fn_unset
7812 # as_fn_append VAR VALUE
7813 # ----------------------
7814 # Append the text in VALUE to the end of the definition contained in VAR. Take
7815 # advantage of any shell optimizations that allow amortized linear growth over
7816 # repeated appends, instead of the typical quadratic growth present in naive
7817 # implementations.
7818 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7819   eval 'as_fn_append ()
7820   {
7821     eval $1+=\$2
7822   }'
7823 else
7824   as_fn_append ()
7825   {
7826     eval $1=\$$1\$2
7827   }
7828 fi # as_fn_append
7829
7830 # as_fn_arith ARG...
7831 # ------------------
7832 # Perform arithmetic evaluation on the ARGs, and store the result in the
7833 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7834 # must be portable across $(()) and expr.
7835 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7836   eval 'as_fn_arith ()
7837   {
7838     as_val=$(( $* ))
7839   }'
7840 else
7841   as_fn_arith ()
7842   {
7843     as_val=`expr "$@" || test $? -eq 1`
7844   }
7845 fi # as_fn_arith
7846
7847
7848 if expr a : '\(a\)' >/dev/null 2>&1 &&
7849    test "X`expr 00001 : '.*\(...\)'`" = X001; then
7850   as_expr=expr
7851 else
7852   as_expr=false
7853 fi
7854
7855 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7856   as_basename=basename
7857 else
7858   as_basename=false
7859 fi
7860
7861 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7862   as_dirname=dirname
7863 else
7864   as_dirname=false
7865 fi
7866
7867 as_me=`$as_basename -- "$0" ||
7868 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7869          X"$0" : 'X\(//\)$' \| \
7870          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7871 $as_echo X/"$0" |
7872     sed '/^.*\/\([^/][^/]*\)\/*$/{
7873             s//\1/
7874             q
7875           }
7876           /^X\/\(\/\/\)$/{
7877             s//\1/
7878             q
7879           }
7880           /^X\/\(\/\).*/{
7881             s//\1/
7882             q
7883           }
7884           s/.*/./; q'`
7885
7886 # Avoid depending upon Character Ranges.
7887 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7888 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7889 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7890 as_cr_digits='0123456789'
7891 as_cr_alnum=$as_cr_Letters$as_cr_digits
7892
7893 ECHO_C= ECHO_N= ECHO_T=
7894 case `echo -n x` in #(((((
7895 -n*)
7896   case `echo 'xy\c'` in
7897   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
7898   xy)  ECHO_C='\c';;
7899   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7900        ECHO_T=' ';;
7901   esac;;
7902 *)
7903   ECHO_N='-n';;
7904 esac
7905
7906 rm -f conf$$ conf$$.exe conf$$.file
7907 if test -d conf$$.dir; then
7908   rm -f conf$$.dir/conf$$.file
7909 else
7910   rm -f conf$$.dir
7911   mkdir conf$$.dir 2>/dev/null
7912 fi
7913 if (echo >conf$$.file) 2>/dev/null; then
7914   if ln -s conf$$.file conf$$ 2>/dev/null; then
7915     as_ln_s='ln -s'
7916     # ... but there are two gotchas:
7917     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7918     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7919     # In both cases, we have to default to `cp -p'.
7920     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7921       as_ln_s='cp -p'
7922   elif ln conf$$.file conf$$ 2>/dev/null; then
7923     as_ln_s=ln
7924   else
7925     as_ln_s='cp -p'
7926   fi
7927 else
7928   as_ln_s='cp -p'
7929 fi
7930 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7931 rmdir conf$$.dir 2>/dev/null
7932
7933
7934 # as_fn_mkdir_p
7935 # -------------
7936 # Create "$as_dir" as a directory, including parents if necessary.
7937 as_fn_mkdir_p ()
7938 {
7939
7940   case $as_dir in #(
7941   -*) as_dir=./$as_dir;;
7942   esac
7943   test -d "$as_dir" || eval $as_mkdir_p || {
7944     as_dirs=
7945     while :; do
7946       case $as_dir in #(
7947       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7948       *) as_qdir=$as_dir;;
7949       esac
7950       as_dirs="'$as_qdir' $as_dirs"
7951       as_dir=`$as_dirname -- "$as_dir" ||
7952 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7953          X"$as_dir" : 'X\(//\)[^/]' \| \
7954          X"$as_dir" : 'X\(//\)$' \| \
7955          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7956 $as_echo X"$as_dir" |
7957     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7958             s//\1/
7959             q
7960           }
7961           /^X\(\/\/\)[^/].*/{
7962             s//\1/
7963             q
7964           }
7965           /^X\(\/\/\)$/{
7966             s//\1/
7967             q
7968           }
7969           /^X\(\/\).*/{
7970             s//\1/
7971             q
7972           }
7973           s/.*/./; q'`
7974       test -d "$as_dir" && break
7975     done
7976     test -z "$as_dirs" || eval "mkdir $as_dirs"
7977   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7978
7979
7980 } # as_fn_mkdir_p
7981 if mkdir -p . 2>/dev/null; then
7982   as_mkdir_p='mkdir -p "$as_dir"'
7983 else
7984   test -d ./-p && rmdir ./-p
7985   as_mkdir_p=false
7986 fi
7987
7988 if test -x / >/dev/null 2>&1; then
7989   as_test_x='test -x'
7990 else
7991   if ls -dL / >/dev/null 2>&1; then
7992     as_ls_L_option=L
7993   else
7994     as_ls_L_option=
7995   fi
7996   as_test_x='
7997     eval sh -c '\''
7998       if test -d "$1"; then
7999         test -d "$1/.";
8000       else
8001         case $1 in #(
8002         -*)set "./$1";;
8003         esac;
8004         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8005         ???[sx]*):;;*)false;;esac;fi
8006     '\'' sh
8007   '
8008 fi
8009 as_executable_p=$as_test_x
8010
8011 # Sed expression to map a string onto a valid CPP name.
8012 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8013
8014 # Sed expression to map a string onto a valid variable name.
8015 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8016
8017
8018 exec 6>&1
8019 ## ----------------------------------- ##
8020 ## Main body of $CONFIG_STATUS script. ##
8021 ## ----------------------------------- ##
8022 _ASEOF
8023 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8024
8025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8026 # Save the log message, to keep $0 and so on meaningful, and to
8027 # report actual input values of CONFIG_FILES etc. instead of their
8028 # values after options handling.
8029 ac_log="
8030 This file was extended by GNU C Library $as_me (see version.h), which was
8031 generated by GNU Autoconf 2.68.  Invocation command line was
8032
8033   CONFIG_FILES    = $CONFIG_FILES
8034   CONFIG_HEADERS  = $CONFIG_HEADERS
8035   CONFIG_LINKS    = $CONFIG_LINKS
8036   CONFIG_COMMANDS = $CONFIG_COMMANDS
8037   $ $0 $@
8038
8039 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8040 "
8041
8042 _ACEOF
8043
8044 case $ac_config_files in *"
8045 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8046 esac
8047
8048 case $ac_config_headers in *"
8049 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8050 esac
8051
8052
8053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8054 # Files that config.status was made for.
8055 config_files="$ac_config_files"
8056 config_headers="$ac_config_headers"
8057 config_commands="$ac_config_commands"
8058
8059 _ACEOF
8060
8061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8062 ac_cs_usage="\
8063 \`$as_me' instantiates files and other configuration actions
8064 from templates according to the current configuration.  Unless the files
8065 and actions are specified as TAGs, all are instantiated by default.
8066
8067 Usage: $0 [OPTION]... [TAG]...
8068
8069   -h, --help       print this help, then exit
8070   -V, --version    print version number and configuration settings, then exit
8071       --config     print configuration, then exit
8072   -q, --quiet, --silent
8073                    do not print progress messages
8074   -d, --debug      don't remove temporary files
8075       --recheck    update $as_me by reconfiguring in the same conditions
8076       --file=FILE[:TEMPLATE]
8077                    instantiate the configuration file FILE
8078       --header=FILE[:TEMPLATE]
8079                    instantiate the configuration header FILE
8080
8081 Configuration files:
8082 $config_files
8083
8084 Configuration headers:
8085 $config_headers
8086
8087 Configuration commands:
8088 $config_commands
8089
8090 Report bugs to <http://sourceware.org/bugzilla/>.
8091 GNU C Library home page: <http://www.gnu.org/software/glibc/>.
8092 General help using GNU software: <http://www.gnu.org/gethelp/>."
8093
8094 _ACEOF
8095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8096 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8097 ac_cs_version="\\
8098 GNU C Library config.status (see version.h)
8099 configured by $0, generated by GNU Autoconf 2.68,
8100   with options \\"\$ac_cs_config\\"
8101
8102 Copyright (C) 2010 Free Software Foundation, Inc.
8103 This config.status script is free software; the Free Software Foundation
8104 gives unlimited permission to copy, distribute and modify it."
8105
8106 ac_pwd='$ac_pwd'
8107 srcdir='$srcdir'
8108 INSTALL='$INSTALL'
8109 AWK='$AWK'
8110 test -n "\$AWK" || AWK=awk
8111 _ACEOF
8112
8113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8114 # The default lists apply if the user does not specify any file.
8115 ac_need_defaults=:
8116 while test $# != 0
8117 do
8118   case $1 in
8119   --*=?*)
8120     ac_option=`expr "X$1" : 'X\([^=]*\)='`
8121     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8122     ac_shift=:
8123     ;;
8124   --*=)
8125     ac_option=`expr "X$1" : 'X\([^=]*\)='`
8126     ac_optarg=
8127     ac_shift=:
8128     ;;
8129   *)
8130     ac_option=$1
8131     ac_optarg=$2
8132     ac_shift=shift
8133     ;;
8134   esac
8135
8136   case $ac_option in
8137   # Handling of the options.
8138   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8139     ac_cs_recheck=: ;;
8140   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8141     $as_echo "$ac_cs_version"; exit ;;
8142   --config | --confi | --conf | --con | --co | --c )
8143     $as_echo "$ac_cs_config"; exit ;;
8144   --debug | --debu | --deb | --de | --d | -d )
8145     debug=: ;;
8146   --file | --fil | --fi | --f )
8147     $ac_shift
8148     case $ac_optarg in
8149     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8150     '') as_fn_error $? "missing file argument" ;;
8151     esac
8152     as_fn_append CONFIG_FILES " '$ac_optarg'"
8153     ac_need_defaults=false;;
8154   --header | --heade | --head | --hea )
8155     $ac_shift
8156     case $ac_optarg in
8157     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8158     esac
8159     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8160     ac_need_defaults=false;;
8161   --he | --h)
8162     # Conflict between --help and --header
8163     as_fn_error $? "ambiguous option: \`$1'
8164 Try \`$0 --help' for more information.";;
8165   --help | --hel | -h )
8166     $as_echo "$ac_cs_usage"; exit ;;
8167   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8168   | -silent | --silent | --silen | --sile | --sil | --si | --s)
8169     ac_cs_silent=: ;;
8170
8171   # This is an error.
8172   -*) as_fn_error $? "unrecognized option: \`$1'
8173 Try \`$0 --help' for more information." ;;
8174
8175   *) as_fn_append ac_config_targets " $1"
8176      ac_need_defaults=false ;;
8177
8178   esac
8179   shift
8180 done
8181
8182 ac_configure_extra_args=
8183
8184 if $ac_cs_silent; then
8185   exec 6>/dev/null
8186   ac_configure_extra_args="$ac_configure_extra_args --silent"
8187 fi
8188
8189 _ACEOF
8190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8191 if \$ac_cs_recheck; then
8192   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8193   shift
8194   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8195   CONFIG_SHELL='$SHELL'
8196   export CONFIG_SHELL
8197   exec "\$@"
8198 fi
8199
8200 _ACEOF
8201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8202 exec 5>>config.log
8203 {
8204   echo
8205   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8206 ## Running $as_me. ##
8207 _ASBOX
8208   $as_echo "$ac_log"
8209 } >&5
8210
8211 _ACEOF
8212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8213 #
8214 # INIT-COMMANDS
8215 #
8216 config_vars='$config_vars'
8217
8218 _ACEOF
8219
8220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8221
8222 # Handling of arguments.
8223 for ac_config_target in $ac_config_targets
8224 do
8225   case $ac_config_target in
8226     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8227     "config.make") CONFIG_FILES="$CONFIG_FILES config.make" ;;
8228     "${config_makefile}") CONFIG_FILES="$CONFIG_FILES ${config_makefile}" ;;
8229     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
8230
8231   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8232   esac
8233 done
8234
8235
8236 # If the user did not use the arguments to specify the items to instantiate,
8237 # then the envvar interface is used.  Set only those that are not.
8238 # We use the long form for the default assignment because of an extremely
8239 # bizarre bug on SunOS 4.1.3.
8240 if $ac_need_defaults; then
8241   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8242   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8243   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8244 fi
8245
8246 # Have a temporary directory for convenience.  Make it in the build tree
8247 # simply because there is no reason against having it here, and in addition,
8248 # creating and moving files from /tmp can sometimes cause problems.
8249 # Hook for its removal unless debugging.
8250 # Note that there is a small window in which the directory will not be cleaned:
8251 # after its creation but before its name has been assigned to `$tmp'.
8252 $debug ||
8253 {
8254   tmp= ac_tmp=
8255   trap 'exit_status=$?
8256   : "${ac_tmp:=$tmp}"
8257   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8258 ' 0
8259   trap 'as_fn_exit 1' 1 2 13 15
8260 }
8261 # Create a (secure) tmp directory for tmp files.
8262
8263 {
8264   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8265   test -d "$tmp"
8266 }  ||
8267 {
8268   tmp=./conf$$-$RANDOM
8269   (umask 077 && mkdir "$tmp")
8270 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8271 ac_tmp=$tmp
8272
8273 # Set up the scripts for CONFIG_FILES section.
8274 # No need to generate them if there are no CONFIG_FILES.
8275 # This happens for instance with `./config.status config.h'.
8276 if test -n "$CONFIG_FILES"; then
8277
8278
8279 ac_cr=`echo X | tr X '\015'`
8280 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8281 # But we know of no other shell where ac_cr would be empty at this
8282 # point, so we can use a bashism as a fallback.
8283 if test "x$ac_cr" = x; then
8284   eval ac_cr=\$\'\\r\'
8285 fi
8286 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8287 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8288   ac_cs_awk_cr='\\r'
8289 else
8290   ac_cs_awk_cr=$ac_cr
8291 fi
8292
8293 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8294 _ACEOF
8295
8296
8297 {
8298   echo "cat >conf$$subs.awk <<_ACEOF" &&
8299   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8300   echo "_ACEOF"
8301 } >conf$$subs.sh ||
8302   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8303 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8304 ac_delim='%!_!# '
8305 for ac_last_try in false false false false false :; do
8306   . ./conf$$subs.sh ||
8307     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8308
8309   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8310   if test $ac_delim_n = $ac_delim_num; then
8311     break
8312   elif $ac_last_try; then
8313     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8314   else
8315     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8316   fi
8317 done
8318 rm -f conf$$subs.sh
8319
8320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8321 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8322 _ACEOF
8323 sed -n '
8324 h
8325 s/^/S["/; s/!.*/"]=/
8326 p
8327 g
8328 s/^[^!]*!//
8329 :repl
8330 t repl
8331 s/'"$ac_delim"'$//
8332 t delim
8333 :nl
8334 h
8335 s/\(.\{148\}\)..*/\1/
8336 t more1
8337 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8338 p
8339 n
8340 b repl
8341 :more1
8342 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8343 p
8344 g
8345 s/.\{148\}//
8346 t nl
8347 :delim
8348 h
8349 s/\(.\{148\}\)..*/\1/
8350 t more2
8351 s/["\\]/\\&/g; s/^/"/; s/$/"/
8352 p
8353 b
8354 :more2
8355 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8356 p
8357 g
8358 s/.\{148\}//
8359 t delim
8360 ' <conf$$subs.awk | sed '
8361 /^[^""]/{
8362   N
8363   s/\n//
8364 }
8365 ' >>$CONFIG_STATUS || ac_write_fail=1
8366 rm -f conf$$subs.awk
8367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8368 _ACAWK
8369 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8370   for (key in S) S_is_set[key] = 1
8371   FS = "\a"
8372
8373 }
8374 {
8375   line = $ 0
8376   nfields = split(line, field, "@")
8377   substed = 0
8378   len = length(field[1])
8379   for (i = 2; i < nfields; i++) {
8380     key = field[i]
8381     keylen = length(key)
8382     if (S_is_set[key]) {
8383       value = S[key]
8384       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8385       len += length(value) + length(field[++i])
8386       substed = 1
8387     } else
8388       len += 1 + keylen
8389   }
8390
8391   print line
8392 }
8393
8394 _ACAWK
8395 _ACEOF
8396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8397 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8398   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8399 else
8400   cat
8401 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8402   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8403 _ACEOF
8404
8405 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8406 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8407 # trailing colons and then remove the whole line if VPATH becomes empty
8408 # (actually we leave an empty line to preserve line numbers).
8409 if test "x$srcdir" = x.; then
8410   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
8411 h
8412 s///
8413 s/^/:/
8414 s/[      ]*$/:/
8415 s/:\$(srcdir):/:/g
8416 s/:\${srcdir}:/:/g
8417 s/:@srcdir@:/:/g
8418 s/^:*//
8419 s/:*$//
8420 x
8421 s/\(=[   ]*\).*/\1/
8422 G
8423 s/\n//
8424 s/^[^=]*=[       ]*$//
8425 }'
8426 fi
8427
8428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8429 fi # test -n "$CONFIG_FILES"
8430
8431 # Set up the scripts for CONFIG_HEADERS section.
8432 # No need to generate them if there are no CONFIG_HEADERS.
8433 # This happens for instance with `./config.status Makefile'.
8434 if test -n "$CONFIG_HEADERS"; then
8435 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8436 BEGIN {
8437 _ACEOF
8438
8439 # Transform confdefs.h into an awk script `defines.awk', embedded as
8440 # here-document in config.status, that substitutes the proper values into
8441 # config.h.in to produce config.h.
8442
8443 # Create a delimiter string that does not exist in confdefs.h, to ease
8444 # handling of long lines.
8445 ac_delim='%!_!# '
8446 for ac_last_try in false false :; do
8447   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8448   if test -z "$ac_tt"; then
8449     break
8450   elif $ac_last_try; then
8451     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8452   else
8453     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8454   fi
8455 done
8456
8457 # For the awk script, D is an array of macro values keyed by name,
8458 # likewise P contains macro parameters if any.  Preserve backslash
8459 # newline sequences.
8460
8461 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8462 sed -n '
8463 s/.\{148\}/&'"$ac_delim"'/g
8464 t rset
8465 :rset
8466 s/^[     ]*#[    ]*define[       ][      ]*/ /
8467 t def
8468 d
8469 :def
8470 s/\\$//
8471 t bsnl
8472 s/["\\]/\\&/g
8473 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
8474 D["\1"]=" \3"/p
8475 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
8476 d
8477 :bsnl
8478 s/["\\]/\\&/g
8479 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
8480 D["\1"]=" \3\\\\\\n"\\/p
8481 t cont
8482 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8483 t cont
8484 d
8485 :cont
8486 n
8487 s/.\{148\}/&'"$ac_delim"'/g
8488 t clear
8489 :clear
8490 s/\\$//
8491 t bsnlc
8492 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8493 d
8494 :bsnlc
8495 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8496 b cont
8497 ' <confdefs.h | sed '
8498 s/'"$ac_delim"'/"\\\
8499 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8500
8501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8502   for (key in D) D_is_set[key] = 1
8503   FS = "\a"
8504 }
8505 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8506   line = \$ 0
8507   split(line, arg, " ")
8508   if (arg[1] == "#") {
8509     defundef = arg[2]
8510     mac1 = arg[3]
8511   } else {
8512     defundef = substr(arg[1], 2)
8513     mac1 = arg[2]
8514   }
8515   split(mac1, mac2, "(") #)
8516   macro = mac2[1]
8517   prefix = substr(line, 1, index(line, defundef) - 1)
8518   if (D_is_set[macro]) {
8519     # Preserve the white space surrounding the "#".
8520     print prefix "define", macro P[macro] D[macro]
8521     next
8522   } else {
8523     # Replace #undef with comments.  This is necessary, for example,
8524     # in the case of _POSIX_SOURCE, which is predefined and required
8525     # on some systems where configure will not decide to define it.
8526     if (defundef == "undef") {
8527       print "/*", prefix defundef, macro, "*/"
8528       next
8529     }
8530   }
8531 }
8532 { print }
8533 _ACAWK
8534 _ACEOF
8535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8536   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8537 fi # test -n "$CONFIG_HEADERS"
8538
8539
8540 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
8541 shift
8542 for ac_tag
8543 do
8544   case $ac_tag in
8545   :[FHLC]) ac_mode=$ac_tag; continue;;
8546   esac
8547   case $ac_mode$ac_tag in
8548   :[FHL]*:*);;
8549   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8550   :[FH]-) ac_tag=-:-;;
8551   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8552   esac
8553   ac_save_IFS=$IFS
8554   IFS=:
8555   set x $ac_tag
8556   IFS=$ac_save_IFS
8557   shift
8558   ac_file=$1
8559   shift
8560
8561   case $ac_mode in
8562   :L) ac_source=$1;;
8563   :[FH])
8564     ac_file_inputs=
8565     for ac_f
8566     do
8567       case $ac_f in
8568       -) ac_f="$ac_tmp/stdin";;
8569       *) # Look for the file first in the build tree, then in the source tree
8570          # (if the path is not absolute).  The absolute path cannot be DOS-style,
8571          # because $ac_f cannot contain `:'.
8572          test -f "$ac_f" ||
8573            case $ac_f in
8574            [\\/$]*) false;;
8575            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8576            esac ||
8577            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8578       esac
8579       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8580       as_fn_append ac_file_inputs " '$ac_f'"
8581     done
8582
8583     # Let's still pretend it is `configure' which instantiates (i.e., don't
8584     # use $as_me), people would be surprised to read:
8585     #    /* config.h.  Generated by config.status.  */
8586     configure_input='Generated from '`
8587           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8588         `' by configure.'
8589     if test x"$ac_file" != x-; then
8590       configure_input="$ac_file.  $configure_input"
8591       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8592 $as_echo "$as_me: creating $ac_file" >&6;}
8593     fi
8594     # Neutralize special characters interpreted by sed in replacement strings.
8595     case $configure_input in #(
8596     *\&* | *\|* | *\\* )
8597        ac_sed_conf_input=`$as_echo "$configure_input" |
8598        sed 's/[\\\\&|]/\\\\&/g'`;; #(
8599     *) ac_sed_conf_input=$configure_input;;
8600     esac
8601
8602     case $ac_tag in
8603     *:-:* | *:-) cat >"$ac_tmp/stdin" \
8604       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8605     esac
8606     ;;
8607   esac
8608
8609   ac_dir=`$as_dirname -- "$ac_file" ||
8610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8611          X"$ac_file" : 'X\(//\)[^/]' \| \
8612          X"$ac_file" : 'X\(//\)$' \| \
8613          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8614 $as_echo X"$ac_file" |
8615     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8616             s//\1/
8617             q
8618           }
8619           /^X\(\/\/\)[^/].*/{
8620             s//\1/
8621             q
8622           }
8623           /^X\(\/\/\)$/{
8624             s//\1/
8625             q
8626           }
8627           /^X\(\/\).*/{
8628             s//\1/
8629             q
8630           }
8631           s/.*/./; q'`
8632   as_dir="$ac_dir"; as_fn_mkdir_p
8633   ac_builddir=.
8634
8635 case "$ac_dir" in
8636 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8637 *)
8638   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8639   # A ".." for each directory in $ac_dir_suffix.
8640   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8641   case $ac_top_builddir_sub in
8642   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8643   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8644   esac ;;
8645 esac
8646 ac_abs_top_builddir=$ac_pwd
8647 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8648 # for backward compatibility:
8649 ac_top_builddir=$ac_top_build_prefix
8650
8651 case $srcdir in
8652   .)  # We are building in place.
8653     ac_srcdir=.
8654     ac_top_srcdir=$ac_top_builddir_sub
8655     ac_abs_top_srcdir=$ac_pwd ;;
8656   [\\/]* | ?:[\\/]* )  # Absolute name.
8657     ac_srcdir=$srcdir$ac_dir_suffix;
8658     ac_top_srcdir=$srcdir
8659     ac_abs_top_srcdir=$srcdir ;;
8660   *) # Relative name.
8661     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8662     ac_top_srcdir=$ac_top_build_prefix$srcdir
8663     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8664 esac
8665 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8666
8667
8668   case $ac_mode in
8669   :F)
8670   #
8671   # CONFIG_FILE
8672   #
8673
8674   case $INSTALL in
8675   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8676   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8677   esac
8678 _ACEOF
8679
8680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8681 # If the template does not know about datarootdir, expand it.
8682 # FIXME: This hack should be removed a few years after 2.60.
8683 ac_datarootdir_hack=; ac_datarootdir_seen=
8684 ac_sed_dataroot='
8685 /datarootdir/ {
8686   p
8687   q
8688 }
8689 /@datadir@/p
8690 /@docdir@/p
8691 /@infodir@/p
8692 /@localedir@/p
8693 /@mandir@/p'
8694 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8695 *datarootdir*) ac_datarootdir_seen=yes;;
8696 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8697   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8698 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8699 _ACEOF
8700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8701   ac_datarootdir_hack='
8702   s&@datadir@&$datadir&g
8703   s&@docdir@&$docdir&g
8704   s&@infodir@&$infodir&g
8705   s&@localedir@&$localedir&g
8706   s&@mandir@&$mandir&g
8707   s&\\\${datarootdir}&$datarootdir&g' ;;
8708 esac
8709 _ACEOF
8710
8711 # Neutralize VPATH when `$srcdir' = `.'.
8712 # Shell code in configure.ac might set extrasub.
8713 # FIXME: do we really want to maintain this feature?
8714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8715 ac_sed_extra="$ac_vpsub
8716 $extrasub
8717 _ACEOF
8718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8719 :t
8720 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8721 s|@configure_input@|$ac_sed_conf_input|;t t
8722 s&@top_builddir@&$ac_top_builddir_sub&;t t
8723 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8724 s&@srcdir@&$ac_srcdir&;t t
8725 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8726 s&@top_srcdir@&$ac_top_srcdir&;t t
8727 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8728 s&@builddir@&$ac_builddir&;t t
8729 s&@abs_builddir@&$ac_abs_builddir&;t t
8730 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8731 s&@INSTALL@&$ac_INSTALL&;t t
8732 $ac_datarootdir_hack
8733 "
8734 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8735   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8736
8737 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8738   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8739   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
8740       "$ac_tmp/out"`; test -z "$ac_out"; } &&
8741   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8742 which seems to be undefined.  Please make sure it is defined" >&5
8743 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8744 which seems to be undefined.  Please make sure it is defined" >&2;}
8745
8746   rm -f "$ac_tmp/stdin"
8747   case $ac_file in
8748   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8749   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8750   esac \
8751   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8752  ;;
8753   :H)
8754   #
8755   # CONFIG_HEADER
8756   #
8757   if test x"$ac_file" != x-; then
8758     {
8759       $as_echo "/* $configure_input  */" \
8760       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8761     } >"$ac_tmp/config.h" \
8762       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8763     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8764       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8765 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8766     else
8767       rm -f "$ac_file"
8768       mv "$ac_tmp/config.h" "$ac_file" \
8769         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8770     fi
8771   else
8772     $as_echo "/* $configure_input  */" \
8773       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8774       || as_fn_error $? "could not create -" "$LINENO" 5
8775   fi
8776  ;;
8777
8778   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8779 $as_echo "$as_me: executing $ac_file commands" >&6;}
8780  ;;
8781   esac
8782
8783
8784   case $ac_file$ac_mode in
8785     "default":C)
8786 case $CONFIG_FILES in *config.make*)
8787 echo "$config_vars" >> config.make;;
8788 esac
8789 test -d bits || mkdir bits ;;
8790
8791   esac
8792 done # for ac_tag
8793
8794
8795 as_fn_exit 0
8796 _ACEOF
8797 ac_clean_files=$ac_clean_files_save
8798
8799 test $ac_write_fail = 0 ||
8800   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8801
8802
8803 # configure is writing to config.log, and then calls config.status.
8804 # config.status does its own redirection, appending to config.log.
8805 # Unfortunately, on DOS this fails, as config.log is still kept open
8806 # by configure, so config.status won't be able to write to it; its
8807 # output is simply discarded.  So we exec the FD to /dev/null,
8808 # effectively closing config.log, so it can be properly (re)opened and
8809 # appended to by config.status.  When coming back to configure, we
8810 # need to make the FD available again.
8811 if test "$no_create" != yes; then
8812   ac_cs_success=:
8813   ac_config_status_args=
8814   test "$silent" = yes &&
8815     ac_config_status_args="$ac_config_status_args --quiet"
8816   exec 5>/dev/null
8817   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8818   exec 5>>config.log
8819   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8820   # would make configure fail if this is the last instruction.
8821   $ac_cs_success || as_fn_exit 1
8822 fi
8823
8824 #
8825 # CONFIG_SUBDIRS section.
8826 #
8827 if test "$no_recursion" != yes; then
8828
8829   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8830   # so they do not pile up.
8831   ac_sub_configure_args=
8832   ac_prev=
8833   eval "set x $ac_configure_args"
8834   shift
8835   for ac_arg
8836   do
8837     if test -n "$ac_prev"; then
8838       ac_prev=
8839       continue
8840     fi
8841     case $ac_arg in
8842     -cache-file | --cache-file | --cache-fil | --cache-fi \
8843     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8844       ac_prev=cache_file ;;
8845     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8846     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
8847     | --c=*)
8848       ;;
8849     --config-cache | -C)
8850       ;;
8851     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
8852       ac_prev=srcdir ;;
8853     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
8854       ;;
8855     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
8856       ac_prev=prefix ;;
8857     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
8858       ;;
8859     --disable-option-checking)
8860       ;;
8861     *)
8862       case $ac_arg in
8863       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8864       esac
8865       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
8866     esac
8867   done
8868
8869   # Always prepend --prefix to ensure using the same prefix
8870   # in subdir configurations.
8871   ac_arg="--prefix=$prefix"
8872   case $ac_arg in
8873   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8874   esac
8875   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
8876
8877   # Pass --silent
8878   if test "$silent" = yes; then
8879     ac_sub_configure_args="--silent $ac_sub_configure_args"
8880   fi
8881
8882   # Always prepend --disable-option-checking to silence warnings, since
8883   # different subdirs can have different --enable and --with options.
8884   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
8885
8886   ac_popdir=`pwd`
8887   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
8888
8889     # Do not complain, so a configure script can configure whichever
8890     # parts of a large source tree are present.
8891     test -d "$srcdir/$ac_dir" || continue
8892
8893     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8894     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8895     $as_echo "$ac_msg" >&6
8896     as_dir="$ac_dir"; as_fn_mkdir_p
8897     ac_builddir=.
8898
8899 case "$ac_dir" in
8900 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8901 *)
8902   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8903   # A ".." for each directory in $ac_dir_suffix.
8904   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8905   case $ac_top_builddir_sub in
8906   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8907   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8908   esac ;;
8909 esac
8910 ac_abs_top_builddir=$ac_pwd
8911 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8912 # for backward compatibility:
8913 ac_top_builddir=$ac_top_build_prefix
8914
8915 case $srcdir in
8916   .)  # We are building in place.
8917     ac_srcdir=.
8918     ac_top_srcdir=$ac_top_builddir_sub
8919     ac_abs_top_srcdir=$ac_pwd ;;
8920   [\\/]* | ?:[\\/]* )  # Absolute name.
8921     ac_srcdir=$srcdir$ac_dir_suffix;
8922     ac_top_srcdir=$srcdir
8923     ac_abs_top_srcdir=$srcdir ;;
8924   *) # Relative name.
8925     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8926     ac_top_srcdir=$ac_top_build_prefix$srcdir
8927     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8928 esac
8929 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8930
8931
8932     cd "$ac_dir"
8933
8934     # Check for guested configure; otherwise get Cygnus style configure.
8935     if test -f "$ac_srcdir/configure.gnu"; then
8936       ac_sub_configure=$ac_srcdir/configure.gnu
8937     elif test -f "$ac_srcdir/configure"; then
8938       ac_sub_configure=$ac_srcdir/configure
8939     elif test -f "$ac_srcdir/configure.in"; then
8940       # This should be Cygnus configure.
8941       ac_sub_configure=$ac_aux_dir/configure
8942     else
8943       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8944 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8945       ac_sub_configure=
8946     fi
8947
8948     # The recursion is here.
8949     if test -n "$ac_sub_configure"; then
8950       # Make the cache file name correct relative to the subdirectory.
8951       case $cache_file in
8952       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
8953       *) # Relative name.
8954         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
8955       esac
8956
8957       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
8958 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8959       # The eval makes quoting arguments work.
8960       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8961            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8962         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8963     fi
8964
8965     cd "$ac_popdir"
8966   done
8967 fi
8968 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8969   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8970 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8971 fi
8972