2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU C Library (see version.h).
5 # Report bugs to <http://sourceware.org/bugzilla/>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
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.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || 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 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: http://sourceware.org/bugzilla/ about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='GNU C Library'
582 PACKAGE_TARNAME
='glibc'
583 PACKAGE_VERSION
='(see version.h)'
584 PACKAGE_STRING
='GNU C Library (see version.h)'
585 PACKAGE_BUGREPORT
='http://sourceware.org/bugzilla/'
586 PACKAGE_URL
='http://www.gnu.org/software/glibc/'
588 ac_unique_file
="include/features.h"
589 enable_option_checking
=no
590 ac_includes_default
='/* none */'
591 ac_subst_vars
='LTLIBOBJS
605 libc_cv_forced_unwind
607 libc_cv_localstatedir
614 libc_cv_gcc_unwind_find_fde
617 libc_cv_cxx_thread_local
624 libc_cv_cc_loop_to_function
625 libc_cv_cc_submachine
631 libc_cv_output_format
638 libc_cv_cc_with_libunwind
639 libc_cv_protected_data
644 libc_cv_gcc_static_libgcc
679 hardcoded_path_in_tests
680 enable_timezone_tools
737 program_transform_name
750 enable_option_checking
764 enable_timezone_tools
765 enable_hardcoded_path_in_tests
766 enable_stackguard_randomization
773 enable_maintainer_mode
787 ac_precious_vars
='build_alias
802 # Initialize some variables set by options.
804 ac_init_version
=false
805 ac_unrecognized_opts
=
807 # The variables have the same names as the options, with
808 # dashes changed to underlines.
816 program_transform_name
=s
,x
,x
,
824 # Installation directory options.
825 # These are left unexpanded so users can "make install exec_prefix=/foo"
826 # and all the variables that are supposed to be based on exec_prefix
827 # by default will actually change.
828 # Use braces instead of parens because sh, perl, etc. also accept them.
829 # (The list follows the same order as the GNU Coding Standards.)
830 bindir
='${exec_prefix}/bin'
831 sbindir
='${exec_prefix}/sbin'
832 libexecdir
='${exec_prefix}/libexec'
833 datarootdir
='${prefix}/share'
834 datadir
='${datarootdir}'
835 sysconfdir
='${prefix}/etc'
836 sharedstatedir
='${prefix}/com'
837 localstatedir
='${prefix}/var'
838 includedir
='${prefix}/include'
839 oldincludedir
='/usr/include'
840 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
841 infodir
='${datarootdir}/info'
846 libdir
='${exec_prefix}/lib'
847 localedir
='${datarootdir}/locale'
848 mandir
='${datarootdir}/man'
854 # If the previous option needs an argument, assign it.
855 if test -n "$ac_prev"; then
856 eval $ac_prev=\
$ac_option
862 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867 # Accept the important Cygnus configure options, so we can diagnose typos.
869 case $ac_dashdash$ac_option in
873 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
875 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
878 -build |
--build |
--buil |
--bui |
--bu)
879 ac_prev
=build_alias
;;
880 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
881 build_alias
=$ac_optarg ;;
883 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
884 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
885 ac_prev
=cache_file
;;
886 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
887 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
888 cache_file
=$ac_optarg ;;
891 cache_file
=config.cache
;;
893 -datadir |
--datadir |
--datadi |
--datad)
895 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
896 datadir
=$ac_optarg ;;
898 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
899 |
--dataroo |
--dataro |
--datar)
900 ac_prev
=datarootdir
;;
901 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
902 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
903 datarootdir
=$ac_optarg ;;
905 -disable-* |
--disable-*)
906 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
909 as_fn_error $?
"invalid feature name: $ac_useropt"
910 ac_useropt_orig
=$ac_useropt
911 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
917 ac_unrecognized_sep
=', ';;
919 eval enable_
$ac_useropt=no
;;
921 -docdir |
--docdir |
--docdi |
--doc |
--do)
923 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
926 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
928 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
931 -enable-* |
--enable-*)
932 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
935 as_fn_error $?
"invalid feature name: $ac_useropt"
936 ac_useropt_orig
=$ac_useropt
937 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=\
$ac_optarg ;;
947 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
948 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
949 |
--exec |
--exe |
--ex)
950 ac_prev
=exec_prefix
;;
951 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
952 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
953 |
--exec=* |
--exe=* |
--ex=*)
954 exec_prefix
=$ac_optarg ;;
956 -gas |
--gas |
--ga |
--g)
957 # Obsolete; use --with-gas.
960 -help |
--help |
--hel |
--he |
-h)
962 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
963 ac_init_help
=recursive
;;
964 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
965 ac_init_help
=short
;;
967 -host |
--host |
--hos |
--ho)
968 ac_prev
=host_alias
;;
969 -host=* |
--host=* |
--hos=* |
--ho=*)
970 host_alias
=$ac_optarg ;;
972 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
974 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
976 htmldir
=$ac_optarg ;;
978 -includedir |
--includedir |
--includedi |
--included |
--include \
979 |
--includ |
--inclu |
--incl |
--inc)
980 ac_prev
=includedir
;;
981 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
982 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
983 includedir
=$ac_optarg ;;
985 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
987 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
988 infodir
=$ac_optarg ;;
990 -libdir |
--libdir |
--libdi |
--libd)
992 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
995 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
996 |
--libexe |
--libex |
--libe)
997 ac_prev
=libexecdir
;;
998 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
999 |
--libexe=* |
--libex=* |
--libe=*)
1000 libexecdir
=$ac_optarg ;;
1002 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1003 ac_prev
=localedir
;;
1004 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1005 localedir
=$ac_optarg ;;
1007 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1008 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1009 ac_prev
=localstatedir
;;
1010 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1011 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1012 localstatedir
=$ac_optarg ;;
1014 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1016 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1017 mandir
=$ac_optarg ;;
1019 -nfp |
--nfp |
--nf)
1020 # Obsolete; use --without-fp.
1023 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1024 |
--no-cr |
--no-c |
-n)
1027 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1028 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1031 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1032 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1033 |
--oldin |
--oldi |
--old |
--ol |
--o)
1034 ac_prev
=oldincludedir
;;
1035 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1036 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1037 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1038 oldincludedir
=$ac_optarg ;;
1040 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1042 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1043 prefix
=$ac_optarg ;;
1045 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1046 |
--program-pre |
--program-pr |
--program-p)
1047 ac_prev
=program_prefix
;;
1048 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1049 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1050 program_prefix
=$ac_optarg ;;
1052 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1053 |
--program-suf |
--program-su |
--program-s)
1054 ac_prev
=program_suffix
;;
1055 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1056 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1057 program_suffix
=$ac_optarg ;;
1059 -program-transform-name |
--program-transform-name \
1060 |
--program-transform-nam |
--program-transform-na \
1061 |
--program-transform-n |
--program-transform- \
1062 |
--program-transform |
--program-transfor \
1063 |
--program-transfo |
--program-transf \
1064 |
--program-trans |
--program-tran \
1065 |
--progr-tra |
--program-tr |
--program-t)
1066 ac_prev
=program_transform_name
;;
1067 -program-transform-name=* |
--program-transform-name=* \
1068 |
--program-transform-nam=* |
--program-transform-na=* \
1069 |
--program-transform-n=* |
--program-transform-=* \
1070 |
--program-transform=* |
--program-transfor=* \
1071 |
--program-transfo=* |
--program-transf=* \
1072 |
--program-trans=* |
--program-tran=* \
1073 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1074 program_transform_name
=$ac_optarg ;;
1076 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1078 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1079 pdfdir
=$ac_optarg ;;
1081 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1083 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1087 |
-silent |
--silent |
--silen |
--sile |
--sil)
1090 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1092 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1094 sbindir
=$ac_optarg ;;
1096 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1097 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1098 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1100 ac_prev
=sharedstatedir
;;
1101 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1102 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1103 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1105 sharedstatedir
=$ac_optarg ;;
1107 -site |
--site |
--sit)
1109 -site=* |
--site=* |
--sit=*)
1112 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1114 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1115 srcdir
=$ac_optarg ;;
1117 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1118 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1119 ac_prev
=sysconfdir
;;
1120 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1121 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1122 sysconfdir
=$ac_optarg ;;
1124 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1125 ac_prev
=target_alias
;;
1126 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1127 target_alias
=$ac_optarg ;;
1129 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1132 -version |
--version |
--versio |
--versi |
--vers |
-V)
1133 ac_init_version
=: ;;
1136 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error $?
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=\
$ac_optarg ;;
1151 -without-* |
--without-*)
1152 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1155 as_fn_error $?
"invalid package name: $ac_useropt"
1156 ac_useropt_orig
=$ac_useropt
1157 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163 ac_unrecognized_sep
=', ';;
1165 eval with_
$ac_useropt=no
;;
1168 # Obsolete; use --with-x.
1171 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1172 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1173 ac_prev
=x_includes
;;
1174 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1175 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1176 x_includes
=$ac_optarg ;;
1178 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1179 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1180 ac_prev
=x_libraries
;;
1181 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1182 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1183 x_libraries
=$ac_optarg ;;
1185 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information"
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 case $ac_envvar in #(
1193 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1194 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1196 eval $ac_envvar=\
$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210 if test -n "$ac_prev"; then
1211 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1212 as_fn_error $?
"missing argument to $ac_option"
1215 if test -n "$ac_unrecognized_opts"; then
1216 case $enable_option_checking in
1218 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223 # Check all directory arguments for consistency.
1224 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225 datadir sysconfdir sharedstatedir localstatedir includedir \
1226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227 libdir localedir mandir
1229 eval ac_val
=\$
$ac_var
1230 # Remove trailing slashes.
1233 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234 eval $ac_var=\
$ac_val;;
1236 # Be sure to have absolute directory names.
1238 [\\/$
]* | ?
:[\\/]* ) continue;;
1239 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1241 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1249 target
=$target_alias
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x
; then
1253 if test "x$build_alias" = x
; then
1254 cross_compiling
=maybe
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error $?
"working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error $?
"pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted
=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir
=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1306 ac_srcdir_defaulted
=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1310 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var
in $ac_precious_vars; do
1327 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1329 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking ...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/glibc]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1398 --build=BUILD configure
for building on BUILD
[guessed
]
1399 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1403 if test -n "$ac_init_help"; then
1404 case $ac_init_help in
1405 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1410 --disable-option-checking ignore unrecognized
--enable/--with options
1411 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1412 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1413 --disable-sanity-checks really
do not use threads
(should not be used except
1414 in special situations
) [default
=yes]
1415 --enable-shared build shared library
[default
=yes if GNU ld
]
1416 --enable-profile build profiled library
[default
=no
]
1417 --disable-timezone-tools
1418 do not
install timezone tools
(if using external
1419 ones
) [default
=install]
1420 --enable-hardcoded-path-in-tests
1421 hardcode newly built glibc path
in tests
1423 --enable-stackguard-randomization
1424 initialize __stack_chk_guard canary with a random
1425 number
at program start
1426 --enable-lock-elision=yes
/no
1427 Enable lock elision
for pthread mutexes by default
1428 --enable-add-ons[=DIRS...
]
1429 configure and build add-ons
in DIR1
,DIR2
,... search
1430 for add-ons
if no parameter given
1431 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1432 --enable-bind-now disable lazy relocations
in DSOs
1433 --enable-static-nss build static NSS modules
[default
=no
]
1434 --disable-force-install don
't force installation of files from this package,
1435 even if they are older than the installed files
1436 --enable-maintainer-mode
1437 enable make rules and dependencies not useful (and
1438 sometimes confusing) to the casual installer
1439 --enable-kernel=VERSION compile for compatibility with kernel not older than
1441 --enable-all-warnings enable all useful warnings gcc can issue
1442 --disable-werror do not build with -Werror
1443 --enable-multi-arch enable single DSO with optimizations for multiple
1445 --enable-nss-crypt enable libcrypt to use nss
1446 --enable-obsolete-rpc build and install the obsolete RPC code for
1448 --enable-systemtap enable systemtap static probe points [default=no]
1449 --disable-build-nscd disable building and installing the nscd daemon
1450 --disable-nscd library functions will not contact the nscd daemon
1451 --enable-pt_chown Enable building and installing pt_chown
1452 --enable-mathvec Enable building and installing mathvec [default
1453 depends on architecture]
1456 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1457 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1458 --with-pkgversion=PKG Use PKG in the version string in place of "GNU libc"
1459 --with-bugurl=URL Direct users to URL to report a bug
1460 --with-gd=DIR find libgd include dir and library with prefix DIR
1461 --with-gd-include=DIR find libgd include files in DIR
1462 --with-gd-lib=DIR find libgd library files in DIR
1463 --with-fp if using floating-point hardware [default=yes]
1464 --with-binutils=PATH specify location of binutils (as and ld)
1465 --with-selinux if building with SELinux support
1466 --with-headers=PATH location of system headers to use (for example
1467 /usr/src/linux/include) [default=compiler default]
1468 --with-default-link do not use explicit linker scripts
1469 --with-cpu=CPU select code for CPU variant
1471 Some influential environment variables:
1472 CC C compiler command
1473 CFLAGS C compiler flags
1474 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1475 nonstandard directory <lib dir>
1476 LIBS libraries to pass to the linker, e.g. -l<library>
1477 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1478 you have headers in a nonstandard directory <include dir>
1480 CXX C++ compiler command
1481 CXXFLAGS C++ compiler flags
1483 Use these variables to override the choices made by `configure' or to
help
1484 it to
find libraries and programs with nonstandard names
/locations.
1486 Report bugs to
<http
://sourceware.org
/bugzilla
/>.
1487 GNU C Library home page
: <http
://www.gnu.org
/software
/glibc
/>.
1488 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1493 if test "$ac_init_help" = "recursive"; then
1494 # If there are subdirs, report their specific --help.
1495 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1496 test -d "$ac_dir" ||
1497 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1502 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1504 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1505 # A ".." for each directory in $ac_dir_suffix.
1506 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1507 case $ac_top_builddir_sub in
1508 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1509 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1512 ac_abs_top_builddir
=$ac_pwd
1513 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1514 # for backward compatibility:
1515 ac_top_builddir
=$ac_top_build_prefix
1518 .
) # We are building in place.
1520 ac_top_srcdir
=$ac_top_builddir_sub
1521 ac_abs_top_srcdir
=$ac_pwd ;;
1522 [\\/]* | ?
:[\\/]* ) # Absolute name.
1523 ac_srcdir
=$srcdir$ac_dir_suffix;
1524 ac_top_srcdir
=$srcdir
1525 ac_abs_top_srcdir
=$srcdir ;;
1527 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1528 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1529 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1531 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1533 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1534 # Check for guested configure.
1535 if test -f "$ac_srcdir/configure.gnu"; then
1537 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1538 elif test -f "$ac_srcdir/configure"; then
1540 $SHELL "$ac_srcdir/configure" --help=recursive
1542 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1544 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1548 test -n "$ac_init_help" && exit $ac_status
1549 if $ac_init_version; then
1551 GNU C Library configure
(see version.h
)
1552 generated by GNU Autoconf
2.69
1554 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1555 This configure
script is free software
; the Free Software Foundation
1556 gives unlimited permission to copy
, distribute and modify it.
1561 ## ------------------------ ##
1562 ## Autoconf initialization. ##
1563 ## ------------------------ ##
1565 # ac_fn_c_try_compile LINENO
1566 # --------------------------
1567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1568 ac_fn_c_try_compile
()
1570 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1571 rm -f conftest.
$ac_objext
1572 if { { ac_try
="$ac_compile"
1574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_compile") 2>conftest.err
1581 if test -s conftest.err; then
1582 grep -v '^ *+' conftest.err >conftest.er1
1583 cat conftest.er1 >&5
1584 mv -f conftest.er1 conftest.err
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 test $ac_status = 0; } && {
1588 test -z "$ac_c_werror_flag" ||
1589 test ! -s conftest.err
1590 } && test -s conftest.$ac_objext; then :
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 as_fn_set_status $ac_retval
1601 } # ac_fn_c_try_compile
1603 # ac_fn_cxx_try_compile LINENO
1604 # ----------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_cxx_try_compile ()
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 rm -f conftest.$ac_objext
1610 if { { ac_try="$ac_compile"
1612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1613 *) ac_try_echo
=$ac_try;;
1615 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1619 if test -s conftest.err
; then
1620 grep -v '^ *+' conftest.err
>conftest.er1
1621 cat conftest.er1
>&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_cxx_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.
$ac_objext; then :
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.
$ac_ext >&5
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status
$ac_retval
1639 } # ac_fn_cxx_try_compile
1641 # ac_fn_cxx_try_link LINENO
1642 # -------------------------
1643 # Try to link conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_cxx_try_link
()
1646 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1647 rm -f conftest.
$ac_objext conftest
$ac_exeext
1648 if { { ac_try
="$ac_link"
1650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_link") 2>conftest.err
1657 if test -s conftest.err; then
1658 grep -v '^ *+' conftest.err >conftest.er1
1659 cat conftest.er1 >&5
1660 mv -f conftest.er1 conftest.err
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_cxx_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest$ac_exeext && {
1667 test "$cross_compiling" = yes ||
1668 test -x conftest$ac_exeext
1672 $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.$ac_ext >&5
1677 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1678 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1679 # interfere with the next link command; also delete a directory that is
1680 # left behind by Apple's compiler. We do this before executing the actions.
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status $ac_retval
1685 } # ac_fn_cxx_try_link
1687 # ac_fn_c_try_link LINENO
1688 # -----------------------
1689 # Try to link conftest.$ac_ext, and return whether this succeeded.
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 rm -f conftest.$ac_objext conftest$ac_exeext
1694 if { { ac_try="$ac_link"
1696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1697 *) ac_try_echo
=$ac_try;;
1699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_link") 2>conftest.err
1703 if test -s conftest.err
; then
1704 grep -v '^ *+' conftest.err
>conftest.er1
1705 cat conftest.er1
>&5
1706 mv -f conftest.er1 conftest.err
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_c_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest
$ac_exeext && {
1713 test "$cross_compiling" = yes ||
1714 test -x conftest
$ac_exeext
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.
$ac_ext >&5
1723 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1724 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1725 # interfere with the next link command; also delete a directory that is
1726 # left behind by Apple's compiler. We do this before executing the actions.
1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 as_fn_set_status
$ac_retval
1731 } # ac_fn_c_try_link
1733 # ac_fn_c_try_run LINENO
1734 # ----------------------
1735 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1736 # that executables *can* be run.
1739 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1740 if { { ac_try
="$ac_link"
1742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1743 *) ac_try_echo=$ac_try;;
1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_link") 2>&5
1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1751 { { case "(($ac_try" in
1752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1753 *) ac_try_echo
=$ac_try;;
1755 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_try") 2>&5
1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 test $ac_status = 0; }; }; then :
1763 $as_echo "$as_me: program exited with status $ac_status" >&5
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.
$ac_ext >&5
1767 ac_retval
=$ac_status
1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status
$ac_retval
1775 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1776 # --------------------------------------------
1777 # Tries to find the compile-time value of EXPR in a program that includes
1778 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1780 ac_fn_c_compute_int
()
1782 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1783 if test "$cross_compiling" = yes; then
1784 # Depending upon the size, compute the lo and hi bounds.
1785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1791 static int test_array [1 - 2 * !(($2) >= 0)];
1793 return test_array [0];
1799 if ac_fn_c_try_compile
"$LINENO"; then :
1802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1808 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1810 return test_array [0];
1816 if ac_fn_c_try_compile
"$LINENO"; then :
1817 ac_hi
=$ac_mid; break
1819 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1820 if test $ac_lo -le $ac_mid; then
1824 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h. */
1835 static int test_array [1 - 2 * !(($2) < 0)];
1837 return test_array [0];
1843 if ac_fn_c_try_compile
"$LINENO"; then :
1846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1852 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1854 return test_array [0];
1860 if ac_fn_c_try_compile
"$LINENO"; then :
1861 ac_lo
=$ac_mid; break
1863 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1864 if test $ac_mid -le $ac_hi; then
1868 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1878 # Binary search between lo and hi bounds.
1879 while test "x$ac_lo" != "x$ac_hi"; do
1880 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1882 /* end confdefs.h. */
1887 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1889 return test_array [0];
1895 if ac_fn_c_try_compile
"$LINENO"; then :
1898 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1903 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1910 static long int longval () { return $2; }
1911 static unsigned long int ulongval () { return $2; }
1918 FILE *f = fopen ("conftest.val", "w");
1923 long int i = longval ();
1926 fprintf (f, "%ld", i);
1930 unsigned long int i = ulongval ();
1933 fprintf (f, "%lu", i);
1935 /* Do not output a trailing newline, as this causes \r\n confusion
1936 on some platforms. */
1937 return ferror (f) || fclose (f) != 0;
1943 if ac_fn_c_try_run
"$LINENO"; then :
1944 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1948 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1949 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954 as_fn_set_status
$ac_retval
1956 } # ac_fn_c_compute_int
1957 cat >config.log
<<_ACEOF
1958 This file contains any messages produced by compilers while
1959 running configure, to aid debugging if configure makes a mistake.
1961 It was created by GNU C Library $as_me (see version.h), which was
1962 generated by GNU Autoconf 2.69. Invocation command line was
1974 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1975 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1976 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1977 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1978 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1980 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1981 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1983 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1984 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1985 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1986 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1987 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1988 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1989 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1997 test -z "$as_dir" && as_dir
=.
1998 $as_echo "PATH: $as_dir"
2014 # Keep a trace of the command line.
2015 # Strip out --no-create and --no-recursion so they do not pile up.
2016 # Strip out --silent because we don't want to record it for future runs.
2017 # Also quote any args containing shell meta-characters.
2018 # Make two passes to allow for proper duplicate-argument suppression.
2022 ac_must_keep_next
=false
2028 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2029 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2030 |
-silent |
--silent |
--silen |
--sile |
--sil)
2033 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2036 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2038 as_fn_append ac_configure_args1
" '$ac_arg'"
2039 if test $ac_must_keep_next = true
; then
2040 ac_must_keep_next
=false
# Got value, back to normal.
2043 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2044 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2045 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2046 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2047 case "$ac_configure_args0 " in
2048 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2051 -* ) ac_must_keep_next
=true
;;
2054 as_fn_append ac_configure_args
" '$ac_arg'"
2059 { ac_configure_args0
=; unset ac_configure_args0
;}
2060 { ac_configure_args1
=; unset ac_configure_args1
;}
2062 # When interrupted or exit'd, cleanup temporary files, and complete
2063 # config.log. We remove comments because anyway the quotes in there
2064 # would cause problems or look ugly.
2065 # WARNING: Use '\'' to represent an apostrophe within the trap.
2066 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2067 trap 'exit_status=$?
2068 # Save into config.log some information that might help in debugging.
2072 $as_echo "## ---------------- ##
2073 ## Cache variables. ##
2074 ## ---------------- ##"
2076 # The following way of writing the cache mishandles newlines in values,
2078 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2079 eval ac_val=\$$ac_var
2083 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2084 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2087 _ | IFS | as_nl) ;; #(
2088 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2089 *) { eval $ac_var=; unset $ac_var;} ;;
2094 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2095 *${as_nl}ac_space=\ *)
2097 "s/'\''/'\''\\\\'\'''\''/g;
2098 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2101 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2108 $as_echo "## ----------------- ##
2109 ## Output variables. ##
2110 ## ----------------- ##"
2112 for ac_var in $ac_subst_vars
2114 eval ac_val=\$$ac_var
2116 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2118 $as_echo "$ac_var='\''$ac_val'\''"
2122 if test -n "$ac_subst_files"; then
2123 $as_echo "## ------------------- ##
2124 ## File substitutions. ##
2125 ## ------------------- ##"
2127 for ac_var
in $ac_subst_files
2129 eval ac_val
=\$
$ac_var
2131 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2133 $as_echo "$ac_var='\''$ac_val'\''"
2138 if test -s confdefs.h; then
2139 $as_echo "## ----------- ##
2146 test "$ac_signal" != 0 &&
2147 $as_echo "$as_me: caught signal $ac_signal"
2148 $as_echo "$as_me: exit $exit_status"
2150 rm -f core *.core core.conftest.* &&
2151 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2154 for ac_signal
in 1 2 13 15; do
2155 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2159 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2160 rm -f -r conftest
* confdefs.h
2162 $as_echo "/* confdefs.h */" > confdefs.h
2164 # Predefined preprocessor variables.
2166 cat >>confdefs.h
<<_ACEOF
2167 #define PACKAGE_NAME "$PACKAGE_NAME"
2170 cat >>confdefs.h
<<_ACEOF
2171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2174 cat >>confdefs.h
<<_ACEOF
2175 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2178 cat >>confdefs.h
<<_ACEOF
2179 #define PACKAGE_STRING "$PACKAGE_STRING"
2182 cat >>confdefs.h
<<_ACEOF
2183 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2186 cat >>confdefs.h
<<_ACEOF
2187 #define PACKAGE_URL "$PACKAGE_URL"
2191 # Let the site file select an alternate cache file if it wants to.
2192 # Prefer an explicitly selected file to automatically selected ones.
2195 if test -n "$CONFIG_SITE"; then
2196 # We do not want a PATH search for config.site.
2197 case $CONFIG_SITE in #((
2198 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2199 */*) ac_site_file1
=$CONFIG_SITE;;
2200 *) ac_site_file1
=.
/$CONFIG_SITE;;
2202 elif test "x$prefix" != xNONE
; then
2203 ac_site_file1
=$prefix/share
/config.site
2204 ac_site_file2
=$prefix/etc
/config.site
2206 ac_site_file1
=$ac_default_prefix/share
/config.site
2207 ac_site_file2
=$ac_default_prefix/etc
/config.site
2209 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2211 test "x$ac_site_file" = xNONE
&& continue
2212 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2214 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2215 sed 's/^/| /' "$ac_site_file" >&5
2217 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2219 as_fn_error $?
"failed to load site script $ac_site_file
2220 See \`config.log' for more details" "$LINENO" 5; }
2224 if test -r "$cache_file"; then
2225 # Some versions of bash will fail to source /dev/null (special files
2226 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2227 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2229 $as_echo "$as_me: loading cache $cache_file" >&6;}
2231 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2232 *) .
"./$cache_file";;
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2237 $as_echo "$as_me: creating cache $cache_file" >&6;}
2241 # Check that the precious variables saved in the cache have kept the same
2243 ac_cache_corrupted
=false
2244 for ac_var
in $ac_precious_vars; do
2245 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2246 eval ac_new_set
=\
$ac_env_${ac_var}_set
2247 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2248 eval ac_new_val
=\
$ac_env_${ac_var}_value
2249 case $ac_old_set,$ac_new_set in
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2252 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2253 ac_cache_corrupted
=: ;;
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2256 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2257 ac_cache_corrupted
=: ;;
2260 if test "x$ac_old_val" != "x$ac_new_val"; then
2261 # differences in whitespace do not lead to failure.
2262 ac_old_val_w
=`echo x $ac_old_val`
2263 ac_new_val_w
=`echo x $ac_new_val`
2264 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2266 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2267 ac_cache_corrupted
=:
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2270 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2271 eval $ac_var=\
$ac_old_val
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2274 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2276 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2279 # Pass precious variables to config.status.
2280 if test "$ac_new_set" = set; then
2282 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2283 *) ac_arg
=$ac_var=$ac_new_val ;;
2285 case " $ac_configure_args " in
2286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2287 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2291 if $ac_cache_corrupted; then
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2295 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2296 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2298 ## -------------------- ##
2299 ## Main body of script. ##
2300 ## -------------------- ##
2303 ac_cpp
='$CPP $CPPFLAGS'
2304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2310 ac_config_headers
="$ac_config_headers config.h"
2313 for ac_dir
in scripts
"$srcdir"/scripts
; do
2314 if test -f "$ac_dir/install-sh"; then
2316 ac_install_sh
="$ac_aux_dir/install-sh -c"
2318 elif test -f "$ac_dir/install.sh"; then
2320 ac_install_sh
="$ac_aux_dir/install.sh -c"
2322 elif test -f "$ac_dir/shtool"; then
2324 ac_install_sh
="$ac_aux_dir/shtool install -c"
2328 if test -z "$ac_aux_dir"; then
2329 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
2332 # These three variables are undocumented and unsupported,
2333 # and are intended to be withdrawn in a future Autoconf release.
2334 # They can cause serious problems if a builder's source tree is in a directory
2335 # whose full name contains unusual characters.
2336 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2337 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2338 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2344 # Check whether --with-pkgversion was given.
2345 if test "${with_pkgversion+set}" = set; then :
2346 withval
=$with_pkgversion; case "$withval" in
2347 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2349 *) PKGVERSION
="($withval) " ;;
2352 PKGVERSION
="(GNU libc) "
2356 PKGVERSION_TEXI
=`echo "$PKGVERSION" | sed 's/@/@@/g'`
2362 # Check whether --with-bugurl was given.
2363 if test "${with_bugurl+set}" = set; then :
2364 withval
=$with_bugurl; case "$withval" in
2365 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2368 *) BUGURL
="$withval"
2372 BUGURL
="http://www.gnu.org/software/libc/bugs.html"
2382 REPORT_BUGS_TO
="<$BUGURL>"
2383 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PKGVERSION "$PKGVERSION"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2400 # Glibc should not depend on any header files
2403 # We require GCC, and by default use its preprocessor. Override AC_PROG_CPP
2404 # here to work around the Autoconf issue discussed in
2405 # <http://sourceware.org/ml/libc-alpha/2013-01/msg00721.html>.
2408 # We require GCC. Override _AC_PROG_CC_C89 here to work around the Autoconf
2409 # issue discussed in
2410 # <http://sourceware.org/ml/libc-alpha/2013-01/msg00757.html>.
2418 # Make sure we can run config.sub.
2419 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2420 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2423 $as_echo_n "checking build system type... " >&6; }
2424 if ${ac_cv_build+:} false
; then :
2425 $as_echo_n "(cached) " >&6
2427 ac_build_alias
=$build_alias
2428 test "x$ac_build_alias" = x
&&
2429 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2430 test "x$ac_build_alias" = x
&&
2431 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2432 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2433 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2437 $as_echo "$ac_cv_build" >&6; }
2438 case $ac_cv_build in
2440 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2443 ac_save_IFS
=$IFS; IFS
='-'
2449 # Remember, the first character of IFS is used to create $*,
2450 # except with old shells:
2453 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2457 $as_echo_n "checking host system type... " >&6; }
2458 if ${ac_cv_host+:} false
; then :
2459 $as_echo_n "(cached) " >&6
2461 if test "x$host_alias" = x
; then
2462 ac_cv_host
=$ac_cv_build
2464 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2465 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2470 $as_echo "$ac_cv_host" >&6; }
2473 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2476 ac_save_IFS
=$IFS; IFS
='-'
2482 # Remember, the first character of IFS is used to create $*,
2483 # except with old shells:
2486 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2491 ac_cpp
='$CPP $CPPFLAGS'
2492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2495 if test -n "$ac_tool_prefix"; then
2496 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2497 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if ${ac_cv_prog_CC+:} false
; then :
2501 $as_echo_n "(cached) " >&6
2503 if test -n "$CC"; then
2504 ac_cv_prog_CC
="$CC" # Let the user override the test.
2506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir
=.
2511 for ac_exec_ext
in '' $ac_executable_extensions; do
2512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2513 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 if test -n "$CC"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2526 $as_echo "$CC" >&6; }
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2534 if test -z "$ac_cv_prog_CC"; then
2536 # Extract the first word of "gcc", so it can be a program name with args.
2537 set dummy gcc
; ac_word
=$2
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539 $as_echo_n "checking for $ac_word... " >&6; }
2540 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2541 $as_echo_n "(cached) " >&6
2543 if test -n "$ac_ct_CC"; then
2544 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir
=.
2551 for ac_exec_ext
in '' $ac_executable_extensions; do
2552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2553 ac_cv_prog_ac_ct_CC
="gcc"
2554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2564 if test -n "$ac_ct_CC"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2566 $as_echo "$ac_ct_CC" >&6; }
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569 $as_echo "no" >&6; }
2572 if test "x$ac_ct_CC" = x
; then
2575 case $cross_compiling:$ac_tool_warned in
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2579 ac_tool_warned
=yes ;;
2587 if test -z "$CC"; then
2588 if test -n "$ac_tool_prefix"; then
2589 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2590 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2592 $as_echo_n "checking for $ac_word... " >&6; }
2593 if ${ac_cv_prog_CC+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 if test -n "$CC"; then
2597 ac_cv_prog_CC
="$CC" # Let the user override the test.
2599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir
=.
2604 for ac_exec_ext
in '' $ac_executable_extensions; do
2605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2606 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617 if test -n "$CC"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2619 $as_echo "$CC" >&6; }
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2628 if test -z "$CC"; then
2629 # Extract the first word of "cc", so it can be a program name with args.
2630 set dummy cc
; ac_word
=$2
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if ${ac_cv_prog_CC+:} false
; then :
2634 $as_echo_n "(cached) " >&6
2636 if test -n "$CC"; then
2637 ac_cv_prog_CC
="$CC" # Let the user override the test.
2640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir
=.
2645 for ac_exec_ext
in '' $ac_executable_extensions; do
2646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2647 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2648 ac_prog_rejected
=yes
2652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 if test $ac_prog_rejected = yes; then
2660 # We found a bogon in the path, so make sure we never use it.
2661 set dummy
$ac_cv_prog_CC
2663 if test $# != 0; then
2664 # We chose a different compiler from the bogus one.
2665 # However, it has the same basename, so the bogon will be chosen
2666 # first if we set CC to just the basename; use the full file name.
2668 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2674 if test -n "$CC"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2676 $as_echo "$CC" >&6; }
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2684 if test -z "$CC"; then
2685 if test -n "$ac_tool_prefix"; then
2686 for ac_prog
in cl.exe
2688 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2689 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if ${ac_cv_prog_CC+:} false
; then :
2693 $as_echo_n "(cached) " >&6
2695 if test -n "$CC"; then
2696 ac_cv_prog_CC
="$CC" # Let the user override the test.
2698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir
=.
2703 for ac_exec_ext
in '' $ac_executable_extensions; do
2704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2705 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 if test -n "$CC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 $as_echo "$CC" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2725 test -n "$CC" && break
2728 if test -z "$CC"; then
2730 for ac_prog
in cl.exe
2732 # Extract the first word of "$ac_prog", so it can be a program name with args.
2733 set dummy
$ac_prog; ac_word
=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2737 $as_echo_n "(cached) " >&6
2739 if test -n "$ac_ct_CC"; then
2740 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir
=.
2747 for ac_exec_ext
in '' $ac_executable_extensions; do
2748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2749 ac_cv_prog_ac_ct_CC
="$ac_prog"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2760 if test -n "$ac_ct_CC"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2762 $as_echo "$ac_ct_CC" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2769 test -n "$ac_ct_CC" && break
2772 if test "x$ac_ct_CC" = x
; then
2775 case $cross_compiling:$ac_tool_warned in
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2779 ac_tool_warned
=yes ;;
2788 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2790 as_fn_error $?
"no acceptable C compiler found in \$PATH
2791 See \`config.log' for more details" "$LINENO" 5; }
2793 # Provide some information about the compiler.
2794 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2797 for ac_option
in --version -v -V -qversion; do
2798 { { ac_try
="$ac_compiler $ac_option >&5"
2800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2804 $as_echo "$ac_try_echo"; } >&5
2805 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2807 if test -s conftest.err; then
2809 ... rest of stderr output deleted ...
2810 10q' conftest.err >conftest.er1
2811 cat conftest.er1 >&5
2813 rm -f conftest.er1 conftest.err
2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2815 test $ac_status = 0; }
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2820 $as_echo_n "checking for suffix of object files... " >&6; }
2821 if ${ac_cv_objext+:} false; then :
2822 $as_echo_n "(cached) " >&6
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2835 rm -f conftest.o conftest.obj
2836 if { { ac_try="$ac_compile"
2838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2839 *) ac_try_echo
=$ac_try;;
2841 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2842 $as_echo "$ac_try_echo"; } >&5
2843 (eval "$ac_compile") 2>&5
2845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2846 test $ac_status = 0; }; then :
2847 for ac_file
in conftest.o conftest.obj conftest.
*; do
2848 test -f "$ac_file" ||
continue;
2850 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2851 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2856 $as_echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.
$ac_ext >&5
2859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2861 as_fn_error $?
"cannot compute suffix of object files: cannot compile
2862 See \`config.log' for more details" "$LINENO" 5; }
2864 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2867 $as_echo "$ac_cv_objext" >&6; }
2868 OBJEXT
=$ac_cv_objext
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2871 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2872 if ${ac_cv_c_compiler_gnu+:} false
; then :
2873 $as_echo_n "(cached) " >&6
2875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2876 /* end confdefs.h. */
2889 if ac_fn_c_try_compile
"$LINENO"; then :
2894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2895 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2899 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2900 if test $ac_compiler_gnu = yes; then
2905 ac_test_CFLAGS
=${CFLAGS+set}
2906 ac_save_CFLAGS
=$CFLAGS
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2908 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2909 if ${ac_cv_prog_cc_g+:} false
; then :
2910 $as_echo_n "(cached) " >&6
2912 ac_save_c_werror_flag
=$ac_c_werror_flag
2913 ac_c_werror_flag
=yes
2916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2917 /* end confdefs.h. */
2927 if ac_fn_c_try_compile
"$LINENO"; then :
2931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2942 if ac_fn_c_try_compile
"$LINENO"; then :
2945 ac_c_werror_flag
=$ac_save_c_werror_flag
2947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2958 if ac_fn_c_try_compile
"$LINENO"; then :
2961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2966 ac_c_werror_flag
=$ac_save_c_werror_flag
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2969 $as_echo "$ac_cv_prog_cc_g" >&6; }
2970 if test "$ac_test_CFLAGS" = set; then
2971 CFLAGS
=$ac_save_CFLAGS
2972 elif test $ac_cv_prog_cc_g = yes; then
2973 if test "$GCC" = yes; then
2979 if test "$GCC" = yes; then
2987 ac_cpp
='$CPP $CPPFLAGS'
2988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2992 if test $host != $build; then
2993 for ac_prog
in gcc cc
2995 # Extract the first word of "$ac_prog", so it can be a program name with args.
2996 set dummy
$ac_prog; ac_word
=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if ${ac_cv_prog_BUILD_CC+:} false
; then :
3000 $as_echo_n "(cached) " >&6
3002 if test -n "$BUILD_CC"; then
3003 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
3005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir
=.
3010 for ac_exec_ext
in '' $ac_executable_extensions; do
3011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3012 ac_cv_prog_BUILD_CC
="$ac_prog"
3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 BUILD_CC
=$ac_cv_prog_BUILD_CC
3023 if test -n "$BUILD_CC"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
3025 $as_echo "$BUILD_CC" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3032 test -n "$BUILD_CC" && break
3037 # On Suns, sometimes $CPP names a directory.
3038 if test -n "$CPP" && test -d "$CPP"; then
3041 if test -z "$CPP"; then
3045 if test -n "$ac_tool_prefix"; then
3046 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3047 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if ${ac_cv_prog_READELF+:} false
; then :
3051 $as_echo_n "(cached) " >&6
3053 if test -n "$READELF"; then
3054 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
3056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3060 test -z "$as_dir" && as_dir
=.
3061 for ac_exec_ext
in '' $ac_executable_extensions; do
3062 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3073 READELF
=$ac_cv_prog_READELF
3074 if test -n "$READELF"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
3076 $as_echo "$READELF" >&6; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3084 if test -z "$ac_cv_prog_READELF"; then
3085 ac_ct_READELF
=$READELF
3086 # Extract the first word of "readelf", so it can be a program name with args.
3087 set dummy readelf
; ac_word
=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$ac_ct_READELF"; then
3094 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
3096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir
=.
3101 for ac_exec_ext
in '' $ac_executable_extensions; do
3102 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3103 ac_cv_prog_ac_ct_READELF
="readelf"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
3114 if test -n "$ac_ct_READELF"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
3116 $as_echo "$ac_ct_READELF" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3122 if test "x$ac_ct_READELF" = x
; then
3125 case $cross_compiling:$ac_tool_warned in
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3129 ac_tool_warned
=yes ;;
3131 READELF
=$ac_ct_READELF
3134 READELF
="$ac_cv_prog_READELF"
3138 # We need the C++ compiler only for testing.
3140 ac_cpp
='$CXXCPP $CPPFLAGS'
3141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3144 if test -z "$CXX"; then
3145 if test -n "$CCC"; then
3148 if test -n "$ac_tool_prefix"; then
3149 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3152 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_CXX+:} false
; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$CXX"; then
3159 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir
=.
3166 for ac_exec_ext
in '' $ac_executable_extensions; do
3167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3168 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 if test -n "$CXX"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3181 $as_echo "$CXX" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3188 test -n "$CXX" && break
3191 if test -z "$CXX"; then
3193 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3195 # Extract the first word of "$ac_prog", so it can be a program name with args.
3196 set dummy
$ac_prog; ac_word
=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3200 $as_echo_n "(cached) " >&6
3202 if test -n "$ac_ct_CXX"; then
3203 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir
=.
3210 for ac_exec_ext
in '' $ac_executable_extensions; do
3211 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3212 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3223 if test -n "$ac_ct_CXX"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3225 $as_echo "$ac_ct_CXX" >&6; }
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3232 test -n "$ac_ct_CXX" && break
3235 if test "x$ac_ct_CXX" = x
; then
3238 case $cross_compiling:$ac_tool_warned in
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3242 ac_tool_warned
=yes ;;
3250 # Provide some information about the compiler.
3251 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3254 for ac_option
in --version -v -V -qversion; do
3255 { { ac_try
="$ac_compiler $ac_option >&5"
3257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3264 if test -s conftest.err; then
3266 ... rest of stderr output deleted ...
3267 10q' conftest.err >conftest.er1
3268 cat conftest.er1 >&5
3270 rm -f conftest.er1 conftest.err
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3276 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3277 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3278 $as_echo_n "(cached) " >&6
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3294 if ac_fn_cxx_try_compile "$LINENO"; then :
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3304 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3305 if test $ac_compiler_gnu = yes; then
3310 ac_test_CXXFLAGS=${CXXFLAGS+set}
3311 ac_save_CXXFLAGS=$CXXFLAGS
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3313 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3314 if ${ac_cv_prog_cxx_g+:} false; then :
3315 $as_echo_n "(cached) " >&6
3317 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3318 ac_cxx_werror_flag=yes
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3332 if ac_fn_cxx_try_compile "$LINENO"; then :
3333 ac_cv_prog_cxx_g=yes
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3347 if ac_fn_cxx_try_compile "$LINENO"; then :
3350 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3363 if ac_fn_cxx_try_compile "$LINENO"; then :
3364 ac_cv_prog_cxx_g=yes
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3371 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3374 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3375 if test "$ac_test_CXXFLAGS" = set; then
3376 CXXFLAGS=$ac_save_CXXFLAGS
3377 elif test $ac_cv_prog_cxx_g = yes; then
3378 if test "$GXX" = yes; then
3384 if test "$GXX" = yes; then
3391 ac_cpp='$CPP $CPPFLAGS'
3392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3396 # It's useless to us if it can't link programs (e.g. missing -lstdc++).
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX can link programs" >&5
3399 $as_echo_n "checking whether $CXX can link programs... " >&6; }
3400 if ${libc_cv_cxx_link_ok+:} false; then :
3401 $as_echo_n "(cached) " >&6
3404 ac_cpp='$CXXCPP $CPPFLAGS'
3405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3420 if ac_fn_cxx_try_link "$LINENO"; then :
3421 libc_cv_cxx_link_ok=yes
3423 libc_cv_cxx_link_ok=no
3425 rm -f core conftest.err conftest.$ac_objext \
3426 conftest$ac_exeext conftest.$ac_ext
3428 ac_cpp='$CPP $CPPFLAGS'
3429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_link_ok" >&5
3435 $as_echo "$libc_cv_cxx_link_ok" >&6; }
3436 if test $libc_cv_cxx_link_ok != yes; then :
3440 if test "`cd $srcdir; /bin
/pwd`" = "`/bin
/pwd`"; then
3441 as_fn_error $? "you must configure in a separate build directory" "$LINENO" 5
3444 # This will get text that should go into config.make.
3447 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3449 # Check whether --with-gd was given.
3450 if test "${with_gd+set}" = set; then :
3451 withval=$with_gd; case "$with_gd" in
3453 *) libgd_include="-I$withval/include"
3454 libgd_ldflags="-L$withval/lib" ;;
3460 # Check whether --with-gd-include was given.
3461 if test "${with_gd_include+set}" = set; then :
3462 withval=$with_gd_include; case "$with_gd_include" in
3464 *) libgd_include="-I$withval" ;;
3470 # Check whether --with-gd-lib was given.
3471 if test "${with_gd_lib+set}" = set; then :
3472 withval=$with_gd_lib; case "$with_gd_lib" in
3474 *) libgd_ldflags="-L$withval" ;;
3480 if test -n "$libgd_include"; then
3481 config_vars="$config_vars
3482 CFLAGS-memusagestat.c = $libgd_include"
3484 if test -n "$libgd_ldflags"; then
3485 config_vars="$config_vars
3486 libgd-LDFLAGS = $libgd_ldflags"
3490 # Check whether --with-fp was given.
3491 if test "${with_fp+set}" = set; then :
3492 withval=$with_fp; with_fp=$withval
3499 # Check whether --with-binutils was given.
3500 if test "${with_binutils+set}" = set; then :
3501 withval=$with_binutils; path_binutils=$withval
3507 # Check whether --with-selinux was given.
3508 if test "${with_selinux+set}" = set; then :
3509 withval=$with_selinux; with_selinux=$withval
3516 # Check whether --with-headers was given.
3517 if test "${with_headers+set}" = set; then :
3518 withval=$with_headers; sysheaders=$withval
3527 # Check whether --with-default-link was given.
3528 if test "${with_default_link+set}" = set; then :
3529 withval=$with_default_link; use_default_link=$withval
3531 use_default_link=default
3535 # Check whether --enable-sanity-checks was given.
3536 if test "${enable_sanity_checks+set}" = set; then :
3537 enableval=$enable_sanity_checks; enable_sanity=$enableval
3543 # Check whether --enable-shared was given.
3544 if test "${enable_shared+set}" = set; then :
3545 enableval=$enable_shared; shared=$enableval
3550 # Check whether --enable-profile was given.
3551 if test "${enable_profile+set}" = set; then :
3552 enableval=$enable_profile; profile=$enableval
3557 # Check whether --enable-timezone-tools was given.
3558 if test "${enable_timezone_tools+set}" = set; then :
3559 enableval=$enable_timezone_tools; enable_timezone_tools=$enableval
3561 enable_timezone_tools=yes
3566 # Check whether --enable-hardcoded-path-in-tests was given.
3567 if test "${enable_hardcoded_path_in_tests+set}" = set; then :
3568 enableval=$enable_hardcoded_path_in_tests; hardcoded_path_in_tests=$enableval
3570 hardcoded_path_in_tests=no
3575 # Check whether --enable-stackguard-randomization was given.
3576 if test "${enable_stackguard_randomization+set}" = set; then :
3577 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3579 enable_stackguard_randomize=no
3582 if test "$enable_stackguard_randomize" = yes; then
3583 $as_echo "#define ENABLE_STACKGUARD_RANDOMIZE 1" >>confdefs.h
3587 # Check whether --enable-lock-elision was given.
3588 if test "${enable_lock_elision+set}" = set; then :
3589 enableval=$enable_lock_elision; enable_lock_elision=$enableval
3591 enable_lock_elision=no
3595 if test "$enable_lock_elision" = yes ; then
3596 $as_echo "#define ENABLE_LOCK_ELISION 1" >>confdefs.h
3600 # Check whether --enable-add-ons was given.
3601 if test "${enable_add_ons+set}" = set; then :
3602 enableval=$enable_add_ons;
3608 # Check whether --enable-hidden-plt was given.
3609 if test "${enable_hidden_plt+set}" = set; then :
3610 enableval=$enable_hidden_plt; hidden=$enableval
3615 if test "x$hidden" = xno; then
3616 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
3620 # Check whether --enable-bind-now was given.
3621 if test "${enable_bind_now+set}" = set; then :
3622 enableval=$enable_bind_now; bindnow=$enableval
3629 # Check whether --enable-static-nss was given.
3630 if test "${enable_static_nss+set}" = set; then :
3631 enableval=$enable_static_nss; static_nss=$enableval
3636 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3638 $as_echo "#define DO_STATIC_NSS 1" >>confdefs.h
3642 # Check whether --enable-force-install was given.
3643 if test "${enable_force_install+set}" = set; then :
3644 enableval=$enable_force_install; force_install=$enableval
3651 # Check whether --enable-maintainer-mode was given.
3652 if test "${enable_maintainer_mode+set}" = set; then :
3653 enableval=$enable_maintainer_mode; maintainer=$enableval
3659 # Check whether --enable-kernel was given.
3660 if test "${enable_kernel+set}" = set; then :
3661 enableval=$enable_kernel; minimum_kernel=$enableval
3664 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3665 # Better nothing than this.
3668 if test "$minimum_kernel" = current; then
3669 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3673 # Check whether --enable-all-warnings was given.
3674 if test "${enable_all_warnings+set}" = set; then :
3675 enableval=$enable_all_warnings; all_warnings=$enableval
3680 # Check whether --enable-werror was given.
3681 if test "${enable_werror+set}" = set; then :
3682 enableval=$enable_werror; enable_werror=$enableval
3689 # Check whether --enable-multi-arch was given.
3690 if test "${enable_multi_arch+set}" = set; then :
3691 enableval=$enable_multi_arch; multi_arch=$enableval
3697 # Check whether --enable-nss-crypt was given.
3698 if test "${enable_nss_crypt+set}" = set; then :
3699 enableval=$enable_nss_crypt; nss_crypt=$enableval
3704 if test x$nss_crypt = xyes; then
3705 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3706 if test $? -ne 0; then
3707 as_fn_error $? "cannot find include directory with nss-config" "$LINENO" 5
3709 old_CFLAGS="$CFLAGS"
3710 CFLAGS="$CFLAGS $nss_includes"
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3716 #include <nsslowhash.h>
3717 void f (void) { NSSLOW_Init (); }
3726 if ac_fn_c_try_compile "$LINENO"; then :
3727 libc_cv_nss_crypt=yes
3730 cannot find NSS headers with lowlevel hash function interfaces" "$LINENO" 5
3732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734 LIBS="$LIBS -lfreebl3"
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3739 #include <nsslowhash.h>
3748 if ac_fn_c_try_link "$LINENO"; then :
3749 libc_cv_nss_crypt=yes
3752 cannot link program using lowlevel NSS hash functions" "$LINENO" 5
3754 rm -f core conftest.err conftest.$ac_objext \
3755 conftest$ac_exeext conftest.$ac_ext
3756 CFLAGS="$old_CFLAGS"
3759 libc_cv_nss_crypt=no
3764 # Check whether --enable-obsolete-rpc was given.
3765 if test "${enable_obsolete_rpc+set}" = set; then :
3766 enableval=$enable_obsolete_rpc; link_obsolete_rpc=$enableval
3768 link_obsolete_rpc=no
3773 if test "$link_obsolete_rpc" = yes; then
3774 $as_echo "#define LINK_OBSOLETE_RPC 1" >>confdefs.h
3778 # Check whether --enable-systemtap was given.
3779 if test "${enable_systemtap+set}" = set; then :
3780 enableval=$enable_systemtap; systemtap=$enableval
3785 if test "x$systemtap" != xno; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemtap static probe support" >&5
3787 $as_echo_n "checking for systemtap static probe support... " >&6; }
3788 if ${libc_cv_sdt+:} false; then :
3789 $as_echo_n "(cached) " >&6
3791 old_CFLAGS="$CFLAGS"
3792 CFLAGS="-std=gnu99 $CFLAGS"
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3795 #include <sys/sdt.h>
3796 void foo (int i, void *p)
3798 asm ("" STAP_PROBE_ASM (foo, bar, STAP_PROBE_ASM_TEMPLATE (2)) ""
3799 :: STAP_PROBE_ASM_OPERANDS (2, i, p));
3802 if ac_fn_c_try_compile "$LINENO"; then :
3807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808 CFLAGS="$old_CFLAGS"
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_sdt" >&5
3811 $as_echo "$libc_cv_sdt" >&6; }
3812 if test $libc_cv_sdt = yes; then
3813 $as_echo "#define USE_STAP_PROBE 1" >>confdefs.h
3815 elif test "x$systemtap" != xauto; then
3816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3818 as_fn_error $? "systemtap support needs sys
/sdt.h with asm support
3819 See \
`config.log' for more details" "$LINENO" 5; }
3823 # Check whether --enable-build-nscd was given.
3824 if test "${enable_build_nscd+set}" = set; then :
3825 enableval=$enable_build_nscd; build_nscd=$enableval
3832 # Note the use of $use_nscd is near the bottom of the file.
3833 # Check whether --enable-nscd was given.
3834 if test "${enable_nscd+set}" = set; then :
3835 enableval=$enable_nscd; use_nscd=$enableval
3841 # Check whether --enable-pt_chown was given.
3842 if test "${enable_pt_chown+set}" = set; then :
3843 enableval=$enable_pt_chown; build_pt_chown=$enableval
3849 if test "$build_pt_chown" = yes; then
3850 $as_echo "#define HAVE_PT_CHOWN 1" >>confdefs.h
3854 # The abi-tags file uses a fairly simplistic model for name recognition that
3855 # can't distinguish i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a
3856 # $host_os of `gnu
*' here to be `gnu-gnu*' just so that it can tell.
3857 # This doesn't get used much beyond that, so it's fairly safe.
3862 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3866 # Check whether --enable-mathvec was given.
3867 if test "${enable_mathvec+set}" = set; then :
3868 enableval
=$enable_mathvec; build_mathvec
=$enableval
3870 build_mathvec
=notset
3874 # We keep the original values in `$config_*' and never modify them, so we
3875 # can write them unchanged into config.make. Everything else uses
3876 # $machine, $vendor, and $os, and changes them whenever convenient.
3877 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3879 # Don't allow vendor == "unknown"
3880 test "$config_vendor" = unknown
&& config_vendor
=
3881 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3883 # Some configurations imply other options.
3886 # The configure fragment of an add-on port can modify these to supplement
3887 # or override the table in the case statement below. No fragment should
3888 # ever change the config_* variables, however.
3889 machine
=$config_machine
3890 vendor
=$config_vendor
3896 # Check whether --with-cpu was given.
3897 if test "${with_cpu+set}" = set; then :
3898 withval
=$with_cpu; case "$withval" in
3899 yes|
'') as_fn_error $?
"--with-cpu requires an argument" "$LINENO" 5 ;;
3901 *) submachine
="$withval" ;;
3907 # An preconfigure script can set this when it wants to disable the sanity
3911 if frags
=`ls -d $srcdir/sysdeps/*/preconfigure 2> /dev/null`
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysdeps preconfigure fragments" >&5
3914 $as_echo_n "checking for sysdeps preconfigure fragments... " >&6; }
3915 for frag
in $frags; do
3916 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3917 echo $ECHO_N "$name $ECHO_C" >&6
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
3927 case "$enable_add_ons" in
3930 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
3931 sed 's@/[^/]*$@@' | sort | uniq`
3932 add_ons_automatic
=yes
3934 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
3935 add_ons_automatic
=no
;;
3941 if test x
"$add_ons" != x
; then
3942 for f
in $add_ons; do
3943 # Some sanity checks
3947 *** It seems that you're using an old \`crypt' add-on. crypt is now
3948 *** part of glibc and using the old add-on will not work with this
3949 *** release. Start again with fresh sources and without the old
3950 *** \`crypt' add-on." "$LINENO" 5
3954 *** It seems that you're using an old \`localedata' add-on. localedata
3955 *** is now part of glibc and using the old add-on will not work with
3956 *** this release. Start again with fresh sources and without the old
3957 *** \`localedata' add-on." "$LINENO" 5
3962 # Now source each add-on's configure fragment.
3963 # The fragments can use $srcdir/$libc_add_on to find themselves,
3964 # and test $add_ons_automatic to see if they were explicitly requested.
3965 # A fragment can clear (or even change) $libc_add_on to affect
3966 # whether it goes into the list to be actually used in the build.
3968 for libc_add_on
in $add_ons; do
3969 # Test whether such a directory really exists.
3970 # It can be absolute, or relative to $srcdir, or relative to the build dir.
3971 case "$libc_add_on" in
3973 libc_add_on_srcdir
=$libc_add_on
3976 test -d "$srcdir/$libc_add_on" ||
{
3977 if test -d "$libc_add_on"; then
3978 libc_add_on
="`pwd`/$libc_add_on"
3980 as_fn_error $?
"add-on directory \"$libc_add_on\" does not exist" "$LINENO" 5
3983 libc_add_on_srcdir
=$srcdir/$libc_add_on
3987 libc_add_on_frag
=$libc_add_on_srcdir/configure
3988 libc_add_on_canonical
=
3989 libc_add_on_config_subdirs
=
3990 if test -r "$libc_add_on_frag"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: running configure fragment for add-on $libc_add_on" >&5
3992 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
3993 libc_add_on_canonical
=unknown
3994 libc_add_on_subdirs
=
3995 .
"$libc_add_on_frag"
3996 test -z "$libc_add_on" ||
{
3997 configured_add_ons
="$configured_add_ons $libc_add_on"
3998 if test "x$libc_add_on_canonical" = xunknown
; then
3999 as_fn_error $?
"fragment must set \$libc_add_on_canonical" "$LINENO" 5
4001 for d
in $libc_add_on_subdirs; do
4002 case "$libc_add_on" in
4003 /*) subdir_srcdir
="$libc_add_on" ;;
4004 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
4008 d
="${libc_add_on_canonical:-$libc_add_on}"
4014 subdir_srcdir
="$subdir_srcdir/$d"
4017 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4018 add_on_subdirs
="$add_on_subdirs $d"
4019 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
4020 $d-srcdir = $subdir_srcdir"
4022 for d
in $libc_add_on_config_subdirs; do
4024 /*) as_fn_error $?
"fragment uses absolute path in \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
4026 if test ! -d "$libc_add_on_srcdir/$d"; then
4027 as_fn_error $?
"fragment wants to configure missing directory $d" "$LINENO" 5
4029 case "$libc_add_on" in
4030 /*) as_fn_error $?
"relative path required for add-on using \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
4032 subdirs
="$subdirs $libc_add_on/$d"
4036 if test -n "$libc_add_on"; then
4037 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking add-on $libc_add_on for preconfigure fragments" >&5
4040 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4041 for frag
in $frags; do
4042 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4043 echo $ECHO_N "$name $ECHO_C" >&6
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
4049 use_add_ons
="$use_add_ons $libc_add_on"
4050 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
4051 test -z "$libc_add_on_canonical" ||
4052 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
4055 # Use echo to strip excess whitespace.
4056 add_ons
="`echo $use_add_ons`"
4063 ### I put this here to prevent those annoying emails from people who cannot
4064 ### read and try to compile glibc on unsupported platforms. --drepper
4066 ### By using the undocumented --enable-hacker-mode option for configure
4067 ### one can skip this test to make the configuration not fail for unsupported
4070 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
4071 case "$machine-$host_os" in
4075 echo "*** The GNU C library is currently not available for this platform."
4076 echo "*** So far nobody cared to port it and if there is no volunteer it"
4077 echo "*** might never happen. So, if you have interest to see glibc on"
4078 echo "*** this platform visit"
4079 echo "*** http://www.gnu.org/software/libc/porting.html"
4080 echo "*** and join the group of porters"
4086 # Set base_machine if not set by a preconfigure fragment.
4087 test -n "$base_machine" || base_machine
=$machine
4090 # For the multi-arch option we need support in the assembler & linker.
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler and linker STT_GNU_IFUNC support" >&5
4092 $as_echo_n "checking for assembler and linker STT_GNU_IFUNC support... " >&6; }
4093 if ${libc_cv_ld_gnu_indirect_function+:} false
; then :
4094 $as_echo_n "(cached) " >&6
4096 cat > conftest.S
<<EOF
4097 .type foo,%gnu_indirect_function
4110 libc_cv_ld_gnu_indirect_function
=no
4111 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
4112 -nostartfiles -nostdlib \
4113 -o conftest conftest.S
1>&5 2>&5; then
4114 # Do a link to see if the backend supports IFUNC relocs.
4115 $READELF -r conftest
1>&5
4116 LC_ALL
=C
$READELF -r conftest |
grep 'no relocations' >/dev
/null ||
{
4117 libc_cv_ld_gnu_indirect_function
=yes
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_gnu_indirect_function" >&5
4123 $as_echo "$libc_cv_ld_gnu_indirect_function" >&6; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .text pseudo-op must be used" >&5
4126 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
4127 if ${libc_cv_dot_text+:} false
; then :
4128 $as_echo_n "(cached) " >&6
4130 cat > conftest.s
<<EOF
4134 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4135 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139 test $ac_status = 0; }; }; then
4140 libc_cv_dot_text
=.text
4145 if test -z "$libc_cv_dot_text"; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4150 $as_echo "yes" >&6; }
4153 if test x
"$libc_cv_ld_gnu_indirect_function" != xyes
; then
4154 if test x
"$multi_arch" = xyes
; then
4155 as_fn_error $?
"--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
4161 if test x
"$multi_arch" != xno
; then
4162 multi_arch_d
=/multiarch
4165 # Compute the list of sysdep directories for this configuration.
4166 # This can take a while to compute.
4167 sysdep_dir
=$srcdir/sysdeps
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysdep dirs" >&5
4169 $as_echo_n "checking sysdep dirs... " >&6; }
4170 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4171 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4173 test "x$base_os" != x ||
case "$os" in
4175 base_os
=mach
/hurd
;;
4177 base_os
=unix
/sysv
;;
4180 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4183 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4187 o
=`echo $tail | sed 's/[0-9]*$//'`
4188 if test $o != $tail; then
4191 # For linux-gnu, try linux-gnu, then linux.
4192 o
=`echo $tail | sed 's/-.*$//'`
4193 if test $o != $tail; then
4197 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4200 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4206 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4208 tail=$machine${submachine:+/$submachine}
4209 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4211 # Prepend the machine's FPU directory unless --without-fp.
4212 if test "$with_fp" = yes; then
4217 # For each machine term, try it with and then without /multiarch.
4218 for try_fpu
in $maybe_fpu ''; do
4219 for try_multi
in $multi_arch_d ''; do
4220 mach
="$mach /$1$try_fpu$try_multi"
4227 # Find what sysdep directories exist.
4230 for b
in $base ''; do
4231 for m0
in $mach ''; do
4232 for v
in /$vendor ''; do
4233 test "$v" = / && continue
4234 for o
in /$ostry ''; do
4235 test "$o" = / && continue
4236 for m
in $mach ''; do
4237 for d
in $add_ons_pfx ''; do
4238 for a
in $add_ons_sfx ''; do
4239 try_suffix
="$m0$b$v$o$m"
4240 if test -n "$try_suffix"; then
4241 try_srcdir
="${srcdir}/"
4245 try
="${d}sysdeps$try_suffix$a"
4246 test -n "$enable_debug_configure" &&
4247 echo "$0 DEBUG: try $try" >&2
4248 if test -d "$try_srcdir$try"; then
4249 sysnames
="$sysnames $try"
4250 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4251 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4253 x
*/$submachine) submachine_used
=t
;;
4255 if test -n "$d"; then
4256 case "$sysnames_add_ons" in
4258 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4271 # If the assembler supports gnu_indirect_function symbol type and the
4272 # architecture supports multi-arch, we enable multi-arch by default.
4273 case $sysnames_add_ons$sysnames in
4277 test x
"$multi_arch" = xdefault
&& multi_arch
=no
4280 if test x
"$multi_arch" != xno
; then
4281 $as_echo "#define USE_MULTIARCH 1" >>confdefs.h
4286 if test -z "$os_used" && test "$os" != none
; then
4287 as_fn_error $?
"Operating system $os is not supported." "$LINENO" 5
4289 if test -z "$machine_used" && test "$machine" != none
; then
4290 as_fn_error $?
"The $machine is not supported." "$LINENO" 5
4292 if test -z "$submachine_used" && test -n "$submachine"; then
4293 as_fn_error $?
"The $submachine subspecies of $host_cpu is not supported." "$LINENO" 5
4297 # We have now validated the configuration.
4299 # Expand the list of system names into a full list of directories
4300 # from each element's parent name and Implies file (if present).
4303 while test $# -gt 0; do
4307 case " $names " in *" $name "*)
4308 # Already in the list.
4312 # Report each name as we discover it, so there is no long pause in output.
4313 echo $ECHO_N "$name $ECHO_C" >&6
4315 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4319 *) xsrcdir
=$srcdir/ ;;
4321 test -n "$enable_debug_configure" &&
4322 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4324 for implies_file
in Implies Implies-before Implies-after
; do
4325 implies_type
=`echo $implies_file | sed s/-/_/`
4326 eval ${implies_type}=
4327 if test -f $xsrcdir$name/$implies_file; then
4328 # Collect more names from the `Implies' file (removing comments).
4329 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/$implies_file`"
4330 for x
in $implied_candidate; do
4332 if test -d $xsrcdir$name_base/$x; then
4333 eval "${implies_type}=\"\$${implies_type} \$name_base/\$x\""
4336 for d
in $add_ons_pfx ''; do
4337 try
="${d}sysdeps/$x"
4340 *) try_srcdir
=$srcdir/ ;;
4342 test -n "$enable_debug_configure" &&
4343 echo "DEBUG: $name $implies_file $x try($d) {$try_srcdir}$try" >&2
4344 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4346 eval "${implies_type}=\"\$${implies_type} \$try\""
4348 case "$sysnames_add_ons" in
4350 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4354 if test $found = no
; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/$implies_file specifies nonexistent $x" >&5
4356 $as_echo "$as_me: WARNING: $name/$implies_file specifies nonexistent $x" >&2;}
4362 # Add NAME to the list of names.
4363 names
="$names $name"
4365 # Find the parent of NAME, using the empty string if it has none.
4366 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4368 test -n "$enable_debug_configure" &&
4369 echo "DEBUG: $name Implies='$Implies' rest='$*' parent='$parent' \
4370 Implies_before='$Implies_before' Implies_after='$Implies_after'" >&2
4372 # Add the names implied by NAME, and NAME's parent (if it has one), to
4373 # the list of names to be processed (the argument list). We prepend the
4374 # implied names to the list and append the parent. We want implied
4375 # directories to come before further directories inferred from the
4376 # configuration components; this ensures that for sysv4, unix/common
4377 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4379 sysnames
="`echo $Implies $* $Implies_before $parent $Implies_after`"
4380 test -n "$sysnames" && set $sysnames
4383 # Add the default directories.
4384 default_sysnames
="sysdeps/generic"
4385 sysnames
="$names $default_sysnames"
4387 # The other names were emitted during the scan.
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_sysnames" >&5
4389 $as_echo "$default_sysnames" >&6; }
4391 # Collect the list of add-ons that supply partial sysdeps trees.
4393 for add_on
in $add_ons; do
4396 *) xsrcdir
="$srcdir/" ;;
4399 test -d "$xsrcdir$add_on/sysdeps" ||
{
4400 case "$configured_add_ons " in
4403 as_fn_error $?
"add-on $add_on has no configure fragment or sysdeps tree" "$LINENO" 5
4409 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4410 case "$sysnames_add_ons" in
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4414 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4419 for d
in $sysnames; do
4421 $add_on/sysdeps
/*) ;;
4424 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4427 for ff
in $f/*.h
; do
4428 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4432 test -d "$f" ||
{ test -e "$f" && exit 88; }
4436 if test $?
-eq 88; then
4441 if test $found = no
; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4443 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4451 # Find a good install program. We prefer a C program (faster),
4452 # so one script is as good as another. But avoid the broken or
4453 # incompatible versions:
4454 # SysV /etc/install, /usr/sbin/install
4455 # SunOS /usr/etc/install
4456 # IRIX /sbin/install
4458 # AmigaOS /C/install, which installs bootblocks on floppy discs
4459 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4460 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4461 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4462 # OS/2's system install, which has a completely different semantic
4463 # ./install, which can be erroneously created by make from ./install.sh.
4464 # Reject install programs that cannot install multiple files.
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4466 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4467 if test -z "$INSTALL"; then
4468 if ${ac_cv_path_install+:} false
; then :
4469 $as_echo_n "(cached) " >&6
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 # Account for people who put trailing slashes in PATH elements.
4477 case $as_dir/ in #((
4478 .
/ | .
// |
/[cC
]/* | \
4479 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4480 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4483 # OSF1 and SCO ODT 3.0 have their own names for install.
4484 # Don't use installbsd from OSF since it installs stuff as root
4486 for ac_prog
in ginstall scoinst
install; do
4487 for ac_exec_ext
in '' $ac_executable_extensions; do
4488 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4489 if test $ac_prog = install &&
4490 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4491 # AIX install. It has an incompatible calling convention.
4493 elif test $ac_prog = install &&
4494 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4495 # program-specific install script used by HP pwplus--don't use.
4498 rm -rf conftest.one conftest.two conftest.dir
4499 echo one
> conftest.one
4500 echo two
> conftest.two
4502 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4503 test -s conftest.one
&& test -s conftest.two
&&
4504 test -s conftest.dir
/conftest.one
&&
4505 test -s conftest.dir
/conftest.two
4507 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4520 rm -rf conftest.one conftest.two conftest.dir
4523 if test "${ac_cv_path_install+set}" = set; then
4524 INSTALL
=$ac_cv_path_install
4526 # As a last resort, use the slow shell script. Don't cache a
4527 # value for INSTALL within a source directory, because that will
4528 # break other packages using the cache if that directory is
4529 # removed, or if the value is a relative name.
4530 INSTALL
=$ac_install_sh
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4534 $as_echo "$INSTALL" >&6; }
4536 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4537 # It thinks the first close brace ends the variable substitution.
4538 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4540 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4542 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4544 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4545 # The makefiles need to use a different form to find it in $srcdir.
4546 INSTALL
='\$(..)./scripts/install-sh -c'
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4549 $as_echo_n "checking whether ln -s works... " >&6; }
4551 if test "$LN_S" = "ln -s"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4553 $as_echo "yes" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4556 $as_echo "no, using $LN_S" >&6; }
4560 # Was a --with-binutils option given?
4561 if test -n "$path_binutils"; then
4562 # Make absolute; ensure a single trailing slash.
4563 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4564 CC
="$CC -B$path_binutils"
4566 AS
=`$CC -print-prog-name=as`
4567 LD
=`$CC -print-prog-name=ld`
4568 AR
=`$CC -print-prog-name=ar`
4570 OBJDUMP
=`$CC -print-prog-name=objdump`
4572 OBJCOPY
=`$CC -print-prog-name=objcopy`
4575 # Determine whether we are using GNU binutils.
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AS is GNU as" >&5
4577 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4578 if ${libc_cv_prog_as_gnu+:} false
; then :
4579 $as_echo_n "(cached) " >&6
4581 # Most GNU programs take a -v and spit out some text including
4582 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4583 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4584 libc_cv_prog_as_gnu
=yes
4586 libc_cv_prog_as_gnu
=no
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_as_gnu" >&5
4591 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4593 gnu_as
=$libc_cv_prog_as_gnu
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD is GNU ld" >&5
4596 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4597 if ${libc_cv_prog_ld_gnu+:} false
; then :
4598 $as_echo_n "(cached) " >&6
4600 # Most GNU programs take a -v and spit out some text including
4601 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4602 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4603 libc_cv_prog_ld_gnu
=yes
4605 libc_cv_prog_ld_gnu
=no
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_ld_gnu" >&5
4610 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4611 gnu_ld
=$libc_cv_prog_ld_gnu
4614 # Accept binutils 2.22 or newer.
4617 # Extract the first word of "$ac_prog", so it can be a program name with args.
4618 set dummy
$ac_prog; ac_word
=$2
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 $as_echo_n "checking for $ac_word... " >&6; }
4621 if ${ac_cv_prog_AS+:} false
; then :
4622 $as_echo_n "(cached) " >&6
4624 if test -n "$AS"; then
4625 ac_cv_prog_AS
="$AS" # Let the user override the test.
4627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4631 test -z "$as_dir" && as_dir
=.
4632 for ac_exec_ext
in '' $ac_executable_extensions; do
4633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4634 ac_cv_prog_AS
="$ac_prog"
4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 if test -n "$AS"; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4647 $as_echo "$AS" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4654 test -n "$AS" && break
4657 if test -z "$AS"; then
4660 # Found it, now check the version.
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AS" >&5
4662 $as_echo_n "checking version of $AS... " >&6; }
4663 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4664 case $ac_prog_version in
4665 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4666 2.1[0-9][0-9]*|
2.2[2-9]*|
2.
[3-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4667 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4668 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4672 $as_echo "$ac_prog_version" >&6; }
4674 if test $ac_verc_fail = yes; then
4675 AS
=: critic_missing
="$critic_missing as"
4680 # Extract the first word of "$ac_prog", so it can be a program name with args.
4681 set dummy
$ac_prog; ac_word
=$2
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683 $as_echo_n "checking for $ac_word... " >&6; }
4684 if ${ac_cv_prog_LD+:} false
; then :
4685 $as_echo_n "(cached) " >&6
4687 if test -n "$LD"; then
4688 ac_cv_prog_LD
="$LD" # Let the user override the test.
4690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4694 test -z "$as_dir" && as_dir
=.
4695 for ac_exec_ext
in '' $ac_executable_extensions; do
4696 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4697 ac_cv_prog_LD
="$ac_prog"
4698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 if test -n "$LD"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4710 $as_echo "$LD" >&6; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4717 test -n "$LD" && break
4720 if test -z "$LD"; then
4723 # Found it, now check the version.
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4725 $as_echo_n "checking version of $LD... " >&6; }
4726 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4727 case $ac_prog_version in
4728 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4729 2.1[0-9][0-9]*|
2.2[2-9]*|
2.
[3-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4730 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4731 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4735 $as_echo "$ac_prog_version" >&6; }
4737 if test $ac_verc_fail = yes; then
4738 LD
=: critic_missing
="$critic_missing ld"
4742 # These programs are version sensitive.
4744 for ac_prog
in gnumake gmake
make
4746 # Extract the first word of "$ac_prog", so it can be a program name with args.
4747 set dummy
$ac_prog; ac_word
=$2
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 $as_echo_n "checking for $ac_word... " >&6; }
4750 if ${ac_cv_prog_MAKE+:} false
; then :
4751 $as_echo_n "(cached) " >&6
4753 if test -n "$MAKE"; then
4754 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4760 test -z "$as_dir" && as_dir
=.
4761 for ac_exec_ext
in '' $ac_executable_extensions; do
4762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4763 ac_cv_prog_MAKE
="$ac_prog"
4764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 MAKE
=$ac_cv_prog_MAKE
4774 if test -n "$MAKE"; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4776 $as_echo "$MAKE" >&6; }
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4783 test -n "$MAKE" && break
4786 if test -z "$MAKE"; then
4789 # Found it, now check the version.
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
4791 $as_echo_n "checking version of $MAKE... " >&6; }
4792 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4793 case $ac_prog_version in
4794 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4795 3.79* |
3.
[89]* |
[4-9].
* |
[1-9][0-9]*)
4796 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4797 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4801 $as_echo "$ac_prog_version" >&6; }
4803 if test $ac_verc_fail = yes; then
4804 critic_missing
="$critic_missing make"
4808 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
4810 # Extract the first word of "$ac_prog", so it can be a program name with args.
4811 set dummy
$ac_prog; ac_word
=$2
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813 $as_echo_n "checking for $ac_word... " >&6; }
4814 if ${ac_cv_prog_MSGFMT+:} false
; then :
4815 $as_echo_n "(cached) " >&6
4817 if test -n "$MSGFMT"; then
4818 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
4820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4824 test -z "$as_dir" && as_dir
=.
4825 for ac_exec_ext
in '' $ac_executable_extensions; do
4826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4827 ac_cv_prog_MSGFMT
="$ac_prog"
4828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 MSGFMT
=$ac_cv_prog_MSGFMT
4838 if test -n "$MSGFMT"; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4840 $as_echo "$MSGFMT" >&6; }
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843 $as_echo "no" >&6; }
4847 test -n "$MSGFMT" && break
4850 if test -z "$MSGFMT"; then
4853 # Found it, now check the version.
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
4855 $as_echo_n "checking version of $MSGFMT... " >&6; }
4856 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4857 case $ac_prog_version in
4858 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4859 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
4860 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4861 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4865 $as_echo "$ac_prog_version" >&6; }
4867 if test $ac_verc_fail = yes; then
4868 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
4871 for ac_prog
in makeinfo
4873 # Extract the first word of "$ac_prog", so it can be a program name with args.
4874 set dummy
$ac_prog; ac_word
=$2
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4876 $as_echo_n "checking for $ac_word... " >&6; }
4877 if ${ac_cv_prog_MAKEINFO+:} false
; then :
4878 $as_echo_n "(cached) " >&6
4880 if test -n "$MAKEINFO"; then
4881 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4887 test -z "$as_dir" && as_dir
=.
4888 for ac_exec_ext
in '' $ac_executable_extensions; do
4889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4890 ac_cv_prog_MAKEINFO
="$ac_prog"
4891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4900 MAKEINFO
=$ac_cv_prog_MAKEINFO
4901 if test -n "$MAKEINFO"; then
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4903 $as_echo "$MAKEINFO" >&6; }
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 $as_echo "no" >&6; }
4910 test -n "$MAKEINFO" && break
4913 if test -z "$MAKEINFO"; then
4916 # Found it, now check the version.
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
4918 $as_echo_n "checking version of $MAKEINFO... " >&6; }
4919 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4920 case $ac_prog_version in
4921 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4922 4.
[7-9]*|
4.
[1-9][0-9]*|
[5-9].
*)
4923 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4924 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4928 $as_echo "$ac_prog_version" >&6; }
4930 if test $ac_verc_fail = yes; then
4931 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
4936 # Extract the first word of "$ac_prog", so it can be a program name with args.
4937 set dummy
$ac_prog; ac_word
=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if ${ac_cv_prog_SED+:} false
; then :
4941 $as_echo_n "(cached) " >&6
4943 if test -n "$SED"; then
4944 ac_cv_prog_SED
="$SED" # Let the user override the test.
4946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4950 test -z "$as_dir" && as_dir
=.
4951 for ac_exec_ext
in '' $ac_executable_extensions; do
4952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4953 ac_cv_prog_SED
="$ac_prog"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 if test -n "$SED"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4966 $as_echo "$SED" >&6; }
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4973 test -n "$SED" && break
4976 if test -z "$SED"; then
4979 # Found it, now check the version.
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
4981 $as_echo_n "checking version of $SED... " >&6; }
4982 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4983 case $ac_prog_version in
4984 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4985 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
4986 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4987 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4991 $as_echo "$ac_prog_version" >&6; }
4993 if test $ac_verc_fail = yes; then
4994 SED
=: aux_missing
="$aux_missing sed"
4999 # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy
$ac_prog; ac_word
=$2
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002 $as_echo_n "checking for $ac_word... " >&6; }
5003 if ${ac_cv_prog_AWK+:} false
; then :
5004 $as_echo_n "(cached) " >&6
5006 if test -n "$AWK"; then
5007 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir
=.
5014 for ac_exec_ext
in '' $ac_executable_extensions; do
5015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5016 ac_cv_prog_AWK
="$ac_prog"
5017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 if test -n "$AWK"; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5029 $as_echo "$AWK" >&6; }
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 $as_echo "no" >&6; }
5036 test -n "$AWK" && break
5039 if test -z "$AWK"; then
5042 # Found it, now check the version.
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AWK" >&5
5044 $as_echo_n "checking version of $AWK... " >&6; }
5045 ac_prog_version
=`$AWK --version 2>&1 | sed -n 's/^.*GNU Awk[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5046 case $ac_prog_version in
5047 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5048 3.1.
[2-9]*|
3.
[2-9]*|
[4-9]*)
5049 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5050 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5054 $as_echo "$ac_prog_version" >&6; }
5056 if test $ac_verc_fail = yes; then
5057 critic_missing
="$critic_missing gawk"
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC is sufficient to build libc" >&5
5062 $as_echo_n "checking if $CC is sufficient to build libc... " >&6; }
5063 if ${libc_cv_compiler_ok+:} false
; then :
5064 $as_echo_n "(cached) " >&6
5067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5074 #if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)
5075 #error insufficient compiler
5081 if ac_fn_c_try_compile
"$LINENO"; then :
5082 libc_cv_compiler_ok
=yes
5084 libc_cv_compiler_ok
=no
5086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_compiler_ok" >&5
5089 $as_echo "$libc_cv_compiler_ok" >&6; }
5090 if test $libc_cv_compiler_ok != yes; then :
5091 critic_missing
="$critic_missing compiler"
5094 if test -n "$ac_tool_prefix"; then
5095 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
5096 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_NM+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -n "$NM"; then
5103 ac_cv_prog_NM
="$NM" # Let the user override the test.
5105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir
=.
5110 for ac_exec_ext
in '' $ac_executable_extensions; do
5111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5112 ac_cv_prog_NM
="${ac_tool_prefix}nm"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 if test -n "$NM"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
5125 $as_echo "$NM" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5133 if test -z "$ac_cv_prog_NM"; then
5135 # Extract the first word of "nm", so it can be a program name with args.
5136 set dummy nm
; ac_word
=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138 $as_echo_n "checking for $ac_word... " >&6; }
5139 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
5140 $as_echo_n "(cached) " >&6
5142 if test -n "$ac_ct_NM"; then
5143 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5149 test -z "$as_dir" && as_dir
=.
5150 for ac_exec_ext
in '' $ac_executable_extensions; do
5151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5152 ac_cv_prog_ac_ct_NM
="nm"
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5163 if test -n "$ac_ct_NM"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
5165 $as_echo "$ac_ct_NM" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5171 if test "x$ac_ct_NM" = x
; then
5174 case $cross_compiling:$ac_tool_warned in
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5178 ac_tool_warned
=yes ;;
5187 if test "x$maintainer" = "xyes"; then
5188 for ac_prog
in autoconf
5190 # Extract the first word of "$ac_prog", so it can be a program name with args.
5191 set dummy
$ac_prog; ac_word
=$2
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5193 $as_echo_n "checking for $ac_word... " >&6; }
5194 if ${ac_cv_prog_AUTOCONF+:} false
; then :
5195 $as_echo_n "(cached) " >&6
5197 if test -n "$AUTOCONF"; then
5198 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5204 test -z "$as_dir" && as_dir
=.
5205 for ac_exec_ext
in '' $ac_executable_extensions; do
5206 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5207 ac_cv_prog_AUTOCONF
="$ac_prog"
5208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 AUTOCONF
=$ac_cv_prog_AUTOCONF
5218 if test -n "$AUTOCONF"; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5220 $as_echo "$AUTOCONF" >&6; }
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 $as_echo "no" >&6; }
5227 test -n "$AUTOCONF" && break
5229 test -n "$AUTOCONF" || AUTOCONF
="no"
5231 case "x$AUTOCONF" in
5232 xno|x|x
:) AUTOCONF
=no
;;
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5235 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5236 if ${libc_cv_autoconf_works+:} false
; then :
5237 $as_echo_n "(cached) " >&6
5239 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.ac
> /dev
/null
2>&1); then
5240 libc_cv_autoconf_works
=yes
5242 libc_cv_autoconf_works
=no
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
5246 $as_echo "$libc_cv_autoconf_works" >&6; }
5247 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5250 if test "x$AUTOCONF" = xno
; then
5251 aux_missing
="$aux_missing autoconf"
5257 test -n "$critic_missing" && as_fn_error $?
"
5258 *** These critical programs are missing or too old:$critic_missing
5259 *** Check the INSTALL file for required versions." "$LINENO" 5
5261 test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
5262 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5263 *** some features will be disabled.
5264 *** Check the INSTALL file for required versions." >&5
5265 $as_echo "$as_me: WARNING:
5266 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5267 *** some features will be disabled.
5268 *** Check the INSTALL file for required versions." >&2;}
5270 # if using special system headers, find out the compiler's sekrit
5271 # header directory and add that to the list. NOTE: Only does the right
5272 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5273 if test -n "$sysheaders"; then
5274 SYSINCLUDES
=-nostdinc
5275 for d
in include include-fixed
; do
5276 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5277 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5279 SYSINCLUDES
="$SYSINCLUDES \
5280 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5281 if test -n "$CXX"; then
5283 for cxxheaders
in `$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
5284 | sed -n -e '1,/#include/d' -e 's/^ \(\/.*\/[cg]++\)/\1/p'`; do
5285 test "x$cxxheaders" != x
&&
5286 CXX_SYSINCLUDES
="$CXX_SYSINCLUDES -isystem $cxxheaders"
5293 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5294 # since this would lead to problems installing/building glibc.
5295 # LD_LIBRARY_PATH contains the current directory if one of the following
5297 # - one of the terminals (":" and ";") is the first or last sign
5298 # - two terminals occur directly after each other
5299 # - the path contains an element with a dot in it
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
5301 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5302 case ${LD_LIBRARY_PATH} in
5303 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5304 ld_library_path_setting
="contains current directory"
5307 ld_library_path_setting
="ok"
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
5311 $as_echo "$ld_library_path_setting" >&6; }
5312 if test "$ld_library_path_setting" != "ok"; then
5314 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5315 *** building glibc. Please change the environment variable
5316 *** and run configure again." "$LINENO" 5
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports -static-libgcc" >&5
5320 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5321 if ${libc_cv_gcc_static_libgcc+:} false
; then :
5322 $as_echo_n "(cached) " >&6
5324 if $CC -v -static-libgcc 2>&1 |
grep 'unrecognized option.*static-libgcc' >/dev
/null
; then
5325 libc_cv_gcc_static_libgcc
=
5327 libc_cv_gcc_static_libgcc
=-static-libgcc
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_static_libgcc" >&5
5331 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5334 # Extract the first word of "bash", so it can be a program name with args.
5335 set dummy bash
; ac_word
=$2
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5337 $as_echo_n "checking for $ac_word... " >&6; }
5338 if ${ac_cv_path_BASH_SHELL+:} false
; then :
5339 $as_echo_n "(cached) " >&6
5343 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5350 test -z "$as_dir" && as_dir
=.
5351 for ac_exec_ext
in '' $ac_executable_extensions; do
5352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5353 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5361 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5365 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5366 if test -n "$BASH_SHELL"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
5368 $as_echo "$BASH_SHELL" >&6; }
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5371 $as_echo "no" >&6; }
5376 # Extract the first word of "perl", so it can be a program name with args.
5377 set dummy perl
; ac_word
=$2
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5379 $as_echo_n "checking for $ac_word... " >&6; }
5380 if ${ac_cv_path_PERL+:} false
; then :
5381 $as_echo_n "(cached) " >&6
5385 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5392 test -z "$as_dir" && as_dir
=.
5393 for ac_exec_ext
in '' $ac_executable_extensions; do
5394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5395 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5403 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5407 PERL
=$ac_cv_path_PERL
5408 if test -n "$PERL"; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5410 $as_echo "$PERL" >&6; }
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413 $as_echo "no" >&6; }
5417 if test "$PERL" != no
&&
5418 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5421 # Extract the first word of "install-info", so it can be a program name with args.
5422 set dummy install-info
; ac_word
=$2
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424 $as_echo_n "checking for $ac_word... " >&6; }
5425 if ${ac_cv_path_INSTALL_INFO+:} false
; then :
5426 $as_echo_n "(cached) " >&6
5428 case $INSTALL_INFO in
5430 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5434 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5435 for as_dir
in $as_dummy
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_exec_ext
in '' $ac_executable_extensions; do
5440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5453 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5454 if test -n "$INSTALL_INFO"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5456 $as_echo "$INSTALL_INFO" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5463 for ac_prog
in bison
5465 # Extract the first word of "$ac_prog", so it can be a program name with args.
5466 set dummy
$ac_prog; ac_word
=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_BISON+:} false
; then :
5470 $as_echo_n "(cached) " >&6
5472 if test -n "$BISON"; then
5473 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir
=.
5480 for ac_exec_ext
in '' $ac_executable_extensions; do
5481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_BISON
="$ac_prog"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 BISON
=$ac_cv_prog_BISON
5493 if test -n "$BISON"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5495 $as_echo "$BISON" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5502 test -n "$BISON" && break
5505 if test -z "$BISON"; then
5508 # Found it, now check the version.
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $BISON" >&5
5510 $as_echo_n "checking version of $BISON... " >&6; }
5511 ac_prog_version
=`$BISON --version 2>&1 | sed -n 's/^.*bison (GNU Bison) \([0-9]*\.[0-9.]*\).*$/\1/p'`
5512 case $ac_prog_version in
5513 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5514 2.7*|
[3-9].
*|
[1-9][0-9]*)
5515 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5516 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5520 $as_echo "$ac_prog_version" >&6; }
5522 if test $ac_verc_fail = yes; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libc-friendly stddef.h" >&5
5528 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5529 if ${libc_cv_friendly_stddef+:} false
; then :
5530 $as_echo_n "(cached) " >&6
5532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5533 /* end confdefs.h. */
5534 #define __need_size_t
5535 #define __need_wchar_t
5542 size_t size; wchar_t wchar;
5544 #error stddef.h ignored __need_*
5546 if (&size == NULL || &wchar == NULL) abort ();
5551 if ac_fn_c_try_compile
"$LINENO"; then :
5552 libc_cv_friendly_stddef
=yes
5554 libc_cv_friendly_stddef
=no
5556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_friendly_stddef" >&5
5559 $as_echo "$libc_cv_friendly_stddef" >&6; }
5560 if test $libc_cv_friendly_stddef = yes; then
5561 config_vars
="$config_vars
5562 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to use -P to assemble .S files" >&5
5566 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5567 if ${libc_cv_need_minus_P+:} false
; then :
5568 $as_echo_n "(cached) " >&6
5570 cat > conftest.S
<<EOF
5571 #include "confdefs.h"
5572 /* Nothing whatsoever. */
5574 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5575 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5579 test $ac_status = 0; }; }; then
5580 libc_cv_need_minus_P
=no
5582 libc_cv_need_minus_P
=yes
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_need_minus_P" >&5
5587 $as_echo "$libc_cv_need_minus_P" >&6; }
5588 if test $libc_cv_need_minus_P = yes; then
5589 config_vars
="$config_vars
5590 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
5594 $as_echo_n "checking for .set assembler directive... " >&6; }
5595 if ${libc_cv_asm_set_directive+:} false
; then :
5596 $as_echo_n "(cached) " >&6
5598 cat > conftest.s
<<EOF
5601 .set glibc_conftest_frobozz,foo
5602 .globl glibc_conftest_frobozz
5604 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5605 # (but it doesn't work), so we must do a linking check to be sure.
5606 cat > conftest1.c
<<\EOF
5607 extern int glibc_conftest_frobozz
;
5608 void _start
() { glibc_conftest_frobozz
= 1; }
5610 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5611 -nostartfiles -nostdlib \
5612 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5613 libc_cv_asm_set_directive
=yes
5615 libc_cv_asm_set_directive
=no
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
5620 $as_echo "$libc_cv_asm_set_directive" >&6; }
5621 if test $libc_cv_asm_set_directive = yes; then
5622 $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler gnu_unique_object symbol type" >&5
5627 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
5628 if ${libc_cv_asm_unique_object+:} false
; then :
5629 $as_echo_n "(cached) " >&6
5631 cat > conftest.s
<<EOF
5634 .type _sym, %gnu_unique_object
5636 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5637 libc_cv_asm_unique_object
=yes
5639 libc_cv_asm_unique_object
=no
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_unique_object" >&5
5644 $as_echo "$libc_cv_asm_unique_object" >&6; }
5645 if test $libc_cv_asm_unique_object = yes; then
5646 $as_echo "#define HAVE_ASM_UNIQUE_OBJECT 1" >>confdefs.h
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .previous assembler directive" >&5
5651 $as_echo_n "checking for .previous assembler directive... " >&6; }
5652 if ${libc_cv_asm_previous_directive+:} false
; then :
5653 $as_echo_n "(cached) " >&6
5655 cat > conftest.s
<<EOF
5656 .section foo_section
5659 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5660 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5664 test $ac_status = 0; }; }; then
5665 libc_cv_asm_previous_directive
=yes
5667 libc_cv_asm_previous_directive
=no
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_previous_directive" >&5
5672 $as_echo "$libc_cv_asm_previous_directive" >&6; }
5673 if test $libc_cv_asm_previous_directive = yes; then
5674 $as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .popsection assembler directive" >&5
5678 $as_echo_n "checking for .popsection assembler directive... " >&6; }
5679 if ${libc_cv_asm_popsection_directive+:} false
; then :
5680 $as_echo_n "(cached) " >&6
5682 cat > conftest.s
<<EOF
5683 .pushsection foo_section
5686 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5687 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5691 test $ac_status = 0; }; }; then
5692 libc_cv_asm_popsection_directive
=yes
5694 libc_cv_asm_popsection_directive
=no
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_popsection_directive" >&5
5699 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
5700 if test $libc_cv_asm_popsection_directive = yes; then
5701 $as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .protected and .hidden assembler directive" >&5
5706 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
5707 if ${libc_cv_asm_protected_directive+:} false
; then :
5708 $as_echo_n "(cached) " >&6
5710 cat > conftest.s
<<EOF
5716 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5717 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5721 test $ac_status = 0; }; }; then
5722 libc_cv_asm_protected_directive
=yes
5724 as_fn_error $?
"assembler support for symbol visibility is required" "$LINENO" 5
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_protected_directive" >&5
5729 $as_echo "$libc_cv_asm_protected_directive" >&6; }
5731 if test $libc_cv_asm_protected_directive = yes; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((visibility())) is supported" >&5
5733 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
5734 if ${libc_cv_visibility_attribute+:} false
; then :
5735 $as_echo_n "(cached) " >&6
5737 cat > conftest.c
<<EOF
5738 int foo __attribute__ ((visibility ("hidden"))) = 1;
5739 int bar __attribute__ ((visibility ("protected"))) = 1;
5741 libc_cv_visibility_attribute
=no
5742 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5743 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5747 test $ac_status = 0; }; }; then
5748 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
5749 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
5750 libc_cv_visibility_attribute
=yes
5754 rm -f conftest.
{c
,s
}
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_visibility_attribute" >&5
5758 $as_echo "$libc_cv_visibility_attribute" >&6; }
5759 if test $libc_cv_visibility_attribute != yes; then
5760 as_fn_error $?
"compiler support for visibility attribute is required" "$LINENO" 5
5764 if test $libc_cv_visibility_attribute = yes; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for protected data symbol" >&5
5766 $as_echo_n "checking linker support for protected data symbol... " >&6; }
5767 if ${libc_cv_protected_data+:} false
; then :
5768 $as_echo_n "(cached) " >&6
5770 cat > conftest.c
<<EOF
5771 int bar __attribute__ ((visibility ("protected"))) = 1;
5773 libc_cv_protected_data
=no
5774 if { ac_try
='${CC-cc} -nostdlib -nostartfiles -fPIC -shared conftest.c -o conftest.so'
5775 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5779 test $ac_status = 0; }; }; then
5780 cat > conftest.c
<<EOF
5782 int main (void) { return bar; }
5784 if { ac_try
='${CC-cc} -nostdlib -nostartfiles conftest.c -o conftest conftest.so'
5785 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5789 test $ac_status = 0; }; }; then
5790 libc_cv_protected_data
=yes
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_protected_data" >&5
5797 $as_echo "$libc_cv_protected_data" >&6; }
5799 libc_cv_protected_data
=no
5803 if test $libc_cv_visibility_attribute = yes; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((visibility()))" >&5
5805 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
5806 if ${libc_cv_broken_visibility_attribute+:} false
; then :
5807 $as_echo_n "(cached) " >&6
5809 cat > conftest.c
<<EOF
5811 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5812 int bar (int x) { return x; }
5814 libc_cv_broken_visibility_attribute
=yes
5815 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5816 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5820 test $ac_status = 0; }; }; then
5821 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
5822 libc_cv_broken_visibility_attribute
=no
5825 rm -f conftest.c conftest.s
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_visibility_attribute" >&5
5829 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
5830 if test $libc_cv_broken_visibility_attribute = yes; then
5831 as_fn_error $?
"working compiler support for visibility attribute is required" "$LINENO" 5
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
5836 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
5837 if ${libc_cv_broken_alias_attribute+:} false
; then :
5838 $as_echo_n "(cached) " >&6
5840 cat > conftest.c
<<EOF
5841 extern int foo (int x) __asm ("xyzzy");
5842 int bar (int x) { return x; }
5843 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5845 extern __typeof (dfoo) dfoo __asm ("abccb");
5848 libc_cv_broken_alias_attribute
=yes
5849 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5850 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5854 test $ac_status = 0; }; }; then
5855 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5856 grep 'abccb' conftest.s
>/dev
/null
; then
5857 libc_cv_broken_alias_attribute
=no
5860 rm -f conftest.c conftest.s
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
5864 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
5865 if test $libc_cv_broken_alias_attribute = yes; then
5866 as_fn_error $?
"working alias attribute support required" "$LINENO" 5
5869 if test $libc_cv_visibility_attribute = yes; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
5871 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
5872 if ${libc_cv_have_sdata_section+:} false
; then :
5873 $as_echo_n "(cached) " >&6
5875 echo "int i;" > conftest.c
5876 libc_cv_have_sdata_section
=no
5877 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5878 |
grep '\.sdata' >/dev
/null
; then
5879 libc_cv_have_sdata_section
=yes
5881 rm -f conftest.c conftest.so
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
5885 $as_echo "$libc_cv_have_sdata_section" >&6; }
5886 if test $libc_cv_have_sdata_section = yes; then
5887 $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
5893 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
5894 if ${libc_cv_initfini_array+:} false
; then :
5895 $as_echo_n "(cached) " >&6
5897 cat > conftest.c
<<EOF
5898 int _start (void) { return 0; }
5899 int __start (void) { return 0; }
5901 int foo (void) { return 1; }
5902 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
5905 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest
5906 conftest.c -static -nostartfiles -nostdlib
5908 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5912 test $ac_status = 0; }; }; then :
5913 if $READELF -S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
5914 libc_cv_initfini_array
=yes
5916 libc_cv_initfini_array
=no
5919 libc_cv_initfini_array
=no
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_initfini_array" >&5
5925 $as_echo "$libc_cv_initfini_array" >&6; }
5926 if test $libc_cv_initfini_array != yes; then
5927 as_fn_error $?
"Need linker with .init_array/.fini_array support." "$LINENO" 5
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use .ctors/.dtors header and trailer" >&5
5931 $as_echo_n "checking whether to use .ctors/.dtors header and trailer... " >&6; }
5932 if ${libc_cv_ctors_header+:} false
; then :
5933 $as_echo_n "(cached) " >&6
5935 libc_cv_ctors_header
=yes
5936 cat > conftest.c
<<EOF
5937 int _start (void) { return 0; }
5938 int __start (void) { return 0; }
5940 __attribute__ ((constructor)) void ctor (void) { asm (""); }
5941 __attribute__ ((destructor)) void dtor (void) { asm (""); }
5944 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest
5945 conftest.c -static -nostartfiles -nostdlib
5947 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5951 test $ac_status = 0; }; }; then :
5952 if $READELF -WS conftest
$ac_exeext |
$AWK '
5953 { gsub(/\[ */, "[") }
5954 $2 == ".ctors" || $2 == ".dtors" {
5955 size = strtonum("0x" $6)
5956 align = strtonum("0x" $NF)
5958 stub[$2] = size == align * 2
5961 ctors_ok = !seen[".ctors"] || stub[".ctors"]
5962 dtors_ok = !seen[".dtors"] || stub[".dtors"]
5963 exit ((ctors_ok && dtors_ok) ? 0 : 1)
5966 libc_cv_ctors_header
=no
5970 as_fn_error $?
"missing __attribute__ ((constructor)) support??" "$LINENO" 5
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ctors_header" >&5
5977 $as_echo "$libc_cv_ctors_header" >&6; }
5978 if test $libc_cv_ctors_header = no
; then
5979 $as_echo "#define NO_CTORS_DTORS_SECTIONS 1" >>confdefs.h
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
5984 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
5985 if ${libc_cv_cc_with_libunwind+:} false
; then :
5986 $as_echo_n "(cached) " >&6
5989 cat > conftest.c
<<EOF
5990 int main (void) { return 0; }
5992 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
5993 conftest.c
-v 2>&1 >/dev
/null |
grep ' -lunwind ' >/dev
/null
; then
5994 libc_cv_cc_with_libunwind
=yes
5996 libc_cv_cc_with_libunwind
=no
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
6001 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
6003 if test $libc_cv_cc_with_libunwind = yes; then
6004 $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z nodelete" >&5
6009 $as_echo_n "checking for linker that supports -z nodelete... " >&6; }
6010 libc_linker_feature
=no
6011 if test x
"$gnu_ld" = x
"yes"; then
6012 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z nodelete"`
6013 if test -n "$libc_linker_check"; then
6014 cat > conftest.c
<<EOF
6015 int _start (void) { return 42; }
6017 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6018 -Wl,--enable-new-dtags,-z,nodelete -nostdlib -nostartfiles
6019 -fPIC -shared -o conftest.so conftest.c
6021 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6025 test $ac_status = 0; }; }
6027 libc_linker_feature
=yes
6032 if test $libc_linker_feature = yes; then
6033 libc_cv_z_nodelete
=yes
6035 as_fn_error $?
"linker with -z nodelete support required" "$LINENO" 5
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
6038 $as_echo "$libc_linker_feature" >&6; }
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z nodlopen" >&5
6041 $as_echo_n "checking for linker that supports -z nodlopen... " >&6; }
6042 libc_linker_feature
=no
6043 if test x
"$gnu_ld" = x
"yes"; then
6044 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z nodlopen"`
6045 if test -n "$libc_linker_check"; then
6046 cat > conftest.c
<<EOF
6047 int _start (void) { return 42; }
6049 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6050 -Wl,--enable-new-dtags,-z,nodlopen -nostdlib -nostartfiles
6051 -fPIC -shared -o conftest.so conftest.c
6053 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6057 test $ac_status = 0; }; }
6059 libc_linker_feature
=yes
6064 if test $libc_linker_feature = yes; then
6065 libc_cv_z_nodlopen
=yes
6067 as_fn_error $?
"linker with -z nodlopen support required" "$LINENO" 5
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
6070 $as_echo "$libc_linker_feature" >&6; }
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z initfirst" >&5
6073 $as_echo_n "checking for linker that supports -z initfirst... " >&6; }
6074 libc_linker_feature
=no
6075 if test x
"$gnu_ld" = x
"yes"; then
6076 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z initfirst"`
6077 if test -n "$libc_linker_check"; then
6078 cat > conftest.c
<<EOF
6079 int _start (void) { return 42; }
6081 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6082 -Wl,--enable-new-dtags,-z,initfirst -nostdlib -nostartfiles
6083 -fPIC -shared -o conftest.so conftest.c
6085 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089 test $ac_status = 0; }; }
6091 libc_linker_feature
=yes
6096 if test $libc_linker_feature = yes; then
6097 libc_cv_z_initfirst
=yes
6099 as_fn_error $?
"linker with -z initfirst support required" "$LINENO" 5
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
6102 $as_echo "$libc_linker_feature" >&6; }
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bgroup option" >&5
6105 $as_echo_n "checking for -Bgroup option... " >&6; }
6106 if ${libc_cv_Bgroup+:} false
; then :
6107 $as_echo_n "(cached) " >&6
6109 cat > conftest.c
<<EOF
6110 int _start (void) { return 42; }
6112 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6113 -fPIC -shared -o conftest.so conftest.c
6114 -Wl,-Bgroup -nostdlib 1>&5'
6115 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6119 test $ac_status = 0; }; }
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_Bgroup" >&5
6128 $as_echo "$libc_cv_Bgroup" >&6; }
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
6133 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6134 if ${libc_cv_as_noexecstack+:} false
; then :
6135 $as_echo_n "(cached) " >&6
6137 cat > conftest.c
<<EOF
6140 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6141 -S -o conftest.s conftest.c 1>&5'
6142 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6146 test $ac_status = 0; }; } \
6147 && grep .note.GNU-stack conftest.s
>/dev
/null \
6148 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6149 -c -o conftest.o conftest.s 1>&5'
6150 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6154 test $ac_status = 0; }; }
6156 libc_cv_as_noexecstack
=yes
6158 libc_cv_as_noexecstack
=no
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
6163 $as_echo "$libc_cv_as_noexecstack" >&6; }
6164 if test $libc_cv_as_noexecstack = yes; then
6165 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z combreloc" >&5
6170 $as_echo_n "checking for -z combreloc... " >&6; }
6171 if ${libc_cv_z_combreloc+:} false
; then :
6172 $as_echo_n "(cached) " >&6
6174 cat > conftest.c
<<EOF
6175 extern int bar (int);
6177 int foo (void) { return bar (mumble); }
6179 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6180 -fPIC -shared -o conftest.so conftest.c
6181 -nostdlib -nostartfiles
6182 -Wl,-z,combreloc 1>&5'
6183 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6187 test $ac_status = 0; }; }
6189 if $READELF -S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6190 libc_cv_z_combreloc
=yes
6192 libc_cv_z_combreloc
=no
6195 libc_cv_z_combreloc
=no
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_combreloc" >&5
6200 $as_echo "$libc_cv_z_combreloc" >&6; }
6201 if test "$libc_cv_z_combreloc" = yes; then
6202 $as_echo "#define HAVE_Z_COMBRELOC 1" >>confdefs.h
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z execstack" >&5
6208 $as_echo_n "checking for linker that supports -z execstack... " >&6; }
6209 libc_linker_feature
=no
6210 if test x
"$gnu_ld" = x
"yes"; then
6211 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z execstack"`
6212 if test -n "$libc_linker_check"; then
6213 cat > conftest.c
<<EOF
6214 int _start (void) { return 42; }
6216 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6217 -Wl,-z,execstack -nostdlib -nostartfiles
6218 -fPIC -shared -o conftest.so conftest.c
6220 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6224 test $ac_status = 0; }; }
6226 libc_linker_feature
=yes
6231 if test $libc_linker_feature = yes; then
6232 libc_cv_z_execstack
=yes
6234 libc_cv_z_execstack
=no
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
6237 $as_echo "$libc_linker_feature" >&6; }
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
6241 $as_echo_n "checking for -fpie... " >&6; }
6242 if ${libc_cv_fpie+:} false
; then :
6243 $as_echo_n "(cached) " >&6
6245 if { ac_try
='${CC-cc} -fpie -xc /dev/null -S -o /dev/null'
6246 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6250 test $ac_status = 0; }; }; then :
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
6258 $as_echo "$libc_cv_fpie" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style option" >&5
6263 $as_echo_n "checking for --hash-style option... " >&6; }
6264 if ${libc_cv_hashstyle+:} false
; then :
6265 $as_echo_n "(cached) " >&6
6267 cat > conftest.c
<<EOF
6268 int _start (void) { return 42; }
6270 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6271 -fPIC -shared -o conftest.so conftest.c
6272 -Wl,--hash-style=both -nostdlib 1>&5'
6273 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6277 test $ac_status = 0; }; }
6279 libc_cv_hashstyle
=yes
6281 libc_cv_hashstyle
=no
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hashstyle" >&5
6286 $as_echo "$libc_cv_hashstyle" >&6; }
6289 # The linker's default -shared behavior is good enough if it
6290 # does these things that our custom linker scripts ensure that
6291 # all allocated NOTE sections come first.
6292 if test "$use_default_link" = default
; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sufficient default -shared layout" >&5
6294 $as_echo_n "checking for sufficient default -shared layout... " >&6; }
6295 if ${libc_cv_use_default_link+:} false
; then :
6296 $as_echo_n "(cached) " >&6
6298 libc_cv_use_default_link
=no
6299 cat > conftest.s
<<\EOF
6300 .section .note.a
,"a",%note
6305 .section .note.b
,"a",%note
6311 if { ac_try
=' ${CC-cc} $ASFLAGS -shared -o conftest.so conftest.s 1>&5'
6312 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6316 test $ac_status = 0; }; } &&
6317 ac_try
=`$READELF -S conftest.so | sed -n \
6319 s/^ *\[ *[1-9][0-9]*\] *\([^ ][^ ]*\) *\([^ ][^ ]*\) .*$/\2 \1/
6325 libc_seen_a
=no libc_seen_b
=no
6327 while test $# -ge 2 -a "$1" = NOTE
; do
6329 .note.a
) libc_seen_a
=yes ;;
6330 .note.b
) libc_seen_b
=yes ;;
6334 case "$libc_seen_a$libc_seen_b" in
6336 libc_cv_use_default_link
=yes
6340 $libc_seen_a$libc_seen_b from:
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_use_default_link" >&5
6348 $as_echo "$libc_cv_use_default_link" >&6; }
6349 use_default_link
=$libc_cv_use_default_link
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker output format" >&5
6353 $as_echo_n "checking linker output format... " >&6; }
6354 if ${libc_cv_output_format+:} false
; then :
6355 $as_echo_n "(cached) " >&6
6357 if libc_cv_output_format
=`
6358 ${CC-cc} -nostartfiles -nostdlib -Wl,--print-output-format 2>&5`
6362 libc_cv_output_format
=
6364 test -n "$libc_cv_output_format" || libc_cv_output_format
=unknown
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_output_format" >&5
6367 $as_echo "$libc_cv_output_format" >&6; }
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6371 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6372 if ${libc_cv_fno_toplevel_reorder+:} false
; then :
6373 $as_echo_n "(cached) " >&6
6375 cat > conftest.c
<<EOF
6378 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6380 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384 test $ac_status = 0; }; }
6386 libc_cv_fno_toplevel_reorder
=yes
6388 libc_cv_fno_toplevel_reorder
=no
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fno_toplevel_reorder" >&5
6393 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6394 if test $libc_cv_fno_toplevel_reorder = yes; then
6395 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6397 fno_unit_at_a_time
=-fno-unit-at-a-time
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
6402 $as_echo_n "checking for -fstack-protector... " >&6; }
6403 if ${libc_cv_ssp+:} false
; then :
6404 $as_echo_n "(cached) " >&6
6406 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector -xc /dev/null -S -o /dev/null'
6407 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6411 test $ac_status = 0; }; }; then :
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
6419 $as_echo "$libc_cv_ssp" >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fgnu89-inline" >&5
6423 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6424 if ${libc_cv_gnu89_inline+:} false
; then :
6425 $as_echo_n "(cached) " >&6
6427 cat > conftest.c
<<EOF
6429 #ifdef __GNUC_GNU_INLINE__
6430 main () { return 0;}
6435 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6436 -o conftest.s conftest.c 1>&5'
6437 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6441 test $ac_status = 0; }; }
6443 libc_cv_gnu89_inline
=yes
6445 libc_cv_gnu89_inline
=no
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gnu89_inline" >&5
6450 $as_echo "$libc_cv_gnu89_inline" >&6; }
6451 if test $libc_cv_gnu89_inline = yes; then
6452 gnu89_inline
=-fgnu89-inline
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
6459 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6460 if ${libc_cv_have_section_quotes+:} false
; then :
6461 $as_echo_n "(cached) " >&6
6463 cat > conftest.c
<<EOF
6464 static const int foo
6465 __attribute__ ((section ("bar"))) = 1;
6467 if ${CC-cc} -S conftest.c
-o conftest.s
; then
6468 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
6469 libc_cv_have_section_quotes
=yes
6471 libc_cv_have_section_quotes
=no
6474 libc_cv_have_section_quotes
=unknown
6476 rm -f conftest.
{c
,s
}
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
6480 $as_echo "$libc_cv_have_section_quotes" >&6; }
6481 if test $libc_cv_have_section_quotes = yes; then
6482 $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weak directive" >&5
6487 $as_echo_n "checking for assembler .weak directive... " >&6; }
6488 if ${libc_cv_asm_weak_directive+:} false
; then :
6489 $as_echo_n "(cached) " >&6
6491 cat > conftest.s
<<EOF
6496 .weak bar; bar = foo
6498 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6499 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6503 test $ac_status = 0; }; }; then
6504 libc_cv_asm_weak_directive
=yes
6506 libc_cv_asm_weak_directive
=no
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weak_directive" >&5
6511 $as_echo "$libc_cv_asm_weak_directive" >&6; }
6513 if test $libc_cv_asm_weak_directive = no
; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weakext directive" >&5
6515 $as_echo_n "checking for assembler .weakext directive... " >&6; }
6516 if ${libc_cv_asm_weakext_directive+:} false
; then :
6517 $as_echo_n "(cached) " >&6
6519 cat > conftest.s
<<EOF
6528 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6529 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6533 test $ac_status = 0; }; }; then
6534 libc_cv_asm_weakext_directive
=yes
6536 libc_cv_asm_weakext_directive
=no
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weakext_directive" >&5
6541 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
6545 if test $libc_cv_asm_weak_directive = yes; then
6546 $as_echo "#define HAVE_ASM_WEAK_DIRECTIVE 1" >>confdefs.h
6548 elif test $libc_cv_asm_weakext_directive = yes; then
6549 $as_echo "#define HAVE_ASM_WEAKEXT_DIRECTIVE 1" >>confdefs.h
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --no-whole-archive" >&5
6554 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
6555 if ${libc_cv_ld_no_whole_archive+:} false
; then :
6556 $as_echo_n "(cached) " >&6
6558 cat > conftest.c
<<\EOF
6563 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6564 -nostdlib -nostartfiles -Wl,--no-whole-archive
6565 -o conftest conftest.c 1>&5'
6566 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6570 test $ac_status = 0; }; }; then
6571 libc_cv_ld_no_whole_archive
=yes
6573 libc_cv_ld_no_whole_archive
=no
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_no_whole_archive" >&5
6578 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
6579 if test $libc_cv_ld_no_whole_archive = no
; then
6580 as_fn_error $?
"support for --no-whole-archive is needed" "$LINENO" 5
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc -fexceptions" >&5
6584 $as_echo_n "checking for gcc -fexceptions... " >&6; }
6585 if ${libc_cv_gcc_exceptions+:} false
; then :
6586 $as_echo_n "(cached) " >&6
6588 cat > conftest.c
<<\EOF
6593 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6594 -nostdlib -nostartfiles -fexceptions
6595 -o conftest conftest.c 1>&5'
6596 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6600 test $ac_status = 0; }; }; then
6601 libc_cv_gcc_exceptions
=yes
6603 libc_cv_gcc_exceptions
=no
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_exceptions" >&5
6608 $as_echo "$libc_cv_gcc_exceptions" >&6; }
6609 if test $libc_cv_gcc_exceptions = yes; then
6610 exceptions
=-fexceptions
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
6614 $as_echo_n "checking for __builtin_memset... " >&6; }
6615 if ${libc_cv_gcc_builtin_memset+:} false
; then :
6616 $as_echo_n "(cached) " >&6
6618 cat > conftest.c
<<\EOF
6621 __builtin_memset
(x
, 0, 1000);
6624 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
6625 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629 test $ac_status = 0; }; };
6631 libc_cv_gcc_builtin_memset
=no
6633 libc_cv_gcc_builtin_memset
=yes
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
6638 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
6639 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6640 $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
6645 $as_echo_n "checking for redirection of built-in functions... " >&6; }
6646 if ${libc_cv_gcc_builtin_redirection+:} false
; then :
6647 $as_echo_n "(cached) " >&6
6649 cat > conftest.c
<<\EOF
6650 extern char
*strstr
(const char
*, const char
*) __asm
("my_strstr");
6651 char
*foo
(const char
*a
, const char
*b
)
6653 return __builtin_strstr
(a
, b
);
6656 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
6657 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6661 test $ac_status = 0; }; };
6663 libc_cv_gcc_builtin_redirection
=yes
6665 libc_cv_gcc_builtin_redirection
=no
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
6670 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
6671 if test "$libc_cv_gcc_builtin_redirection" = no
; then
6672 as_fn_error $?
"support for the symbol redirection needed" "$LINENO" 5
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
6676 $as_echo_n "checking for __thread... " >&6; }
6677 if ${libc_cv_gcc___thread+:} false
; then :
6678 $as_echo_n "(cached) " >&6
6680 cat > conftest.c
<<\EOF
6681 __thread int a
= 42;
6683 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
6684 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6688 test $ac_status = 0; }; }; then
6689 libc_cv_gcc___thread
=yes
6691 libc_cv_gcc___thread
=no
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc___thread" >&5
6696 $as_echo "$libc_cv_gcc___thread" >&6; }
6697 if test "$libc_cv_gcc___thread" = no
; then
6698 as_fn_error $?
"support for the __thread keyword is required" "$LINENO" 5
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tls_model attribute" >&5
6702 $as_echo_n "checking for tls_model attribute... " >&6; }
6703 if ${libc_cv_gcc_tls_model_attr+:} false
; then :
6704 $as_echo_n "(cached) " >&6
6706 cat > conftest.c
<<\EOF
6707 extern __thread int a __attribute__
((tls_model
("initial-exec")));
6709 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
6710 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6714 test $ac_status = 0; }; }; then
6715 libc_cv_gcc_tls_model_attr
=yes
6717 libc_cv_gcc_tls_model_attr
=no
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_tls_model_attr" >&5
6722 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
6723 if test "$libc_cv_gcc_tls_model_attr" = no
; then
6724 as_fn_error $?
"support for the tls_model attribute is required" "$LINENO" 5
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to disable generation of FMA instructions" >&5
6728 $as_echo_n "checking for compiler option to disable generation of FMA instructions... " >&6; }
6729 if ${libc_cv_cc_nofma+:} false
; then :
6730 $as_echo_n "(cached) " >&6
6733 for opt
in -ffp-contract=off
-mno-fused-madd; do
6734 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6735 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6739 test $ac_status = 0; }; }; then :
6740 libc_cv_cc_nofma
=$opt; break
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_nofma" >&5
6745 $as_echo "$libc_cv_cc_nofma" >&6; }
6748 if test -n "$submachine"; then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
6750 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
6751 if ${libc_cv_cc_submachine+:} false
; then :
6752 $as_echo_n "(cached) " >&6
6754 libc_cv_cc_submachine
=no
6755 for opt
in "-march=$submachine" "-mcpu=$submachine"; do
6756 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6757 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6761 test $ac_status = 0; }; }; then :
6763 libc_cv_cc_submachine
="$opt"
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
6769 $as_echo "$libc_cv_cc_submachine" >&6; }
6770 if test "x$libc_cv_cc_submachine" = xno
; then
6771 as_fn_error $?
"${CC-cc} does not support $submachine" "$LINENO" 5
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6777 __attribute__ ((__optimize__))" >&5
6778 $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6779 __attribute__ ((__optimize__))... " >&6; }
6780 if ${libc_cv_cc_loop_to_function+:} false
; then :
6781 $as_echo_n "(cached) " >&6
6783 cat > conftest.c
<<EOF
6785 __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
6788 libc_cv_cc_loop_to_function
=no
6789 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c'
6790 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6794 test $ac_status = 0; }; }
6796 libc_cv_cc_loop_to_function
=yes
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_loop_to_function" >&5
6801 $as_echo "$libc_cv_cc_loop_to_function" >&6; }
6802 if test $libc_cv_cc_loop_to_function = yes; then
6803 $as_echo "#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
6809 $as_echo_n "checking for libgd... " >&6; }
6810 if test "$with_gd" != "no"; then
6811 old_CFLAGS
="$CFLAGS"
6812 CFLAGS
="$CFLAGS $libgd_include"
6813 old_LDFLAGS
="$LDFLAGS"
6814 LDFLAGS
="$LDFLAGS $libgd_ldflags"
6816 LIBS
="$LIBS -lgd -lpng -lz -lm"
6817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6818 /* end confdefs.h. */
6828 if ac_fn_c_try_link
"$LINENO"; then :
6833 rm -f core conftest.err conftest.
$ac_objext \
6834 conftest
$ac_exeext conftest.
$ac_ext
6835 CFLAGS
="$old_CFLAGS"
6836 LDFLAGS
="$old_LDFLAGS"
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
6842 $as_echo "$LIBGD" >&6; }
6846 if test x
$with_selinux = xno
; then
6849 # See if we have the SELinux library
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
6851 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
6852 if ${ac_cv_lib_selinux_is_selinux_enabled+:} false
; then :
6853 $as_echo_n "(cached) " >&6
6855 ac_check_lib_save_LIBS
=$LIBS
6856 LIBS
="-lselinux $LIBS"
6857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6858 /* end confdefs.h. */
6860 /* Override any GCC internal prototype to avoid an error.
6861 Use char because int might match the return type of a GCC
6862 builtin and then its argument prototype would still apply. */
6866 char is_selinux_enabled ();
6870 return is_selinux_enabled ();
6875 if ac_fn_c_try_link
"$LINENO"; then :
6876 ac_cv_lib_selinux_is_selinux_enabled
=yes
6878 ac_cv_lib_selinux_is_selinux_enabled
=no
6880 rm -f core conftest.err conftest.
$ac_objext \
6881 conftest
$ac_exeext conftest.
$ac_ext
6882 LIBS
=$ac_check_lib_save_LIBS
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
6885 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
6886 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes
; then :
6892 if test x
$with_selinux = xyes
; then
6893 if test x
$have_selinux = xno
; then
6894 as_fn_error $?
"SELinux explicitly required, but SELinux library not found" "$LINENO" 5
6898 # Check if we're building with SELinux support.
6899 if test "x$have_selinux" = xyes
; then
6901 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
6904 # See if we have the libaudit library
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
6906 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
6907 if ${ac_cv_lib_audit_audit_log_user_avc_message+:} false
; then :
6908 $as_echo_n "(cached) " >&6
6910 ac_check_lib_save_LIBS
=$LIBS
6911 LIBS
="-laudit $LIBS"
6912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */
6915 /* Override any GCC internal prototype to avoid an error.
6916 Use char because int might match the return type of a GCC
6917 builtin and then its argument prototype would still apply. */
6921 char audit_log_user_avc_message ();
6925 return audit_log_user_avc_message ();
6930 if ac_fn_c_try_link
"$LINENO"; then :
6931 ac_cv_lib_audit_audit_log_user_avc_message
=yes
6933 ac_cv_lib_audit_audit_log_user_avc_message
=no
6935 rm -f core conftest.err conftest.
$ac_objext \
6936 conftest
$ac_exeext conftest.
$ac_ext
6937 LIBS
=$ac_check_lib_save_LIBS
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
6940 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
6941 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = xyes
; then :
6947 if test "x$have_libaudit" = xyes
; then
6949 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
6954 # See if we have the libcap library
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
6956 $as_echo_n "checking for cap_init in -lcap... " >&6; }
6957 if ${ac_cv_lib_cap_cap_init+:} false
; then :
6958 $as_echo_n "(cached) " >&6
6960 ac_check_lib_save_LIBS
=$LIBS
6962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6965 /* Override any GCC internal prototype to avoid an error.
6966 Use char because int might match the return type of a GCC
6967 builtin and then its argument prototype would still apply. */
6980 if ac_fn_c_try_link
"$LINENO"; then :
6981 ac_cv_lib_cap_cap_init
=yes
6983 ac_cv_lib_cap_cap_init
=no
6985 rm -f core conftest.err conftest.
$ac_objext \
6986 conftest
$ac_exeext conftest.
$ac_ext
6987 LIBS
=$ac_check_lib_save_LIBS
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
6990 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
6991 if test "x$ac_cv_lib_cap_cap_init" = xyes
; then :
6997 if test "x$have_libcap" = xyes
; then
6999 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
7007 # The cast to long int works around a bug in the HP C Compiler
7008 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7009 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7010 # This bug is HP SR number 8606223364.
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
7012 $as_echo_n "checking size of long double... " >&6; }
7013 if ${ac_cv_sizeof_long_double+:} false
; then :
7014 $as_echo_n "(cached) " >&6
7016 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
7019 if test "$ac_cv_type_long_double" = yes; then
7020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7022 as_fn_error
77 "cannot compute sizeof (long double)
7023 See \`config.log' for more details" "$LINENO" 5; }
7025 ac_cv_sizeof_long_double
=0
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
7031 $as_echo "$ac_cv_sizeof_long_double" >&6; }
7035 cat >>confdefs.h
<<_ACEOF
7036 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
7040 sizeof_long_double
=$ac_cv_sizeof_long_double
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FORTIFY_SOURCE predefine" >&5
7045 $as_echo_n "checking for _FORTIFY_SOURCE predefine... " >&6; }
7046 if ${libc_cv_predef_fortify_source+:} false
; then :
7047 $as_echo_n "(cached) " >&6
7049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h. */
7056 #ifdef _FORTIFY_SOURCE
7063 if ac_fn_c_try_compile
"$LINENO"; then :
7064 libc_cv_predef_fortify_source
=no
7066 libc_cv_predef_fortify_source
=yes
7068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_fortify_source" >&5
7071 $as_echo "$libc_cv_predef_fortify_source" >&6; }
7072 if test $libc_cv_predef_fortify_source = yes; then
7073 CPPUNDEFS
="${CPPUNDEFS:+$CPPUNDEFS }-U_FORTIFY_SOURCE"
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implicitly enables -fstack-protector" >&5
7078 $as_echo_n "checking whether $CC implicitly enables -fstack-protector... " >&6; }
7079 if ${libc_cv_predef_stack_protector+:} false
; then :
7080 $as_echo_n "(cached) " >&6
7083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7084 /* end confdefs.h. */
7085 extern void foobar (char *);
7089 char large_array[2048]; foobar (large_array);
7094 if ac_fn_c_try_compile
"$LINENO"; then :
7096 libc_undefs
=`$NM -u conftest.o |
7097 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
7099 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
7101 echo >&5 "libc_undefs='$libc_undefs'"
7102 # On some architectures, there are architecture-specific undefined
7103 # symbols (resolved by the linker), so filter out unknown symbols.
7104 # This will fail to produce the correct result if the compiler
7105 # defaults to -fstack-protector but this produces an undefined symbol
7106 # other than __stack_chk_fail. However, compilers like that have not
7107 # been encountered in practice.
7108 libc_undefs
=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail)$'`
7109 case "$libc_undefs" in
7110 foobar
) libc_cv_predef_stack_protector
=no
;;
7112 foobar') libc_cv_predef_stack_protector
=yes ;;
7113 *) as_fn_error $?
"unexpected symbols in test: $libc_undefs" "$LINENO" 5 ;;
7116 as_fn_error $?
"test compilation failed" "$LINENO" 5
7118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_stack_protector" >&5
7122 $as_echo "$libc_cv_predef_stack_protector" >&6; }
7124 if test $libc_cv_predef_stack_protector = yes; then
7125 libc_extra_cflags
="$libc_extra_cflags -fno-stack-protector"
7127 libc_extra_cppflags
=
7129 # Some linkers on some architectures support __ehdr_start but with
7130 # bugs. Make sure usage of it does not create relocations in the
7131 # output (as the linker should resolve them all for us).
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker provides working __ehdr_start" >&5
7133 $as_echo_n "checking whether the linker provides working __ehdr_start... " >&6; }
7134 if ${libc_cv_ehdr_start+:} false
; then :
7135 $as_echo_n "(cached) " >&6
7138 old_CFLAGS
="$CFLAGS"
7139 old_LDFLAGS
="$LDFLAGS"
7141 CFLAGS
="$CFLAGS -fPIC"
7142 LDFLAGS
="$LDFLAGS -nostdlib -nostartfiles -shared"
7144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7151 extern const Ehdr __ehdr_start __attribute__ ((visibility ("hidden")));
7152 long ehdr (void) { return __ehdr_start.val; }
7155 if ac_fn_c_try_link
"$LINENO"; then :
7156 if $READELF -r conftest | fgrep __ehdr_start
>/dev
/null
; then
7157 libc_cv_ehdr_start
=broken
7159 libc_cv_ehdr_start
=yes
7162 libc_cv_ehdr_start
=no
7164 rm -f core conftest.err conftest.
$ac_objext \
7165 conftest
$ac_exeext conftest.
$ac_ext
7166 CFLAGS
="$old_CFLAGS"
7167 LDFLAGS
="$old_LDFLAGS"
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ehdr_start" >&5
7172 $as_echo "$libc_cv_ehdr_start" >&6; }
7173 if test "$libc_cv_ehdr_start" = yes; then
7174 $as_echo "#define HAVE_EHDR_START 1" >>confdefs.h
7176 elif test "$libc_cv_ehdr_start" = broken
; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linker is broken -- you should upgrade" >&5
7178 $as_echo "$as_me: WARNING: linker is broken -- you should upgrade" >&2;}
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_trap with no external dependencies" >&5
7182 $as_echo_n "checking for __builtin_trap with no external dependencies... " >&6; }
7183 if ${libc_cv_builtin_trap+:} false
; then :
7184 $as_echo_n "(cached) " >&6
7186 libc_cv_builtin_trap
=no
7187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7188 /* end confdefs.h. */
7198 if ac_fn_c_try_compile
"$LINENO"; then :
7200 libc_undefs
=`$NM -u conftest.o |
7201 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
7203 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
7205 echo >&5 "libc_undefs='$libc_undefs'"
7206 if test -z "$libc_undefs"; then
7207 libc_cv_builtin_trap
=yes
7210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_builtin_trap" >&5
7213 $as_echo "$libc_cv_builtin_trap" >&6; }
7214 if test $libc_cv_builtin_trap = yes; then
7215 $as_echo "#define HAVE_BUILTIN_TRAP 1" >>confdefs.h
7220 ac_cpp
='$CXXCPP $CPPFLAGS'
7221 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports thread_local" >&5
7227 $as_echo_n "checking whether the C++ compiler supports thread_local... " >&6; }
7228 if ${libc_cv_cxx_thread_local+:} false
; then :
7229 $as_echo_n "(cached) " >&6
7232 old_CXXFLAGS
="$CXXFLAGS"
7233 CXXFLAGS
="$CXXFLAGS -std=gnu++11"
7234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7235 /* end confdefs.h. */
7239 // Compiler support.
7246 S * get () { return &s; }
7248 // libstdc++ support.
7249 #ifndef _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL
7250 #error __cxa_thread_atexit_impl not supported
7254 if ac_fn_cxx_try_compile
"$LINENO"; then :
7255 libc_cv_cxx_thread_local
=yes
7257 libc_cv_cxx_thread_local
=no
7259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7260 CXXFLAGS
="$old_CXXFLAGS"
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_thread_local" >&5
7264 $as_echo "$libc_cv_cxx_thread_local" >&6; }
7268 ac_cpp
='$CPP $CPPFLAGS'
7269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7274 ### End of automated tests.
7275 ### Now run sysdeps configure fragments.
7277 # They also can set these variables.
7279 ldd_rewrite_script
=no
7280 libc_cv_sysconfdir
=$sysconfdir
7281 libc_cv_localstatedir
=$localstatedir
7282 libc_cv_gcc_unwind_find_fde
=no
7285 # Iterate over all the sysdep directories we will use, running their
7286 # configure fragments.
7287 for dir
in $sysnames; do
7290 *) dest
=$srcdir/$dir ;;
7292 if test -r $dest/configure
; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
7294 $as_echo "running configure fragment for $dir" >&6; }
7299 if test x
"$build_mathvec" = xnotset
; then
7302 config_vars
="$config_vars
7303 build-mathvec = $build_mathvec"
7308 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
7309 $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
7314 # A sysdeps configure fragment can reset this if IFUNC is not actually
7315 # usable even though the assembler knows how to generate the symbol type.
7316 if test x
"$libc_cv_ld_gnu_indirect_function" = xyes
; then
7317 $as_echo "#define HAVE_IFUNC 1" >>confdefs.h
7321 # This is far from the AC_ARG_ENABLE that sets it so that a sysdeps
7322 # configure fragment can override the value to prevent this AC_DEFINE.
7324 if test "x$use_nscd" != xno
; then
7325 $as_echo "#define USE_NSCD 1" >>confdefs.h
7328 if test "x$build_nscd" = xdefault
; then
7329 build_nscd
=$use_nscd
7332 # Test for old glibc 2.0.x headers so that they can be removed properly
7333 # Search only in includedir.
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old glibc 2.0.x headers" >&5
7335 $as_echo_n "checking for old glibc 2.0.x headers... " >&6; }
7336 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
7338 old_glibc_headers
=yes
7340 old_glibc_headers
=no
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $old_glibc_headers" >&5
7343 $as_echo "$old_glibc_headers" >&6; }
7344 if test ${old_glibc_headers} = yes; then
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
7346 $as_echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** be removed." >&5
7348 $as_echo "$as_me: WARNING: *** be removed." >&2;}
7360 if test x
$use_ldconfig = xyes
; then
7361 $as_echo "#define USE_LDCONFIG 1" >>confdefs.h
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
7371 $as_echo_n "checking whether -fPIC is default... " >&6; }
7372 if ${libc_cv_pic_default+:} false
; then :
7373 $as_echo_n "(cached) " >&6
7375 libc_cv_pic_default
=yes
7376 cat > conftest.c
<<EOF
7377 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
7378 # error PIC is default.
7381 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7382 libc_cv_pic_default
=no
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
7387 $as_echo "$libc_cv_pic_default" >&6; }
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIE is default" >&5
7391 $as_echo_n "checking whether -fPIE is default... " >&6; }
7392 if ${libc_cv_pie_default+:} false
; then :
7393 $as_echo_n "(cached) " >&6
7395 libc_cv_pie_default
=yes
7396 cat > conftest.c
<<EOF
7397 #if defined __PIE__ || defined __pie__ || defined PIE || defined pie
7398 # error PIE is default.
7401 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7402 libc_cv_pie_default
=no
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pie_default" >&5
7407 $as_echo "$libc_cv_pie_default" >&6; }
7417 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
7418 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
7422 ac_config_files
="$ac_config_files config.make Makefile"
7424 ac_config_commands
="$ac_config_commands default"
7426 cat >confcache
<<\_ACEOF
7427 # This file is a shell script that caches the results of configure
7428 # tests run on this system so they can be shared between configure
7429 # scripts and configure runs, see configure's option --config-cache.
7430 # It is not useful on other systems. If it contains results you don't
7431 # want to keep, you may remove or edit it.
7433 # config.status only pays attention to the cache file if you give it
7434 # the --recheck option to rerun configure.
7436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7442 # The following way of writing the cache mishandles newlines in values,
7443 # but we know of no workaround that is simple, portable, and efficient.
7444 # So, we kill variables containing newlines.
7445 # Ultrix sh set writes to stderr and can't be redirected directly,
7446 # and sets the high bit in the cache file unless we assign to the vars.
7448 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7449 eval ac_val
=\$
$ac_var
7453 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7457 _ | IFS | as_nl
) ;; #(
7458 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7459 *) { eval $ac_var=; unset $ac_var;} ;;
7465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7466 *${as_nl}ac_space
=\
*)
7467 # `set' does not quote correctly, so add quotes: double-quote
7468 # substitution turns \\\\ into \\, and sed turns \\ into \.
7471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7474 # `set' quotes correctly as required by POSIX, so do not add quotes.
7475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7488 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7489 if test -w "$cache_file"; then
7490 if test "x$cache_file" != "x/dev/null"; then
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7492 $as_echo "$as_me: updating cache $cache_file" >&6;}
7493 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7494 cat confcache
>"$cache_file"
7496 case $cache_file in #(
7498 mv -f confcache
"$cache_file"$$
&&
7499 mv -f "$cache_file"$$
"$cache_file" ;; #(
7501 mv -f confcache
"$cache_file" ;;
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7507 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7512 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7513 # Let make expand exec_prefix.
7514 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7516 DEFS
=-DHAVE_CONFIG_H
7521 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7522 # 1. Remove the extension, and $U if already installed.
7523 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7524 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7525 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7526 # will be set to the directory where LIBOBJS objects are built.
7527 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7528 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7532 LTLIBOBJS
=$ac_ltlibobjs
7536 : "${CONFIG_STATUS=./config.status}"
7538 ac_clean_files_save
=$ac_clean_files
7539 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7541 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7543 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7545 # Generated by $as_me.
7546 # Run this file to recreate the current configuration.
7547 # Compiler output produced by configure, useful for debugging
7548 # configure, is in config.log if it exists.
7554 SHELL=\${CONFIG_SHELL-$SHELL}
7557 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7558 ## -------------------- ##
7559 ## M4sh Initialization. ##
7560 ## -------------------- ##
7562 # Be more Bourne compatible
7563 DUALCASE
=1; export DUALCASE
# for MKS sh
7564 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7567 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7568 # is contrary to our usage. Disable this feature.
7569 alias -g '${1+"$@"}'='"$@"'
7570 setopt NO_GLOB_SUBST
7572 case `(set -o) 2>/dev/null` in #(
7584 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7585 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7586 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7588 # Prefer a ksh shell builtin over an external printf program on Solaris,
7589 # but without wasting forks for bash or zsh.
7590 if test -z "$BASH_VERSION$ZSH_VERSION" \
7591 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7592 as_echo='print
-r --'
7593 as_echo_n='print
-rn --'
7594 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7595 as_echo='printf %s
\n'
7596 as_echo_n='printf %s
'
7598 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7599 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7600 as_echo_n='/usr
/ucb
/echo -n'
7602 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7603 as_echo_n_body='eval
7607 expr "X$arg" : "X\\(.*\\)$as_nl";
7608 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7610 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7612 export as_echo_n_body
7613 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7616 as_echo='sh
-c $as_echo_body as_echo
'
7619 # The user is always right.
7620 if test "${PATH_SEPARATOR+set}" != set; then
7622 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7623 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7630 # We need space, tab and new line, in precisely that order. Quoting is
7631 # there to prevent editors from complaining about space-tab.
7632 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7633 # splitting by setting IFS to empty value.)
7636 # Find who we are. Look in the path if we contain no directory separator.
7639 *[\\/]* ) as_myself=$0 ;;
7640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7644 test -z "$as_dir" && as_dir=.
7645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7651 # We did not find ourselves, most probably we were run as `sh COMMAND'
7652 # in which case we are not to be found in the path.
7653 if test "x$as_myself" = x
; then
7656 if test ! -f "$as_myself"; then
7657 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7661 # Unset variables that we do not need and which cause bugs (e.g. in
7662 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7663 # suppresses any "Segmentation fault" message there. '((' could
7664 # trigger a bug in pdksh 5.2.14.
7665 for as_var
in BASH_ENV ENV MAIL MAILPATH
7666 do eval test x\
${$as_var+set} = xset \
7667 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7680 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7683 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7684 # ----------------------------------------
7685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7687 # script with STATUS, using 1 if that was 0.
7690 as_status
=$1; test $as_status -eq 0 && as_status
=1
7692 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7693 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7695 $as_echo "$as_me: error: $2" >&2
7696 as_fn_exit
$as_status
7700 # as_fn_set_status STATUS
7701 # -----------------------
7702 # Set $? to STATUS, without forking.
7706 } # as_fn_set_status
7710 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7720 # Portably unset VAR.
7723 { eval $1=; unset $1;}
7725 as_unset
=as_fn_unset
7726 # as_fn_append VAR VALUE
7727 # ----------------------
7728 # Append the text in VALUE to the end of the definition contained in VAR. Take
7729 # advantage of any shell optimizations that allow amortized linear growth over
7730 # repeated appends, instead of the typical quadratic growth present in naive
7732 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7733 eval 'as_fn_append ()
7744 # as_fn_arith ARG...
7745 # ------------------
7746 # Perform arithmetic evaluation on the ARGs, and store the result in the
7747 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7748 # must be portable across $(()) and expr.
7749 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7750 eval 'as_fn_arith ()
7757 as_val
=`expr "$@" || test $? -eq 1`
7762 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7763 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7769 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7770 as_basename
=basename
7775 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7781 as_me
=`$as_basename -- "$0" ||
7782 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7783 X"$0" : 'X\(//\)$' \| \
7784 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7786 sed '/^.*\/\([^/][^/]*\)\/*$/{
7800 # Avoid depending upon Character Ranges.
7801 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7802 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7803 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7804 as_cr_digits
='0123456789'
7805 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7807 ECHO_C
= ECHO_N
= ECHO_T
=
7808 case `echo -n x` in #(((((
7810 case `echo 'xy\c'` in
7811 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7813 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7820 rm -f conf$$ conf$$.exe conf$$.
file
7821 if test -d conf$$.dir
; then
7822 rm -f conf$$.dir
/conf$$.
file
7825 mkdir conf$$.dir
2>/dev
/null
7827 if (echo >conf$$.
file) 2>/dev
/null
; then
7828 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7830 # ... but there are two gotchas:
7831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7833 # In both cases, we have to default to `cp -pR'.
7834 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7836 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7844 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7845 rmdir conf$$.dir
2>/dev
/null
7850 # Create "$as_dir" as a directory, including parents if necessary.
7855 -*) as_dir
=.
/$as_dir;;
7857 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7861 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7862 *) as_qdir
=$as_dir;;
7864 as_dirs
="'$as_qdir' $as_dirs"
7865 as_dir
=`$as_dirname -- "$as_dir" ||
7866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7867 X"$as_dir" : 'X\(//\)[^/]' \| \
7868 X"$as_dir" : 'X\(//\)$' \| \
7869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7870 $as_echo X"$as_dir" |
7871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7888 test -d "$as_dir" && break
7890 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7891 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7895 if mkdir
-p .
2>/dev
/null
; then
7896 as_mkdir_p
='mkdir -p "$as_dir"'
7898 test -d .
/-p && rmdir .
/-p
7903 # as_fn_executable_p FILE
7904 # -----------------------
7905 # Test if FILE is an executable regular file.
7906 as_fn_executable_p
()
7908 test -f "$1" && test -x "$1"
7909 } # as_fn_executable_p
7911 as_executable_p
=as_fn_executable_p
7913 # Sed expression to map a string onto a valid CPP name.
7914 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7916 # Sed expression to map a string onto a valid variable name.
7917 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7921 ## ----------------------------------- ##
7922 ## Main body of $CONFIG_STATUS script. ##
7923 ## ----------------------------------- ##
7925 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7928 # Save the log message, to keep $0 and so on meaningful, and to
7929 # report actual input values of CONFIG_FILES etc. instead of their
7930 # values after options handling.
7932 This file was extended by GNU C Library $as_me (see version.h), which was
7933 generated by GNU Autoconf 2.69. Invocation command line was
7935 CONFIG_FILES = $CONFIG_FILES
7936 CONFIG_HEADERS = $CONFIG_HEADERS
7937 CONFIG_LINKS = $CONFIG_LINKS
7938 CONFIG_COMMANDS = $CONFIG_COMMANDS
7941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7946 case $ac_config_files in *"
7947 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7950 case $ac_config_headers in *"
7951 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7956 # Files that config.status was made for.
7957 config_files="$ac_config_files"
7958 config_headers="$ac_config_headers"
7959 config_commands="$ac_config_commands"
7963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7965 \`$as_me' instantiates files and other configuration actions
7966 from templates according to the current configuration. Unless the files
7967 and actions are specified as TAGs, all are instantiated by default.
7969 Usage: $0 [OPTION]... [TAG]...
7971 -h, --help print this help, then exit
7972 -V, --version print version number and configuration settings, then exit
7973 --config print configuration, then exit
7974 -q, --quiet, --silent
7975 do not print progress messages
7976 -d, --debug don't remove temporary files
7977 --recheck update $as_me by reconfiguring in the same conditions
7978 --file=FILE[:TEMPLATE]
7979 instantiate the configuration file FILE
7980 --header=FILE[:TEMPLATE]
7981 instantiate the configuration header FILE
7983 Configuration files:
7986 Configuration headers:
7989 Configuration commands:
7992 Report bugs to <http://sourceware.org/bugzilla/>.
7993 GNU C Library home page: <http://www.gnu.org/software/glibc/>.
7994 General help using GNU software: <http://www.gnu.org/gethelp/>."
7997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7998 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8000 GNU C Library config.status (see version.h)
8001 configured by $0, generated by GNU Autoconf 2.69,
8002 with options \\"\$ac_cs_config\\"
8004 Copyright (C) 2012 Free Software Foundation, Inc.
8005 This config.status script is free software; the Free Software Foundation
8006 gives unlimited permission to copy, distribute and modify it."
8011 test -n "\$AWK" || AWK=awk
8014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8015 # The default lists apply if the user does not specify any file.
8021 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8022 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8026 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8038 # Handling of the options.
8039 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8041 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8042 $as_echo "$ac_cs_version"; exit ;;
8043 --config |
--confi |
--conf |
--con |
--co |
--c )
8044 $as_echo "$ac_cs_config"; exit ;;
8045 --debug |
--debu |
--deb |
--de |
--d |
-d )
8047 --file |
--fil |
--fi |
--f )
8050 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8051 '') as_fn_error $?
"missing file argument" ;;
8053 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8054 ac_need_defaults
=false
;;
8055 --header |
--heade |
--head |
--hea )
8058 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8060 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8061 ac_need_defaults
=false
;;
8063 # Conflict between --help and --header
8064 as_fn_error $?
"ambiguous option: \`$1'
8065 Try \`$0 --help' for more information.";;
8066 --help |
--hel |
-h )
8067 $as_echo "$ac_cs_usage"; exit ;;
8068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8069 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8073 -*) as_fn_error $?
"unrecognized option: \`$1'
8074 Try \`$0 --help' for more information." ;;
8076 *) as_fn_append ac_config_targets
" $1"
8077 ac_need_defaults
=false
;;
8083 ac_configure_extra_args
=
8085 if $ac_cs_silent; then
8087 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8092 if \$ac_cs_recheck; then
8093 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8095 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8096 CONFIG_SHELL='$SHELL'
8102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8106 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8107 ## Running $as_me. ##
8113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8117 config_vars='$config_vars'
8121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8123 # Handling of arguments.
8124 for ac_config_target
in $ac_config_targets
8126 case $ac_config_target in
8127 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8128 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
8129 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8130 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8132 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8137 # If the user did not use the arguments to specify the items to instantiate,
8138 # then the envvar interface is used. Set only those that are not.
8139 # We use the long form for the default assignment because of an extremely
8140 # bizarre bug on SunOS 4.1.3.
8141 if $ac_need_defaults; then
8142 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8143 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8144 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8147 # Have a temporary directory for convenience. Make it in the build tree
8148 # simply because there is no reason against having it here, and in addition,
8149 # creating and moving files from /tmp can sometimes cause problems.
8150 # Hook for its removal unless debugging.
8151 # Note that there is a small window in which the directory will not be cleaned:
8152 # after its creation but before its name has been assigned to `$tmp'.
8156 trap 'exit_status=$?
8158 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8160 trap 'as_fn_exit 1' 1 2 13 15
8162 # Create a (secure) tmp directory for tmp files.
8165 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8169 tmp
=.
/conf$$
-$RANDOM
8170 (umask 077 && mkdir
"$tmp")
8171 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8174 # Set up the scripts for CONFIG_FILES section.
8175 # No need to generate them if there are no CONFIG_FILES.
8176 # This happens for instance with `./config.status config.h'.
8177 if test -n "$CONFIG_FILES"; then
8180 ac_cr
=`echo X | tr X '\015'`
8181 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8182 # But we know of no other shell where ac_cr would be empty at this
8183 # point, so we can use a bashism as a fallback.
8184 if test "x$ac_cr" = x
; then
8185 eval ac_cr
=\$
\'\\r
\'
8187 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8188 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8194 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8199 echo "cat >conf$$subs.awk <<_ACEOF" &&
8200 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8203 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8204 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8206 for ac_last_try in false false false false false :; do
8207 . ./conf$$subs.sh ||
8208 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8210 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8211 if test $ac_delim_n = $ac_delim_num; then
8213 elif $ac_last_try; then
8214 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8216 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8222 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8226 s/^/S["/; s
/!.
*/"]=/
8236 s/\(.\{148\}\)..*/\1/
8238 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8243 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8250 s/\(.\{148\}\)..*/\1/
8252 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8256 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8261 ' <conf$$subs.awk | sed '
8266 ' >>$CONFIG_STATUS || ac_write_fail=1
8267 rm -f conf$$subs.awk
8268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8270 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8271 for (key in S) S_is_set[key] = 1
8277 nfields = split(line, field, "@
")
8279 len = length(field[1])
8280 for (i = 2; i < nfields; i++) {
8282 keylen = length(key)
8283 if (S_is_set[key]) {
8285 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8286 len += length(value) + length(field[++i])
8297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8298 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8299 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8302 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8303 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8306 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8307 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8308 # trailing colons and then remove the whole line if VPATH becomes empty
8309 # (actually we leave an empty line to preserve line numbers).
8310 if test "x
$srcdir" = x.; then
8311 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8330 fi # test -n "$CONFIG_FILES"
8332 # Set up the scripts for CONFIG_HEADERS section.
8333 # No need to generate them if there are no CONFIG_HEADERS.
8334 # This happens for instance with `./config.status Makefile'.
8335 if test -n "$CONFIG_HEADERS"; then
8336 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8340 # Transform confdefs.h into an awk script `defines.awk', embedded as
8341 # here-document in config.status, that substitutes the proper values into
8342 # config.h.in to produce config.h.
8344 # Create a delimiter string that does not exist in confdefs.h, to ease
8345 # handling of long lines.
8347 for ac_last_try in false false :; do
8348 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8349 if test -z "$ac_tt"; then
8351 elif $ac_last_try; then
8352 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8354 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8358 # For the awk script, D is an array of macro values keyed by name,
8359 # likewise P contains macro parameters if any. Preserve backslash
8360 # newline sequences.
8362 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8364 s/.\{148\}/&'"$ac_delim"'/g
8367 s/^[ ]*#[ ]*define[ ][ ]*/ /
8374 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8376 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8380 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8381 D["\
1"]=" \
3\\\\\\n
"\\/p
8383 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8388 s/.\{148\}/&'"$ac_delim"'/g
8393 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8396 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8398 ' <confdefs.h | sed '
8399 s/'"$ac_delim"'/"\\\
8400 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8403 for (key in D) D_is_set[key] = 1
8406 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8408 split(line, arg, " ")
8409 if (arg[1] == "#") {
8413 defundef
= substr
(arg
[1], 2)
8416 split(mac1
, mac2
, "(") #)
8418 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8419 if (D_is_set
[macro
]) {
8420 # Preserve the white space surrounding the "#".
8421 print prefix
"define", macro P
[macro
] D
[macro
]
8424 # Replace #undef with comments. This is necessary, for example,
8425 # in the case of _POSIX_SOURCE, which is predefined and required
8426 # on some systems where configure will not decide to define it.
8427 if (defundef
== "undef") {
8428 print
"/*", prefix defundef
, macro
, "*/"
8436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8437 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8438 fi # test -n "$CONFIG_HEADERS"
8441 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8446 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8448 case $ac_mode$ac_tag in
8450 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8451 :[FH
]-) ac_tag
=-:-;;
8452 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8469 -) ac_f
="$ac_tmp/stdin";;
8470 *) # Look for the file first in the build tree, then in the source tree
8471 # (if the path is not absolute). The absolute path cannot be DOS-style,
8472 # because $ac_f cannot contain `:'.
8476 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8478 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8480 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8481 as_fn_append ac_file_inputs
" '$ac_f'"
8484 # Let's still pretend it is `configure' which instantiates (i.e., don't
8485 # use $as_me), people would be surprised to read:
8486 # /* config.h. Generated by config.status. */
8487 configure_input
='Generated from '`
8488 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8490 if test x
"$ac_file" != x-
; then
8491 configure_input
="$ac_file. $configure_input"
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8493 $as_echo "$as_me: creating $ac_file" >&6;}
8495 # Neutralize special characters interpreted by sed in replacement strings.
8496 case $configure_input in #(
8497 *\
&* |
*\|
* |
*\\* )
8498 ac_sed_conf_input
=`$as_echo "$configure_input" |
8499 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8500 *) ac_sed_conf_input
=$configure_input;;
8504 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8505 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8510 ac_dir
=`$as_dirname -- "$ac_file" ||
8511 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8512 X"$ac_file" : 'X\(//\)[^/]' \| \
8513 X"$ac_file" : 'X\(//\)$' \| \
8514 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8515 $as_echo X"$ac_file" |
8516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8533 as_dir
="$ac_dir"; as_fn_mkdir_p
8537 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8539 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8540 # A ".." for each directory in $ac_dir_suffix.
8541 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8542 case $ac_top_builddir_sub in
8543 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8544 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8547 ac_abs_top_builddir
=$ac_pwd
8548 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8549 # for backward compatibility:
8550 ac_top_builddir
=$ac_top_build_prefix
8553 .
) # We are building in place.
8555 ac_top_srcdir
=$ac_top_builddir_sub
8556 ac_abs_top_srcdir
=$ac_pwd ;;
8557 [\\/]* | ?
:[\\/]* ) # Absolute name.
8558 ac_srcdir
=$srcdir$ac_dir_suffix;
8559 ac_top_srcdir
=$srcdir
8560 ac_abs_top_srcdir
=$srcdir ;;
8562 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8563 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8564 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8566 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8576 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8577 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8582 # If the template does not know about datarootdir, expand it.
8583 # FIXME: This hack should be removed a few years after 2.60.
8584 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8595 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8596 *datarootdir
*) ac_datarootdir_seen
=yes;;
8597 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8599 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8602 ac_datarootdir_hack='
8603 s&@datadir@&$datadir&g
8604 s&@docdir@&$docdir&g
8605 s&@infodir@&$infodir&g
8606 s&@localedir@&$localedir&g
8607 s&@mandir@&$mandir&g
8608 s&\\\${datarootdir}&$datarootdir&g' ;;
8612 # Neutralize VPATH when `$srcdir' = `.'.
8613 # Shell code in configure.ac might set extrasub.
8614 # FIXME: do we really want to maintain this feature?
8615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8616 ac_sed_extra="$ac_vpsub
8619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8621 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8622 s|@configure_input@|
$ac_sed_conf_input|
;t t
8623 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8624 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8625 s
&@srcdir@
&$ac_srcdir&;t t
8626 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8627 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8628 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8629 s
&@builddir@
&$ac_builddir&;t t
8630 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8631 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8632 s
&@INSTALL@
&$ac_INSTALL&;t t
8633 $ac_datarootdir_hack
8635 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8636 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8638 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8639 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8640 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8641 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8643 which seems to be undefined. Please make sure it is defined" >&5
8644 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8645 which seems to be undefined. Please make sure it is defined" >&2;}
8647 rm -f "$ac_tmp/stdin"
8649 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8650 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8652 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8658 if test x"$ac_file" != x-; then
8660 $as_echo "/* $configure_input */" \
8661 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8662 } >"$ac_tmp/config.h" \
8663 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8664 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8666 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8669 mv "$ac_tmp/config.h" "$ac_file" \
8670 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8673 $as_echo "/* $configure_input */" \
8674 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8675 || as_fn_error $? "could not create -" "$LINENO" 5
8679 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8680 $as_echo "$as_me: executing $ac_file commands" >&6;}
8685 case $ac_file$ac_mode in
8687 case $CONFIG_FILES in *config.make*)
8688 echo "$config_vars" >> config.make;;
8690 test -d bits || mkdir bits ;;
8698 ac_clean_files=$ac_clean_files_save
8700 test $ac_write_fail = 0 ||
8701 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8704 # configure is writing to config.log, and then calls config.status.
8705 # config.status does its own redirection, appending to config.log.
8706 # Unfortunately, on DOS this fails, as config.log is still kept open
8707 # by configure, so config.status won't be able to
write to it
; its
8708 # output is simply discarded. So we exec the FD to /dev/null,
8709 # effectively closing config.log, so it can be properly (re)opened and
8710 # appended to by config.status. When coming back to configure, we
8711 # need to make the FD available again.
8712 if test "$no_create" != yes; then
8714 ac_config_status_args
=
8715 test "$silent" = yes &&
8716 ac_config_status_args
="$ac_config_status_args --quiet"
8718 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8720 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8721 # would make configure fail if this is the last instruction.
8722 $ac_cs_success || as_fn_exit
1
8726 # CONFIG_SUBDIRS section.
8728 if test "$no_recursion" != yes; then
8730 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8731 # so they do not pile up.
8732 ac_sub_configure_args
=
8734 eval "set x $ac_configure_args"
8738 if test -n "$ac_prev"; then
8743 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8744 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8745 ac_prev
=cache_file
;;
8746 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8747 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8750 --config-cache |
-C)
8752 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8754 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8756 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8758 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8760 --disable-option-checking)
8764 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8766 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
8770 # Always prepend --prefix to ensure using the same prefix
8771 # in subdir configurations.
8772 ac_arg
="--prefix=$prefix"
8774 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8776 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8779 if test "$silent" = yes; then
8780 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8783 # Always prepend --disable-option-checking to silence warnings, since
8784 # different subdirs can have different --enable and --with options.
8785 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
8788 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8790 # Do not complain, so a configure script can configure whichever
8791 # parts of a large source tree are present.
8792 test -d "$srcdir/$ac_dir" ||
continue
8794 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8795 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8796 $as_echo "$ac_msg" >&6
8797 as_dir
="$ac_dir"; as_fn_mkdir_p
8801 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8803 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8804 # A ".." for each directory in $ac_dir_suffix.
8805 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8806 case $ac_top_builddir_sub in
8807 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8808 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8811 ac_abs_top_builddir
=$ac_pwd
8812 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8813 # for backward compatibility:
8814 ac_top_builddir
=$ac_top_build_prefix
8817 .
) # We are building in place.
8819 ac_top_srcdir
=$ac_top_builddir_sub
8820 ac_abs_top_srcdir
=$ac_pwd ;;
8821 [\\/]* | ?
:[\\/]* ) # Absolute name.
8822 ac_srcdir
=$srcdir$ac_dir_suffix;
8823 ac_top_srcdir
=$srcdir
8824 ac_abs_top_srcdir
=$srcdir ;;
8826 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8827 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8828 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8830 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8835 # Check for guested configure; otherwise get Cygnus style configure.
8836 if test -f "$ac_srcdir/configure.gnu"; then
8837 ac_sub_configure
=$ac_srcdir/configure.gnu
8838 elif test -f "$ac_srcdir/configure"; then
8839 ac_sub_configure
=$ac_srcdir/configure
8840 elif test -f "$ac_srcdir/configure.in"; then
8841 # This should be Cygnus configure.
8842 ac_sub_configure
=$ac_aux_dir/configure
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8845 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8849 # The recursion is here.
8850 if test -n "$ac_sub_configure"; then
8851 # Make the cache file name correct relative to the subdirectory.
8853 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8855 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8858 { $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
8859 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8860 # The eval makes quoting arguments work.
8861 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8862 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8863 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8869 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8871 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}