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 <https://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 if (eval "$as_required") 2>/dev
/null
; then :
206 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
211 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir
=.
218 for as_base
in sh bash ksh sh5
; do
219 # Try only shells that exist, to save several forks.
220 as_shell
=$as_dir/$as_base
221 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
223 CONFIG_SHELL
=$as_shell as_have_required
=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x
$as_have_required = xno
; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x
${ZSH_VERSION+set} = xset
; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: https://sourceware.org/bugzilla/ about your system,
270 $0: including any error possibly output before this
271 $0: message. Then install a modern shell, or manually run
272 $0: the script under such a shell if you do have one."
278 SHELL
=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE
= GREP_OPTIONS
=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir
=.
/$as_dir;;
323 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
327 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs
="'$as_qdir' $as_dirs"
331 as_dir
=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
357 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p
()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
400 as_val
=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status
=$1; test $as_status -eq 0 && as_status
=1
414 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit
$as_status
421 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
428 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
440 as_me
=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits
='0123456789'
464 as_cr_alnum
=$as_cr_Letters$as_cr_digits
467 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
468 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x
"$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec
=no
; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C
= ECHO_N
= ECHO_T
=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
515 rm -f conf$$ conf$$.exe conf$$.
file
516 if test -d conf$$.dir
; then
517 rm -f conf$$.dir
/conf$$.
file
520 mkdir conf$$.dir
2>/dev
/null
522 if (echo >conf$$.
file) 2>/dev
/null
; then
523 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
539 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
540 rmdir conf$$.dir
2>/dev
/null
542 if mkdir
-p .
2>/dev
/null
; then
543 as_mkdir_p
='mkdir -p "$as_dir"'
545 test -d .
/-p && rmdir .
/-p
550 as_executable_p
=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix
=/usr
/local
572 ac_config_libobj_dir
=.
579 # Identity of this package.
580 PACKAGE_NAME
='GNU C Library'
581 PACKAGE_TARNAME
='glibc'
582 PACKAGE_VERSION
='(see version.h)'
583 PACKAGE_STRING
='GNU C Library (see version.h)'
584 PACKAGE_BUGREPORT
='https://sourceware.org/bugzilla/'
585 PACKAGE_URL
='http://www.gnu.org/software/glibc/'
587 ac_unique_file
="include/features.h"
588 enable_option_checking
=no
589 ac_subst_vars
='LTLIBOBJS
605 libc_cv_localstatedir
607 libc_cv_complocaledir
611 libc_cv_gcc_unwind_find_fde
614 libc_cv_cxx_thread_local
620 libc_cv_cc_loop_to_function
621 libc_cv_cc_submachine
623 libc_cv_mtls_dialect_gnu2
625 libc_cv_output_format
632 libc_cv_cc_with_libunwind
634 libc_cv_protected_data
676 libc_cv_static_nss_crypt
683 hardcoded_path_in_tests
684 enable_timezone_tools
740 program_transform_name
753 enable_option_checking
767 enable_timezone_tools
768 enable_hardcoded_path_in_tests
769 enable_stackguard_randomization
772 enable_stack_protector
775 enable_maintainer_mode
780 enable_experimental_malloc
792 ac_precious_vars
='build_alias
806 # Initialize some variables set by options.
808 ac_init_version
=false
809 ac_unrecognized_opts
=
811 # The variables have the same names as the options, with
812 # dashes changed to underlines.
820 program_transform_name
=s
,x
,x
,
828 # Installation directory options.
829 # These are left unexpanded so users can "make install exec_prefix=/foo"
830 # and all the variables that are supposed to be based on exec_prefix
831 # by default will actually change.
832 # Use braces instead of parens because sh, perl, etc. also accept them.
833 # (The list follows the same order as the GNU Coding Standards.)
834 bindir
='${exec_prefix}/bin'
835 sbindir
='${exec_prefix}/sbin'
836 libexecdir
='${exec_prefix}/libexec'
837 datarootdir
='${prefix}/share'
838 datadir
='${datarootdir}'
839 sysconfdir
='${prefix}/etc'
840 sharedstatedir
='${prefix}/com'
841 localstatedir
='${prefix}/var'
842 includedir
='${prefix}/include'
843 oldincludedir
='/usr/include'
844 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
845 infodir
='${datarootdir}/info'
850 libdir
='${exec_prefix}/lib'
851 localedir
='${datarootdir}/locale'
852 mandir
='${datarootdir}/man'
858 # If the previous option needs an argument, assign it.
859 if test -n "$ac_prev"; then
860 eval $ac_prev=\
$ac_option
866 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
871 # Accept the important Cygnus configure options, so we can diagnose typos.
873 case $ac_dashdash$ac_option in
877 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
879 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
882 -build |
--build |
--buil |
--bui |
--bu)
883 ac_prev
=build_alias
;;
884 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
885 build_alias
=$ac_optarg ;;
887 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
888 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
889 ac_prev
=cache_file
;;
890 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
891 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
892 cache_file
=$ac_optarg ;;
895 cache_file
=config.cache
;;
897 -datadir |
--datadir |
--datadi |
--datad)
899 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
900 datadir
=$ac_optarg ;;
902 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
903 |
--dataroo |
--dataro |
--datar)
904 ac_prev
=datarootdir
;;
905 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
906 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
907 datarootdir
=$ac_optarg ;;
909 -disable-* |
--disable-*)
910 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
913 as_fn_error $?
"invalid feature name: $ac_useropt"
914 ac_useropt_orig
=$ac_useropt
915 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in
920 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
921 ac_unrecognized_sep
=', ';;
923 eval enable_
$ac_useropt=no
;;
925 -docdir |
--docdir |
--docdi |
--doc |
--do)
927 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
930 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
932 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
935 -enable-* |
--enable-*)
936 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
939 as_fn_error $?
"invalid feature name: $ac_useropt"
940 ac_useropt_orig
=$ac_useropt
941 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
947 ac_unrecognized_sep
=', ';;
949 eval enable_
$ac_useropt=\
$ac_optarg ;;
951 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
952 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
953 |
--exec |
--exe |
--ex)
954 ac_prev
=exec_prefix
;;
955 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
956 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
957 |
--exec=* |
--exe=* |
--ex=*)
958 exec_prefix
=$ac_optarg ;;
960 -gas |
--gas |
--ga |
--g)
961 # Obsolete; use --with-gas.
964 -help |
--help |
--hel |
--he |
-h)
966 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
967 ac_init_help
=recursive
;;
968 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
969 ac_init_help
=short
;;
971 -host |
--host |
--hos |
--ho)
972 ac_prev
=host_alias
;;
973 -host=* |
--host=* |
--hos=* |
--ho=*)
974 host_alias
=$ac_optarg ;;
976 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
978 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
980 htmldir
=$ac_optarg ;;
982 -includedir |
--includedir |
--includedi |
--included |
--include \
983 |
--includ |
--inclu |
--incl |
--inc)
984 ac_prev
=includedir
;;
985 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
986 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
987 includedir
=$ac_optarg ;;
989 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
991 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
992 infodir
=$ac_optarg ;;
994 -libdir |
--libdir |
--libdi |
--libd)
996 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
999 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1000 |
--libexe |
--libex |
--libe)
1001 ac_prev
=libexecdir
;;
1002 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1003 |
--libexe=* |
--libex=* |
--libe=*)
1004 libexecdir
=$ac_optarg ;;
1006 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1007 ac_prev
=localedir
;;
1008 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1009 localedir
=$ac_optarg ;;
1011 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1012 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1013 ac_prev
=localstatedir
;;
1014 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1015 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1016 localstatedir
=$ac_optarg ;;
1018 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1020 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1021 mandir
=$ac_optarg ;;
1023 -nfp |
--nfp |
--nf)
1024 # Obsolete; use --without-fp.
1027 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1028 |
--no-cr |
--no-c |
-n)
1031 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1032 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1035 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1036 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1037 |
--oldin |
--oldi |
--old |
--ol |
--o)
1038 ac_prev
=oldincludedir
;;
1039 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1040 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1041 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1042 oldincludedir
=$ac_optarg ;;
1044 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1046 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1047 prefix
=$ac_optarg ;;
1049 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1050 |
--program-pre |
--program-pr |
--program-p)
1051 ac_prev
=program_prefix
;;
1052 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1053 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1054 program_prefix
=$ac_optarg ;;
1056 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1057 |
--program-suf |
--program-su |
--program-s)
1058 ac_prev
=program_suffix
;;
1059 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1060 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1061 program_suffix
=$ac_optarg ;;
1063 -program-transform-name |
--program-transform-name \
1064 |
--program-transform-nam |
--program-transform-na \
1065 |
--program-transform-n |
--program-transform- \
1066 |
--program-transform |
--program-transfor \
1067 |
--program-transfo |
--program-transf \
1068 |
--program-trans |
--program-tran \
1069 |
--progr-tra |
--program-tr |
--program-t)
1070 ac_prev
=program_transform_name
;;
1071 -program-transform-name=* |
--program-transform-name=* \
1072 |
--program-transform-nam=* |
--program-transform-na=* \
1073 |
--program-transform-n=* |
--program-transform-=* \
1074 |
--program-transform=* |
--program-transfor=* \
1075 |
--program-transfo=* |
--program-transf=* \
1076 |
--program-trans=* |
--program-tran=* \
1077 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1078 program_transform_name
=$ac_optarg ;;
1080 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1082 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1083 pdfdir
=$ac_optarg ;;
1085 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1087 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1090 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1091 |
-silent |
--silent |
--silen |
--sile |
--sil)
1094 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1096 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1098 sbindir
=$ac_optarg ;;
1100 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1101 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1102 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1104 ac_prev
=sharedstatedir
;;
1105 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1106 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1107 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1109 sharedstatedir
=$ac_optarg ;;
1111 -site |
--site |
--sit)
1113 -site=* |
--site=* |
--sit=*)
1116 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1118 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1119 srcdir
=$ac_optarg ;;
1121 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1122 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1123 ac_prev
=sysconfdir
;;
1124 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1125 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1126 sysconfdir
=$ac_optarg ;;
1128 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1129 ac_prev
=target_alias
;;
1130 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1131 target_alias
=$ac_optarg ;;
1133 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1136 -version |
--version |
--versio |
--versi |
--vers |
-V)
1137 ac_init_version
=: ;;
1140 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1143 as_fn_error $?
"invalid package name: $ac_useropt"
1144 ac_useropt_orig
=$ac_useropt
1145 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1151 ac_unrecognized_sep
=', ';;
1153 eval with_
$ac_useropt=\
$ac_optarg ;;
1155 -without-* |
--without-*)
1156 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1159 as_fn_error $?
"invalid package name: $ac_useropt"
1160 ac_useropt_orig
=$ac_useropt
1161 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1166 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1167 ac_unrecognized_sep
=', ';;
1169 eval with_
$ac_useropt=no
;;
1172 # Obsolete; use --with-x.
1175 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1176 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1177 ac_prev
=x_includes
;;
1178 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1179 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1180 x_includes
=$ac_optarg ;;
1182 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1183 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1184 ac_prev
=x_libraries
;;
1185 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1186 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1187 x_libraries
=$ac_optarg ;;
1189 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1190 Try \`$0 --help' for more information"
1194 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1195 # Reject names that are not valid shell variable names.
1196 case $ac_envvar in #(
1197 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1198 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1200 eval $ac_envvar=\
$ac_optarg
1201 export $ac_envvar ;;
1204 # FIXME: should be removed in autoconf 3.0.
1205 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1208 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1214 if test -n "$ac_prev"; then
1215 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1216 as_fn_error $?
"missing argument to $ac_option"
1219 if test -n "$ac_unrecognized_opts"; then
1220 case $enable_option_checking in
1222 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1223 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227 # Check all directory arguments for consistency.
1228 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 libdir localedir mandir
1233 eval ac_val
=\$
$ac_var
1234 # Remove trailing slashes.
1237 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238 eval $ac_var=\
$ac_val;;
1240 # Be sure to have absolute directory names.
1242 [\\/$
]* | ?
:[\\/]* ) continue;;
1243 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1245 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1248 # There might be people who depend on the old broken behavior: `$host'
1249 # used to hold the argument of --host etc.
1250 # FIXME: To remove some day.
1253 target
=$target_alias
1255 # FIXME: To remove some day.
1256 if test "x$host_alias" != x
; then
1257 if test "x$build_alias" = x
; then
1258 cross_compiling
=maybe
1259 elif test "x$build_alias" != "x$host_alias"; then
1265 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1267 test "$silent" = yes && exec 6>/dev
/null
1270 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1271 ac_ls_di
=`ls -di .` &&
1272 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1273 as_fn_error $?
"working directory cannot be determined"
1274 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1275 as_fn_error $?
"pwd does not report name of working directory"
1278 # Find the source files, if location was not specified.
1279 if test -z "$srcdir"; then
1280 ac_srcdir_defaulted
=yes
1281 # Try the directory containing this script, then the parent directory.
1282 ac_confdir
=`$as_dirname -- "$as_myself" ||
1283 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1284 X"$as_myself" : 'X\(//\)[^/]' \| \
1285 X"$as_myself" : 'X\(//\)$' \| \
1286 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1287 $as_echo X"$as_myself" |
1288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1310 ac_srcdir_defaulted
=no
1312 if test ! -r "$srcdir/$ac_unique_file"; then
1313 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1314 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1316 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1318 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1320 # When building in place, set srcdir=.
1321 if test "$ac_abs_confdir" = "$ac_pwd"; then
1324 # Remove unnecessary trailing slashes from srcdir.
1325 # Double slashes in file names in object file debugging info
1326 # mess up M-x gdb in Emacs.
1328 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330 for ac_var
in $ac_precious_vars; do
1331 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1332 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1333 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1334 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1338 # Report the --help message.
1340 if test "$ac_init_help" = "long"; then
1341 # Omit some internal or obsolete options to make the list less imposing.
1342 # This message is too long to be a string in the A/UX 3.1 sh.
1344 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1346 Usage: $0 [OPTION]... [VAR=VALUE]...
1348 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1349 VAR=VALUE. See below for descriptions of some of the useful variables.
1351 Defaults for the options are specified in brackets.
1354 -h, --help display this help and exit
1355 --help=short display options specific to this package
1356 --help=recursive display the short help of all the included packages
1357 -V, --version display version information and exit
1358 -q, --quiet, --silent do not print \`checking ...' messages
1359 --cache-file=FILE cache test results in FILE [disabled]
1360 -C, --config-cache alias for \`--cache-file=config.cache'
1361 -n, --no-create do not create output files
1362 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1364 Installation directories:
1365 --prefix=PREFIX install architecture-independent files in PREFIX
1366 [$ac_default_prefix]
1367 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1370 By default, \`make install' will install all the files in
1371 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1372 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1373 for instance \`--prefix=\$HOME'.
1375 For better control, use the options below.
1377 Fine tuning of the installation directories:
1378 --bindir=DIR user executables [EPREFIX/bin]
1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --libdir=DIR object code libraries [EPREFIX/lib]
1385 --includedir=DIR C header files [PREFIX/include]
1386 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1387 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1388 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1389 --infodir=DIR info documentation [DATAROOTDIR/info]
1390 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1391 --mandir=DIR man documentation [DATAROOTDIR/man]
1392 --docdir=DIR documentation root [DATAROOTDIR/doc/glibc]
1393 --htmldir=DIR html documentation [DOCDIR]
1394 --dvidir=DIR dvi documentation [DOCDIR]
1395 --pdfdir=DIR pdf documentation [DOCDIR]
1396 --psdir=DIR ps documentation [DOCDIR]
1402 --build=BUILD configure
for building on BUILD
[guessed
]
1403 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1407 if test -n "$ac_init_help"; then
1408 case $ac_init_help in
1409 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1414 --disable-option-checking ignore unrecognized
--enable/--with options
1415 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1416 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1417 --disable-sanity-checks really
do not use threads
(should not be used except
1418 in special situations
) [default
=yes]
1419 --enable-shared build shared library
[default
=yes if GNU ld
]
1420 --enable-profile build profiled library
[default
=no
]
1421 --enable-static-pie enable static PIE support and use it
in the
1422 testsuite
[default
=no
]
1423 --disable-timezone-tools
1424 do not
install timezone tools
[default
=install]
1425 --enable-hardcoded-path-in-tests
1426 hardcode newly built glibc path
in tests
1428 --enable-stackguard-randomization
1429 initialize __stack_chk_guard canary with a random
1430 number
at program start
1431 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1432 --enable-bind-now disable lazy relocations
in DSOs
1433 --enable-stack-protector=[yes|no|all|strong
]
1434 Use
-fstack-protector[-all|
-strong] to detect glibc
1436 --enable-static-nss build static NSS modules
[default
=no
]
1437 --disable-force-install don
't force installation of files from this package,
1438 even if they are older than the installed files
1439 --enable-maintainer-mode
1440 enable make rules and dependencies not useful (and
1441 sometimes confusing) to the casual installer
1442 --enable-kernel=VERSION compile for compatibility with kernel not older than
1444 --enable-all-warnings enable all useful warnings gcc can issue
1445 --disable-werror do not build with -Werror
1446 --enable-multi-arch enable single DSO with optimizations for multiple
1448 --disable-experimental-malloc
1449 disable experimental malloc features
1450 --enable-nss-crypt enable libcrypt to use nss
1451 --enable-obsolete-rpc build and install the obsolete RPC code for
1453 --enable-obsolete-nsl build and install the obsolete libnsl library and
1454 depending NSS modules
1455 --enable-systemtap enable systemtap static probe points [default=no]
1456 --disable-build-nscd disable building and installing the nscd daemon
1457 --disable-nscd library functions will not contact the nscd daemon
1458 --enable-pt_chown Enable building and installing pt_chown
1459 --enable-tunables Enable tunables support. Known values are 'yes',
1460 'no
' and 'valstring
'
1461 --enable-mathvec Enable building and installing mathvec [default
1462 depends on architecture]
1465 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1466 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1467 --with-pkgversion=PKG Use PKG in the version string in place of "GNU libc"
1468 --with-bugurl=URL Direct users to URL to report a bug
1469 --with-gd=DIR find libgd include dir and library with prefix DIR
1470 --with-gd-include=DIR find libgd include files in DIR
1471 --with-gd-lib=DIR find libgd library files in DIR
1472 --with-binutils=PATH specify location of binutils (as and ld)
1473 --with-selinux if building with SELinux support
1474 --with-headers=PATH location of system headers to use (for example
1475 /usr/src/linux/include) [default=compiler default]
1476 --with-default-link do not use explicit linker scripts
1477 --with-cpu=CPU select code for CPU variant
1479 Some influential environment variables:
1480 CC C compiler command
1481 CFLAGS C compiler flags
1482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1483 nonstandard directory <lib dir>
1484 LIBS libraries to pass to the linker, e.g. -l<library>
1485 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1486 you have headers in a nonstandard directory <include dir>
1488 CXX C++ compiler command
1489 CXXFLAGS C++ compiler flags
1491 Use these variables to override the choices made by `configure' or to
help
1492 it to
find libraries and programs with nonstandard names
/locations.
1494 Report bugs to
<https
://sourceware.org
/bugzilla
/>.
1495 GNU C Library home page
: <http
://www.gnu.org
/software
/glibc
/>.
1496 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1501 if test "$ac_init_help" = "recursive"; then
1502 # If there are subdirs, report their specific --help.
1503 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1504 test -d "$ac_dir" ||
1505 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1510 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1512 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1513 # A ".." for each directory in $ac_dir_suffix.
1514 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1515 case $ac_top_builddir_sub in
1516 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1517 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1520 ac_abs_top_builddir
=$ac_pwd
1521 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1522 # for backward compatibility:
1523 ac_top_builddir
=$ac_top_build_prefix
1526 .
) # We are building in place.
1528 ac_top_srcdir
=$ac_top_builddir_sub
1529 ac_abs_top_srcdir
=$ac_pwd ;;
1530 [\\/]* | ?
:[\\/]* ) # Absolute name.
1531 ac_srcdir
=$srcdir$ac_dir_suffix;
1532 ac_top_srcdir
=$srcdir
1533 ac_abs_top_srcdir
=$srcdir ;;
1535 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1536 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1537 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1539 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1541 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1542 # Check for guested configure.
1543 if test -f "$ac_srcdir/configure.gnu"; then
1545 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1546 elif test -f "$ac_srcdir/configure"; then
1548 $SHELL "$ac_srcdir/configure" --help=recursive
1550 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1552 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1556 test -n "$ac_init_help" && exit $ac_status
1557 if $ac_init_version; then
1559 GNU C Library configure
(see version.h
)
1560 generated by GNU Autoconf
2.69
1562 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1563 This configure
script is free software
; the Free Software Foundation
1564 gives unlimited permission to copy
, distribute and modify it.
1569 ## ------------------------ ##
1570 ## Autoconf initialization. ##
1571 ## ------------------------ ##
1573 # ac_fn_c_try_compile LINENO
1574 # --------------------------
1575 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1576 ac_fn_c_try_compile
()
1578 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1579 rm -f conftest.
$ac_objext
1580 if { { ac_try
="$ac_compile"
1582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_compile") 2>conftest.err
1589 if test -s conftest.err; then
1590 grep -v '^ *+' conftest.err >conftest.er1
1591 cat conftest.er1 >&5
1592 mv -f conftest.er1 conftest.err
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } && {
1596 test -z "$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1598 } && test -s conftest.$ac_objext; then :
1601 $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.$ac_ext >&5
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607 as_fn_set_status $ac_retval
1609 } # ac_fn_c_try_compile
1611 # ac_fn_cxx_try_compile LINENO
1612 # ----------------------------
1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_cxx_try_compile ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 rm -f conftest.$ac_objext
1618 if { { ac_try="$ac_compile"
1620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1621 *) ac_try_echo
=$ac_try;;
1623 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_compile") 2>conftest.err
1627 if test -s conftest.err
; then
1628 grep -v '^ *+' conftest.err
>conftest.er1
1629 cat conftest.er1
>&5
1630 mv -f conftest.er1 conftest.err
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && {
1634 test -z "$ac_cxx_werror_flag" ||
1635 test ! -s conftest.err
1636 } && test -s conftest.
$ac_objext; then :
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.
$ac_ext >&5
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_status
$ac_retval
1647 } # ac_fn_cxx_try_compile
1649 # ac_fn_cxx_try_link LINENO
1650 # -------------------------
1651 # Try to link conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_cxx_try_link
()
1654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1655 rm -f conftest.
$ac_objext conftest
$ac_exeext
1656 if { { ac_try
="$ac_link"
1658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_link") 2>conftest.err
1665 if test -s conftest.err; then
1666 grep -v '^ *+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_cxx_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest$ac_exeext && {
1675 test "$cross_compiling" = yes ||
1676 test -x conftest$ac_exeext
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1686 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1687 # interfere with the next link command; also delete a directory that is
1688 # left behind by Apple's compiler. We do this before executing the actions.
1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 as_fn_set_status $ac_retval
1693 } # ac_fn_cxx_try_link
1695 # ac_fn_c_try_link LINENO
1696 # -----------------------
1697 # Try to link conftest.$ac_ext, and return whether this succeeded.
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 rm -f conftest.$ac_objext conftest$ac_exeext
1702 if { { ac_try="$ac_link"
1704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1705 *) ac_try_echo
=$ac_try;;
1707 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_link") 2>conftest.err
1711 if test -s conftest.err
; then
1712 grep -v '^ *+' conftest.err
>conftest.er1
1713 cat conftest.er1
>&5
1714 mv -f conftest.er1 conftest.err
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && {
1718 test -z "$ac_c_werror_flag" ||
1719 test ! -s conftest.err
1720 } && test -s conftest
$ac_exeext && {
1721 test "$cross_compiling" = yes ||
1722 test -x conftest
$ac_exeext
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.
$ac_ext >&5
1731 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1732 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1733 # interfere with the next link command; also delete a directory that is
1734 # left behind by Apple's compiler. We do this before executing the actions.
1735 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 as_fn_set_status
$ac_retval
1739 } # ac_fn_c_try_link
1740 cat >config.log
<<_ACEOF
1741 This file contains any messages produced by compilers while
1742 running configure, to aid debugging if configure makes a mistake.
1744 It was created by GNU C Library $as_me (see version.h), which was
1745 generated by GNU Autoconf 2.69. Invocation command line was
1757 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1758 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1759 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1760 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1761 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1763 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1764 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1766 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1767 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1768 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1769 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1770 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1771 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1772 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1780 test -z "$as_dir" && as_dir
=.
1781 $as_echo "PATH: $as_dir"
1797 # Keep a trace of the command line.
1798 # Strip out --no-create and --no-recursion so they do not pile up.
1799 # Strip out --silent because we don't want to record it for future runs.
1800 # Also quote any args containing shell meta-characters.
1801 # Make two passes to allow for proper duplicate-argument suppression.
1805 ac_must_keep_next
=false
1811 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1812 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1813 |
-silent |
--silent |
--silen |
--sile |
--sil)
1816 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1819 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1821 as_fn_append ac_configure_args1
" '$ac_arg'"
1822 if test $ac_must_keep_next = true
; then
1823 ac_must_keep_next
=false
# Got value, back to normal.
1826 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1827 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1828 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1829 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1830 case "$ac_configure_args0 " in
1831 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1834 -* ) ac_must_keep_next
=true
;;
1837 as_fn_append ac_configure_args
" '$ac_arg'"
1842 { ac_configure_args0
=; unset ac_configure_args0
;}
1843 { ac_configure_args1
=; unset ac_configure_args1
;}
1845 # When interrupted or exit'd, cleanup temporary files, and complete
1846 # config.log. We remove comments because anyway the quotes in there
1847 # would cause problems or look ugly.
1848 # WARNING: Use '\'' to represent an apostrophe within the trap.
1849 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1850 trap 'exit_status=$?
1851 # Save into config.log some information that might help in debugging.
1855 $as_echo "## ---------------- ##
1856 ## Cache variables. ##
1857 ## ---------------- ##"
1859 # The following way of writing the cache mishandles newlines in values,
1861 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1862 eval ac_val=\$$ac_var
1866 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1870 _ | IFS | as_nl) ;; #(
1871 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1872 *) { eval $ac_var=; unset $ac_var;} ;;
1877 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1878 *${as_nl}ac_space=\ *)
1880 "s/'\''/'\''\\\\'\'''\''/g;
1881 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1884 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1891 $as_echo "## ----------------- ##
1892 ## Output variables. ##
1893 ## ----------------- ##"
1895 for ac_var in $ac_subst_vars
1897 eval ac_val=\$$ac_var
1899 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1901 $as_echo "$ac_var='\''$ac_val'\''"
1905 if test -n "$ac_subst_files"; then
1906 $as_echo "## ------------------- ##
1907 ## File substitutions. ##
1908 ## ------------------- ##"
1910 for ac_var
in $ac_subst_files
1912 eval ac_val
=\$
$ac_var
1914 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1916 $as_echo "$ac_var='\''$ac_val'\''"
1921 if test -s confdefs.h; then
1922 $as_echo "## ----------- ##
1929 test "$ac_signal" != 0 &&
1930 $as_echo "$as_me: caught signal $ac_signal"
1931 $as_echo "$as_me: exit $exit_status"
1933 rm -f core *.core core.conftest.* &&
1934 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1937 for ac_signal
in 1 2 13 15; do
1938 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1942 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1943 rm -f -r conftest
* confdefs.h
1945 $as_echo "/* confdefs.h */" > confdefs.h
1947 # Predefined preprocessor variables.
1949 cat >>confdefs.h
<<_ACEOF
1950 #define PACKAGE_NAME "$PACKAGE_NAME"
1953 cat >>confdefs.h
<<_ACEOF
1954 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1957 cat >>confdefs.h
<<_ACEOF
1958 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1961 cat >>confdefs.h
<<_ACEOF
1962 #define PACKAGE_STRING "$PACKAGE_STRING"
1965 cat >>confdefs.h
<<_ACEOF
1966 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1969 cat >>confdefs.h
<<_ACEOF
1970 #define PACKAGE_URL "$PACKAGE_URL"
1974 # Let the site file select an alternate cache file if it wants to.
1975 # Prefer an explicitly selected file to automatically selected ones.
1978 if test -n "$CONFIG_SITE"; then
1979 # We do not want a PATH search for config.site.
1980 case $CONFIG_SITE in #((
1981 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1982 */*) ac_site_file1
=$CONFIG_SITE;;
1983 *) ac_site_file1
=.
/$CONFIG_SITE;;
1985 elif test "x$prefix" != xNONE
; then
1986 ac_site_file1
=$prefix/share
/config.site
1987 ac_site_file2
=$prefix/etc
/config.site
1989 ac_site_file1
=$ac_default_prefix/share
/config.site
1990 ac_site_file2
=$ac_default_prefix/etc
/config.site
1992 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1994 test "x$ac_site_file" = xNONE
&& continue
1995 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1997 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1998 sed 's/^/| /' "$ac_site_file" >&5
2000 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2002 as_fn_error $?
"failed to load site script $ac_site_file
2003 See \`config.log' for more details" "$LINENO" 5; }
2007 if test -r "$cache_file"; then
2008 # Some versions of bash will fail to source /dev/null (special files
2009 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2010 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2012 $as_echo "$as_me: loading cache $cache_file" >&6;}
2014 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2015 *) .
"./$cache_file";;
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2020 $as_echo "$as_me: creating cache $cache_file" >&6;}
2024 # Check that the precious variables saved in the cache have kept the same
2026 ac_cache_corrupted
=false
2027 for ac_var
in $ac_precious_vars; do
2028 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2029 eval ac_new_set
=\
$ac_env_${ac_var}_set
2030 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2031 eval ac_new_val
=\
$ac_env_${ac_var}_value
2032 case $ac_old_set,$ac_new_set in
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2035 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2036 ac_cache_corrupted
=: ;;
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2039 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2040 ac_cache_corrupted
=: ;;
2043 if test "x$ac_old_val" != "x$ac_new_val"; then
2044 # differences in whitespace do not lead to failure.
2045 ac_old_val_w
=`echo x $ac_old_val`
2046 ac_new_val_w
=`echo x $ac_new_val`
2047 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2049 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2050 ac_cache_corrupted
=:
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2053 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2054 eval $ac_var=\
$ac_old_val
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2057 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2059 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2062 # Pass precious variables to config.status.
2063 if test "$ac_new_set" = set; then
2065 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2066 *) ac_arg
=$ac_var=$ac_new_val ;;
2068 case " $ac_configure_args " in
2069 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2070 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2074 if $ac_cache_corrupted; then
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2078 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2079 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2081 ## -------------------- ##
2082 ## Main body of script. ##
2083 ## -------------------- ##
2086 ac_cpp
='$CPP $CPPFLAGS'
2087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2093 ac_config_headers
="$ac_config_headers config.h"
2096 for ac_dir
in scripts
"$srcdir"/scripts
; do
2097 if test -f "$ac_dir/install-sh"; then
2099 ac_install_sh
="$ac_aux_dir/install-sh -c"
2101 elif test -f "$ac_dir/install.sh"; then
2103 ac_install_sh
="$ac_aux_dir/install.sh -c"
2105 elif test -f "$ac_dir/shtool"; then
2107 ac_install_sh
="$ac_aux_dir/shtool install -c"
2111 if test -z "$ac_aux_dir"; then
2112 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
2115 # These three variables are undocumented and unsupported,
2116 # and are intended to be withdrawn in a future Autoconf release.
2117 # They can cause serious problems if a builder's source tree is in a directory
2118 # whose full name contains unusual characters.
2119 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2120 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2121 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2127 # Check whether --with-pkgversion was given.
2128 if test "${with_pkgversion+set}" = set; then :
2129 withval
=$with_pkgversion; case "$withval" in
2130 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2132 *) PKGVERSION
="($withval) " ;;
2135 PKGVERSION
="(GNU libc) "
2139 PKGVERSION_TEXI
=`echo "$PKGVERSION" | sed 's/@/@@/g'`
2145 # Check whether --with-bugurl was given.
2146 if test "${with_bugurl+set}" = set; then :
2147 withval
=$with_bugurl; case "$withval" in
2148 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2151 *) BUGURL
="$withval"
2155 BUGURL
="http://www.gnu.org/software/libc/bugs.html"
2165 REPORT_BUGS_TO
="<$BUGURL>"
2166 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2173 cat >>confdefs.h
<<_ACEOF
2174 #define PKGVERSION "$PKGVERSION"
2178 cat >>confdefs.h
<<_ACEOF
2179 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2183 # Glibc should not depend on any header files
2186 # We require GCC, and by default use its preprocessor. Override AC_PROG_CPP
2187 # here to work around the Autoconf issue discussed in
2188 # <https://sourceware.org/ml/libc-alpha/2013-01/msg00721.html>.
2191 # We require GCC. Override _AC_PROG_CC_C89 here to work around the Autoconf
2192 # issue discussed in
2193 # <https://sourceware.org/ml/libc-alpha/2013-01/msg00757.html>.
2201 # Make sure we can run config.sub.
2202 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2203 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2206 $as_echo_n "checking build system type... " >&6; }
2207 if ${ac_cv_build+:} false
; then :
2208 $as_echo_n "(cached) " >&6
2210 ac_build_alias
=$build_alias
2211 test "x$ac_build_alias" = x
&&
2212 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2213 test "x$ac_build_alias" = x
&&
2214 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2215 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2216 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2220 $as_echo "$ac_cv_build" >&6; }
2221 case $ac_cv_build in
2223 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2226 ac_save_IFS
=$IFS; IFS
='-'
2232 # Remember, the first character of IFS is used to create $*,
2233 # except with old shells:
2236 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2240 $as_echo_n "checking host system type... " >&6; }
2241 if ${ac_cv_host+:} false
; then :
2242 $as_echo_n "(cached) " >&6
2244 if test "x$host_alias" = x
; then
2245 ac_cv_host
=$ac_cv_build
2247 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2248 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2253 $as_echo "$ac_cv_host" >&6; }
2256 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2259 ac_save_IFS
=$IFS; IFS
='-'
2265 # Remember, the first character of IFS is used to create $*,
2266 # except with old shells:
2269 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2274 ac_cpp
='$CPP $CPPFLAGS'
2275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2278 if test -n "$ac_tool_prefix"; then
2279 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2280 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2282 $as_echo_n "checking for $ac_word... " >&6; }
2283 if ${ac_cv_prog_CC+:} false
; then :
2284 $as_echo_n "(cached) " >&6
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC
="$CC" # Let the user override the test.
2289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir
=.
2294 for ac_exec_ext
in '' $ac_executable_extensions; do
2295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2296 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2307 if test -n "$CC"; then
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2309 $as_echo "$CC" >&6; }
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2312 $as_echo "no" >&6; }
2317 if test -z "$ac_cv_prog_CC"; then
2319 # Extract the first word of "gcc", so it can be a program name with args.
2320 set dummy gcc
; ac_word
=$2
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2322 $as_echo_n "checking for $ac_word... " >&6; }
2323 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2324 $as_echo_n "(cached) " >&6
2326 if test -n "$ac_ct_CC"; then
2327 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir
=.
2334 for ac_exec_ext
in '' $ac_executable_extensions; do
2335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2336 ac_cv_prog_ac_ct_CC
="gcc"
2337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2349 $as_echo "$ac_ct_CC" >&6; }
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2352 $as_echo "no" >&6; }
2355 if test "x$ac_ct_CC" = x
; then
2358 case $cross_compiling:$ac_tool_warned in
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2362 ac_tool_warned
=yes ;;
2370 if test -z "$CC"; then
2371 if test -n "$ac_tool_prefix"; then
2372 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2373 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2375 $as_echo_n "checking for $ac_word... " >&6; }
2376 if ${ac_cv_prog_CC+:} false
; then :
2377 $as_echo_n "(cached) " >&6
2379 if test -n "$CC"; then
2380 ac_cv_prog_CC
="$CC" # Let the user override the test.
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 for ac_exec_ext
in '' $ac_executable_extensions; do
2388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2389 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 if test -n "$CC"; then
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2402 $as_echo "$CC" >&6; }
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2405 $as_echo "no" >&6; }
2411 if test -z "$CC"; then
2412 # Extract the first word of "cc", so it can be a program name with args.
2413 set dummy cc
; ac_word
=$2
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2415 $as_echo_n "checking for $ac_word... " >&6; }
2416 if ${ac_cv_prog_CC+:} false
; then :
2417 $as_echo_n "(cached) " >&6
2419 if test -n "$CC"; then
2420 ac_cv_prog_CC
="$CC" # Let the user override the test.
2423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2427 test -z "$as_dir" && as_dir
=.
2428 for ac_exec_ext
in '' $ac_executable_extensions; do
2429 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2430 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2431 ac_prog_rejected
=yes
2435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 if test $ac_prog_rejected = yes; then
2443 # We found a bogon in the path, so make sure we never use it.
2444 set dummy
$ac_cv_prog_CC
2446 if test $# != 0; then
2447 # We chose a different compiler from the bogus one.
2448 # However, it has the same basename, so the bogon will be chosen
2449 # first if we set CC to just the basename; use the full file name.
2451 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2457 if test -n "$CC"; then
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2459 $as_echo "$CC" >&6; }
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2462 $as_echo "no" >&6; }
2467 if test -z "$CC"; then
2468 if test -n "$ac_tool_prefix"; then
2469 for ac_prog
in cl.exe
2471 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2472 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2474 $as_echo_n "checking for $ac_word... " >&6; }
2475 if ${ac_cv_prog_CC+:} false
; then :
2476 $as_echo_n "(cached) " >&6
2478 if test -n "$CC"; then
2479 ac_cv_prog_CC
="$CC" # Let the user override the test.
2481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2485 test -z "$as_dir" && as_dir
=.
2486 for ac_exec_ext
in '' $ac_executable_extensions; do
2487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2488 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2499 if test -n "$CC"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2501 $as_echo "$CC" >&6; }
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2504 $as_echo "no" >&6; }
2508 test -n "$CC" && break
2511 if test -z "$CC"; then
2513 for ac_prog
in cl.exe
2515 # Extract the first word of "$ac_prog", so it can be a program name with args.
2516 set dummy
$ac_prog; ac_word
=$2
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
2519 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2520 $as_echo_n "(cached) " >&6
2522 if test -n "$ac_ct_CC"; then
2523 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir
=.
2530 for ac_exec_ext
in '' $ac_executable_extensions; do
2531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2532 ac_cv_prog_ac_ct_CC
="$ac_prog"
2533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2543 if test -n "$ac_ct_CC"; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2545 $as_echo "$ac_ct_CC" >&6; }
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2548 $as_echo "no" >&6; }
2552 test -n "$ac_ct_CC" && break
2555 if test "x$ac_ct_CC" = x
; then
2558 case $cross_compiling:$ac_tool_warned in
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2562 ac_tool_warned
=yes ;;
2571 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2573 as_fn_error $?
"no acceptable C compiler found in \$PATH
2574 See \`config.log' for more details" "$LINENO" 5; }
2576 # Provide some information about the compiler.
2577 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2580 for ac_option
in --version -v -V -qversion; do
2581 { { ac_try
="$ac_compiler $ac_option >&5"
2583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2584 *) ac_try_echo=$ac_try;;
2586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2587 $as_echo "$ac_try_echo"; } >&5
2588 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2590 if test -s conftest.err; then
2592 ... rest of stderr output deleted ...
2593 10q' conftest.err >conftest.er1
2594 cat conftest.er1 >&5
2596 rm -f conftest.er1 conftest.err
2597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598 test $ac_status = 0; }
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2603 $as_echo_n "checking for suffix of object files... " >&6; }
2604 if ${ac_cv_objext+:} false; then :
2605 $as_echo_n "(cached) " >&6
2607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2618 rm -f conftest.o conftest.obj
2619 if { { ac_try="$ac_compile"
2621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2622 *) ac_try_echo
=$ac_try;;
2624 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_compile") 2>&5
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; }; then :
2630 for ac_file
in conftest.o conftest.obj conftest.
*; do
2631 test -f "$ac_file" ||
continue;
2633 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2634 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2639 $as_echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.
$ac_ext >&5
2642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2644 as_fn_error $?
"cannot compute suffix of object files: cannot compile
2645 See \`config.log' for more details" "$LINENO" 5; }
2647 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2650 $as_echo "$ac_cv_objext" >&6; }
2651 OBJEXT
=$ac_cv_objext
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2654 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2655 if ${ac_cv_c_compiler_gnu+:} false
; then :
2656 $as_echo_n "(cached) " >&6
2658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2659 /* end confdefs.h. */
2672 if ac_fn_c_try_compile
"$LINENO"; then :
2677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2678 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2682 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2683 if test $ac_compiler_gnu = yes; then
2688 ac_test_CFLAGS
=${CFLAGS+set}
2689 ac_save_CFLAGS
=$CFLAGS
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2691 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2692 if ${ac_cv_prog_cc_g+:} false
; then :
2693 $as_echo_n "(cached) " >&6
2695 ac_save_c_werror_flag
=$ac_c_werror_flag
2696 ac_c_werror_flag
=yes
2699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2710 if ac_fn_c_try_compile
"$LINENO"; then :
2714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2715 /* end confdefs.h. */
2725 if ac_fn_c_try_compile
"$LINENO"; then :
2728 ac_c_werror_flag
=$ac_save_c_werror_flag
2730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2741 if ac_fn_c_try_compile
"$LINENO"; then :
2744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2749 ac_c_werror_flag
=$ac_save_c_werror_flag
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2752 $as_echo "$ac_cv_prog_cc_g" >&6; }
2753 if test "$ac_test_CFLAGS" = set; then
2754 CFLAGS
=$ac_save_CFLAGS
2755 elif test $ac_cv_prog_cc_g = yes; then
2756 if test "$GCC" = yes; then
2762 if test "$GCC" = yes; then
2770 ac_cpp
='$CPP $CPPFLAGS'
2771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2775 if test $host != $build; then
2776 for ac_prog
in gcc cc
2778 # Extract the first word of "$ac_prog", so it can be a program name with args.
2779 set dummy
$ac_prog; ac_word
=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if ${ac_cv_prog_BUILD_CC+:} false
; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$BUILD_CC"; then
2786 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 for ac_exec_ext
in '' $ac_executable_extensions; do
2794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_BUILD_CC
="$ac_prog"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 BUILD_CC
=$ac_cv_prog_BUILD_CC
2806 if test -n "$BUILD_CC"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
2808 $as_echo "$BUILD_CC" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2815 test -n "$BUILD_CC" && break
2820 # On Suns, sometimes $CPP names a directory.
2821 if test -n "$CPP" && test -d "$CPP"; then
2824 if test -z "$CPP"; then
2828 if test -n "$ac_tool_prefix"; then
2829 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
2830 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2832 $as_echo_n "checking for $ac_word... " >&6; }
2833 if ${ac_cv_prog_READELF+:} false
; then :
2834 $as_echo_n "(cached) " >&6
2836 if test -n "$READELF"; then
2837 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
2839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir
=.
2844 for ac_exec_ext
in '' $ac_executable_extensions; do
2845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2846 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
2847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2856 READELF
=$ac_cv_prog_READELF
2857 if test -n "$READELF"; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
2859 $as_echo "$READELF" >&6; }
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862 $as_echo "no" >&6; }
2867 if test -z "$ac_cv_prog_READELF"; then
2868 ac_ct_READELF
=$READELF
2869 # Extract the first word of "readelf", so it can be a program name with args.
2870 set dummy readelf
; ac_word
=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
2874 $as_echo_n "(cached) " >&6
2876 if test -n "$ac_ct_READELF"; then
2877 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
2879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2883 test -z "$as_dir" && as_dir
=.
2884 for ac_exec_ext
in '' $ac_executable_extensions; do
2885 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2886 ac_cv_prog_ac_ct_READELF
="readelf"
2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
2897 if test -n "$ac_ct_READELF"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
2899 $as_echo "$ac_ct_READELF" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2905 if test "x$ac_ct_READELF" = x
; then
2908 case $cross_compiling:$ac_tool_warned in
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2912 ac_tool_warned
=yes ;;
2914 READELF
=$ac_ct_READELF
2917 READELF
="$ac_cv_prog_READELF"
2921 # We need the C++ compiler only for testing.
2923 ac_cpp
='$CXXCPP $CPPFLAGS'
2924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2927 if test -z "$CXX"; then
2928 if test -n "$CCC"; then
2931 if test -n "$ac_tool_prefix"; then
2932 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2935 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937 $as_echo_n "checking for $ac_word... " >&6; }
2938 if ${ac_cv_prog_CXX+:} false
; then :
2939 $as_echo_n "(cached) " >&6
2941 if test -n "$CXX"; then
2942 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2948 test -z "$as_dir" && as_dir
=.
2949 for ac_exec_ext
in '' $ac_executable_extensions; do
2950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2951 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 if test -n "$CXX"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2964 $as_echo "$CXX" >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 $as_echo "no" >&6; }
2971 test -n "$CXX" && break
2974 if test -z "$CXX"; then
2976 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2978 # Extract the first word of "$ac_prog", so it can be a program name with args.
2979 set dummy
$ac_prog; ac_word
=$2
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981 $as_echo_n "checking for $ac_word... " >&6; }
2982 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
2983 $as_echo_n "(cached) " >&6
2985 if test -n "$ac_ct_CXX"; then
2986 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2992 test -z "$as_dir" && as_dir
=.
2993 for ac_exec_ext
in '' $ac_executable_extensions; do
2994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2995 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3006 if test -n "$ac_ct_CXX"; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3008 $as_echo "$ac_ct_CXX" >&6; }
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
3015 test -n "$ac_ct_CXX" && break
3018 if test "x$ac_ct_CXX" = x
; then
3021 case $cross_compiling:$ac_tool_warned in
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3025 ac_tool_warned
=yes ;;
3033 # Provide some information about the compiler.
3034 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3037 for ac_option
in --version -v -V -qversion; do
3038 { { ac_try
="$ac_compiler $ac_option >&5"
3040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 $as_echo "$ac_try_echo"; } >&5
3045 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3047 if test -s conftest.err; then
3049 ... rest of stderr output deleted ...
3050 10q' conftest.err >conftest.er1
3051 cat conftest.er1 >&5
3053 rm -f conftest.er1 conftest.err
3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3055 test $ac_status = 0; }
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3059 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3060 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3061 $as_echo_n "(cached) " >&6
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3077 if ac_fn_cxx_try_compile "$LINENO"; then :
3082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3083 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3087 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3088 if test $ac_compiler_gnu = yes; then
3093 ac_test_CXXFLAGS=${CXXFLAGS+set}
3094 ac_save_CXXFLAGS=$CXXFLAGS
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3096 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3097 if ${ac_cv_prog_cxx_g+:} false; then :
3098 $as_echo_n "(cached) " >&6
3100 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3101 ac_cxx_werror_flag=yes
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3115 if ac_fn_cxx_try_compile "$LINENO"; then :
3116 ac_cv_prog_cxx_g=yes
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120 /* end confdefs.h. */
3130 if ac_fn_cxx_try_compile "$LINENO"; then :
3133 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3146 if ac_fn_cxx_try_compile "$LINENO"; then :
3147 ac_cv_prog_cxx_g=yes
3149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3157 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3158 if test "$ac_test_CXXFLAGS" = set; then
3159 CXXFLAGS=$ac_save_CXXFLAGS
3160 elif test $ac_cv_prog_cxx_g = yes; then
3161 if test "$GXX" = yes; then
3167 if test "$GXX" = yes; then
3174 ac_cpp='$CPP $CPPFLAGS'
3175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3179 # It's useless to us if it can't link programs (e.g. missing -lstdc++).
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX can link programs" >&5
3182 $as_echo_n "checking whether $CXX can link programs... " >&6; }
3183 if ${libc_cv_cxx_link_ok+:} false; then :
3184 $as_echo_n "(cached) " >&6
3187 ac_cpp='$CXXCPP $CPPFLAGS'
3188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3192 # Default, dynamic case.
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3204 if ac_fn_cxx_try_link "$LINENO"; then :
3205 libc_cv_cxx_link_ok=yes
3207 libc_cv_cxx_link_ok=no
3209 rm -f core conftest.err conftest.$ac_objext \
3210 conftest$ac_exeext conftest.$ac_ext
3212 old_LDFLAGS="$LDFLAGS"
3213 LDFLAGS="$LDFLAGS -static"
3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3222 std::cout << "Hello, world!";
3227 if ac_fn_cxx_try_link "$LINENO"; then :
3230 libc_cv_cxx_link_ok=no
3232 rm -f core conftest.err conftest.$ac_objext \
3233 conftest$ac_exeext conftest.$ac_ext
3234 LDFLAGS="$old_LDFLAGS"
3236 ac_cpp='$CPP $CPPFLAGS'
3237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_link_ok" >&5
3243 $as_echo "$libc_cv_cxx_link_ok" >&6; }
3244 if test $libc_cv_cxx_link_ok != yes; then :
3248 if test "`cd $srcdir; pwd -P`" = "`pwd -P`"; then
3249 as_fn_error $? "you must configure in a separate build directory" "$LINENO" 5
3252 # This will get text that should go into config.make.
3255 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3257 # Check whether --with-gd was given.
3258 if test "${with_gd+set}" = set; then :
3259 withval=$with_gd; case "$with_gd" in
3261 *) libgd_include="-I$withval/include"
3262 libgd_ldflags="-L$withval/lib" ;;
3268 # Check whether --with-gd-include was given.
3269 if test "${with_gd_include+set}" = set; then :
3270 withval=$with_gd_include; case "$with_gd_include" in
3272 *) libgd_include="-I$withval" ;;
3278 # Check whether --with-gd-lib was given.
3279 if test "${with_gd_lib+set}" = set; then :
3280 withval=$with_gd_lib; case "$with_gd_lib" in
3282 *) libgd_ldflags="-L$withval" ;;
3288 if test -n "$libgd_include"; then
3289 config_vars="$config_vars
3290 CFLAGS-memusagestat.c = $libgd_include"
3292 if test -n "$libgd_ldflags"; then
3293 config_vars="$config_vars
3294 libgd-LDFLAGS = $libgd_ldflags"
3298 # Check whether --with-binutils was given.
3299 if test "${with_binutils+set}" = set; then :
3300 withval=$with_binutils; path_binutils=$withval
3306 # Check whether --with-selinux was given.
3307 if test "${with_selinux+set}" = set; then :
3308 withval=$with_selinux; with_selinux=$withval
3315 # Check whether --with-headers was given.
3316 if test "${with_headers+set}" = set; then :
3317 withval=$with_headers; sysheaders=$withval
3326 # Check whether --with-default-link was given.
3327 if test "${with_default_link+set}" = set; then :
3328 withval=$with_default_link; use_default_link=$withval
3330 use_default_link=default
3334 # Check whether --enable-sanity-checks was given.
3335 if test "${enable_sanity_checks+set}" = set; then :
3336 enableval=$enable_sanity_checks; enable_sanity=$enableval
3342 # Check whether --enable-shared was given.
3343 if test "${enable_shared+set}" = set; then :
3344 enableval=$enable_shared; shared=$enableval
3349 # Check whether --enable-profile was given.
3350 if test "${enable_profile+set}" = set; then :
3351 enableval=$enable_profile; profile=$enableval
3356 # Check whether --enable-static-pie was given.
3357 if test "${enable_static_pie+set}" = set; then :
3358 enableval=$enable_static_pie; static_pie=$enableval
3363 # Check whether --enable-timezone-tools was given.
3364 if test "${enable_timezone_tools+set}" = set; then :
3365 enableval=$enable_timezone_tools; enable_timezone_tools=$enableval
3367 enable_timezone_tools=yes
3372 # Check whether --enable-hardcoded-path-in-tests was given.
3373 if test "${enable_hardcoded_path_in_tests+set}" = set; then :
3374 enableval=$enable_hardcoded_path_in_tests; hardcoded_path_in_tests=$enableval
3376 hardcoded_path_in_tests=no
3381 # Check whether --enable-stackguard-randomization was given.
3382 if test "${enable_stackguard_randomization+set}" = set; then :
3383 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3385 enable_stackguard_randomize=no
3388 if test "$enable_stackguard_randomize" = yes; then
3389 $as_echo "#define ENABLE_STACKGUARD_RANDOMIZE 1" >>confdefs.h
3393 # Check whether --enable-hidden-plt was given.
3394 if test "${enable_hidden_plt+set}" = set; then :
3395 enableval=$enable_hidden_plt; hidden=$enableval
3400 if test "x$hidden" = xno; then
3401 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
3405 # Check whether --enable-bind-now was given.
3406 if test "${enable_bind_now+set}" = set; then :
3407 enableval=$enable_bind_now; bindnow=$enableval
3413 if test "x$bindnow" = xyes; then
3414 $as_echo "#define BIND_NOW 1" >>confdefs.h
3418 # Check whether --enable-stack-protector was given.
3419 if test "${enable_stack_protector+set}" = set; then :
3420 enableval=$enable_stack_protector; enable_stack_protector=$enableval
3422 enable_stack_protector=no
3425 case "$enable_stack_protector" in
3426 all|yes|no|strong) ;;
3427 *) as_fn_error $? "Not a valid argument for --enable-stack-protector: \"$enable_stack_protector\"" "$LINENO" 5;;
3430 # Check whether --enable-static-nss was given.
3431 if test "${enable_static_nss+set}" = set; then :
3432 enableval=$enable_static_nss; static_nss=$enableval
3437 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3439 $as_echo "#define DO_STATIC_NSS 1" >>confdefs.h
3443 # Check whether --enable-force-install was given.
3444 if test "${enable_force_install+set}" = set; then :
3445 enableval=$enable_force_install; force_install=$enableval
3452 # Check whether --enable-maintainer-mode was given.
3453 if test "${enable_maintainer_mode+set}" = set; then :
3454 enableval=$enable_maintainer_mode; maintainer=$enableval
3460 # Check whether --enable-kernel was given.
3461 if test "${enable_kernel+set}" = set; then :
3462 enableval=$enable_kernel; minimum_kernel=$enableval
3465 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3466 # Better nothing than this.
3469 if test "$minimum_kernel" = current; then
3470 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3474 # Check whether --enable-all-warnings was given.
3475 if test "${enable_all_warnings+set}" = set; then :
3476 enableval=$enable_all_warnings; all_warnings=$enableval
3481 # Check whether --enable-werror was given.
3482 if test "${enable_werror+set}" = set; then :
3483 enableval=$enable_werror; enable_werror=$enableval
3490 # Check whether --enable-multi-arch was given.
3491 if test "${enable_multi_arch+set}" = set; then :
3492 enableval=$enable_multi_arch; multi_arch=$enableval
3498 # Check whether --enable-experimental-malloc was given.
3499 if test "${enable_experimental_malloc+set}" = set; then :
3500 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3502 experimental_malloc=yes
3507 # Check whether --enable-nss-crypt was given.
3508 if test "${enable_nss_crypt+set}" = set; then :
3509 enableval=$enable_nss_crypt; nss_crypt=$enableval
3514 if test x$nss_crypt = xyes; then
3515 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3516 if test $? -ne 0; then
3517 as_fn_error $? "cannot find include directory with nss-config" "$LINENO" 5
3519 nspr_includes=-I$(nspr-config --includedir 2>/dev/null)
3520 if test $? -ne 0; then
3521 as_fn_error $? "cannot find include directory with nspr-config" "$LINENO" 5
3523 old_CFLAGS="$CFLAGS"
3524 CFLAGS="$CFLAGS $nss_includes $nspr_includes"
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3530 #include <nsslowhash.h>
3531 void f (void) { NSSLOW_Init (); }
3540 if ac_fn_c_try_compile "$LINENO"; then :
3541 libc_cv_nss_crypt=yes
3544 cannot find NSS headers with lowlevel hash function interfaces" "$LINENO" 5
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548 old_LDFLAGS="$LDFLAGS"
3549 LIBS="$LIBS -lfreebl3"
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3554 #include <nsslowhash.h>
3563 if ac_fn_c_try_link "$LINENO"; then :
3564 libc_cv_nss_crypt=yes
3567 cannot link program using lowlevel NSS hash functions" "$LINENO" 5
3569 rm -f core conftest.err conftest.$ac_objext \
3570 conftest$ac_exeext conftest.$ac_ext
3571 # Check to see if there is a static NSS cryptographic library.
3572 # If there isn't then we can't link anything with libcrypt.a,
3573 # and that might mean disabling some static tests.
3574 LDFLAGS="$LDFLAGS -static"
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3579 #include <nsslowhash.h>
3588 if ac_fn_c_try_link "$LINENO"; then :
3589 libc_cv_static_nss_crypt=yes
3591 libc_cv_static_nss_crypt=no
3593 rm -f core conftest.err conftest.$ac_objext \
3594 conftest$ac_exeext conftest.$ac_ext
3595 LDFLAGS="$old_LDFLAGS"
3596 CFLAGS="$old_CFLAGS"
3599 libc_cv_nss_crypt=no
3600 libc_cv_static_nss_crypt=no
3606 # Check whether --enable-obsolete-rpc was given.
3607 if test "${enable_obsolete_rpc+set}" = set; then :
3608 enableval=$enable_obsolete_rpc; link_obsolete_rpc=$enableval
3610 link_obsolete_rpc=no
3615 if test "$link_obsolete_rpc" = yes; then
3616 $as_echo "#define LINK_OBSOLETE_RPC 1" >>confdefs.h
3620 # Check whether --enable-obsolete-nsl was given.
3621 if test "${enable_obsolete_nsl+set}" = set; then :
3622 enableval=$enable_obsolete_nsl; build_obsolete_nsl=$enableval
3624 build_obsolete_nsl=no
3629 if test "$build_obsolete_nsl" = yes; then
3630 $as_echo "#define LINK_OBSOLETE_NSL 1" >>confdefs.h
3634 # Check whether --enable-systemtap was given.
3635 if test "${enable_systemtap+set}" = set; then :
3636 enableval=$enable_systemtap; systemtap=$enableval
3641 if test "x$systemtap" != xno; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemtap static probe support" >&5
3643 $as_echo_n "checking for systemtap static probe support... " >&6; }
3644 if ${libc_cv_sdt+:} false; then :
3645 $as_echo_n "(cached) " >&6
3647 old_CFLAGS="$CFLAGS"
3648 CFLAGS="-std=gnu11 $CFLAGS"
3649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3650 /* end confdefs.h. */
3651 #include <sys/sdt.h>
3652 void foo (int i, void *p)
3654 asm ("" STAP_PROBE_ASM (foo, bar, STAP_PROBE_ASM_TEMPLATE (2)) ""
3655 :: STAP_PROBE_ASM_OPERANDS (2, i, p));
3658 if ac_fn_c_try_compile "$LINENO"; then :
3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3664 CFLAGS="$old_CFLAGS"
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_sdt" >&5
3667 $as_echo "$libc_cv_sdt" >&6; }
3668 if test $libc_cv_sdt = yes; then
3669 $as_echo "#define USE_STAP_PROBE 1" >>confdefs.h
3671 elif test "x$systemtap" != xauto; then
3672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3674 as_fn_error $? "systemtap support needs sys
/sdt.h with asm support
3675 See \
`config.log' for more details" "$LINENO" 5; }
3679 # Check whether --enable-build-nscd was given.
3680 if test "${enable_build_nscd+set}" = set; then :
3681 enableval=$enable_build_nscd; build_nscd=$enableval
3688 # Note the use of $use_nscd is near the bottom of the file.
3689 # Check whether --enable-nscd was given.
3690 if test "${enable_nscd+set}" = set; then :
3691 enableval=$enable_nscd; use_nscd=$enableval
3697 # Check whether --enable-pt_chown was given.
3698 if test "${enable_pt_chown+set}" = set; then :
3699 enableval=$enable_pt_chown; build_pt_chown=$enableval
3705 if test "$build_pt_chown" = yes; then
3706 $as_echo "#define HAVE_PT_CHOWN 1" >>confdefs.h
3710 # Check whether --enable-tunables was given.
3711 if test "${enable_tunables+set}" = set; then :
3712 enableval=$enable_tunables; have_tunables=$enableval
3718 if test "$have_tunables" = yes; then
3719 $as_echo "#define HAVE_TUNABLES 1" >>confdefs.h
3723 # The abi-tags file uses a fairly simplistic model for name recognition that
3724 # can't distinguish i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a
3725 # $host_os of `gnu
*' here to be `gnu-gnu*' just so that it can tell.
3726 # This doesn't get used much beyond that, so it's fairly safe.
3731 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3735 # Check whether --enable-mathvec was given.
3736 if test "${enable_mathvec+set}" = set; then :
3737 enableval
=$enable_mathvec; build_mathvec
=$enableval
3739 build_mathvec
=notset
3743 # We keep the original values in `$config_*' and never modify them, so we
3744 # can write them unchanged into config.make. Everything else uses
3745 # $machine, $vendor, and $os, and changes them whenever convenient.
3746 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3748 # Don't allow vendor == "unknown"
3749 test "$config_vendor" = unknown
&& config_vendor
=
3750 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3752 # Some configurations imply other options.
3755 # The configure fragment of a port can modify these to supplement
3756 # or override the table in the case statement below. No fragment should
3757 # ever change the config_* variables, however.
3758 machine
=$config_machine
3759 vendor
=$config_vendor
3765 # Check whether --with-cpu was given.
3766 if test "${with_cpu+set}" = set; then :
3767 withval
=$with_cpu; case "$withval" in
3768 yes|
'') as_fn_error $?
"--with-cpu requires an argument" "$LINENO" 5 ;;
3770 *) submachine
="$withval" ;;
3776 # An preconfigure script can set this when it wants to disable the sanity
3780 # A preconfigure script for a system that may or may not use fpu
3781 # sysdeps directories sets this to a preprocessor conditional for
3782 # whether to use such directories.
3785 if frags
=`ls -d $srcdir/sysdeps/*/preconfigure 2> /dev/null`
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysdeps preconfigure fragments" >&5
3788 $as_echo_n "checking for sysdeps preconfigure fragments... " >&6; }
3789 for frag
in $frags; do
3790 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3791 echo $ECHO_N "$name $ECHO_C" >&6
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
3800 ### By using the undocumented --enable-hacker-mode option for configure
3801 ### one can skip this test to make the configuration not fail for unsupported
3804 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
3805 case "$machine-$host_os" in
3810 *** The GNU C library is currently unavailable for this platform.
3811 *** If you are interested in seeing glibc on this platform visit
3812 *** the \"How to submit a new port\" in the wiki:
3813 *** https://sourceware.org/glibc/wiki/#Development
3814 *** and join the community!" "$LINENO" 5
3819 # Set base_machine if not set by a preconfigure fragment.
3820 test -n "$base_machine" || base_machine
=$machine
3823 # Determine whether to use fpu or nofpu sysdeps directories.
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use of fpu sysdeps directories" >&5
3825 $as_echo_n "checking for use of fpu sysdeps directories... " >&6; }
3826 if ${libc_cv_with_fp+:} false
; then :
3827 $as_echo_n "(cached) " >&6
3829 cat > conftest.c
<<EOF
3833 # error "no hardware floating point"
3837 if ${CC-cc} $CFLAGS $CPPFLAGS -S conftest.c
-o conftest.s \
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_with_fp" >&5
3844 $as_echo "$libc_cv_with_fp" >&6; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
3848 $as_echo_n "checking for -fstack-protector... " >&6; }
3849 if ${libc_cv_ssp+:} false
; then :
3850 $as_echo_n "(cached) " >&6
3852 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector -xc /dev/null -S -o /dev/null'
3853 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3857 test $ac_status = 0; }; }; then :
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
3865 $as_echo "$libc_cv_ssp" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector-strong" >&5
3868 $as_echo_n "checking for -fstack-protector-strong... " >&6; }
3869 if ${libc_cv_ssp_strong+:} false
; then :
3870 $as_echo_n "(cached) " >&6
3872 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null'
3873 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }; }; then :
3878 libc_cv_ssp_strong
=yes
3880 libc_cv_ssp_strong
=no
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp_strong" >&5
3885 $as_echo "$libc_cv_ssp_strong" >&6; }
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector-all" >&5
3888 $as_echo_n "checking for -fstack-protector-all... " >&6; }
3889 if ${libc_cv_ssp_all+:} false
; then :
3890 $as_echo_n "(cached) " >&6
3892 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null'
3893 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897 test $ac_status = 0; }; }; then :
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp_all" >&5
3905 $as_echo "$libc_cv_ssp_all" >&6; }
3909 if test "$libc_cv_ssp" = yes; then
3910 no_stack_protector
="-fno-stack-protector -DSTACK_PROTECTOR_LEVEL=0"
3911 $as_echo "#define HAVE_CC_NO_STACK_PROTECTOR 1" >>confdefs.h
3915 if test "$enable_stack_protector" = yes && test "$libc_cv_ssp" = yes; then
3916 stack_protector
="-fstack-protector"
3917 $as_echo "#define STACK_PROTECTOR_LEVEL 1" >>confdefs.h
3919 elif test "$enable_stack_protector" = all
&& test "$libc_cv_ssp_all" = yes; then
3920 stack_protector
="-fstack-protector-all"
3921 $as_echo "#define STACK_PROTECTOR_LEVEL 2" >>confdefs.h
3923 elif test "$enable_stack_protector" = strong
&& test "$libc_cv_ssp_strong" = yes; then
3924 stack_protector
="-fstack-protector-strong"
3925 $as_echo "#define STACK_PROTECTOR_LEVEL 3" >>confdefs.h
3928 stack_protector
="-fno-stack-protector"
3929 $as_echo "#define STACK_PROTECTOR_LEVEL 0" >>confdefs.h
3936 if test -n "$stack_protector"; then
3937 no_ssp
=-fno-stack-protector
3941 if test "$enable_stack_protector" != no
; then
3942 as_fn_error $?
"--enable-stack-protector=$enable_stack_protector specified, but specified level of stack protection is not supported by the compiler." "$LINENO" 5
3946 # For the multi-arch option we need support in the assembler & linker.
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler and linker STT_GNU_IFUNC support" >&5
3948 $as_echo_n "checking for assembler and linker STT_GNU_IFUNC support... " >&6; }
3949 if ${libc_cv_ld_gnu_indirect_function+:} false
; then :
3950 $as_echo_n "(cached) " >&6
3952 cat > conftest.S
<<EOF
3953 .type foo,%gnu_indirect_function
3966 libc_cv_ld_gnu_indirect_function
=no
3967 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
3968 -nostartfiles -nostdlib $no_ssp \
3969 -o conftest conftest.S
1>&5 2>&5; then
3970 # Do a link to see if the backend supports IFUNC relocs.
3971 $READELF -r conftest
1>&5
3972 LC_ALL
=C
$READELF -r conftest |
grep 'no relocations' >/dev
/null ||
{
3973 libc_cv_ld_gnu_indirect_function
=yes
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_gnu_indirect_function" >&5
3979 $as_echo "$libc_cv_ld_gnu_indirect_function" >&6; }
3981 # Check if gcc supports attribute ifunc as it is used in libc_ifunc macro.
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc attribute ifunc support" >&5
3983 $as_echo_n "checking for gcc attribute ifunc support... " >&6; }
3984 if ${libc_cv_gcc_indirect_function+:} false
; then :
3985 $as_echo_n "(cached) " >&6
3987 cat > conftest.c
<<EOF
3988 extern int func (int);
3989 int used_func (int a)
3993 static void *resolver ()
3997 extern __typeof (func) func __attribute__ ((ifunc ("resolver")));
3999 libc_cv_gcc_indirect_function
=no
4000 if ${CC-cc} -c conftest.c
-o conftest.o
1>&5 \
4002 if $READELF -s conftest.o |
grep IFUNC
>/dev
/null
2>&5; then
4003 libc_cv_gcc_indirect_function
=yes
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_indirect_function" >&5
4009 $as_echo "$libc_cv_gcc_indirect_function" >&6; }
4011 # Check if gcc warns about alias for function with incompatible types.
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler warns about alias for function with incompatible types" >&5
4013 $as_echo_n "checking if compiler warns about alias for function with incompatible types... " >&6; }
4014 if ${libc_cv_gcc_incompatible_alias+:} false
; then :
4015 $as_echo_n "(cached) " >&6
4017 cat > conftest.c
<<EOF
4018 int __redirect_foo (const void *s, int c);
4020 __typeof (__redirect_foo) *foo_impl (void) __asm__ ("foo");
4021 __typeof (__redirect_foo) *foo_impl (void)
4026 extern __typeof (__redirect_foo) foo_alias __attribute__ ((alias ("foo")));
4028 libc_cv_gcc_incompatible_alias
=yes
4029 if ${CC-cc} -Werror -c conftest.c
-o conftest.o
1>&5 2>&5 ; then
4030 libc_cv_gcc_incompatible_alias
=no
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_incompatible_alias" >&5
4035 $as_echo "$libc_cv_gcc_incompatible_alias" >&6; }
4037 if test x
"$libc_cv_ld_gnu_indirect_function" != xyes
; then
4038 if test x
"$multi_arch" = xyes
; then
4039 as_fn_error $?
"--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
4044 if test x
"$libc_cv_gcc_indirect_function" != xyes
; then
4045 # GCC 8+ emits a warning for alias with incompatible types and it might
4046 # fail to build ifunc resolvers aliases to either weak or internal
4047 # symbols. Disables multiarch build in this case.
4048 if test x
"$libc_cv_gcc_incompatible_alias" == xyes
; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc emits a warning for alias between functions of incompatible types" >&5
4050 $as_echo "$as_me: WARNING: gcc emits a warning for alias between functions of incompatible types" >&2;}
4051 if test x
"$multi_arch" = xyes
; then
4052 as_fn_error $?
"--enable-multi-arch support requires a gcc with gnu-indirect-function support" "$LINENO" 5
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Multi-arch is disabled." >&5
4055 $as_echo "$as_me: WARNING: Multi-arch is disabled." >&2;}
4057 elif test x
"$multi_arch" = xyes
; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-multi-arch support recommends a gcc with gnu-indirect-function support.
4059 Please use a gcc which supports it by default or configure gcc with --enable-gnu-indirect-function" >&5
4060 $as_echo "$as_me: WARNING: --enable-multi-arch support recommends a gcc with gnu-indirect-function support.
4061 Please use a gcc which supports it by default or configure gcc with --enable-gnu-indirect-function" >&2;}
4065 if test x
"$multi_arch" != xno
; then
4066 multi_arch_d
=/multiarch
4069 # Compute the list of sysdep directories for this configuration.
4070 # This can take a while to compute.
4071 sysdep_dir
=$srcdir/sysdeps
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysdep dirs" >&5
4073 $as_echo_n "checking sysdep dirs... " >&6; }
4074 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4075 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4077 test "x$base_os" != x ||
case "$os" in
4079 base_os
=mach
/hurd
;;
4081 base_os
=unix
/sysv
;;
4084 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4087 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4091 o
=`echo $tail | sed 's/[0-9]*$//'`
4092 if test $o != $tail; then
4095 # For linux-gnu, try linux-gnu, then linux.
4096 o
=`echo $tail | sed 's/-.*$//'`
4097 if test $o != $tail; then
4101 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4104 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4110 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4112 tail=$machine${submachine:+/$submachine}
4113 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4115 # Prepend the machine's FPU directory unless --without-fp.
4116 if test "$libc_cv_with_fp" = yes; then
4121 # For each machine term, try it with and then without /multiarch.
4122 for try_fpu
in $maybe_fpu ''; do
4123 for try_multi
in $multi_arch_d ''; do
4124 mach
="$mach /$1$try_fpu$try_multi"
4131 # Find what sysdep directories exist.
4133 for b
in $base ''; do
4134 for m0
in $mach ''; do
4135 for v
in /$vendor ''; do
4136 test "$v" = / && continue
4137 for o
in /$ostry ''; do
4138 test "$o" = / && continue
4139 for m
in $mach ''; do
4140 try_suffix
="$m0$b$v$o$m"
4141 if test -n "$try_suffix"; then
4142 try_srcdir
="${srcdir}/"
4143 try
="sysdeps$try_suffix"
4144 test -n "$enable_debug_configure" &&
4145 echo "$0 DEBUG: try $try" >&2
4146 if test -d "$try_srcdir$try"; then
4147 sysnames
="$sysnames $try"
4148 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4149 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4151 x
*/$submachine) submachine_used
=t
;;
4161 # If the assembler supports gnu_indirect_function symbol type and the
4162 # architecture supports multi-arch, we enable multi-arch by default.
4167 test x
"$multi_arch" = xdefault
&& multi_arch
=no
4170 if test x
"$multi_arch" != xno
; then
4171 $as_echo "#define USE_MULTIARCH 1" >>confdefs.h
4176 if test -z "$os_used" && test "$os" != none
; then
4177 as_fn_error $?
"Operating system $os is not supported." "$LINENO" 5
4179 if test -z "$machine_used" && test "$machine" != none
; then
4180 as_fn_error $?
"The $machine is not supported." "$LINENO" 5
4182 if test -z "$submachine_used" && test -n "$submachine"; then
4183 as_fn_error $?
"The $submachine subspecies of $host_cpu is not supported." "$LINENO" 5
4187 # We have now validated the configuration.
4189 # Expand the list of system names into a full list of directories
4190 # from each element's parent name and Implies file (if present).
4193 while test $# -gt 0; do
4197 case " $names " in *" $name "*)
4198 # Already in the list.
4202 # Report each name as we discover it, so there is no long pause in output.
4203 echo $ECHO_N "$name $ECHO_C" >&6
4205 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4209 *) xsrcdir
=$srcdir/ ;;
4211 test -n "$enable_debug_configure" &&
4212 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4214 for implies_file
in Implies Implies-before Implies-after
; do
4215 implies_type
=`echo $implies_file | sed s/-/_/`
4216 eval ${implies_type}=
4217 if test -f $xsrcdir$name/$implies_file; then
4218 # Collect more names from the `Implies' file (removing comments).
4219 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/$implies_file`"
4220 for x
in $implied_candidate; do
4222 if test -d $xsrcdir$name_base/$x; then
4223 eval "${implies_type}=\"\$${implies_type} \$name_base/\$x\""
4228 test -n "$enable_debug_configure" &&
4229 echo "DEBUG: $name $implies_file $x try() {$try_srcdir}$try" >&2
4230 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4232 eval "${implies_type}=\"\$${implies_type} \$try\""
4235 if test $found = no
; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/$implies_file specifies nonexistent $x" >&5
4237 $as_echo "$as_me: WARNING: $name/$implies_file specifies nonexistent $x" >&2;}
4243 # Add NAME to the list of names.
4244 names
="$names $name"
4246 # Find the parent of NAME, using the empty string if it has none.
4247 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4249 test -n "$enable_debug_configure" &&
4250 echo "DEBUG: $name Implies='$Implies' rest='$*' parent='$parent' \
4251 Implies_before='$Implies_before' Implies_after='$Implies_after'" >&2
4253 # Add the names implied by NAME, and NAME's parent (if it has one), to
4254 # the list of names to be processed (the argument list). We prepend the
4255 # implied names to the list and append the parent. We want implied
4256 # directories to come before further directories inferred from the
4257 # configuration components; this ensures that for sysv4, unix/common
4258 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4260 sysnames
="`echo $Implies $* $Implies_before $parent $Implies_after`"
4261 test -n "$sysnames" && set $sysnames
4264 # Add the default directories.
4265 default_sysnames
="sysdeps/generic"
4266 sysnames
="$names $default_sysnames"
4268 # The other names were emitted during the scan.
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_sysnames" >&5
4270 $as_echo "$default_sysnames" >&6; }
4275 # Find a good install program. We prefer a C program (faster),
4276 # so one script is as good as another. But avoid the broken or
4277 # incompatible versions:
4278 # SysV /etc/install, /usr/sbin/install
4279 # SunOS /usr/etc/install
4280 # IRIX /sbin/install
4282 # AmigaOS /C/install, which installs bootblocks on floppy discs
4283 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4284 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4285 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4286 # OS/2's system install, which has a completely different semantic
4287 # ./install, which can be erroneously created by make from ./install.sh.
4288 # Reject install programs that cannot install multiple files.
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4290 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4291 if test -z "$INSTALL"; then
4292 if ${ac_cv_path_install+:} false
; then :
4293 $as_echo_n "(cached) " >&6
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 test -z "$as_dir" && as_dir
=.
4300 # Account for people who put trailing slashes in PATH elements.
4301 case $as_dir/ in #((
4302 .
/ | .
// |
/[cC
]/* | \
4303 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4304 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4307 # OSF1 and SCO ODT 3.0 have their own names for install.
4308 # Don't use installbsd from OSF since it installs stuff as root
4310 for ac_prog
in ginstall scoinst
install; do
4311 for ac_exec_ext
in '' $ac_executable_extensions; do
4312 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4313 if test $ac_prog = install &&
4314 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4315 # AIX install. It has an incompatible calling convention.
4317 elif test $ac_prog = install &&
4318 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4319 # program-specific install script used by HP pwplus--don't use.
4322 rm -rf conftest.one conftest.two conftest.dir
4323 echo one
> conftest.one
4324 echo two
> conftest.two
4326 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4327 test -s conftest.one
&& test -s conftest.two
&&
4328 test -s conftest.dir
/conftest.one
&&
4329 test -s conftest.dir
/conftest.two
4331 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4344 rm -rf conftest.one conftest.two conftest.dir
4347 if test "${ac_cv_path_install+set}" = set; then
4348 INSTALL
=$ac_cv_path_install
4350 # As a last resort, use the slow shell script. Don't cache a
4351 # value for INSTALL within a source directory, because that will
4352 # break other packages using the cache if that directory is
4353 # removed, or if the value is a relative name.
4354 INSTALL
=$ac_install_sh
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4358 $as_echo "$INSTALL" >&6; }
4360 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4361 # It thinks the first close brace ends the variable substitution.
4362 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4364 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4366 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4368 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4369 # The makefiles need to use a different form to find it in $srcdir.
4370 INSTALL
='\$(..)./scripts/install-sh -c'
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4373 $as_echo_n "checking whether ln -s works... " >&6; }
4375 if test "$LN_S" = "ln -s"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4377 $as_echo "yes" >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4380 $as_echo "no, using $LN_S" >&6; }
4384 # Was a --with-binutils option given?
4385 if test -n "$path_binutils"; then
4386 # Make absolute; ensure a single trailing slash.
4387 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4388 CC
="$CC -B$path_binutils"
4390 AS
=`$CC -print-prog-name=as`
4391 LD
=`$CC -print-prog-name=ld`
4392 AR
=`$CC -print-prog-name=ar`
4394 OBJDUMP
=`$CC -print-prog-name=objdump`
4396 OBJCOPY
=`$CC -print-prog-name=objcopy`
4398 GPROF
=`$CC -print-prog-name=gprof`
4401 # Determine whether we are using GNU binutils.
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AS is GNU as" >&5
4403 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4404 if ${libc_cv_prog_as_gnu+:} false
; then :
4405 $as_echo_n "(cached) " >&6
4407 # Most GNU programs take a -v and spit out some text including
4408 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4409 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4410 libc_cv_prog_as_gnu
=yes
4412 libc_cv_prog_as_gnu
=no
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_as_gnu" >&5
4417 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4419 gnu_as
=$libc_cv_prog_as_gnu
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD is GNU ld" >&5
4422 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4423 if ${libc_cv_prog_ld_gnu+:} false
; then :
4424 $as_echo_n "(cached) " >&6
4426 # Most GNU programs take a -v and spit out some text including
4427 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4428 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4429 libc_cv_prog_ld_gnu
=yes
4431 libc_cv_prog_ld_gnu
=no
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_ld_gnu" >&5
4436 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4437 gnu_ld
=$libc_cv_prog_ld_gnu
4440 # Accept binutils 2.25 or newer.
4443 # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy
$ac_prog; ac_word
=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_AS+:} false
; then :
4448 $as_echo_n "(cached) " >&6
4450 if test -n "$AS"; then
4451 ac_cv_prog_AS
="$AS" # Let the user override the test.
4453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir
=.
4458 for ac_exec_ext
in '' $ac_executable_extensions; do
4459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_AS
="$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4471 if test -n "$AS"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4473 $as_echo "$AS" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$AS" && break
4483 if test -z "$AS"; then
4486 # Found it, now check the version.
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AS" >&5
4488 $as_echo_n "checking version of $AS... " >&6; }
4489 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4490 case $ac_prog_version in
4491 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4492 2.1[0-9][0-9]*|
2.2[5-9]*|
2.
[3-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4493 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4494 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4498 $as_echo "$ac_prog_version" >&6; }
4500 if test $ac_verc_fail = yes; then
4501 AS
=: critic_missing
="$critic_missing as"
4505 if test -n "`$LD --version | sed -n 's/^GNU \(gold\).*$/\1/p'`"; then
4506 # Accept gold 1.14 or higher
4509 # Extract the first word of "$ac_prog", so it can be a program name with args.
4510 set dummy
$ac_prog; ac_word
=$2
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4513 if ${ac_cv_prog_LD+:} false
; then :
4514 $as_echo_n "(cached) " >&6
4516 if test -n "$LD"; then
4517 ac_cv_prog_LD
="$LD" # Let the user override the test.
4519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4523 test -z "$as_dir" && as_dir
=.
4524 for ac_exec_ext
in '' $ac_executable_extensions; do
4525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4526 ac_cv_prog_LD
="$ac_prog"
4527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 if test -n "$LD"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4539 $as_echo "$LD" >&6; }
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4546 test -n "$LD" && break
4549 if test -z "$LD"; then
4552 # Found it, now check the version.
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4554 $as_echo_n "checking version of $LD... " >&6; }
4555 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU gold.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4556 case $ac_prog_version in
4557 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4558 1.1[4-9]*|
1.
[2-9][0-9]*|
1.1[0-9][0-9]*|
[2-9].
*|
[1-9][0-9]*)
4559 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4560 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4564 $as_echo "$ac_prog_version" >&6; }
4566 if test $ac_verc_fail = yes; then
4567 LD
=: critic_missing
="$critic_missing GNU gold"
4573 # Extract the first word of "$ac_prog", so it can be a program name with args.
4574 set dummy
$ac_prog; ac_word
=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if ${ac_cv_prog_LD+:} false
; then :
4578 $as_echo_n "(cached) " >&6
4580 if test -n "$LD"; then
4581 ac_cv_prog_LD
="$LD" # Let the user override the test.
4583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4587 test -z "$as_dir" && as_dir
=.
4588 for ac_exec_ext
in '' $ac_executable_extensions; do
4589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4590 ac_cv_prog_LD
="$ac_prog"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 if test -n "$LD"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4603 $as_echo "$LD" >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4610 test -n "$LD" && break
4613 if test -z "$LD"; then
4616 # Found it, now check the version.
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4618 $as_echo_n "checking version of $LD... " >&6; }
4619 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4620 case $ac_prog_version in
4621 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4622 2.1[0-9][0-9]*|
2.2[5-9]*|
2.
[3-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4623 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4624 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4628 $as_echo "$ac_prog_version" >&6; }
4630 if test $ac_verc_fail = yes; then
4631 LD
=: critic_missing
="$critic_missing GNU ld"
4636 # These programs are version sensitive.
4638 for ac_prog
in gnumake gmake
make
4640 # Extract the first word of "$ac_prog", so it can be a program name with args.
4641 set dummy
$ac_prog; ac_word
=$2
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 $as_echo_n "checking for $ac_word... " >&6; }
4644 if ${ac_cv_prog_MAKE+:} false
; then :
4645 $as_echo_n "(cached) " >&6
4647 if test -n "$MAKE"; then
4648 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir
=.
4655 for ac_exec_ext
in '' $ac_executable_extensions; do
4656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_MAKE
="$ac_prog"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 MAKE
=$ac_cv_prog_MAKE
4668 if test -n "$MAKE"; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4670 $as_echo "$MAKE" >&6; }
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 $as_echo "no" >&6; }
4677 test -n "$MAKE" && break
4680 if test -z "$MAKE"; then
4683 # Found it, now check the version.
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
4685 $as_echo_n "checking version of $MAKE... " >&6; }
4686 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4687 case $ac_prog_version in
4688 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4689 3.79* |
3.
[89]* |
[4-9].
* |
[1-9][0-9]*)
4690 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4691 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4695 $as_echo "$ac_prog_version" >&6; }
4697 if test $ac_verc_fail = yes; then
4698 critic_missing
="$critic_missing make"
4702 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
4704 # Extract the first word of "$ac_prog", so it can be a program name with args.
4705 set dummy
$ac_prog; ac_word
=$2
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 $as_echo_n "checking for $ac_word... " >&6; }
4708 if ${ac_cv_prog_MSGFMT+:} false
; then :
4709 $as_echo_n "(cached) " >&6
4711 if test -n "$MSGFMT"; then
4712 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
4714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4718 test -z "$as_dir" && as_dir
=.
4719 for ac_exec_ext
in '' $ac_executable_extensions; do
4720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4721 ac_cv_prog_MSGFMT
="$ac_prog"
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4731 MSGFMT
=$ac_cv_prog_MSGFMT
4732 if test -n "$MSGFMT"; then
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4734 $as_echo "$MSGFMT" >&6; }
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4741 test -n "$MSGFMT" && break
4744 if test -z "$MSGFMT"; then
4747 # Found it, now check the version.
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
4749 $as_echo_n "checking version of $MSGFMT... " >&6; }
4750 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4751 case $ac_prog_version in
4752 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4753 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
4754 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4755 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4759 $as_echo "$ac_prog_version" >&6; }
4761 if test $ac_verc_fail = yes; then
4762 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
4765 for ac_prog
in makeinfo
4767 # Extract the first word of "$ac_prog", so it can be a program name with args.
4768 set dummy
$ac_prog; ac_word
=$2
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 $as_echo_n "checking for $ac_word... " >&6; }
4771 if ${ac_cv_prog_MAKEINFO+:} false
; then :
4772 $as_echo_n "(cached) " >&6
4774 if test -n "$MAKEINFO"; then
4775 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4781 test -z "$as_dir" && as_dir
=.
4782 for ac_exec_ext
in '' $ac_executable_extensions; do
4783 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_MAKEINFO
="$ac_prog"
4785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 MAKEINFO
=$ac_cv_prog_MAKEINFO
4795 if test -n "$MAKEINFO"; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4797 $as_echo "$MAKEINFO" >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4804 test -n "$MAKEINFO" && break
4807 if test -z "$MAKEINFO"; then
4810 # Found it, now check the version.
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
4812 $as_echo_n "checking version of $MAKEINFO... " >&6; }
4813 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4814 case $ac_prog_version in
4815 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4816 4.
[7-9]*|
4.
[1-9][0-9]*|
[5-9].
*)
4817 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4818 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4822 $as_echo "$ac_prog_version" >&6; }
4824 if test $ac_verc_fail = yes; then
4825 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
4830 # Extract the first word of "$ac_prog", so it can be a program name with args.
4831 set dummy
$ac_prog; ac_word
=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_SED+:} false
; then :
4835 $as_echo_n "(cached) " >&6
4837 if test -n "$SED"; then
4838 ac_cv_prog_SED
="$SED" # Let the user override the test.
4840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4844 test -z "$as_dir" && as_dir
=.
4845 for ac_exec_ext
in '' $ac_executable_extensions; do
4846 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_SED
="$ac_prog"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 if test -n "$SED"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4860 $as_echo "$SED" >&6; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4867 test -n "$SED" && break
4870 if test -z "$SED"; then
4873 # Found it, now check the version.
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
4875 $as_echo_n "checking version of $SED... " >&6; }
4876 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4877 case $ac_prog_version in
4878 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4879 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
4880 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4881 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4885 $as_echo "$ac_prog_version" >&6; }
4887 if test $ac_verc_fail = yes; then
4888 SED
=: aux_missing
="$aux_missing sed"
4893 # Extract the first word of "$ac_prog", so it can be a program name with args.
4894 set dummy
$ac_prog; ac_word
=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_AWK+:} false
; then :
4898 $as_echo_n "(cached) " >&6
4900 if test -n "$AWK"; then
4901 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4907 test -z "$as_dir" && as_dir
=.
4908 for ac_exec_ext
in '' $ac_executable_extensions; do
4909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_AWK
="$ac_prog"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 if test -n "$AWK"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4923 $as_echo "$AWK" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4930 test -n "$AWK" && break
4933 if test -z "$AWK"; then
4936 # Found it, now check the version.
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AWK" >&5
4938 $as_echo_n "checking version of $AWK... " >&6; }
4939 ac_prog_version
=`$AWK --version 2>&1 | sed -n 's/^.*GNU Awk[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4940 case $ac_prog_version in
4941 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4942 3.1.
[2-9]*|
3.
[2-9]*|
[4-9]*)
4943 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4944 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4948 $as_echo "$ac_prog_version" >&6; }
4950 if test $ac_verc_fail = yes; then
4951 critic_missing
="$critic_missing gawk"
4954 for ac_prog
in bison
4956 # Extract the first word of "$ac_prog", so it can be a program name with args.
4957 set dummy
$ac_prog; ac_word
=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if ${ac_cv_prog_BISON+:} false
; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -n "$BISON"; then
4964 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir
=.
4971 for ac_exec_ext
in '' $ac_executable_extensions; do
4972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_BISON
="$ac_prog"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 BISON
=$ac_cv_prog_BISON
4984 if test -n "$BISON"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4986 $as_echo "$BISON" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4993 test -n "$BISON" && break
4996 if test -z "$BISON"; then
4999 # Found it, now check the version.
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $BISON" >&5
5001 $as_echo_n "checking version of $BISON... " >&6; }
5002 ac_prog_version
=`$BISON --version 2>&1 | sed -n 's/^.*bison (GNU Bison) \([0-9]*\.[0-9.]*\).*$/\1/p'`
5003 case $ac_prog_version in
5004 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5005 2.7*|
[3-9].
*|
[1-9][0-9]*)
5006 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5007 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5011 $as_echo "$ac_prog_version" >&6; }
5013 if test $ac_verc_fail = yes; then
5014 critic_missing
="$critic_missing bison"
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC is sufficient to build libc" >&5
5019 $as_echo_n "checking if $CC is sufficient to build libc... " >&6; }
5020 if ${libc_cv_compiler_ok+:} false
; then :
5021 $as_echo_n "(cached) " >&6
5024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5031 #if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9)
5032 #error insufficient compiler
5038 if ac_fn_c_try_compile
"$LINENO"; then :
5039 libc_cv_compiler_ok
=yes
5041 libc_cv_compiler_ok
=no
5043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_compiler_ok" >&5
5046 $as_echo "$libc_cv_compiler_ok" >&6; }
5047 if test $libc_cv_compiler_ok != yes; then :
5048 critic_missing
="$critic_missing compiler"
5051 if test -n "$ac_tool_prefix"; then
5052 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
5053 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if ${ac_cv_prog_NM+:} false
; then :
5057 $as_echo_n "(cached) " >&6
5059 if test -n "$NM"; then
5060 ac_cv_prog_NM
="$NM" # Let the user override the test.
5062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5066 test -z "$as_dir" && as_dir
=.
5067 for ac_exec_ext
in '' $ac_executable_extensions; do
5068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5069 ac_cv_prog_NM
="${ac_tool_prefix}nm"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 if test -n "$NM"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
5082 $as_echo "$NM" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5090 if test -z "$ac_cv_prog_NM"; then
5092 # Extract the first word of "nm", so it can be a program name with args.
5093 set dummy nm
; ac_word
=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
5097 $as_echo_n "(cached) " >&6
5099 if test -n "$ac_ct_NM"; then
5100 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5106 test -z "$as_dir" && as_dir
=.
5107 for ac_exec_ext
in '' $ac_executable_extensions; do
5108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_ac_ct_NM
="nm"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5120 if test -n "$ac_ct_NM"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
5122 $as_echo "$ac_ct_NM" >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5128 if test "x$ac_ct_NM" = x
; then
5131 case $cross_compiling:$ac_tool_warned in
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5135 ac_tool_warned
=yes ;;
5144 if test "x$maintainer" = "xyes"; then
5145 for ac_prog
in autoconf
5147 # Extract the first word of "$ac_prog", so it can be a program name with args.
5148 set dummy
$ac_prog; ac_word
=$2
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5150 $as_echo_n "checking for $ac_word... " >&6; }
5151 if ${ac_cv_prog_AUTOCONF+:} false
; then :
5152 $as_echo_n "(cached) " >&6
5154 if test -n "$AUTOCONF"; then
5155 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5161 test -z "$as_dir" && as_dir
=.
5162 for ac_exec_ext
in '' $ac_executable_extensions; do
5163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_AUTOCONF
="$ac_prog"
5165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 AUTOCONF
=$ac_cv_prog_AUTOCONF
5175 if test -n "$AUTOCONF"; then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5177 $as_echo "$AUTOCONF" >&6; }
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 $as_echo "no" >&6; }
5184 test -n "$AUTOCONF" && break
5186 test -n "$AUTOCONF" || AUTOCONF
="no"
5188 case "x$AUTOCONF" in
5189 xno|x|x
:) AUTOCONF
=no
;;
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5192 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5193 if ${libc_cv_autoconf_works+:} false
; then :
5194 $as_echo_n "(cached) " >&6
5196 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.ac
> /dev
/null
2>&1); then
5197 libc_cv_autoconf_works
=yes
5199 libc_cv_autoconf_works
=no
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
5203 $as_echo "$libc_cv_autoconf_works" >&6; }
5204 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5207 if test "x$AUTOCONF" = xno
; then
5208 aux_missing
="$aux_missing autoconf"
5214 # Check for python3 if available, or else python.
5215 for ac_prog
in python3 python
5217 # Extract the first word of "$ac_prog", so it can be a program name with args.
5218 set dummy
$ac_prog; ac_word
=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_PYTHON_PROG+:} false
; then :
5222 $as_echo_n "(cached) " >&6
5224 if test -n "$PYTHON_PROG"; then
5225 ac_cv_prog_PYTHON_PROG
="$PYTHON_PROG" # Let the user override the test.
5227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5231 test -z "$as_dir" && as_dir
=.
5232 for ac_exec_ext
in '' $ac_executable_extensions; do
5233 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_PYTHON_PROG
="$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 PYTHON_PROG
=$ac_cv_prog_PYTHON_PROG
5245 if test -n "$PYTHON_PROG"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_PROG" >&5
5247 $as_echo "$PYTHON_PROG" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$PYTHON_PROG" && break
5256 test -n "$PYTHON_PROG" || PYTHON_PROG
="no"
5258 case "x$PYTHON_PROG" in
5259 xno|x|x
:) PYTHON_PROG
=no
;;
5263 if test "x$PYTHON_PROG" = xno
; then
5264 aux_missing
="$aux_missing python"
5266 PYTHON
="$PYTHON_PROG -B"
5270 test -n "$critic_missing" && as_fn_error $?
"
5271 *** These critical programs are missing or too old:$critic_missing
5272 *** Check the INSTALL file for required versions." "$LINENO" 5
5274 test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
5275 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5276 *** some features or tests will be disabled.
5277 *** Check the INSTALL file for required versions." >&5
5278 $as_echo "$as_me: WARNING:
5279 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5280 *** some features or tests will be disabled.
5281 *** Check the INSTALL file for required versions." >&2;}
5283 # if using special system headers, find out the compiler's sekrit
5284 # header directory and add that to the list. NOTE: Only does the right
5285 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5286 if test -n "$sysheaders"; then
5287 SYSINCLUDES
=-nostdinc
5288 for d
in include include-fixed
; do
5289 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5290 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5292 SYSINCLUDES
="$SYSINCLUDES \
5293 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5294 if test -n "$CXX"; then
5296 for cxxheaders
in `$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
5297 | sed -n -e '1,/#include/d' -e 's/^ \(\/.*\/[cg]++\)/\1/p'`; do
5298 test "x$cxxheaders" != x
&&
5299 CXX_SYSINCLUDES
="$CXX_SYSINCLUDES -isystem $cxxheaders"
5306 # Obtain some C++ header file paths. This is used to make a local
5307 # copy of those headers in Makerules.
5308 if test -n "$CXX"; then
5309 find_cxx_header
() {
5310 echo "#include <$1>" |
$CXX -M -MP -x c
++ - 2>/dev
/null \
5311 |
sed -n "\,$1:,{s/:\$//;p}"
5313 CXX_CSTDLIB_HEADER
="$(find_cxx_header cstdlib)"
5314 CXX_CMATH_HEADER
="$(find_cxx_header cmath)"
5315 CXX_BITS_STD_ABS_H
="$(find_cxx_header bits/std_abs.h)"
5321 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5322 # since this would lead to problems installing/building glibc.
5323 # LD_LIBRARY_PATH contains the current directory if one of the following
5325 # - one of the terminals (":" and ";") is the first or last sign
5326 # - two terminals occur directly after each other
5327 # - the path contains an element with a dot in it
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
5329 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5330 case ${LD_LIBRARY_PATH} in
5331 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5332 ld_library_path_setting
="contains current directory"
5335 ld_library_path_setting
="ok"
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
5339 $as_echo "$ld_library_path_setting" >&6; }
5340 if test "$ld_library_path_setting" != "ok"; then
5342 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5343 *** building glibc. Please change the environment variable
5344 *** and run configure again." "$LINENO" 5
5347 # Extract the first word of "bash", so it can be a program name with args.
5348 set dummy bash
; ac_word
=$2
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5350 $as_echo_n "checking for $ac_word... " >&6; }
5351 if ${ac_cv_path_BASH_SHELL+:} false
; then :
5352 $as_echo_n "(cached) " >&6
5356 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir
=.
5364 for ac_exec_ext
in '' $ac_executable_extensions; do
5365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5378 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5379 if test -n "$BASH_SHELL"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
5381 $as_echo "$BASH_SHELL" >&6; }
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5389 # Extract the first word of "perl", so it can be a program name with args.
5390 set dummy perl
; ac_word
=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_path_PERL+:} false
; then :
5394 $as_echo_n "(cached) " >&6
5398 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5405 test -z "$as_dir" && as_dir
=.
5406 for ac_exec_ext
in '' $ac_executable_extensions; do
5407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5408 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5420 PERL
=$ac_cv_path_PERL
5421 if test -n "$PERL"; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5423 $as_echo "$PERL" >&6; }
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426 $as_echo "no" >&6; }
5430 if test "$PERL" != no
&&
5431 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5434 # Extract the first word of "install-info", so it can be a program name with args.
5435 set dummy install-info
; ac_word
=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_path_INSTALL_INFO+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5441 case $INSTALL_INFO in
5443 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5448 for as_dir
in $as_dummy
5451 test -z "$as_dir" && as_dir
=.
5452 for ac_exec_ext
in '' $ac_executable_extensions; do
5453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5466 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5467 if test -n "$INSTALL_INFO"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5469 $as_echo "$INSTALL_INFO" >&6; }
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
5478 $as_echo_n "checking for .set assembler directive... " >&6; }
5479 if ${libc_cv_asm_set_directive+:} false
; then :
5480 $as_echo_n "(cached) " >&6
5482 cat > conftest.s
<<EOF
5485 .set glibc_conftest_frobozz,foo
5486 .globl glibc_conftest_frobozz
5488 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5489 # (but it doesn't work), so we must do a linking check to be sure.
5490 cat > conftest1.c
<<\EOF
5491 extern int glibc_conftest_frobozz
;
5492 void _start
() { glibc_conftest_frobozz
= 1; }
5494 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5495 -nostartfiles -nostdlib $no_ssp \
5496 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5497 libc_cv_asm_set_directive
=yes
5499 libc_cv_asm_set_directive
=no
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
5504 $as_echo "$libc_cv_asm_set_directive" >&6; }
5505 if test $libc_cv_asm_set_directive = yes; then
5506 $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for protected data symbol" >&5
5511 $as_echo_n "checking linker support for protected data symbol... " >&6; }
5512 if ${libc_cv_protected_data+:} false
; then :
5513 $as_echo_n "(cached) " >&6
5515 cat > conftest.c
<<EOF
5516 int bar __attribute__ ((visibility ("protected"))) = 1;
5518 libc_cv_protected_data
=no
5519 if { ac_try
='${CC-cc} -nostdlib -nostartfiles $no_ssp -fPIC -shared conftest.c -o conftest.so'
5520 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5524 test $ac_status = 0; }; }; then
5525 cat > conftest.c
<<EOF
5527 int main (void) { return bar; }
5529 if { ac_try
='${CC-cc} -nostdlib -nostartfiles $no_ssp conftest.c -o conftest conftest.so'
5530 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5534 test $ac_status = 0; }; }; then
5535 libc_cv_protected_data
=yes
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_protected_data" >&5
5542 $as_echo "$libc_cv_protected_data" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for INSERT in linker script" >&5
5546 $as_echo_n "checking linker support for INSERT in linker script... " >&6; }
5547 if ${libc_cv_insert+:} false
; then :
5548 $as_echo_n "(cached) " >&6
5550 cat > conftest.c
<<EOF
5551 const int __attribute__ ((section(".bar"))) bar = 0x12345678;
5552 int test (void) { return bar; }
5554 cat > conftest.t
<<EOF
5559 INSERT AFTER .rela.dyn;
5562 if { ac_try
='${CC-cc} -nostdlib -nostartfiles $no_ssp -fPIC -shared conftest.c -Wl,-T,conftest.t -o conftest.so'
5563 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5567 test $ac_status = 0; }; }; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_insert" >&5
5574 $as_echo "$libc_cv_insert" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
5578 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
5579 if ${libc_cv_broken_alias_attribute+:} false
; then :
5580 $as_echo_n "(cached) " >&6
5582 cat > conftest.c
<<EOF
5583 extern int foo (int x) __asm ("xyzzy");
5584 int bar (int x) { return x; }
5585 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5587 extern __typeof (dfoo) dfoo __asm ("abccb");
5590 libc_cv_broken_alias_attribute
=yes
5591 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5592 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5596 test $ac_status = 0; }; }; then
5597 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5598 grep 'abccb' conftest.s
>/dev
/null
; then
5599 libc_cv_broken_alias_attribute
=no
5602 rm -f conftest.c conftest.s
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
5606 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
5607 if test $libc_cv_broken_alias_attribute = yes; then
5608 as_fn_error $?
"working alias attribute support required" "$LINENO" 5
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
5612 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
5613 if ${libc_cv_have_sdata_section+:} false
; then :
5614 $as_echo_n "(cached) " >&6
5616 echo "int i;" > conftest.c
5617 libc_cv_have_sdata_section
=no
5618 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5619 |
grep '\.sdata' >/dev
/null
; then
5620 libc_cv_have_sdata_section
=yes
5622 rm -f conftest.c conftest.so
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
5626 $as_echo "$libc_cv_have_sdata_section" >&6; }
5627 if test $libc_cv_have_sdata_section = yes; then
5628 $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use .ctors/.dtors header and trailer" >&5
5633 $as_echo_n "checking whether to use .ctors/.dtors header and trailer... " >&6; }
5634 if ${libc_cv_ctors_header+:} false
; then :
5635 $as_echo_n "(cached) " >&6
5637 libc_cv_ctors_header
=yes
5638 cat > conftest.c
<<EOF
5639 int _start (void) { return 0; }
5640 int __start (void) { return 0; }
5642 __attribute__ ((constructor)) void ctor (void) { asm (""); }
5643 __attribute__ ((destructor)) void dtor (void) { asm (""); }
5646 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -o conftest
5647 conftest.c -static -nostartfiles -nostdlib
5649 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5653 test $ac_status = 0; }; }; then :
5654 if $READELF -WS conftest
$ac_exeext |
$AWK '
5655 { gsub(/\[ */, "[") }
5656 $2 == ".ctors" || $2 == ".dtors" {
5657 size = strtonum("0x" $6)
5658 align = strtonum("0x" $NF)
5660 stub[$2] = size == align * 2
5663 ctors_ok = !seen[".ctors"] || stub[".ctors"]
5664 dtors_ok = !seen[".dtors"] || stub[".dtors"]
5665 exit ((ctors_ok && dtors_ok) ? 0 : 1)
5668 libc_cv_ctors_header
=no
5672 as_fn_error $?
"missing __attribute__ ((constructor)) support??" "$LINENO" 5
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ctors_header" >&5
5679 $as_echo "$libc_cv_ctors_header" >&6; }
5680 if test $libc_cv_ctors_header = no
; then
5681 $as_echo "#define NO_CTORS_DTORS_SECTIONS 1" >>confdefs.h
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
5686 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
5687 if ${libc_cv_cc_with_libunwind+:} false
; then :
5688 $as_echo_n "(cached) " >&6
5691 cat > conftest.c
<<EOF
5692 int main (void) { return 0; }
5694 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
5695 conftest.c
-v 2>&1 >/dev
/null |
grep ' -lunwind ' >/dev
/null
; then
5696 libc_cv_cc_with_libunwind
=yes
5698 libc_cv_cc_with_libunwind
=no
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
5703 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
5705 if test $libc_cv_cc_with_libunwind = yes; then
5706 $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
5712 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
5713 if ${libc_cv_as_noexecstack+:} false
; then :
5714 $as_echo_n "(cached) " >&6
5716 cat > conftest.c
<<EOF
5719 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
5720 -S -o conftest.s conftest.c 1>&5'
5721 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5725 test $ac_status = 0; }; } \
5726 && grep .note.GNU-stack conftest.s
>/dev
/null \
5727 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
5728 -c -o conftest.o conftest.s 1>&5'
5729 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733 test $ac_status = 0; }; }
5735 libc_cv_as_noexecstack
=yes
5737 libc_cv_as_noexecstack
=no
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
5742 $as_echo "$libc_cv_as_noexecstack" >&6; }
5743 if test $libc_cv_as_noexecstack = yes; then
5744 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z combreloc" >&5
5749 $as_echo_n "checking for -z combreloc... " >&6; }
5750 if ${libc_cv_z_combreloc+:} false
; then :
5751 $as_echo_n "(cached) " >&6
5753 cat > conftest.c
<<EOF
5754 extern int bar (int);
5756 int foo (void) { return bar (mumble); }
5758 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5759 -fPIC -shared $no_ssp -o conftest.so conftest.c
5760 -nostdlib -nostartfiles
5761 -Wl,-z,combreloc 1>&5'
5762 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5766 test $ac_status = 0; }; }
5768 if $READELF -S conftest.so |
grep -E '.rela?.dyn' > /dev
/null
; then
5769 libc_cv_z_combreloc
=yes
5771 libc_cv_z_combreloc
=no
5774 libc_cv_z_combreloc
=no
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_combreloc" >&5
5779 $as_echo "$libc_cv_z_combreloc" >&6; }
5780 if test "$libc_cv_z_combreloc" = yes; then
5781 $as_echo "#define HAVE_Z_COMBRELOC 1" >>confdefs.h
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z execstack" >&5
5787 $as_echo_n "checking for linker that supports -z execstack... " >&6; }
5788 libc_linker_feature
=no
5789 if test x
"$gnu_ld" = x
"yes"; then
5790 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z execstack"`
5791 if test -n "$libc_linker_check"; then
5792 cat > conftest.c
<<EOF
5793 int _start (void) { return 42; }
5795 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5796 -Wl,-z,execstack -nostdlib -nostartfiles
5797 -fPIC -shared -o conftest.so conftest.c
5799 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5803 test $ac_status = 0; }; }
5805 libc_linker_feature
=yes
5810 if test $libc_linker_feature = yes; then
5811 libc_cv_z_execstack
=yes
5813 libc_cv_z_execstack
=no
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5816 $as_echo "$libc_linker_feature" >&6; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports --no-dynamic-linker" >&5
5820 $as_echo_n "checking for linker that supports --no-dynamic-linker... " >&6; }
5821 libc_linker_feature
=no
5822 if test x
"$gnu_ld" = x
"yes"; then
5823 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\--no-dynamic-linker"`
5824 if test -n "$libc_linker_check"; then
5825 cat > conftest.c
<<EOF
5826 int _start (void) { return 42; }
5828 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5829 -Wl,--no-dynamic-linker -nostdlib -nostartfiles
5830 -fPIC -shared -o conftest.so conftest.c
5832 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5836 test $ac_status = 0; }; }
5838 libc_linker_feature
=yes
5843 if test $libc_linker_feature = yes; then
5844 libc_cv_no_dynamic_linker
=yes
5846 libc_cv_no_dynamic_linker
=no
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5849 $as_echo "$libc_linker_feature" >&6; }
5850 config_vars
="$config_vars
5851 have-no-dynamic-linker = $libc_cv_no_dynamic_linker"
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -static-pie" >&5
5854 $as_echo_n "checking for -static-pie... " >&6; }
5855 if ${libc_cv_static_pie+:} false
; then :
5856 $as_echo_n "(cached) " >&6
5858 if { ac_try
='${CC-cc} -static-pie -xc /dev/null -S -o /dev/null'
5859 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5863 test $ac_status = 0; }; }; then :
5864 libc_cv_static_pie
=yes
5866 libc_cv_static_pie
=no
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_static_pie" >&5
5871 $as_echo "$libc_cv_static_pie" >&6; }
5872 config_vars
="$config_vars
5873 have-static-pie = $libc_cv_static_pie"
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
5876 $as_echo_n "checking for -fpie... " >&6; }
5877 if ${libc_cv_fpie+:} false
; then :
5878 $as_echo_n "(cached) " >&6
5880 if { ac_try
='${CC-cc} -fpie -xc /dev/null -S -o /dev/null'
5881 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5885 test $ac_status = 0; }; }; then :
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
5893 $as_echo "$libc_cv_fpie" >&6; }
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style option" >&5
5898 $as_echo_n "checking for --hash-style option... " >&6; }
5899 if ${libc_cv_hashstyle+:} false
; then :
5900 $as_echo_n "(cached) " >&6
5902 cat > conftest.c
<<EOF
5903 int _start (void) { return 42; }
5905 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5906 -fPIC -shared -o conftest.so conftest.c
5907 -Wl,--hash-style=both -nostdlib 1>&5'
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; }; }
5914 libc_cv_hashstyle
=yes
5916 libc_cv_hashstyle
=no
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hashstyle" >&5
5921 $as_echo "$libc_cv_hashstyle" >&6; }
5924 # The linker's default -shared behavior is good enough if it
5925 # does these things that our custom linker scripts ensure that
5926 # all allocated NOTE sections come first.
5927 if test "$use_default_link" = default
; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sufficient default -shared layout" >&5
5929 $as_echo_n "checking for sufficient default -shared layout... " >&6; }
5930 if ${libc_cv_use_default_link+:} false
; then :
5931 $as_echo_n "(cached) " >&6
5933 libc_cv_use_default_link
=no
5934 cat > conftest.s
<<\EOF
5935 .section .note.a
,"a",%note
5940 .section .note.b
,"a",%note
5946 if { ac_try
=' ${CC-cc} $ASFLAGS -shared -o conftest.so conftest.s 1>&5'
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; }; } &&
5952 ac_try
=`$READELF -S conftest.so | sed -n \
5954 s/^ *\[ *[1-9][0-9]*\] *\([^ ][^ ]*\) *\([^ ][^ ]*\) .*$/\2 \1/
5960 libc_seen_a
=no libc_seen_b
=no
5962 while test $# -ge 2 -a "$1" = NOTE
; do
5964 .note.a
) libc_seen_a
=yes ;;
5965 .note.b
) libc_seen_b
=yes ;;
5969 case "$libc_seen_a$libc_seen_b" in
5971 libc_cv_use_default_link
=yes
5975 $libc_seen_a$libc_seen_b from:
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_use_default_link" >&5
5983 $as_echo "$libc_cv_use_default_link" >&6; }
5984 use_default_link
=$libc_cv_use_default_link
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOB_DAT reloc" >&5
5988 $as_echo_n "checking for GLOB_DAT reloc... " >&6; }
5989 if ${libc_cv_has_glob_dat+:} false
; then :
5990 $as_echo_n "(cached) " >&6
5992 cat > conftest.c
<<EOF
5994 int foo (void) { return mumble; }
5996 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5997 -fPIC -shared -o conftest.so conftest.c
5998 -nostdlib -nostartfiles $no_ssp
6000 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6004 test $ac_status = 0; }; }
6006 if $READELF -rW conftest.so |
grep '_GLOB_DAT' > /dev
/null
; then
6007 libc_cv_has_glob_dat
=yes
6009 libc_cv_has_glob_dat
=no
6012 libc_cv_has_glob_dat
=no
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_has_glob_dat" >&5
6017 $as_echo "$libc_cv_has_glob_dat" >&6; }
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker output format" >&5
6021 $as_echo_n "checking linker output format... " >&6; }
6022 if ${libc_cv_output_format+:} false
; then :
6023 $as_echo_n "(cached) " >&6
6025 if libc_cv_output_format
=`
6026 ${CC-cc} -nostartfiles -nostdlib $no_ssp -Wl,--print-output-format 2>&5`
6030 libc_cv_output_format
=
6032 test -n "$libc_cv_output_format" || libc_cv_output_format
=unknown
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_output_format" >&5
6035 $as_echo "$libc_cv_output_format" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6039 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6040 if ${libc_cv_fno_toplevel_reorder+:} false
; then :
6041 $as_echo_n "(cached) " >&6
6043 cat > conftest.c
<<EOF
6046 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6048 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6052 test $ac_status = 0; }; }
6054 libc_cv_fno_toplevel_reorder
=yes
6056 libc_cv_fno_toplevel_reorder
=no
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fno_toplevel_reorder" >&5
6061 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6062 if test $libc_cv_fno_toplevel_reorder = yes; then
6063 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6065 fno_unit_at_a_time
=-fno-unit-at-a-time
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mtls-dialect=gnu2" >&5
6070 $as_echo_n "checking for -mtls-dialect=gnu2... " >&6; }
6071 if ${libc_cv_mtls_dialect_gnu2+:} false
; then :
6072 $as_echo_n "(cached) " >&6
6074 cat > conftest.c
<<EOF
6081 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fPIC -mtls-dialect=gnu2
6083 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6087 test $ac_status = 0; }; }
6089 libc_cv_mtls_dialect_gnu2
=yes
6091 libc_cv_mtls_dialect_gnu2
=no
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mtls_dialect_gnu2" >&5
6096 $as_echo "$libc_cv_mtls_dialect_gnu2" >&6; }
6098 config_vars
="$config_vars
6099 have-mtls-dialect-gnu2 = $libc_cv_mtls_dialect_gnu2"
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
6102 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6103 if ${libc_cv_have_section_quotes+:} false
; then :
6104 $as_echo_n "(cached) " >&6
6106 cat > conftest.c
<<EOF
6107 static const int foo
6108 __attribute__ ((section ("bar"))) = 1;
6110 if ${CC-cc} -S conftest.c
-o conftest.s
; then
6111 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
6112 libc_cv_have_section_quotes
=yes
6114 libc_cv_have_section_quotes
=no
6117 libc_cv_have_section_quotes
=unknown
6119 rm -f conftest.
{c
,s
}
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
6123 $as_echo "$libc_cv_have_section_quotes" >&6; }
6124 if test $libc_cv_have_section_quotes = yes; then
6125 $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
6130 $as_echo_n "checking for __builtin_memset... " >&6; }
6131 if ${libc_cv_gcc_builtin_memset+:} false
; then :
6132 $as_echo_n "(cached) " >&6
6134 cat > conftest.c
<<\EOF
6137 __builtin_memset
(x
, 0, 1000);
6140 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | grep -F "memset" > /dev/null'
6141 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6145 test $ac_status = 0; }; };
6147 libc_cv_gcc_builtin_memset
=no
6149 libc_cv_gcc_builtin_memset
=yes
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
6154 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
6155 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6156 $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
6161 $as_echo_n "checking for redirection of built-in functions... " >&6; }
6162 if ${libc_cv_gcc_builtin_redirection+:} false
; then :
6163 $as_echo_n "(cached) " >&6
6165 cat > conftest.c
<<\EOF
6166 extern char
*strstr
(const char
*, const char
*) __asm
("my_strstr");
6167 char
*foo
(const char
*a
, const char
*b
)
6169 return __builtin_strstr
(a
, b
);
6172 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | grep -F "my_strstr" > /dev/null'
6173 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6177 test $ac_status = 0; }; };
6179 libc_cv_gcc_builtin_redirection
=yes
6181 libc_cv_gcc_builtin_redirection
=no
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
6186 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
6187 if test "$libc_cv_gcc_builtin_redirection" = no
; then
6188 as_fn_error $?
"support for the symbol redirection needed" "$LINENO" 5
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to disable generation of FMA instructions" >&5
6192 $as_echo_n "checking for compiler option to disable generation of FMA instructions... " >&6; }
6193 if ${libc_cv_cc_nofma+:} false
; then :
6194 $as_echo_n "(cached) " >&6
6197 for opt
in -ffp-contract=off
-mno-fused-madd; do
6198 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6199 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6203 test $ac_status = 0; }; }; then :
6204 libc_cv_cc_nofma
=$opt; break
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_nofma" >&5
6209 $as_echo "$libc_cv_cc_nofma" >&6; }
6212 if test -n "$submachine"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
6214 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
6215 if ${libc_cv_cc_submachine+:} false
; then :
6216 $as_echo_n "(cached) " >&6
6218 libc_cv_cc_submachine
=no
6219 for opt
in "-march=$submachine" "-mcpu=$submachine"; do
6220 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6221 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6225 test $ac_status = 0; }; }; then :
6227 libc_cv_cc_submachine
="$opt"
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
6233 $as_echo "$libc_cv_cc_submachine" >&6; }
6234 if test "x$libc_cv_cc_submachine" = xno
; then
6235 as_fn_error $?
"${CC-cc} does not support $submachine" "$LINENO" 5
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6241 __attribute__ ((__optimize__))" >&5
6242 $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6243 __attribute__ ((__optimize__))... " >&6; }
6244 if ${libc_cv_cc_loop_to_function+:} false
; then :
6245 $as_echo_n "(cached) " >&6
6247 cat > conftest.c
<<EOF
6249 __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
6252 libc_cv_cc_loop_to_function
=no
6253 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c'
6254 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6258 test $ac_status = 0; }; }
6260 libc_cv_cc_loop_to_function
=yes
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_loop_to_function" >&5
6265 $as_echo "$libc_cv_cc_loop_to_function" >&6; }
6266 if test $libc_cv_cc_loop_to_function = yes; then
6267 $as_echo "#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
6273 $as_echo_n "checking for libgd... " >&6; }
6274 if test "$with_gd" != "no"; then
6275 old_CFLAGS
="$CFLAGS"
6276 CFLAGS
="$CFLAGS $libgd_include"
6277 old_LDFLAGS
="$LDFLAGS"
6278 LDFLAGS
="$LDFLAGS $libgd_ldflags"
6280 LIBS
="$LIBS -lgd -lpng -lz -lm"
6281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6292 if ac_fn_c_try_link
"$LINENO"; then :
6297 rm -f core conftest.err conftest.
$ac_objext \
6298 conftest
$ac_exeext conftest.
$ac_ext
6299 CFLAGS
="$old_CFLAGS"
6300 LDFLAGS
="$old_LDFLAGS"
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
6306 $as_echo "$LIBGD" >&6; }
6310 if test x
$with_selinux = xno
; then
6313 # See if we have the SELinux library
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
6315 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
6316 if ${ac_cv_lib_selinux_is_selinux_enabled+:} false
; then :
6317 $as_echo_n "(cached) " >&6
6319 ac_check_lib_save_LIBS
=$LIBS
6320 LIBS
="-lselinux $LIBS"
6321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6324 /* Override any GCC internal prototype to avoid an error.
6325 Use char because int might match the return type of a GCC
6326 builtin and then its argument prototype would still apply. */
6330 char is_selinux_enabled ();
6334 return is_selinux_enabled ();
6339 if ac_fn_c_try_link
"$LINENO"; then :
6340 ac_cv_lib_selinux_is_selinux_enabled
=yes
6342 ac_cv_lib_selinux_is_selinux_enabled
=no
6344 rm -f core conftest.err conftest.
$ac_objext \
6345 conftest
$ac_exeext conftest.
$ac_ext
6346 LIBS
=$ac_check_lib_save_LIBS
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
6349 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
6350 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes
; then :
6356 if test x
$with_selinux = xyes
; then
6357 if test x
$have_selinux = xno
; then
6358 as_fn_error $?
"SELinux explicitly required, but SELinux library not found" "$LINENO" 5
6362 # Check if we're building with SELinux support.
6363 if test "x$have_selinux" = xyes
; then
6365 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
6368 # See if we have the libaudit library
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
6370 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
6371 if ${ac_cv_lib_audit_audit_log_user_avc_message+:} false
; then :
6372 $as_echo_n "(cached) " >&6
6374 ac_check_lib_save_LIBS
=$LIBS
6375 LIBS
="-laudit $LIBS"
6376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h. */
6379 /* Override any GCC internal prototype to avoid an error.
6380 Use char because int might match the return type of a GCC
6381 builtin and then its argument prototype would still apply. */
6385 char audit_log_user_avc_message ();
6389 return audit_log_user_avc_message ();
6394 if ac_fn_c_try_link
"$LINENO"; then :
6395 ac_cv_lib_audit_audit_log_user_avc_message
=yes
6397 ac_cv_lib_audit_audit_log_user_avc_message
=no
6399 rm -f core conftest.err conftest.
$ac_objext \
6400 conftest
$ac_exeext conftest.
$ac_ext
6401 LIBS
=$ac_check_lib_save_LIBS
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
6404 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
6405 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = xyes
; then :
6411 if test "x$have_libaudit" = xyes
; then
6413 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
6418 # See if we have the libcap library
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
6420 $as_echo_n "checking for cap_init in -lcap... " >&6; }
6421 if ${ac_cv_lib_cap_cap_init+:} false
; then :
6422 $as_echo_n "(cached) " >&6
6424 ac_check_lib_save_LIBS
=$LIBS
6426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6427 /* end confdefs.h. */
6429 /* Override any GCC internal prototype to avoid an error.
6430 Use char because int might match the return type of a GCC
6431 builtin and then its argument prototype would still apply. */
6444 if ac_fn_c_try_link
"$LINENO"; then :
6445 ac_cv_lib_cap_cap_init
=yes
6447 ac_cv_lib_cap_cap_init
=no
6449 rm -f core conftest.err conftest.
$ac_objext \
6450 conftest
$ac_exeext conftest.
$ac_ext
6451 LIBS
=$ac_check_lib_save_LIBS
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
6454 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
6455 if test "x$ac_cv_lib_cap_cap_init" = xyes
; then :
6461 if test "x$have_libcap" = xyes
; then
6463 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FORTIFY_SOURCE predefine" >&5
6472 $as_echo_n "checking for _FORTIFY_SOURCE predefine... " >&6; }
6473 if ${libc_cv_predef_fortify_source+:} false
; then :
6474 $as_echo_n "(cached) " >&6
6476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6483 #ifdef _FORTIFY_SOURCE
6490 if ac_fn_c_try_compile
"$LINENO"; then :
6491 libc_cv_predef_fortify_source
=no
6493 libc_cv_predef_fortify_source
=yes
6495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_fortify_source" >&5
6498 $as_echo "$libc_cv_predef_fortify_source" >&6; }
6499 if test $libc_cv_predef_fortify_source = yes; then
6500 CPPUNDEFS
="${CPPUNDEFS:+$CPPUNDEFS }-U_FORTIFY_SOURCE"
6504 # Some linkers on some architectures support __ehdr_start but with
6505 # bugs. Make sure usage of it does not create relocations in the
6506 # output (as the linker should resolve them all for us).
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker provides working __ehdr_start" >&5
6508 $as_echo_n "checking whether the linker provides working __ehdr_start... " >&6; }
6509 if ${libc_cv_ehdr_start+:} false
; then :
6510 $as_echo_n "(cached) " >&6
6513 old_CFLAGS
="$CFLAGS"
6514 old_LDFLAGS
="$LDFLAGS"
6516 CFLAGS
="$CFLAGS -fPIC"
6517 LDFLAGS
="$LDFLAGS -nostdlib -nostartfiles -shared $no_ssp"
6519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6520 /* end confdefs.h. */
6526 extern const Ehdr __ehdr_start __attribute__ ((visibility ("hidden")));
6527 long ehdr (void) { return __ehdr_start.val; }
6530 if ac_fn_c_try_link
"$LINENO"; then :
6531 if $READELF -r conftest |
grep -F __ehdr_start
>/dev
/null
; then
6532 libc_cv_ehdr_start
=broken
6534 libc_cv_ehdr_start
=yes
6537 libc_cv_ehdr_start
=no
6539 rm -f core conftest.err conftest.
$ac_objext \
6540 conftest
$ac_exeext conftest.
$ac_ext
6541 CFLAGS
="$old_CFLAGS"
6542 LDFLAGS
="$old_LDFLAGS"
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ehdr_start" >&5
6547 $as_echo "$libc_cv_ehdr_start" >&6; }
6548 if test "$libc_cv_ehdr_start" = yes; then
6549 $as_echo "#define HAVE_EHDR_START 1" >>confdefs.h
6551 elif test "$libc_cv_ehdr_start" = broken
; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linker is broken -- you should upgrade" >&5
6553 $as_echo "$as_me: WARNING: linker is broken -- you should upgrade" >&2;}
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_trap with no external dependencies" >&5
6557 $as_echo_n "checking for __builtin_trap with no external dependencies... " >&6; }
6558 if ${libc_cv_builtin_trap+:} false
; then :
6559 $as_echo_n "(cached) " >&6
6561 libc_cv_builtin_trap
=no
6562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6563 /* end confdefs.h. */
6573 if ac_fn_c_try_compile
"$LINENO"; then :
6575 libc_undefs
=`$NM -u conftest.o |
6576 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
6578 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
6580 echo >&5 "libc_undefs='$libc_undefs'"
6581 if test -z "$libc_undefs"; then
6582 libc_cv_builtin_trap
=yes
6585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_builtin_trap" >&5
6588 $as_echo "$libc_cv_builtin_trap" >&6; }
6589 if test $libc_cv_builtin_trap = yes; then
6590 $as_echo "#define HAVE_BUILTIN_TRAP 1" >>confdefs.h
6595 ac_cpp
='$CXXCPP $CPPFLAGS'
6596 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6597 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6598 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports thread_local" >&5
6602 $as_echo_n "checking whether the C++ compiler supports thread_local... " >&6; }
6603 if ${libc_cv_cxx_thread_local+:} false
; then :
6604 $as_echo_n "(cached) " >&6
6607 old_CXXFLAGS
="$CXXFLAGS"
6608 CXXFLAGS
="$CXXFLAGS -std=gnu++11"
6609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6614 // Compiler support.
6621 S * get () { return &s; }
6623 // libstdc++ support.
6624 #ifndef _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL
6625 #error __cxa_thread_atexit_impl not supported
6629 if ac_fn_cxx_try_compile
"$LINENO"; then :
6630 libc_cv_cxx_thread_local
=yes
6632 libc_cv_cxx_thread_local
=no
6634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6635 CXXFLAGS
="$old_CXXFLAGS"
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_thread_local" >&5
6639 $as_echo "$libc_cv_cxx_thread_local" >&6; }
6643 ac_cpp
='$CPP $CPPFLAGS'
6644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6649 ### End of automated tests.
6650 ### Now run sysdeps configure fragments.
6652 # They also can set these variables.
6654 ldd_rewrite_script
=no
6655 libc_cv_sysconfdir
=$sysconfdir
6656 libc_cv_localstatedir
=$localstatedir
6657 libc_cv_gcc_unwind_find_fde
=no
6660 # Iterate over all the sysdep directories we will use, running their
6661 # configure fragments.
6662 for dir
in $sysnames; do
6665 *) dest
=$srcdir/$dir ;;
6667 if test -r $dest/configure
; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
6669 $as_echo "running configure fragment for $dir" >&6; }
6674 if test x
"$build_mathvec" = xnotset
; then
6677 config_vars
="$config_vars
6678 build-mathvec = $build_mathvec"
6683 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
6684 $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
6689 # A sysdeps configure fragment can reset this if IFUNC is not actually
6690 # usable even though the assembler knows how to generate the symbol type.
6691 if test x
"$libc_cv_ld_gnu_indirect_function" = xyes
; then
6692 $as_echo "#define HAVE_IFUNC 1" >>confdefs.h
6696 if test x
"$libc_cv_gcc_indirect_function" = xyes
; then
6697 $as_echo "#define HAVE_GCC_IFUNC 1" >>confdefs.h
6701 # This is far from the AC_ARG_ENABLE that sets it so that a sysdeps
6702 # configure fragment can override the value to prevent this AC_DEFINE.
6704 if test "x$use_nscd" != xno
; then
6705 $as_echo "#define USE_NSCD 1" >>confdefs.h
6708 if test "x$build_nscd" = xdefault
; then
6709 build_nscd
=$use_nscd
6719 if test x
$use_ldconfig = xyes
; then
6720 $as_echo "#define USE_LDCONFIG 1" >>confdefs.h
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
6730 $as_echo_n "checking whether -fPIC is default... " >&6; }
6731 if ${libc_cv_pic_default+:} false
; then :
6732 $as_echo_n "(cached) " >&6
6734 libc_cv_pic_default
=yes
6735 cat > conftest.c
<<EOF
6736 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
6737 # error PIC is default.
6740 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
6741 libc_cv_pic_default
=no
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
6746 $as_echo "$libc_cv_pic_default" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIE is default" >&5
6750 $as_echo_n "checking whether -fPIE is default... " >&6; }
6751 if ${libc_cv_pie_default+:} false
; then :
6752 $as_echo_n "(cached) " >&6
6754 libc_cv_pie_default
=yes
6755 cat > conftest.c
<<EOF
6756 #if defined __PIE__ || defined __pie__ || defined PIE || defined pie
6757 # error PIE is default.
6760 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
6761 libc_cv_pie_default
=no
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pie_default" >&5
6766 $as_echo "$libc_cv_pie_default" >&6; }
6769 # Set the `multidir' variable by grabbing the variable from the compiler.
6770 # We do it once and save the result in a generated makefile.
6771 libc_cv_multidir
=`${CC-cc} $CFLAGS $CPPFLAGS -print-multi-directory`
6774 if test "$static_pie" = yes; then
6775 # The linker must support --no-dynamic-linker.
6776 if test "$libc_cv_no_dynamic_linker" != yes; then
6777 as_fn_error $?
"linker support for --no-dynamic-linker needed" "$LINENO" 5
6780 libc_cv_pie_default
=yes
6781 $as_echo "#define ENABLE_STATIC_PIE 1" >>confdefs.h
6784 config_vars
="$config_vars
6785 enable-static-pie = $static_pie"
6794 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
6795 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
6799 ac_config_files
="$ac_config_files config.make Makefile"
6801 ac_config_commands
="$ac_config_commands default"
6803 cat >confcache
<<\_ACEOF
6804 # This file is a shell script that caches the results of configure
6805 # tests run on this system so they can be shared between configure
6806 # scripts and configure runs, see configure's option --config-cache.
6807 # It is not useful on other systems. If it contains results you don't
6808 # want to keep, you may remove or edit it.
6810 # config.status only pays attention to the cache file if you give it
6811 # the --recheck option to rerun configure.
6813 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6814 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6819 # The following way of writing the cache mishandles newlines in values,
6820 # but we know of no workaround that is simple, portable, and efficient.
6821 # So, we kill variables containing newlines.
6822 # Ultrix sh set writes to stderr and can't be redirected directly,
6823 # and sets the high bit in the cache file unless we assign to the vars.
6825 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6826 eval ac_val
=\$
$ac_var
6830 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6831 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6834 _ | IFS | as_nl
) ;; #(
6835 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6836 *) { eval $ac_var=; unset $ac_var;} ;;
6842 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6843 *${as_nl}ac_space
=\
*)
6844 # `set' does not quote correctly, so add quotes: double-quote
6845 # substitution turns \\\\ into \\, and sed turns \\ into \.
6848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6851 # `set' quotes correctly as required by POSIX, so do not add quotes.
6852 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6861 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6863 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6865 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6866 if test -w "$cache_file"; then
6867 if test "x$cache_file" != "x/dev/null"; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6869 $as_echo "$as_me: updating cache $cache_file" >&6;}
6870 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6871 cat confcache
>"$cache_file"
6873 case $cache_file in #(
6875 mv -f confcache
"$cache_file"$$
&&
6876 mv -f "$cache_file"$$
"$cache_file" ;; #(
6878 mv -f confcache
"$cache_file" ;;
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6884 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6889 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6890 # Let make expand exec_prefix.
6891 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6893 DEFS
=-DHAVE_CONFIG_H
6898 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6899 # 1. Remove the extension, and $U if already installed.
6900 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6901 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6902 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6903 # will be set to the directory where LIBOBJS objects are built.
6904 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6905 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6909 LTLIBOBJS
=$ac_ltlibobjs
6913 : "${CONFIG_STATUS=./config.status}"
6915 ac_clean_files_save
=$ac_clean_files
6916 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6918 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6920 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6922 # Generated by $as_me.
6923 # Run this file to recreate the current configuration.
6924 # Compiler output produced by configure, useful for debugging
6925 # configure, is in config.log if it exists.
6931 SHELL=\${CONFIG_SHELL-$SHELL}
6934 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6935 ## -------------------- ##
6936 ## M4sh Initialization. ##
6937 ## -------------------- ##
6939 # Be more Bourne compatible
6940 DUALCASE
=1; export DUALCASE
# for MKS sh
6941 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6944 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6945 # is contrary to our usage. Disable this feature.
6946 alias -g '${1+"$@"}'='"$@"'
6947 setopt NO_GLOB_SUBST
6949 case `(set -o) 2>/dev/null` in #(
6961 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6962 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6963 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6964 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6965 # Prefer a ksh shell builtin over an external printf program on Solaris,
6966 # but without wasting forks for bash or zsh.
6967 if test -z "$BASH_VERSION$ZSH_VERSION" \
6968 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6969 as_echo='print
-r --'
6970 as_echo_n='print
-rn --'
6971 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6972 as_echo='printf %s
\n'
6973 as_echo_n='printf %s
'
6975 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6976 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6977 as_echo_n='/usr
/ucb
/echo -n'
6979 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6980 as_echo_n_body='eval
6984 expr "X$arg" : "X\\(.*\\)$as_nl";
6985 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6987 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6989 export as_echo_n_body
6990 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6993 as_echo='sh
-c $as_echo_body as_echo
'
6996 # The user is always right.
6997 if test "${PATH_SEPARATOR+set}" != set; then
6999 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7000 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7007 # We need space, tab and new line, in precisely that order. Quoting is
7008 # there to prevent editors from complaining about space-tab.
7009 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7010 # splitting by setting IFS to empty value.)
7013 # Find who we are. Look in the path if we contain no directory separator.
7016 *[\\/]* ) as_myself=$0 ;;
7017 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir=.
7022 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7028 # We did not find ourselves, most probably we were run as `sh COMMAND'
7029 # in which case we are not to be found in the path.
7030 if test "x$as_myself" = x
; then
7033 if test ! -f "$as_myself"; then
7034 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7038 # Unset variables that we do not need and which cause bugs (e.g. in
7039 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7040 # suppresses any "Segmentation fault" message there. '((' could
7041 # trigger a bug in pdksh 5.2.14.
7042 for as_var
in BASH_ENV ENV MAIL MAILPATH
7043 do eval test x\
${$as_var+set} = xset \
7044 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7057 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7060 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7061 # ----------------------------------------
7062 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7063 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7064 # script with STATUS, using 1 if that was 0.
7067 as_status
=$1; test $as_status -eq 0 && as_status
=1
7069 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7070 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7072 $as_echo "$as_me: error: $2" >&2
7073 as_fn_exit
$as_status
7077 # as_fn_set_status STATUS
7078 # -----------------------
7079 # Set $? to STATUS, without forking.
7083 } # as_fn_set_status
7087 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7097 # Portably unset VAR.
7100 { eval $1=; unset $1;}
7102 as_unset
=as_fn_unset
7103 # as_fn_append VAR VALUE
7104 # ----------------------
7105 # Append the text in VALUE to the end of the definition contained in VAR. Take
7106 # advantage of any shell optimizations that allow amortized linear growth over
7107 # repeated appends, instead of the typical quadratic growth present in naive
7109 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7110 eval 'as_fn_append ()
7121 # as_fn_arith ARG...
7122 # ------------------
7123 # Perform arithmetic evaluation on the ARGs, and store the result in the
7124 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7125 # must be portable across $(()) and expr.
7126 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7127 eval 'as_fn_arith ()
7134 as_val
=`expr "$@" || test $? -eq 1`
7139 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7140 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7146 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7147 as_basename
=basename
7152 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7158 as_me
=`$as_basename -- "$0" ||
7159 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7160 X"$0" : 'X\(//\)$' \| \
7161 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7163 sed '/^.*\/\([^/][^/]*\)\/*$/{
7177 # Avoid depending upon Character Ranges.
7178 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7179 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7180 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7181 as_cr_digits
='0123456789'
7182 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7184 ECHO_C
= ECHO_N
= ECHO_T
=
7185 case `echo -n x` in #(((((
7187 case `echo 'xy\c'` in
7188 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7190 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7197 rm -f conf$$ conf$$.exe conf$$.
file
7198 if test -d conf$$.dir
; then
7199 rm -f conf$$.dir
/conf$$.
file
7202 mkdir conf$$.dir
2>/dev
/null
7204 if (echo >conf$$.
file) 2>/dev
/null
; then
7205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7207 # ... but there are two gotchas:
7208 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7209 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7210 # In both cases, we have to default to `cp -pR'.
7211 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7221 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7222 rmdir conf$$.dir
2>/dev
/null
7227 # Create "$as_dir" as a directory, including parents if necessary.
7232 -*) as_dir
=.
/$as_dir;;
7234 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7238 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7239 *) as_qdir
=$as_dir;;
7241 as_dirs
="'$as_qdir' $as_dirs"
7242 as_dir
=`$as_dirname -- "$as_dir" ||
7243 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7244 X"$as_dir" : 'X\(//\)[^/]' \| \
7245 X"$as_dir" : 'X\(//\)$' \| \
7246 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7247 $as_echo X"$as_dir" |
7248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7265 test -d "$as_dir" && break
7267 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7268 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7272 if mkdir
-p .
2>/dev
/null
; then
7273 as_mkdir_p
='mkdir -p "$as_dir"'
7275 test -d .
/-p && rmdir .
/-p
7280 # as_fn_executable_p FILE
7281 # -----------------------
7282 # Test if FILE is an executable regular file.
7283 as_fn_executable_p
()
7285 test -f "$1" && test -x "$1"
7286 } # as_fn_executable_p
7288 as_executable_p
=as_fn_executable_p
7290 # Sed expression to map a string onto a valid CPP name.
7291 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7293 # Sed expression to map a string onto a valid variable name.
7294 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7298 ## ----------------------------------- ##
7299 ## Main body of $CONFIG_STATUS script. ##
7300 ## ----------------------------------- ##
7302 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7305 # Save the log message, to keep $0 and so on meaningful, and to
7306 # report actual input values of CONFIG_FILES etc. instead of their
7307 # values after options handling.
7309 This file was extended by GNU C Library $as_me (see version.h), which was
7310 generated by GNU Autoconf 2.69. Invocation command line was
7312 CONFIG_FILES = $CONFIG_FILES
7313 CONFIG_HEADERS = $CONFIG_HEADERS
7314 CONFIG_LINKS = $CONFIG_LINKS
7315 CONFIG_COMMANDS = $CONFIG_COMMANDS
7318 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7323 case $ac_config_files in *"
7324 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7327 case $ac_config_headers in *"
7328 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7333 # Files that config.status was made for.
7334 config_files="$ac_config_files"
7335 config_headers="$ac_config_headers"
7336 config_commands="$ac_config_commands"
7340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7342 \`$as_me' instantiates files and other configuration actions
7343 from templates according to the current configuration. Unless the files
7344 and actions are specified as TAGs, all are instantiated by default.
7346 Usage: $0 [OPTION]... [TAG]...
7348 -h, --help print this help, then exit
7349 -V, --version print version number and configuration settings, then exit
7350 --config print configuration, then exit
7351 -q, --quiet, --silent
7352 do not print progress messages
7353 -d, --debug don't remove temporary files
7354 --recheck update $as_me by reconfiguring in the same conditions
7355 --file=FILE[:TEMPLATE]
7356 instantiate the configuration file FILE
7357 --header=FILE[:TEMPLATE]
7358 instantiate the configuration header FILE
7360 Configuration files:
7363 Configuration headers:
7366 Configuration commands:
7369 Report bugs to <https://sourceware.org/bugzilla/>.
7370 GNU C Library home page: <http://www.gnu.org/software/glibc/>.
7371 General help using GNU software: <http://www.gnu.org/gethelp/>."
7374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7375 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7377 GNU C Library config.status (see version.h)
7378 configured by $0, generated by GNU Autoconf 2.69,
7379 with options \\"\$ac_cs_config\\"
7381 Copyright (C) 2012 Free Software Foundation, Inc.
7382 This config.status script is free software; the Free Software Foundation
7383 gives unlimited permission to copy, distribute and modify it."
7388 test -n "\$AWK" || AWK=awk
7391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7392 # The default lists apply if the user does not specify any file.
7398 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7399 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7403 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7415 # Handling of the options.
7416 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7418 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7419 $as_echo "$ac_cs_version"; exit ;;
7420 --config |
--confi |
--conf |
--con |
--co |
--c )
7421 $as_echo "$ac_cs_config"; exit ;;
7422 --debug |
--debu |
--deb |
--de |
--d |
-d )
7424 --file |
--fil |
--fi |
--f )
7427 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7428 '') as_fn_error $?
"missing file argument" ;;
7430 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7431 ac_need_defaults
=false
;;
7432 --header |
--heade |
--head |
--hea )
7435 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7437 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7438 ac_need_defaults
=false
;;
7440 # Conflict between --help and --header
7441 as_fn_error $?
"ambiguous option: \`$1'
7442 Try \`$0 --help' for more information.";;
7443 --help |
--hel |
-h )
7444 $as_echo "$ac_cs_usage"; exit ;;
7445 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7446 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7450 -*) as_fn_error $?
"unrecognized option: \`$1'
7451 Try \`$0 --help' for more information." ;;
7453 *) as_fn_append ac_config_targets
" $1"
7454 ac_need_defaults
=false
;;
7460 ac_configure_extra_args
=
7462 if $ac_cs_silent; then
7464 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7469 if \$ac_cs_recheck; then
7470 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7472 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7473 CONFIG_SHELL='$SHELL'
7479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7484 ## Running $as_me. ##
7490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7494 config_vars='$config_vars'
7498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7500 # Handling of arguments.
7501 for ac_config_target
in $ac_config_targets
7503 case $ac_config_target in
7504 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7505 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
7506 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7507 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
7509 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7514 # If the user did not use the arguments to specify the items to instantiate,
7515 # then the envvar interface is used. Set only those that are not.
7516 # We use the long form for the default assignment because of an extremely
7517 # bizarre bug on SunOS 4.1.3.
7518 if $ac_need_defaults; then
7519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7521 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7524 # Have a temporary directory for convenience. Make it in the build tree
7525 # simply because there is no reason against having it here, and in addition,
7526 # creating and moving files from /tmp can sometimes cause problems.
7527 # Hook for its removal unless debugging.
7528 # Note that there is a small window in which the directory will not be cleaned:
7529 # after its creation but before its name has been assigned to `$tmp'.
7533 trap 'exit_status=$?
7535 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7537 trap 'as_fn_exit 1' 1 2 13 15
7539 # Create a (secure) tmp directory for tmp files.
7542 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7546 tmp
=.
/conf$$
-$RANDOM
7547 (umask 077 && mkdir
"$tmp")
7548 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7551 # Set up the scripts for CONFIG_FILES section.
7552 # No need to generate them if there are no CONFIG_FILES.
7553 # This happens for instance with `./config.status config.h'.
7554 if test -n "$CONFIG_FILES"; then
7557 ac_cr
=`echo X | tr X '\015'`
7558 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7559 # But we know of no other shell where ac_cr would be empty at this
7560 # point, so we can use a bashism as a fallback.
7561 if test "x$ac_cr" = x
; then
7562 eval ac_cr
=\$
\'\\r
\'
7564 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7565 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7571 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7576 echo "cat >conf$$subs.awk <<_ACEOF" &&
7577 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7580 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7581 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7583 for ac_last_try in false false false false false :; do
7584 . ./conf$$subs.sh ||
7585 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7587 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7588 if test $ac_delim_n = $ac_delim_num; then
7590 elif $ac_last_try; then
7591 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7593 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7599 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7603 s/^/S["/; s
/!.
*/"]=/
7613 s/\(.\{148\}\)..*/\1/
7615 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7620 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7627 s/\(.\{148\}\)..*/\1/
7629 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7633 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7638 ' <conf$$subs.awk | sed '
7643 ' >>$CONFIG_STATUS || ac_write_fail=1
7644 rm -f conf$$subs.awk
7645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7647 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7648 for (key in S) S_is_set[key] = 1
7654 nfields = split(line, field, "@
")
7656 len = length(field[1])
7657 for (i = 2; i < nfields; i++) {
7659 keylen = length(key)
7660 if (S_is_set[key]) {
7662 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7663 len += length(value) + length(field[++i])
7674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7675 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7676 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7679 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7680 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7683 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7684 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7685 # trailing colons and then remove the whole line if VPATH becomes empty
7686 # (actually we leave an empty line to preserve line numbers).
7687 if test "x
$srcdir" = x.; then
7688 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7707 fi # test -n "$CONFIG_FILES"
7709 # Set up the scripts for CONFIG_HEADERS section.
7710 # No need to generate them if there are no CONFIG_HEADERS.
7711 # This happens for instance with `./config.status Makefile'.
7712 if test -n "$CONFIG_HEADERS"; then
7713 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7717 # Transform confdefs.h into an awk script `defines.awk', embedded as
7718 # here-document in config.status, that substitutes the proper values into
7719 # config.h.in to produce config.h.
7721 # Create a delimiter string that does not exist in confdefs.h, to ease
7722 # handling of long lines.
7724 for ac_last_try in false false :; do
7725 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7726 if test -z "$ac_tt"; then
7728 elif $ac_last_try; then
7729 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7731 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7735 # For the awk script, D is an array of macro values keyed by name,
7736 # likewise P contains macro parameters if any. Preserve backslash
7737 # newline sequences.
7739 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7741 s/.\{148\}/&'"$ac_delim"'/g
7744 s/^[ ]*#[ ]*define[ ][ ]*/ /
7751 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7753 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7757 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7758 D["\
1"]=" \
3\\\\\\n
"\\/p
7760 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7765 s/.\{148\}/&'"$ac_delim"'/g
7770 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7773 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7775 ' <confdefs.h | sed '
7776 s/'"$ac_delim"'/"\\\
7777 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7780 for (key in D) D_is_set[key] = 1
7783 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7785 split(line, arg, " ")
7786 if (arg[1] == "#") {
7790 defundef
= substr
(arg
[1], 2)
7793 split(mac1
, mac2
, "(") #)
7795 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7796 if (D_is_set
[macro
]) {
7797 # Preserve the white space surrounding the "#".
7798 print prefix
"define", macro P
[macro
] D
[macro
]
7801 # Replace #undef with comments. This is necessary, for example,
7802 # in the case of _POSIX_SOURCE, which is predefined and required
7803 # on some systems where configure will not decide to define it.
7804 if (defundef
== "undef") {
7805 print
"/*", prefix defundef
, macro
, "*/"
7813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7814 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7815 fi # test -n "$CONFIG_HEADERS"
7818 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7823 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7825 case $ac_mode$ac_tag in
7827 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7828 :[FH
]-) ac_tag
=-:-;;
7829 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7846 -) ac_f
="$ac_tmp/stdin";;
7847 *) # Look for the file first in the build tree, then in the source tree
7848 # (if the path is not absolute). The absolute path cannot be DOS-style,
7849 # because $ac_f cannot contain `:'.
7853 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7855 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7857 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7858 as_fn_append ac_file_inputs
" '$ac_f'"
7861 # Let's still pretend it is `configure' which instantiates (i.e., don't
7862 # use $as_me), people would be surprised to read:
7863 # /* config.h. Generated by config.status. */
7864 configure_input
='Generated from '`
7865 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7867 if test x
"$ac_file" != x-
; then
7868 configure_input
="$ac_file. $configure_input"
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7870 $as_echo "$as_me: creating $ac_file" >&6;}
7872 # Neutralize special characters interpreted by sed in replacement strings.
7873 case $configure_input in #(
7874 *\
&* |
*\|
* |
*\\* )
7875 ac_sed_conf_input
=`$as_echo "$configure_input" |
7876 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7877 *) ac_sed_conf_input
=$configure_input;;
7881 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7882 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7887 ac_dir
=`$as_dirname -- "$ac_file" ||
7888 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7889 X"$ac_file" : 'X\(//\)[^/]' \| \
7890 X"$ac_file" : 'X\(//\)$' \| \
7891 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7892 $as_echo X"$ac_file" |
7893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7910 as_dir
="$ac_dir"; as_fn_mkdir_p
7914 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7916 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7917 # A ".." for each directory in $ac_dir_suffix.
7918 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7919 case $ac_top_builddir_sub in
7920 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7921 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7924 ac_abs_top_builddir
=$ac_pwd
7925 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7926 # for backward compatibility:
7927 ac_top_builddir
=$ac_top_build_prefix
7930 .
) # We are building in place.
7932 ac_top_srcdir
=$ac_top_builddir_sub
7933 ac_abs_top_srcdir
=$ac_pwd ;;
7934 [\\/]* | ?
:[\\/]* ) # Absolute name.
7935 ac_srcdir
=$srcdir$ac_dir_suffix;
7936 ac_top_srcdir
=$srcdir
7937 ac_abs_top_srcdir
=$srcdir ;;
7939 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7940 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7941 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7943 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7953 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7954 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7959 # If the template does not know about datarootdir, expand it.
7960 # FIXME: This hack should be removed a few years after 2.60.
7961 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7972 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7973 *datarootdir
*) ac_datarootdir_seen
=yes;;
7974 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7976 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7979 ac_datarootdir_hack='
7980 s&@datadir@&$datadir&g
7981 s&@docdir@&$docdir&g
7982 s&@infodir@&$infodir&g
7983 s&@localedir@&$localedir&g
7984 s&@mandir@&$mandir&g
7985 s&\\\${datarootdir}&$datarootdir&g' ;;
7989 # Neutralize VPATH when `$srcdir' = `.'.
7990 # Shell code in configure.ac might set extrasub.
7991 # FIXME: do we really want to maintain this feature?
7992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7993 ac_sed_extra="$ac_vpsub
7996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7998 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7999 s|@configure_input@|
$ac_sed_conf_input|
;t t
8000 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8001 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8002 s
&@srcdir@
&$ac_srcdir&;t t
8003 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8004 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8005 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8006 s
&@builddir@
&$ac_builddir&;t t
8007 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8008 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8009 s
&@INSTALL@
&$ac_INSTALL&;t t
8010 $ac_datarootdir_hack
8012 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8013 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8015 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8016 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8017 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8018 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8020 which seems to be undefined. Please make sure it is defined" >&5
8021 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8022 which seems to be undefined. Please make sure it is defined" >&2;}
8024 rm -f "$ac_tmp/stdin"
8026 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8027 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8029 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8035 if test x"$ac_file" != x-; then
8037 $as_echo "/* $configure_input */" \
8038 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8039 } >"$ac_tmp/config.h" \
8040 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8041 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8043 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8046 mv "$ac_tmp/config.h" "$ac_file" \
8047 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8050 $as_echo "/* $configure_input */" \
8051 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8052 || as_fn_error $? "could not create -" "$LINENO" 5
8056 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8057 $as_echo "$as_me: executing $ac_file commands" >&6;}
8062 case $ac_file$ac_mode in
8064 case $CONFIG_FILES in *config.make*)
8065 echo "$config_vars" >> config.make;;
8067 test -d bits || mkdir bits ;;
8075 ac_clean_files=$ac_clean_files_save
8077 test $ac_write_fail = 0 ||
8078 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8081 # configure is writing to config.log, and then calls config.status.
8082 # config.status does its own redirection, appending to config.log.
8083 # Unfortunately, on DOS this fails, as config.log is still kept open
8084 # by configure, so config.status won't be able to
write to it
; its
8085 # output is simply discarded. So we exec the FD to /dev/null,
8086 # effectively closing config.log, so it can be properly (re)opened and
8087 # appended to by config.status. When coming back to configure, we
8088 # need to make the FD available again.
8089 if test "$no_create" != yes; then
8091 ac_config_status_args
=
8092 test "$silent" = yes &&
8093 ac_config_status_args
="$ac_config_status_args --quiet"
8095 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8097 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8098 # would make configure fail if this is the last instruction.
8099 $ac_cs_success || as_fn_exit
1
8103 # CONFIG_SUBDIRS section.
8105 if test "$no_recursion" != yes; then
8107 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8108 # so they do not pile up.
8109 ac_sub_configure_args
=
8111 eval "set x $ac_configure_args"
8115 if test -n "$ac_prev"; then
8120 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8121 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8122 ac_prev
=cache_file
;;
8123 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8124 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8127 --config-cache |
-C)
8129 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8131 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8133 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8135 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8137 --disable-option-checking)
8141 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8143 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
8147 # Always prepend --prefix to ensure using the same prefix
8148 # in subdir configurations.
8149 ac_arg
="--prefix=$prefix"
8151 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8153 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8156 if test "$silent" = yes; then
8157 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8160 # Always prepend --disable-option-checking to silence warnings, since
8161 # different subdirs can have different --enable and --with options.
8162 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
8165 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8167 # Do not complain, so a configure script can configure whichever
8168 # parts of a large source tree are present.
8169 test -d "$srcdir/$ac_dir" ||
continue
8171 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8172 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8173 $as_echo "$ac_msg" >&6
8174 as_dir
="$ac_dir"; as_fn_mkdir_p
8178 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8180 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8181 # A ".." for each directory in $ac_dir_suffix.
8182 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8183 case $ac_top_builddir_sub in
8184 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8185 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8188 ac_abs_top_builddir
=$ac_pwd
8189 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8190 # for backward compatibility:
8191 ac_top_builddir
=$ac_top_build_prefix
8194 .
) # We are building in place.
8196 ac_top_srcdir
=$ac_top_builddir_sub
8197 ac_abs_top_srcdir
=$ac_pwd ;;
8198 [\\/]* | ?
:[\\/]* ) # Absolute name.
8199 ac_srcdir
=$srcdir$ac_dir_suffix;
8200 ac_top_srcdir
=$srcdir
8201 ac_abs_top_srcdir
=$srcdir ;;
8203 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8204 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8205 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8207 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8212 # Check for guested configure; otherwise get Cygnus style configure.
8213 if test -f "$ac_srcdir/configure.gnu"; then
8214 ac_sub_configure
=$ac_srcdir/configure.gnu
8215 elif test -f "$ac_srcdir/configure"; then
8216 ac_sub_configure
=$ac_srcdir/configure
8217 elif test -f "$ac_srcdir/configure.in"; then
8218 # This should be Cygnus configure.
8219 ac_sub_configure
=$ac_aux_dir/configure
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8222 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8226 # The recursion is here.
8227 if test -n "$ac_sub_configure"; then
8228 # Make the cache file name correct relative to the subdirectory.
8230 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8232 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8235 { $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
8236 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8237 # The eval makes quoting arguments work.
8238 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8239 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8240 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8246 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8248 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}