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