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