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
='https://www.gnu.org/software/glibc/'
587 ac_unique_file
="include/features.h"
588 enable_option_checking
=no
589 ac_subst_vars
='LTLIBOBJS
604 libc_cv_localstatedir
606 libc_cv_complocaledir
610 libc_cv_gcc_unwind_find_fde
613 libc_cv_cxx_thread_local
619 libc_cv_cc_loop_to_function
620 libc_cv_cc_submachine
622 libc_cv_mtls_dialect_gnu2
627 libc_cv_cc_with_libunwind
629 libc_cv_protected_data
641 libc_cv_textrel_ifunc
669 libc_cv_static_nss_crypt
677 hardcoded_path_in_tests
678 enable_timezone_tools
680 extra_nonshared_cflags
734 program_transform_name
747 enable_option_checking
756 with_nonshared_cflags
757 with_rtld_early_cflags
763 enable_timezone_tools
764 enable_hardcoded_path_in_tests
767 enable_stack_protector
770 enable_maintainer_mode
775 enable_memory_tagging
787 ac_precious_vars
='build_alias
801 # Initialize some variables set by options.
803 ac_init_version
=false
804 ac_unrecognized_opts
=
806 # The variables have the same names as the options, with
807 # dashes changed to underlines.
815 program_transform_name
=s
,x
,x
,
823 # Installation directory options.
824 # These are left unexpanded so users can "make install exec_prefix=/foo"
825 # and all the variables that are supposed to be based on exec_prefix
826 # by default will actually change.
827 # Use braces instead of parens because sh, perl, etc. also accept them.
828 # (The list follows the same order as the GNU Coding Standards.)
829 bindir
='${exec_prefix}/bin'
830 sbindir
='${exec_prefix}/sbin'
831 libexecdir
='${exec_prefix}/libexec'
832 datarootdir
='${prefix}/share'
833 datadir
='${datarootdir}'
834 sysconfdir
='${prefix}/etc'
835 sharedstatedir
='${prefix}/com'
836 localstatedir
='${prefix}/var'
837 includedir
='${prefix}/include'
838 oldincludedir
='/usr/include'
839 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
840 infodir
='${datarootdir}/info'
845 libdir
='${exec_prefix}/lib'
846 localedir
='${datarootdir}/locale'
847 mandir
='${datarootdir}/man'
853 # If the previous option needs an argument, assign it.
854 if test -n "$ac_prev"; then
855 eval $ac_prev=\
$ac_option
861 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
866 # Accept the important Cygnus configure options, so we can diagnose typos.
868 case $ac_dashdash$ac_option in
872 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
874 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
877 -build |
--build |
--buil |
--bui |
--bu)
878 ac_prev
=build_alias
;;
879 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
880 build_alias
=$ac_optarg ;;
882 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
883 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
884 ac_prev
=cache_file
;;
885 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
886 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
887 cache_file
=$ac_optarg ;;
890 cache_file
=config.cache
;;
892 -datadir |
--datadir |
--datadi |
--datad)
894 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
895 datadir
=$ac_optarg ;;
897 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
898 |
--dataroo |
--dataro |
--datar)
899 ac_prev
=datarootdir
;;
900 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
901 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
902 datarootdir
=$ac_optarg ;;
904 -disable-* |
--disable-*)
905 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
908 as_fn_error $?
"invalid feature name: $ac_useropt"
909 ac_useropt_orig
=$ac_useropt
910 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
915 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916 ac_unrecognized_sep
=', ';;
918 eval enable_
$ac_useropt=no
;;
920 -docdir |
--docdir |
--docdi |
--doc |
--do)
922 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
925 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
927 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
930 -enable-* |
--enable-*)
931 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932 # Reject names that are not valid shell variable names.
933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
934 as_fn_error $?
"invalid feature name: $ac_useropt"
935 ac_useropt_orig
=$ac_useropt
936 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937 case $ac_user_opts in
941 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
942 ac_unrecognized_sep
=', ';;
944 eval enable_
$ac_useropt=\
$ac_optarg ;;
946 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
947 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
948 |
--exec |
--exe |
--ex)
949 ac_prev
=exec_prefix
;;
950 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
951 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
952 |
--exec=* |
--exe=* |
--ex=*)
953 exec_prefix
=$ac_optarg ;;
955 -gas |
--gas |
--ga |
--g)
956 # Obsolete; use --with-gas.
959 -help |
--help |
--hel |
--he |
-h)
961 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
962 ac_init_help
=recursive
;;
963 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
964 ac_init_help
=short
;;
966 -host |
--host |
--hos |
--ho)
967 ac_prev
=host_alias
;;
968 -host=* |
--host=* |
--hos=* |
--ho=*)
969 host_alias
=$ac_optarg ;;
971 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
973 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
975 htmldir
=$ac_optarg ;;
977 -includedir |
--includedir |
--includedi |
--included |
--include \
978 |
--includ |
--inclu |
--incl |
--inc)
979 ac_prev
=includedir
;;
980 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
981 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
982 includedir
=$ac_optarg ;;
984 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
986 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
987 infodir
=$ac_optarg ;;
989 -libdir |
--libdir |
--libdi |
--libd)
991 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
994 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
995 |
--libexe |
--libex |
--libe)
996 ac_prev
=libexecdir
;;
997 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
998 |
--libexe=* |
--libex=* |
--libe=*)
999 libexecdir
=$ac_optarg ;;
1001 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1002 ac_prev
=localedir
;;
1003 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1004 localedir
=$ac_optarg ;;
1006 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1007 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1008 ac_prev
=localstatedir
;;
1009 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1010 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1011 localstatedir
=$ac_optarg ;;
1013 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1015 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1016 mandir
=$ac_optarg ;;
1018 -nfp |
--nfp |
--nf)
1019 # Obsolete; use --without-fp.
1022 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1023 |
--no-cr |
--no-c |
-n)
1026 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1027 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1030 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1031 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1032 |
--oldin |
--oldi |
--old |
--ol |
--o)
1033 ac_prev
=oldincludedir
;;
1034 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1035 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1036 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1037 oldincludedir
=$ac_optarg ;;
1039 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1041 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1042 prefix
=$ac_optarg ;;
1044 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1045 |
--program-pre |
--program-pr |
--program-p)
1046 ac_prev
=program_prefix
;;
1047 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1048 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1049 program_prefix
=$ac_optarg ;;
1051 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1052 |
--program-suf |
--program-su |
--program-s)
1053 ac_prev
=program_suffix
;;
1054 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1055 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1056 program_suffix
=$ac_optarg ;;
1058 -program-transform-name |
--program-transform-name \
1059 |
--program-transform-nam |
--program-transform-na \
1060 |
--program-transform-n |
--program-transform- \
1061 |
--program-transform |
--program-transfor \
1062 |
--program-transfo |
--program-transf \
1063 |
--program-trans |
--program-tran \
1064 |
--progr-tra |
--program-tr |
--program-t)
1065 ac_prev
=program_transform_name
;;
1066 -program-transform-name=* |
--program-transform-name=* \
1067 |
--program-transform-nam=* |
--program-transform-na=* \
1068 |
--program-transform-n=* |
--program-transform-=* \
1069 |
--program-transform=* |
--program-transfor=* \
1070 |
--program-transfo=* |
--program-transf=* \
1071 |
--program-trans=* |
--program-tran=* \
1072 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1073 program_transform_name
=$ac_optarg ;;
1075 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1077 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1078 pdfdir
=$ac_optarg ;;
1080 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1082 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1085 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1086 |
-silent |
--silent |
--silen |
--sile |
--sil)
1089 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1091 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1093 sbindir
=$ac_optarg ;;
1095 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1096 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1097 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1099 ac_prev
=sharedstatedir
;;
1100 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1101 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1102 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1104 sharedstatedir
=$ac_optarg ;;
1106 -site |
--site |
--sit)
1108 -site=* |
--site=* |
--sit=*)
1111 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1113 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1114 srcdir
=$ac_optarg ;;
1116 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1117 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1118 ac_prev
=sysconfdir
;;
1119 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1120 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1121 sysconfdir
=$ac_optarg ;;
1123 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1124 ac_prev
=target_alias
;;
1125 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1126 target_alias
=$ac_optarg ;;
1128 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1131 -version |
--version |
--versio |
--versi |
--vers |
-V)
1132 ac_init_version
=: ;;
1135 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1138 as_fn_error $?
"invalid package name: $ac_useropt"
1139 ac_useropt_orig
=$ac_useropt
1140 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1145 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1146 ac_unrecognized_sep
=', ';;
1148 eval with_
$ac_useropt=\
$ac_optarg ;;
1150 -without-* |
--without-*)
1151 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1154 as_fn_error $?
"invalid package name: $ac_useropt"
1155 ac_useropt_orig
=$ac_useropt
1156 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1161 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1162 ac_unrecognized_sep
=', ';;
1164 eval with_
$ac_useropt=no
;;
1167 # Obsolete; use --with-x.
1170 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1171 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1172 ac_prev
=x_includes
;;
1173 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1174 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1175 x_includes
=$ac_optarg ;;
1177 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1178 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1179 ac_prev
=x_libraries
;;
1180 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1181 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1182 x_libraries
=$ac_optarg ;;
1184 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1185 Try \`$0 --help' for more information"
1189 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1190 # Reject names that are not valid shell variable names.
1191 case $ac_envvar in #(
1192 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1193 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1195 eval $ac_envvar=\
$ac_optarg
1196 export $ac_envvar ;;
1199 # FIXME: should be removed in autoconf 3.0.
1200 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1202 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1209 if test -n "$ac_prev"; then
1210 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1211 as_fn_error $?
"missing argument to $ac_option"
1214 if test -n "$ac_unrecognized_opts"; then
1215 case $enable_option_checking in
1217 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1218 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1222 # Check all directory arguments for consistency.
1223 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1224 datadir sysconfdir sharedstatedir localstatedir includedir \
1225 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1226 libdir localedir mandir
1228 eval ac_val
=\$
$ac_var
1229 # Remove trailing slashes.
1232 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1233 eval $ac_var=\
$ac_val;;
1235 # Be sure to have absolute directory names.
1237 [\\/$
]* | ?
:[\\/]* ) continue;;
1238 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1240 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1243 # There might be people who depend on the old broken behavior: `$host'
1244 # used to hold the argument of --host etc.
1245 # FIXME: To remove some day.
1248 target
=$target_alias
1250 # FIXME: To remove some day.
1251 if test "x$host_alias" != x
; then
1252 if test "x$build_alias" = x
; then
1253 cross_compiling
=maybe
1254 elif test "x$build_alias" != "x$host_alias"; then
1260 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1262 test "$silent" = yes && exec 6>/dev
/null
1265 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1266 ac_ls_di
=`ls -di .` &&
1267 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1268 as_fn_error $?
"working directory cannot be determined"
1269 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1270 as_fn_error $?
"pwd does not report name of working directory"
1273 # Find the source files, if location was not specified.
1274 if test -z "$srcdir"; then
1275 ac_srcdir_defaulted
=yes
1276 # Try the directory containing this script, then the parent directory.
1277 ac_confdir
=`$as_dirname -- "$as_myself" ||
1278 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1279 X"$as_myself" : 'X\(//\)[^/]' \| \
1280 X"$as_myself" : 'X\(//\)$' \| \
1281 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1282 $as_echo X"$as_myself" |
1283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1301 if test ! -r "$srcdir/$ac_unique_file"; then
1305 ac_srcdir_defaulted
=no
1307 if test ! -r "$srcdir/$ac_unique_file"; then
1308 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1309 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1311 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1313 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1315 # When building in place, set srcdir=.
1316 if test "$ac_abs_confdir" = "$ac_pwd"; then
1319 # Remove unnecessary trailing slashes from srcdir.
1320 # Double slashes in file names in object file debugging info
1321 # mess up M-x gdb in Emacs.
1323 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1325 for ac_var
in $ac_precious_vars; do
1326 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1327 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1328 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1329 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1333 # Report the --help message.
1335 if test "$ac_init_help" = "long"; then
1336 # Omit some internal or obsolete options to make the list less imposing.
1337 # This message is too long to be a string in the A/UX 3.1 sh.
1339 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1341 Usage: $0 [OPTION]... [VAR=VALUE]...
1343 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1344 VAR=VALUE. See below for descriptions of some of the useful variables.
1346 Defaults for the options are specified in brackets.
1349 -h, --help display this help and exit
1350 --help=short display options specific to this package
1351 --help=recursive display the short help of all the included packages
1352 -V, --version display version information and exit
1353 -q, --quiet, --silent do not print \`checking ...' messages
1354 --cache-file=FILE cache test results in FILE [disabled]
1355 -C, --config-cache alias for \`--cache-file=config.cache'
1356 -n, --no-create do not create output files
1357 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1359 Installation directories:
1360 --prefix=PREFIX install architecture-independent files in PREFIX
1361 [$ac_default_prefix]
1362 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1365 By default, \`make install' will install all the files in
1366 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1367 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1368 for instance \`--prefix=\$HOME'.
1370 For better control, use the options below.
1372 Fine tuning of the installation directories:
1373 --bindir=DIR user executables [EPREFIX/bin]
1374 --sbindir=DIR system admin executables [EPREFIX/sbin]
1375 --libexecdir=DIR program executables [EPREFIX/libexec]
1376 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1377 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1378 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1379 --libdir=DIR object code libraries [EPREFIX/lib]
1380 --includedir=DIR C header files [PREFIX/include]
1381 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1382 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1383 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1384 --infodir=DIR info documentation [DATAROOTDIR/info]
1385 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1386 --mandir=DIR man documentation [DATAROOTDIR/man]
1387 --docdir=DIR documentation root [DATAROOTDIR/doc/glibc]
1388 --htmldir=DIR html documentation [DOCDIR]
1389 --dvidir=DIR dvi documentation [DOCDIR]
1390 --pdfdir=DIR pdf documentation [DOCDIR]
1391 --psdir=DIR ps documentation [DOCDIR]
1397 --build=BUILD configure
for building on BUILD
[guessed
]
1398 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1402 if test -n "$ac_init_help"; then
1403 case $ac_init_help in
1404 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1409 --disable-option-checking ignore unrecognized
--enable/--with options
1410 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1411 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1412 --disable-sanity-checks really
do not use threads
(should not be used except
1413 in special situations
) [default
=yes]
1414 --enable-shared build shared library
[default
=yes if GNU ld
]
1415 --enable-profile build profiled library
[default
=no
]
1416 --disable-default-pie Do not build glibc programs and the testsuite as PIE
1418 --disable-timezone-tools
1419 do not
install timezone tools
[default
=install]
1420 --enable-hardcoded-path-in-tests
1421 hardcode newly built glibc path
in tests
1423 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1424 --enable-bind-now disable lazy relocations
in DSOs
1425 --enable-stack-protector=[yes|no|all|strong
]
1426 Use
-fstack-protector[-all|
-strong] to detect glibc
1428 --enable-static-nss build static NSS modules
[default
=no
]
1429 --disable-force-install don
't force installation of files from this package,
1430 even if they are older than the installed files
1431 --enable-maintainer-mode
1432 enable make rules and dependencies not useful (and
1433 sometimes confusing) to the casual installer
1434 --enable-kernel=VERSION compile for compatibility with kernel not older than
1436 --enable-all-warnings enable all useful warnings gcc can issue
1437 --disable-werror do not build with -Werror
1438 --enable-multi-arch enable single DSO with optimizations for multiple
1440 --enable-memory-tagging enable memory tagging if supported by the
1441 architecture [default=no]
1442 --disable-crypt do not build nor install the passphrase hashing
1444 --enable-nss-crypt enable libcrypt to use nss
1445 --enable-systemtap enable systemtap static probe points [default=no]
1446 --disable-build-nscd disable building and installing the nscd daemon
1447 --disable-nscd library functions will not contact the nscd daemon
1448 --enable-pt_chown Enable building and installing pt_chown
1449 --enable-mathvec Enable building and installing mathvec [default
1450 depends on architecture]
1451 --enable-cet enable Intel Control-flow Enforcement Technology
1453 --disable-scv syscalls will not use scv instruction, even if the
1454 kernel supports it, powerpc only
1457 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1458 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1459 --with-pkgversion=PKG Use PKG in the version string in place of "GNU libc"
1460 --with-bugurl=URL Direct users to URL to report a bug
1461 --with-gd=DIR find libgd include dir and library with prefix DIR
1462 --with-gd-include=DIR find libgd include files in DIR
1463 --with-gd-lib=DIR find libgd library files in DIR
1464 --with-binutils=PATH specify location of binutils (as and ld)
1465 --with-selinux if building with SELinux support
1466 --with-headers=PATH location of system headers to use (for example
1467 /usr/src/linux/include) [default=compiler default]
1468 --with-nonshared-cflags=CFLAGS
1469 build nonshared libraries with additional CFLAGS
1470 --with-rtld-early-cflags=CFLAGS
1471 build early initialization with additional CFLAGS
1472 --with-timeoutfactor=NUM
1473 specify an integer to scale the timeout
1474 --with-cpu=CPU select code for CPU variant
1476 Some influential environment variables:
1477 CC C compiler command
1478 CFLAGS C compiler flags
1479 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1480 nonstandard directory <lib dir>
1481 LIBS libraries to pass to the linker, e.g. -l<library>
1482 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1483 you have headers in a nonstandard directory <include dir>
1485 CXX C++ compiler command
1486 CXXFLAGS C++ compiler flags
1488 Use these variables to override the choices made by `configure' or to
help
1489 it to
find libraries and programs with nonstandard names
/locations.
1491 Report bugs to
<https
://sourceware.org
/bugzilla
/>.
1492 GNU C Library home page
: <https
://www.gnu.org
/software
/glibc
/>.
1493 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1498 if test "$ac_init_help" = "recursive"; then
1499 # If there are subdirs, report their specific --help.
1500 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1501 test -d "$ac_dir" ||
1502 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1507 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1509 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1510 # A ".." for each directory in $ac_dir_suffix.
1511 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1512 case $ac_top_builddir_sub in
1513 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1514 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1517 ac_abs_top_builddir
=$ac_pwd
1518 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1519 # for backward compatibility:
1520 ac_top_builddir
=$ac_top_build_prefix
1523 .
) # We are building in place.
1525 ac_top_srcdir
=$ac_top_builddir_sub
1526 ac_abs_top_srcdir
=$ac_pwd ;;
1527 [\\/]* | ?
:[\\/]* ) # Absolute name.
1528 ac_srcdir
=$srcdir$ac_dir_suffix;
1529 ac_top_srcdir
=$srcdir
1530 ac_abs_top_srcdir
=$srcdir ;;
1532 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1533 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1534 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1536 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1538 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1539 # Check for guested configure.
1540 if test -f "$ac_srcdir/configure.gnu"; then
1542 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1543 elif test -f "$ac_srcdir/configure"; then
1545 $SHELL "$ac_srcdir/configure" --help=recursive
1547 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1549 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1553 test -n "$ac_init_help" && exit $ac_status
1554 if $ac_init_version; then
1556 GNU C Library configure
(see version.h
)
1557 generated by GNU Autoconf
2.69
1559 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1560 This configure
script is free software
; the Free Software Foundation
1561 gives unlimited permission to copy
, distribute and modify it.
1566 ## ------------------------ ##
1567 ## Autoconf initialization. ##
1568 ## ------------------------ ##
1570 # ac_fn_c_try_compile LINENO
1571 # --------------------------
1572 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1573 ac_fn_c_try_compile
()
1575 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1576 rm -f conftest.
$ac_objext
1577 if { { ac_try
="$ac_compile"
1579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1580 *) ac_try_echo=$ac_try;;
1582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583 $as_echo "$ac_try_echo"; } >&5
1584 (eval "$ac_compile") 2>conftest.err
1586 if test -s conftest.err; then
1587 grep -v '^ *+' conftest.err >conftest.er1
1588 cat conftest.er1 >&5
1589 mv -f conftest.er1 conftest.err
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; } && {
1593 test -z "$ac_c_werror_flag" ||
1594 test ! -s conftest.err
1595 } && test -s conftest.$ac_objext; then :
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.$ac_ext >&5
1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604 as_fn_set_status $ac_retval
1606 } # ac_fn_c_try_compile
1608 # ac_fn_cxx_try_compile LINENO
1609 # ----------------------------
1610 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1611 ac_fn_cxx_try_compile ()
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 rm -f conftest.$ac_objext
1615 if { { ac_try="$ac_compile"
1617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1618 *) ac_try_echo
=$ac_try;;
1620 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_compile") 2>conftest.err
1624 if test -s conftest.err
; then
1625 grep -v '^ *+' conftest.err
>conftest.er1
1626 cat conftest.er1
>&5
1627 mv -f conftest.er1 conftest.err
1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630 test $ac_status = 0; } && {
1631 test -z "$ac_cxx_werror_flag" ||
1632 test ! -s conftest.err
1633 } && test -s conftest.
$ac_objext; then :
1636 $as_echo "$as_me: failed program was:" >&5
1637 sed 's/^/| /' conftest.
$ac_ext >&5
1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1642 as_fn_set_status
$ac_retval
1644 } # ac_fn_cxx_try_compile
1646 # ac_fn_cxx_try_link LINENO
1647 # -------------------------
1648 # Try to link conftest.$ac_ext, and return whether this succeeded.
1649 ac_fn_cxx_try_link
()
1651 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1652 rm -f conftest.
$ac_objext conftest
$ac_exeext
1653 if { { ac_try
="$ac_link"
1655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_link") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && {
1669 test -z "$ac_cxx_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest$ac_exeext && {
1672 test "$cross_compiling" = yes ||
1673 test -x conftest$ac_exeext
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1682 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1683 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1684 # interfere with the next link command; also delete a directory that is
1685 # left behind by Apple's compiler. We do this before executing the actions.
1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1690 } # ac_fn_cxx_try_link
1692 # ac_fn_c_try_link LINENO
1693 # -----------------------
1694 # Try to link conftest.$ac_ext, and return whether this succeeded.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 rm -f conftest.$ac_objext conftest$ac_exeext
1699 if { { ac_try="$ac_link"
1701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1702 *) ac_try_echo
=$ac_try;;
1704 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_link") 2>conftest.err
1708 if test -s conftest.err
; then
1709 grep -v '^ *+' conftest.err
>conftest.er1
1710 cat conftest.er1
>&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest
$ac_exeext && {
1718 test "$cross_compiling" = yes ||
1719 test -x conftest
$ac_exeext
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.
$ac_ext >&5
1728 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1729 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1730 # interfere with the next link command; also delete a directory that is
1731 # left behind by Apple's compiler. We do this before executing the actions.
1732 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 as_fn_set_status
$ac_retval
1736 } # ac_fn_c_try_link
1738 # ac_fn_c_try_cpp LINENO
1739 # ----------------------
1740 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1743 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1744 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1753 if test -s conftest.err; then
1754 grep -v '^ *+' conftest.err >conftest.er1
1755 cat conftest.er1 >&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } > conftest.i && {
1760 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1761 test ! -s conftest.err
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1774 cat >config.log <<_ACEOF
1775 This file contains any messages produced by compilers while
1776 running configure, to aid debugging if configure makes a mistake.
1778 It was created by GNU C Library $as_me (see version.h), which was
1779 generated by GNU Autoconf 2.69. Invocation command line was
1791 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1792 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1793 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1794 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1795 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1797 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1798 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1800 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1801 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1802 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1803 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1804 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1805 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1806 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir=.
1815 $as_echo "PATH: $as_dir"
1831 # Keep a trace of the command line.
1832 # Strip out --no-create and --no-recursion so they do not pile up.
1833 # Strip out --silent because we don't want to record it for future runs.
1834 # Also quote any args containing shell meta-characters.
1835 # Make two passes to allow for proper duplicate-argument suppression.
1839 ac_must_keep_next=false
1845 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1846 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1847 | -silent | --silent | --silen | --sile | --sil)
1850 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1853 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1855 as_fn_append ac_configure_args1 " '$ac_arg'"
1856 if test $ac_must_keep_next = true; then
1857 ac_must_keep_next=false # Got value, back to normal.
1860 *=* | --config-cache | -C | -disable-* | --disable-* \
1861 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1862 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1863 | -with-* | --with-* | -without-* | --without-* | --x)
1864 case "$ac_configure_args0 " in
1865 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1868 -* ) ac_must_keep_next=true ;;
1871 as_fn_append ac_configure_args " '$ac_arg'"
1876 { ac_configure_args0=; unset ac_configure_args0;}
1877 { ac_configure_args1=; unset ac_configure_args1;}
1879 # When interrupted or exit'd, cleanup temporary files, and complete
1880 # config.log. We remove comments because anyway the quotes in there
1881 # would cause problems or look ugly.
1882 # WARNING: Use '\'' to represent an apostrophe within the trap.
1883 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1884 trap 'exit_status=$?
1885 # Save into config.log some information that might help in debugging.
1889 $as_echo "## ---------------- ##
1890 ## Cache variables. ##
1891 ## ---------------- ##"
1893 # The following way of writing the cache mishandles newlines in values,
1895 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1896 eval ac_val=\$$ac_var
1900 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1901 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1904 _ | IFS | as_nl) ;; #(
1905 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1906 *) { eval $ac_var=; unset $ac_var;} ;;
1911 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1912 *${as_nl}ac_space=\ *)
1914 "s/'\''/'\''\\\\'\'''\''/g;
1915 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1918 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1925 $as_echo "## ----------------- ##
1926 ## Output variables. ##
1927 ## ----------------- ##"
1929 for ac_var in $ac_subst_vars
1931 eval ac_val=\$$ac_var
1933 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1935 $as_echo "$ac_var='\''$ac_val'\''"
1939 if test -n "$ac_subst_files"; then
1940 $as_echo "## ------------------- ##
1941 ## File substitutions. ##
1942 ## ------------------- ##"
1944 for ac_var in $ac_subst_files
1946 eval ac_val=\$$ac_var
1948 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1950 $as_echo "$ac_var='\''$ac_val'\''"
1955 if test -s confdefs.h; then
1956 $as_echo "## ----------- ##
1963 test "$ac_signal" != 0 &&
1964 $as_echo "$as_me: caught signal $ac_signal"
1965 $as_echo "$as_me: exit $exit_status"
1967 rm -f core *.core core.conftest.* &&
1968 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1971 for ac_signal in 1 2 13 15; do
1972 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1976 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1977 rm -f -r conftest* confdefs.h
1979 $as_echo "/* confdefs.h */" > confdefs.h
1981 # Predefined preprocessor variables.
1983 cat >>confdefs.h <<_ACEOF
1984 #define PACKAGE_NAME "$PACKAGE_NAME"
1987 cat >>confdefs.h <<_ACEOF
1988 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1991 cat >>confdefs.h <<_ACEOF
1992 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1995 cat >>confdefs.h <<_ACEOF
1996 #define PACKAGE_STRING "$PACKAGE_STRING"
1999 cat >>confdefs.h <<_ACEOF
2000 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2003 cat >>confdefs.h <<_ACEOF
2004 #define PACKAGE_URL "$PACKAGE_URL"
2008 # Let the site file select an alternate cache file if it wants to.
2009 # Prefer an explicitly selected file to automatically selected ones.
2012 if test -n "$CONFIG_SITE"; then
2013 # We do not want a PATH search for config.site.
2014 case $CONFIG_SITE in #((
2015 -*) ac_site_file1=./$CONFIG_SITE;;
2016 */*) ac_site_file1=$CONFIG_SITE;;
2017 *) ac_site_file1=./$CONFIG_SITE;;
2019 elif test "x$prefix" != xNONE; then
2020 ac_site_file1=$prefix/share/config.site
2021 ac_site_file2=$prefix/etc/config.site
2023 ac_site_file1=$ac_default_prefix/share/config.site
2024 ac_site_file2=$ac_default_prefix/etc/config.site
2026 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2028 test "x$ac_site_file" = xNONE && continue
2029 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2031 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2032 sed 's/^/| /' "$ac_site_file" >&5
2034 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2036 as_fn_error $? "failed to load site
script $ac_site_file
2037 See \
`config.log' for more details" "$LINENO" 5; }
2041 if test -r "$cache_file"; then
2042 # Some versions of bash will fail to source /dev/null (special files
2043 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2044 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2046 $as_echo "$as_me: loading cache $cache_file" >&6;}
2048 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2049 *) . "./$cache_file";;
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2054 $as_echo "$as_me: creating cache $cache_file" >&6;}
2058 # Check that the precious variables saved in the cache have kept the same
2060 ac_cache_corrupted=false
2061 for ac_var in $ac_precious_vars; do
2062 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2063 eval ac_new_set=\$ac_env_${ac_var}_set
2064 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2065 eval ac_new_val=\$ac_env_${ac_var}_value
2066 case $ac_old_set,$ac_new_set in
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2069 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2070 ac_cache_corrupted=: ;;
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2073 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2074 ac_cache_corrupted=: ;;
2077 if test "x$ac_old_val" != "x$ac_new_val"; then
2078 # differences in whitespace do not lead to failure.
2079 ac_old_val_w=`echo x
$ac_old_val`
2080 ac_new_val_w=`echo x
$ac_new_val`
2081 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2083 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2084 ac_cache_corrupted=:
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2087 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2088 eval $ac_var=\$ac_old_val
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2091 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2093 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2096 # Pass precious variables to config.status.
2097 if test "$ac_new_set" = set; then
2099 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2100 *) ac_arg=$ac_var=$ac_new_val ;;
2102 case " $ac_configure_args " in
2103 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2104 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2108 if $ac_cache_corrupted; then
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2112 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2113 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2115 ## -------------------- ##
2116 ## Main body of script. ##
2117 ## -------------------- ##
2120 ac_cpp='$CPP $CPPFLAGS'
2121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2127 ac_config_headers="$ac_config_headers config.h"
2130 for ac_dir in scripts "$srcdir"/scripts; do
2131 if test -f "$ac_dir/install-sh"; then
2133 ac_install_sh="$ac_aux_dir/install-sh -c"
2135 elif test -f "$ac_dir/install.sh"; then
2137 ac_install_sh="$ac_aux_dir/install.sh -c"
2139 elif test -f "$ac_dir/shtool"; then
2141 ac_install_sh="$ac_aux_dir/shtool install -c"
2145 if test -z "$ac_aux_dir"; then
2146 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
2149 # These three variables are undocumented and unsupported,
2150 # and are intended to be withdrawn in a future Autoconf release.
2151 # They can cause serious problems if a builder's source tree is in a directory
2152 # whose full name contains unusual characters.
2153 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2154 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2155 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2161 # Check whether --with-pkgversion was given.
2162 if test "${with_pkgversion+set}" = set; then :
2163 withval=$with_pkgversion; case "$withval" in
2164 yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
2166 *) PKGVERSION="($withval) " ;;
2169 PKGVERSION="(GNU libc) "
2173 PKGVERSION_TEXI=`echo "$PKGVERSION" |
sed 's/@/@@/g'`
2179 # Check whether --with-bugurl was given.
2180 if test "${with_bugurl+set}" = set; then :
2181 withval=$with_bugurl; case "$withval" in
2182 yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
2185 *) BUGURL="$withval"
2189 BUGURL="https://www.gnu.org/software/libc/bugs.html"
2199 REPORT_BUGS_TO="<$BUGURL>"
2200 REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" |
sed 's/@/@@/g'`}
2207 cat >>confdefs.h <<_ACEOF
2208 #define PKGVERSION "$PKGVERSION"
2212 cat >>confdefs.h <<_ACEOF
2213 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2217 # Glibc should not depend on any header files
2220 # We require GCC, and by default use its preprocessor. Override AC_PROG_CPP
2221 # here to work around the Autoconf issue discussed in
2222 # <https://sourceware.org/ml/libc-alpha/2013-01/msg00721.html>.
2225 # We require GCC. Override _AC_PROG_CC_C89 here to work around the Autoconf
2226 # issue discussed in
2227 # <https://sourceware.org/ml/libc-alpha/2013-01/msg00757.html>.
2235 # Make sure we can run config.sub.
2236 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2237 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2240 $as_echo_n "checking build system type... " >&6; }
2241 if ${ac_cv_build+:} false; then :
2242 $as_echo_n "(cached) " >&6
2244 ac_build_alias=$build_alias
2245 test "x$ac_build_alias" = x &&
2246 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2247 test "x$ac_build_alias" = x &&
2248 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2249 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2250 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2254 $as_echo "$ac_cv_build" >&6; }
2255 case $ac_cv_build in
2257 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2260 ac_save_IFS=$IFS; IFS='-'
2266 # Remember, the first character of IFS is used to create $*,
2267 # except with old shells:
2270 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2274 $as_echo_n "checking host system type... " >&6; }
2275 if ${ac_cv_host+:} false; then :
2276 $as_echo_n "(cached) " >&6
2278 if test "x$host_alias" = x; then
2279 ac_cv_host=$ac_cv_build
2281 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2282 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2287 $as_echo "$ac_cv_host" >&6; }
2290 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2293 ac_save_IFS=$IFS; IFS='-'
2299 # Remember, the first character of IFS is used to create $*,
2300 # except with old shells:
2303 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2308 ac_cpp='$CPP $CPPFLAGS'
2309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2312 if test -n "$ac_tool_prefix"; then
2313 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2314 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2316 $as_echo_n "checking for $ac_word... " >&6; }
2317 if ${ac_cv_prog_CC+:} false; then :
2318 $as_echo_n "(cached) " >&6
2320 if test -n "$CC"; then
2321 ac_cv_prog_CC="$CC" # Let the user override the test.
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 if test -n "$CC"; then
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2343 $as_echo "$CC" >&6; }
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2346 $as_echo "no" >&6; }
2351 if test -z "$ac_cv_prog_CC"; then
2353 # Extract the first word of "gcc", so it can be a program name with args.
2354 set dummy gcc; ac_word=$2
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2356 $as_echo_n "checking for $ac_word... " >&6; }
2357 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2358 $as_echo_n "(cached) " >&6
2360 if test -n "$ac_ct_CC"; then
2361 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2370 ac_cv_prog_ac_ct_CC="gcc"
2371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2381 if test -n "$ac_ct_CC"; then
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2383 $as_echo "$ac_ct_CC" >&6; }
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2386 $as_echo "no" >&6; }
2389 if test "x$ac_ct_CC" = x; then
2392 case $cross_compiling:$ac_tool_warned in
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2396 ac_tool_warned=yes ;;
2404 if test -z "$CC"; then
2405 if test -n "$ac_tool_prefix"; then
2406 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2407 set dummy ${ac_tool_prefix}cc; ac_word=$2
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2409 $as_echo_n "checking for $ac_word... " >&6; }
2410 if ${ac_cv_prog_CC+:} false; then :
2411 $as_echo_n "(cached) " >&6
2413 if test -n "$CC"; then
2414 ac_cv_prog_CC="$CC" # Let the user override the test.
2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420 test -z "$as_dir" && as_dir=.
2421 for ac_exec_ext in '' $ac_executable_extensions; do
2422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2423 ac_cv_prog_CC="${ac_tool_prefix}cc"
2424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2434 if test -n "$CC"; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2436 $as_echo "$CC" >&6; }
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2439 $as_echo "no" >&6; }
2445 if test -z "$CC"; then
2446 # Extract the first word of "cc", so it can be a program name with args.
2447 set dummy cc; ac_word=$2
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2449 $as_echo_n "checking for $ac_word... " >&6; }
2450 if ${ac_cv_prog_CC+:} false; then :
2451 $as_echo_n "(cached) " >&6
2453 if test -n "$CC"; then
2454 ac_cv_prog_CC="$CC" # Let the user override the test.
2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir=.
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2464 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2465 ac_prog_rejected=yes
2469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 if test $ac_prog_rejected = yes; then
2477 # We found a bogon in the path, so make sure we never use it.
2478 set dummy $ac_cv_prog_CC
2480 if test $# != 0; then
2481 # We chose a different compiler from the bogus one.
2482 # However, it has the same basename, so the bogon will be chosen
2483 # first if we set CC to just the basename; use the full file name.
2485 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2491 if test -n "$CC"; then
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2493 $as_echo "$CC" >&6; }
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496 $as_echo "no" >&6; }
2501 if test -z "$CC"; then
2502 if test -n "$ac_tool_prefix"; then
2503 for ac_prog in cl.exe
2505 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2506 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2508 $as_echo_n "checking for $ac_word... " >&6; }
2509 if ${ac_cv_prog_CC+:} false; then :
2510 $as_echo_n "(cached) " >&6
2512 if test -n "$CC"; then
2513 ac_cv_prog_CC="$CC" # Let the user override the test.
2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2519 test -z "$as_dir" && as_dir=.
2520 for ac_exec_ext in '' $ac_executable_extensions; do
2521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2522 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 if test -n "$CC"; then
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2535 $as_echo "$CC" >&6; }
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2538 $as_echo "no" >&6; }
2542 test -n "$CC" && break
2545 if test -z "$CC"; then
2547 for ac_prog in cl.exe
2549 # Extract the first word of "$ac_prog", so it can be a program name with args.
2550 set dummy $ac_prog; ac_word=$2
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2552 $as_echo_n "checking for $ac_word... " >&6; }
2553 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2554 $as_echo_n "(cached) " >&6
2556 if test -n "$ac_ct_CC"; then
2557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir=.
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2566 ac_cv_prog_ac_ct_CC="$ac_prog"
2567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2577 if test -n "$ac_ct_CC"; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2579 $as_echo "$ac_ct_CC" >&6; }
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582 $as_echo "no" >&6; }
2586 test -n "$ac_ct_CC" && break
2589 if test "x$ac_ct_CC" = x; then
2592 case $cross_compiling:$ac_tool_warned in
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2596 ac_tool_warned=yes ;;
2605 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2607 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2608 See \
`config.log' for more details" "$LINENO" 5; }
2610 # Provide some information about the compiler.
2611 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2614 for ac_option in --version -v -V -qversion; do
2615 { { ac_try="$ac_compiler $ac_option >&5"
2617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2618 *) ac_try_echo
=$ac_try;;
2620 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2621 $as_echo "$ac_try_echo"; } >&5
2622 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2624 if test -s conftest.err
; then
2626 ... rest of stderr output deleted ...
2627 10q' conftest.err
>conftest.er1
2628 cat conftest.er1
>&5
2630 rm -f conftest.er1 conftest.err
2631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2632 test $ac_status = 0; }
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2637 $as_echo_n "checking for suffix of object files... " >&6; }
2638 if ${ac_cv_objext+:} false
; then :
2639 $as_echo_n "(cached) " >&6
2641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2642 /* end confdefs.h. */
2652 rm -f conftest.o conftest.obj
2653 if { { ac_try
="$ac_compile"
2655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2659 $as_echo "$ac_try_echo"; } >&5
2660 (eval "$ac_compile") 2>&5
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; }; then :
2664 for ac_file in conftest.o conftest.obj conftest.*; do
2665 test -f "$ac_file" || continue;
2667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2668 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2673 $as_echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2678 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2679 See \
`config.log' for more details" "$LINENO" 5; }
2681 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2684 $as_echo "$ac_cv_objext" >&6; }
2685 OBJEXT=$ac_cv_objext
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2688 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2689 if ${ac_cv_c_compiler_gnu+:} false; then :
2690 $as_echo_n "(cached) " >&6
2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2693 /* end confdefs.h. */
2706 if ac_fn_c_try_compile "$LINENO"; then :
2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2716 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2717 if test $ac_compiler_gnu = yes; then
2722 ac_test_CFLAGS=${CFLAGS+set}
2723 ac_save_CFLAGS=$CFLAGS
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2725 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2726 if ${ac_cv_prog_cc_g+:} false; then :
2727 $as_echo_n "(cached) " >&6
2729 ac_save_c_werror_flag=$ac_c_werror_flag
2730 ac_c_werror_flag=yes
2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2734 /* end confdefs.h. */
2744 if ac_fn_c_try_compile "$LINENO"; then :
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2759 if ac_fn_c_try_compile "$LINENO"; then :
2762 ac_c_werror_flag=$ac_save_c_werror_flag
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2775 if ac_fn_c_try_compile "$LINENO"; then :
2778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2783 ac_c_werror_flag=$ac_save_c_werror_flag
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2786 $as_echo "$ac_cv_prog_cc_g" >&6; }
2787 if test "$ac_test_CFLAGS" = set; then
2788 CFLAGS=$ac_save_CFLAGS
2789 elif test $ac_cv_prog_cc_g = yes; then
2790 if test "$GCC" = yes; then
2796 if test "$GCC" = yes; then
2804 ac_cpp='$CPP $CPPFLAGS'
2805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2809 if test $host != $build; then
2810 for ac_prog in gcc cc
2812 # Extract the first word of "$ac_prog", so it can be a program name with args.
2813 set dummy $ac_prog; ac_word=$2
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2815 $as_echo_n "checking for $ac_word... " >&6; }
2816 if ${ac_cv_prog_BUILD_CC+:} false; then :
2817 $as_echo_n "(cached) " >&6
2819 if test -n "$BUILD_CC"; then
2820 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir=.
2827 for ac_exec_ext in '' $ac_executable_extensions; do
2828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2829 ac_cv_prog_BUILD_CC="$ac_prog"
2830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 BUILD_CC=$ac_cv_prog_BUILD_CC
2840 if test -n "$BUILD_CC"; then
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
2842 $as_echo "$BUILD_CC" >&6; }
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2845 $as_echo "no" >&6; }
2849 test -n "$BUILD_CC" && break
2854 # On Suns, sometimes $CPP names a directory.
2855 if test -n "$CPP" && test -d "$CPP"; then
2858 if test -z "$CPP"; then
2863 # We need the C++ compiler only for testing.
2865 ac_cpp='$CXXCPP $CPPFLAGS'
2866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2869 if test -z "$CXX"; then
2870 if test -n "$CCC"; then
2873 if test -n "$ac_tool_prefix"; then
2874 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2876 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2879 $as_echo_n "checking for $ac_word... " >&6; }
2880 if ${ac_cv_prog_CXX+:} false; then :
2881 $as_echo_n "(cached) " >&6
2883 if test -n "$CXX"; then
2884 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 test -z "$as_dir" && as_dir=.
2891 for ac_exec_ext in '' $ac_executable_extensions; do
2892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2893 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 if test -n "$CXX"; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2906 $as_echo "$CXX" >&6; }
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 $as_echo "no" >&6; }
2913 test -n "$CXX" && break
2916 if test -z "$CXX"; then
2918 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2920 # Extract the first word of "$ac_prog", so it can be a program name with args.
2921 set dummy $ac_prog; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$ac_ct_CXX"; then
2928 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2937 ac_cv_prog_ac_ct_CXX="$ac_prog"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2948 if test -n "$ac_ct_CXX"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2950 $as_echo "$ac_ct_CXX" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2957 test -n "$ac_ct_CXX" && break
2960 if test "x$ac_ct_CXX" = x; then
2963 case $cross_compiling:$ac_tool_warned in
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2967 ac_tool_warned=yes ;;
2975 # Provide some information about the compiler.
2976 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2979 for ac_option in --version -v -V -qversion; do
2980 { { ac_try="$ac_compiler $ac_option >&5"
2982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2983 *) ac_try_echo
=$ac_try;;
2985 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 $as_echo "$ac_try_echo"; } >&5
2987 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2989 if test -s conftest.err
; then
2991 ... rest of stderr output deleted ...
2992 10q' conftest.err
>conftest.er1
2993 cat conftest.er1
>&5
2995 rm -f conftest.er1 conftest.err
2996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2997 test $ac_status = 0; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3001 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3002 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3003 $as_echo_n "(cached) " >&6
3005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3006 /* end confdefs.h. */
3019 if ac_fn_cxx_try_compile
"$LINENO"; then :
3024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3025 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3029 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3030 if test $ac_compiler_gnu = yes; then
3035 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3036 ac_save_CXXFLAGS
=$CXXFLAGS
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3038 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3039 if ${ac_cv_prog_cxx_g+:} false
; then :
3040 $as_echo_n "(cached) " >&6
3042 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3043 ac_cxx_werror_flag
=yes
3046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3057 if ac_fn_cxx_try_compile
"$LINENO"; then :
3058 ac_cv_prog_cxx_g
=yes
3061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3072 if ac_fn_cxx_try_compile
"$LINENO"; then :
3075 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3088 if ac_fn_cxx_try_compile
"$LINENO"; then :
3089 ac_cv_prog_cxx_g
=yes
3091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3096 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3099 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3100 if test "$ac_test_CXXFLAGS" = set; then
3101 CXXFLAGS
=$ac_save_CXXFLAGS
3102 elif test $ac_cv_prog_cxx_g = yes; then
3103 if test "$GXX" = yes; then
3109 if test "$GXX" = yes; then
3116 ac_cpp
='$CPP $CPPFLAGS'
3117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3121 # It's useless to us if it can't link programs (e.g. missing -lstdc++).
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX can link programs" >&5
3124 $as_echo_n "checking whether $CXX can link programs... " >&6; }
3125 if ${libc_cv_cxx_link_ok+:} false
; then :
3126 $as_echo_n "(cached) " >&6
3129 ac_cpp
='$CXXCPP $CPPFLAGS'
3130 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3131 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3132 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3134 # Default, dynamic case.
3135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3146 if ac_fn_cxx_try_link
"$LINENO"; then :
3147 libc_cv_cxx_link_ok
=yes
3149 libc_cv_cxx_link_ok
=no
3151 rm -f core conftest.err conftest.
$ac_objext \
3152 conftest
$ac_exeext conftest.
$ac_ext
3154 old_LDFLAGS
="$LDFLAGS"
3155 LDFLAGS
="$LDFLAGS -static"
3156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3164 std::cout << "Hello, world!";
3169 if ac_fn_cxx_try_link
"$LINENO"; then :
3172 libc_cv_cxx_link_ok
=no
3174 rm -f core conftest.err conftest.
$ac_objext \
3175 conftest
$ac_exeext conftest.
$ac_ext
3176 LDFLAGS
="$old_LDFLAGS"
3178 ac_cpp
='$CPP $CPPFLAGS'
3179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_link_ok" >&5
3185 $as_echo "$libc_cv_cxx_link_ok" >&6; }
3186 if test $libc_cv_cxx_link_ok != yes; then :
3190 if test "`cd $srcdir; pwd -P`" = "`pwd -P`"; then
3191 as_fn_error $?
"you must configure in a separate build directory" "$LINENO" 5
3194 # This will get text that should go into config.make.
3197 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3199 # Check whether --with-gd was given.
3200 if test "${with_gd+set}" = set; then :
3201 withval
=$with_gd; case "$with_gd" in
3203 *) libgd_include
="-I$withval/include"
3204 libgd_ldflags
="-L$withval/lib" ;;
3210 # Check whether --with-gd-include was given.
3211 if test "${with_gd_include+set}" = set; then :
3212 withval
=$with_gd_include; case "$with_gd_include" in
3214 *) libgd_include
="-I$withval" ;;
3220 # Check whether --with-gd-lib was given.
3221 if test "${with_gd_lib+set}" = set; then :
3222 withval
=$with_gd_lib; case "$with_gd_lib" in
3224 *) libgd_ldflags
="-L$withval" ;;
3230 if test -n "$libgd_include"; then
3231 config_vars
="$config_vars
3232 CFLAGS-memusagestat.c = $libgd_include"
3234 if test -n "$libgd_ldflags"; then
3235 config_vars
="$config_vars
3236 libgd-LDFLAGS = $libgd_ldflags"
3240 # Check whether --with-binutils was given.
3241 if test "${with_binutils+set}" = set; then :
3242 withval
=$with_binutils; path_binutils
=$withval
3248 # Check whether --with-selinux was given.
3249 if test "${with_selinux+set}" = set; then :
3250 withval
=$with_selinux; with_selinux
=$withval
3257 # Check whether --with-headers was given.
3258 if test "${with_headers+set}" = set; then :
3259 withval
=$with_headers; sysheaders
=$withval
3267 # Check whether --with-nonshared-cflags was given.
3268 if test "${with_nonshared_cflags+set}" = set; then :
3269 withval
=$with_nonshared_cflags; extra_nonshared_cflags
=$withval
3271 extra_nonshared_cflags
=
3276 # Check whether --with-rtld-early-cflags was given.
3277 if test "${with_rtld_early_cflags+set}" = set; then :
3278 withval
=$with_rtld_early_cflags; rtld_early_cflags
=$withval
3286 # Check whether --with-timeoutfactor was given.
3287 if test "${with_timeoutfactor+set}" = set; then :
3288 withval
=$with_timeoutfactor; timeoutfactor
=$withval
3293 cat >>confdefs.h
<<_ACEOF
3294 #define TIMEOUTFACTOR $timeoutfactor
3298 # Check whether --enable-sanity-checks was given.
3299 if test "${enable_sanity_checks+set}" = set; then :
3300 enableval
=$enable_sanity_checks; enable_sanity
=$enableval
3306 # Check whether --enable-shared was given.
3307 if test "${enable_shared+set}" = set; then :
3308 enableval
=$enable_shared; shared
=$enableval
3313 # Check whether --enable-profile was given.
3314 if test "${enable_profile+set}" = set; then :
3315 enableval
=$enable_profile; profile
=$enableval
3320 # Check whether --enable-default-pie was given.
3321 if test "${enable_default_pie+set}" = set; then :
3322 enableval
=$enable_default_pie; default_pie
=$enableval
3327 # Check whether --enable-timezone-tools was given.
3328 if test "${enable_timezone_tools+set}" = set; then :
3329 enableval
=$enable_timezone_tools; enable_timezone_tools
=$enableval
3331 enable_timezone_tools
=yes
3336 # Check whether --enable-hardcoded-path-in-tests was given.
3337 if test "${enable_hardcoded_path_in_tests+set}" = set; then :
3338 enableval
=$enable_hardcoded_path_in_tests; hardcoded_path_in_tests
=$enableval
3340 hardcoded_path_in_tests
=no
3345 # Check whether --enable-hidden-plt was given.
3346 if test "${enable_hidden_plt+set}" = set; then :
3347 enableval
=$enable_hidden_plt; hidden
=$enableval
3352 if test "x$hidden" = xno
; then
3353 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
3357 # Check whether --enable-bind-now was given.
3358 if test "${enable_bind_now+set}" = set; then :
3359 enableval
=$enable_bind_now; bindnow
=$enableval
3365 if test "x$bindnow" = xyes
; then
3366 $as_echo "#define BIND_NOW 1" >>confdefs.h
3370 # Check whether --enable-stack-protector was given.
3371 if test "${enable_stack_protector+set}" = set; then :
3372 enableval
=$enable_stack_protector; enable_stack_protector
=$enableval
3374 enable_stack_protector
=no
3377 case "$enable_stack_protector" in
3378 all|
yes|no|strong
) ;;
3379 *) as_fn_error $?
"Not a valid argument for --enable-stack-protector: \"$enable_stack_protector\"" "$LINENO" 5;;
3382 # Check whether --enable-static-nss was given.
3383 if test "${enable_static_nss+set}" = set; then :
3384 enableval
=$enable_static_nss; static_nss
=$enableval
3389 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
3391 $as_echo "#define DO_STATIC_NSS 1" >>confdefs.h
3395 # Check whether --enable-force-install was given.
3396 if test "${enable_force_install+set}" = set; then :
3397 enableval
=$enable_force_install; force_install
=$enableval
3404 # Check whether --enable-maintainer-mode was given.
3405 if test "${enable_maintainer_mode+set}" = set; then :
3406 enableval
=$enable_maintainer_mode; maintainer
=$enableval
3412 # Check whether --enable-kernel was given.
3413 if test "${enable_kernel+set}" = set; then :
3414 enableval
=$enable_kernel; minimum_kernel
=$enableval
3417 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
3418 # Better nothing than this.
3421 if test "$minimum_kernel" = current
; then
3422 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
3426 # Check whether --enable-all-warnings was given.
3427 if test "${enable_all_warnings+set}" = set; then :
3428 enableval
=$enable_all_warnings; all_warnings
=$enableval
3433 # Check whether --enable-werror was given.
3434 if test "${enable_werror+set}" = set; then :
3435 enableval
=$enable_werror; enable_werror
=$enableval
3442 # Check whether --enable-multi-arch was given.
3443 if test "${enable_multi_arch+set}" = set; then :
3444 enableval
=$enable_multi_arch; multi_arch
=$enableval
3450 # Check whether --enable-memory-tagging was given.
3451 if test "${enable_memory_tagging+set}" = set; then :
3452 enableval
=$enable_memory_tagging; memory_tagging
=$enableval
3457 if test "$memory_tagging" = yes; then
3458 # Only enable this on architectures that support it.
3461 $as_echo "#define USE_MTAG 1" >>confdefs.h
3468 # Check whether --enable-crypt was given.
3469 if test "${enable_crypt+set}" = set; then :
3470 enableval
=$enable_crypt; build_crypt
=$enableval
3477 # Check whether --enable-nss-crypt was given.
3478 if test "${enable_nss_crypt+set}" = set; then :
3479 enableval
=$enable_nss_crypt; nss_crypt
=$enableval
3484 if test x
$build_libcrypt = xno
&& test x
$nss_crypt = xyes
; then
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-nss-crypt has no effect when libcrypt is disabled" >&5
3486 $as_echo "$as_me: WARNING: --enable-nss-crypt has no effect when libcrypt is disabled" >&2;}
3489 if test x
$nss_crypt = xyes
; then
3490 nss_includes
=-I$
(nss-config
--includedir 2>/dev
/null
)
3491 if test $?
-ne 0; then
3492 as_fn_error $?
"cannot find include directory with nss-config" "$LINENO" 5
3494 nspr_includes
=-I$
(nspr-config
--includedir 2>/dev
/null
)
3495 if test $?
-ne 0; then
3496 as_fn_error $?
"cannot find include directory with nspr-config" "$LINENO" 5
3498 old_CFLAGS
="$CFLAGS"
3499 CFLAGS
="$CFLAGS $nss_includes $nspr_includes"
3501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3505 #include <nsslowhash.h>
3506 void f (void) { NSSLOW_Init (); }
3515 if ac_fn_c_try_compile
"$LINENO"; then :
3516 libc_cv_nss_crypt
=yes
3519 cannot find NSS headers with lowlevel hash function interfaces" "$LINENO" 5
3521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3523 old_LDFLAGS
="$LDFLAGS"
3524 LIBS
="$LIBS -lfreebl3"
3525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3529 #include <nsslowhash.h>
3538 if ac_fn_c_try_link
"$LINENO"; then :
3539 libc_cv_nss_crypt
=yes
3542 cannot link program using lowlevel NSS hash functions" "$LINENO" 5
3544 rm -f core conftest.err conftest.
$ac_objext \
3545 conftest
$ac_exeext conftest.
$ac_ext
3546 # Check to see if there is a static NSS cryptographic library.
3547 # If there isn't then we can't link anything with libcrypt.a,
3548 # and that might mean disabling some static tests.
3549 LDFLAGS
="$LDFLAGS -static"
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_static_nss_crypt
=yes
3566 libc_cv_static_nss_crypt
=no
3568 rm -f core conftest.err conftest.
$ac_objext \
3569 conftest
$ac_exeext conftest.
$ac_ext
3570 LDFLAGS
="$old_LDFLAGS"
3571 CFLAGS
="$old_CFLAGS"
3574 libc_cv_nss_crypt
=no
3575 libc_cv_static_nss_crypt
=no
3581 # Check whether --enable-systemtap was given.
3582 if test "${enable_systemtap+set}" = set; then :
3583 enableval
=$enable_systemtap; systemtap
=$enableval
3588 if test "x$systemtap" != xno
; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemtap static probe support" >&5
3590 $as_echo_n "checking for systemtap static probe support... " >&6; }
3591 if ${libc_cv_sdt+:} false
; then :
3592 $as_echo_n "(cached) " >&6
3594 old_CFLAGS
="$CFLAGS"
3595 CFLAGS
="-std=gnu11 $CFLAGS"
3596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3598 #include <sys/sdt.h>
3599 void foo (int i, void *p)
3601 asm ("" STAP_PROBE_ASM (foo, bar, STAP_PROBE_ASM_TEMPLATE (2)) ""
3602 :: STAP_PROBE_ASM_OPERANDS (2, i, p));
3605 if ac_fn_c_try_compile
"$LINENO"; then :
3610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3611 CFLAGS
="$old_CFLAGS"
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_sdt" >&5
3614 $as_echo "$libc_cv_sdt" >&6; }
3615 if test $libc_cv_sdt = yes; then
3616 $as_echo "#define USE_STAP_PROBE 1" >>confdefs.h
3618 elif test "x$systemtap" != xauto
; then
3619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $?
"systemtap support needs sys/sdt.h with asm support
3622 See \`config.log' for more details" "$LINENO" 5; }
3626 # Check whether --enable-build-nscd was given.
3627 if test "${enable_build_nscd+set}" = set; then :
3628 enableval
=$enable_build_nscd; build_nscd
=$enableval
3635 # Note the use of $use_nscd is near the bottom of the file.
3636 # Check whether --enable-nscd was given.
3637 if test "${enable_nscd+set}" = set; then :
3638 enableval
=$enable_nscd; use_nscd
=$enableval
3644 # Check whether --enable-pt_chown was given.
3645 if test "${enable_pt_chown+set}" = set; then :
3646 enableval
=$enable_pt_chown; build_pt_chown
=$enableval
3652 if test "$build_pt_chown" = yes; then
3653 $as_echo "#define HAVE_PT_CHOWN 1" >>confdefs.h
3657 # The abi-tags file uses a fairly simplistic model for name recognition that
3658 # can't distinguish i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a
3659 # $host_os of `gnu*' here to be `gnu-gnu*' just so that it can tell.
3660 # This doesn't get used much beyond that, so it's fairly safe.
3665 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3669 # Check whether --enable-mathvec was given.
3670 if test "${enable_mathvec+set}" = set; then :
3671 enableval
=$enable_mathvec; build_mathvec
=$enableval
3673 build_mathvec
=notset
3678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3686 # error no CET compiler support
3692 if ac_fn_c_try_cpp
"$LINENO"; then :
3693 libc_cv_compiler_default_cet
=yes
3695 libc_cv_compiler_default_cet
=no
3697 rm -f conftest.err conftest.i conftest.
$ac_ext
3699 # Check whether --enable-cet was given.
3700 if test "${enable_cet+set}" = set; then :
3701 enableval
=$enable_cet; enable_cet
=$enableval
3703 enable_cet
=$libc_cv_compiler_default_cet
3707 # Check whether --enable-scv was given.
3708 if test "${enable_scv+set}" = set; then :
3709 enableval
=$enable_scv; use_scv
=$enableval
3715 if test "$use_scv" != "no"; then :
3716 $as_echo "#define USE_PPC_SCV 1" >>confdefs.h
3720 # We keep the original values in `$config_*' and never modify them, so we
3721 # can write them unchanged into config.make. Everything else uses
3722 # $machine, $vendor, and $os, and changes them whenever convenient.
3723 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3725 # Don't allow vendor == "unknown"
3726 test "$config_vendor" = unknown
&& config_vendor
=
3727 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3729 # Some configurations imply other options.
3732 # The configure fragment of a port can modify these to supplement
3733 # or override the table in the case statement below. No fragment should
3734 # ever change the config_* variables, however.
3735 machine
=$config_machine
3736 vendor
=$config_vendor
3742 # Check whether --with-cpu was given.
3743 if test "${with_cpu+set}" = set; then :
3744 withval
=$with_cpu; case "$withval" in
3745 yes|
'') as_fn_error $?
"--with-cpu requires an argument" "$LINENO" 5 ;;
3747 *) submachine
="$withval" ;;
3753 # An preconfigure script can set this when it wants to disable the sanity
3757 # A preconfigure script for a system that may or may not use fpu
3758 # sysdeps directories sets this to a preprocessor conditional for
3759 # whether to use such directories.
3762 if frags
=`ls -d $srcdir/sysdeps/*/preconfigure 2> /dev/null`
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysdeps preconfigure fragments" >&5
3765 $as_echo_n "checking for sysdeps preconfigure fragments... " >&6; }
3766 for frag
in $frags; do
3767 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3768 echo $ECHO_N "$name $ECHO_C" >&6
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
3777 ### By using the undocumented --enable-hacker-mode option for configure
3778 ### one can skip this test to make the configuration not fail for unsupported
3781 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
3782 case "$machine-$host_os" in
3787 *** The GNU C library is currently unavailable for this platform.
3788 *** If you are interested in seeing glibc on this platform visit
3789 *** the \"How to submit a new port\" in the wiki:
3790 *** https://sourceware.org/glibc/wiki/#Development
3791 *** and join the community!" "$LINENO" 5
3796 # Set base_machine if not set by a preconfigure fragment.
3797 test -n "$base_machine" || base_machine
=$machine
3802 # Find a good install program. We prefer a C program (faster),
3803 # so one script is as good as another. But avoid the broken or
3804 # incompatible versions:
3805 # SysV /etc/install, /usr/sbin/install
3806 # SunOS /usr/etc/install
3807 # IRIX /sbin/install
3809 # AmigaOS /C/install, which installs bootblocks on floppy discs
3810 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3811 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3812 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3813 # OS/2's system install, which has a completely different semantic
3814 # ./install, which can be erroneously created by make from ./install.sh.
3815 # Reject install programs that cannot install multiple files.
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3817 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3818 if test -z "$INSTALL"; then
3819 if ${ac_cv_path_install+:} false
; then :
3820 $as_echo_n "(cached) " >&6
3822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir
=.
3827 # Account for people who put trailing slashes in PATH elements.
3828 case $as_dir/ in #((
3829 .
/ | .
// |
/[cC
]/* | \
3830 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3831 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3834 # OSF1 and SCO ODT 3.0 have their own names for install.
3835 # Don't use installbsd from OSF since it installs stuff as root
3837 for ac_prog
in ginstall scoinst
install; do
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3840 if test $ac_prog = install &&
3841 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3842 # AIX install. It has an incompatible calling convention.
3844 elif test $ac_prog = install &&
3845 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3846 # program-specific install script used by HP pwplus--don't use.
3849 rm -rf conftest.one conftest.two conftest.dir
3850 echo one
> conftest.one
3851 echo two
> conftest.two
3853 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3854 test -s conftest.one
&& test -s conftest.two
&&
3855 test -s conftest.dir
/conftest.one
&&
3856 test -s conftest.dir
/conftest.two
3858 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3871 rm -rf conftest.one conftest.two conftest.dir
3874 if test "${ac_cv_path_install+set}" = set; then
3875 INSTALL
=$ac_cv_path_install
3877 # As a last resort, use the slow shell script. Don't cache a
3878 # value for INSTALL within a source directory, because that will
3879 # break other packages using the cache if that directory is
3880 # removed, or if the value is a relative name.
3881 INSTALL
=$ac_install_sh
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3885 $as_echo "$INSTALL" >&6; }
3887 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3888 # It thinks the first close brace ends the variable substitution.
3889 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3891 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3893 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3895 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
3896 # The makefiles need to use a different form to find it in $srcdir.
3897 INSTALL
='\$(..)./scripts/install-sh -c'
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3900 $as_echo_n "checking whether ln -s works... " >&6; }
3902 if test "$LN_S" = "ln -s"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3904 $as_echo "yes" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3907 $as_echo "no, using $LN_S" >&6; }
3911 # Was a --with-binutils option given?
3912 if test -n "$path_binutils"; then
3913 # Make absolute; ensure a single trailing slash.
3914 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
3915 CC
="$CC -B$path_binutils"
3918 *fuse-ld
=lld
*) LDNAME
=ld.lld
;;
3921 if test -z "$LD"; then
3922 LD
=`$CC -print-prog-name=$LDNAME`
3924 if test -z "$AR"; then
3925 AR
=`$CC -print-prog-name=ar`
3928 if test -z "$OBJCOPY"; then
3929 OBJCOPY
=`$CC -print-prog-name=objcopy`
3932 if test -z "$GPROF"; then
3933 GPROF
=`$CC -print-prog-name=gprof`
3936 if test -z "$READELF"; then
3937 READELF
=`$CC -print-prog-name=readelf`
3940 if test -z "$OBJDUMP"; then
3941 OBJDUMP
=`$CC -print-prog-name=objdump`
3944 if test -z "$NM"; then
3945 NM
=`$CC -print-prog-name=nm`
3950 # Accept binutils 2.25 or newer.
3952 case $
($LD --version) in
3954 # Accept gold 1.14 or higher
3957 # Extract the first word of "$ac_prog", so it can be a program name with args.
3958 set dummy
$ac_prog; ac_word
=$2
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3960 $as_echo_n "checking for $ac_word... " >&6; }
3961 if ${ac_cv_prog_LD+:} false
; then :
3962 $as_echo_n "(cached) " >&6
3964 if test -n "$LD"; then
3965 ac_cv_prog_LD
="$LD" # Let the user override the test.
3967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3971 test -z "$as_dir" && as_dir
=.
3972 for ac_exec_ext
in '' $ac_executable_extensions; do
3973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3974 ac_cv_prog_LD
="$ac_prog"
3975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 if test -n "$LD"; then
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3987 $as_echo "$LD" >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990 $as_echo "no" >&6; }
3994 test -n "$LD" && break
3997 if test -z "$LD"; then
4000 # Found it, now check the version.
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4002 $as_echo_n "checking version of $LD... " >&6; }
4003 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU gold.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4004 case $ac_prog_version in
4005 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4006 1.1[4-9]*|
1.
[2-9][0-9]*|
1.1[0-9][0-9]*|
[2-9].
*|
[1-9][0-9]*)
4007 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4008 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4012 $as_echo "$ac_prog_version" >&6; }
4014 if test $ac_verc_fail = yes; then
4015 LD
=: critic_missing
="$critic_missing GNU gold"
4020 # Accept LLD 13.0.0 or higher
4023 # Extract the first word of "$ac_prog", so it can be a program name with args.
4024 set dummy
$ac_prog; ac_word
=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_prog_LD+:} false
; then :
4028 $as_echo_n "(cached) " >&6
4030 if test -n "$LD"; then
4031 ac_cv_prog_LD
="$LD" # Let the user override the test.
4033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4037 test -z "$as_dir" && as_dir
=.
4038 for ac_exec_ext
in '' $ac_executable_extensions; do
4039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_LD
="$ac_prog"
4041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 if test -n "$LD"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4053 $as_echo "$LD" >&6; }
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4060 test -n "$LD" && break
4063 if test -z "$LD"; then
4066 # Found it, now check the version.
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4068 $as_echo_n "checking version of $LD... " >&6; }
4069 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*LLD.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4070 case $ac_prog_version in
4071 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4072 1[3-9].
*|
[2-9][0-9].
*)
4073 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4074 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4078 $as_echo "$ac_prog_version" >&6; }
4080 if test $ac_verc_fail = yes; then
4081 LD
=: critic_missing
="$critic_missing LLD"
4084 libc_cv_with_lld
=yes
4089 # Extract the first word of "$ac_prog", so it can be a program name with args.
4090 set dummy
$ac_prog; ac_word
=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if ${ac_cv_prog_LD+:} false
; then :
4094 $as_echo_n "(cached) " >&6
4096 if test -n "$LD"; then
4097 ac_cv_prog_LD
="$LD" # Let the user override the test.
4099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir
=.
4104 for ac_exec_ext
in '' $ac_executable_extensions; do
4105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4106 ac_cv_prog_LD
="$ac_prog"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 if test -n "$LD"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4119 $as_echo "$LD" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4126 test -n "$LD" && break
4129 if test -z "$LD"; then
4132 # Found it, now check the version.
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4134 $as_echo_n "checking version of $LD... " >&6; }
4135 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4136 case $ac_prog_version in
4137 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4138 2.1[0-9][0-9]*|
2.2[5-9]*|
2.
[3-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4139 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4140 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4144 $as_echo "$ac_prog_version" >&6; }
4146 if test $ac_verc_fail = yes; then
4147 LD
=: critic_missing
="$critic_missing GNU ld"
4152 config_vars
="$config_vars
4153 with-lld = $libc_cv_with_lld"
4155 # These programs are version sensitive.
4156 for ac_prog
in gnumake gmake
make
4158 # Extract the first word of "$ac_prog", so it can be a program name with args.
4159 set dummy
$ac_prog; ac_word
=$2
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 $as_echo_n "checking for $ac_word... " >&6; }
4162 if ${ac_cv_prog_MAKE+:} false
; then :
4163 $as_echo_n "(cached) " >&6
4165 if test -n "$MAKE"; then
4166 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir
=.
4173 for ac_exec_ext
in '' $ac_executable_extensions; do
4174 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4175 ac_cv_prog_MAKE
="$ac_prog"
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 MAKE
=$ac_cv_prog_MAKE
4186 if test -n "$MAKE"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4188 $as_echo "$MAKE" >&6; }
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
4195 test -n "$MAKE" && break
4198 if test -z "$MAKE"; then
4201 # Found it, now check the version.
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
4203 $as_echo_n "checking version of $MAKE... " >&6; }
4204 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4205 case $ac_prog_version in
4206 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4207 [4-9].
* |
[1-9][0-9]*)
4208 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4209 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4213 $as_echo "$ac_prog_version" >&6; }
4215 if test $ac_verc_fail = yes; then
4216 critic_missing
="$critic_missing make"
4220 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
4222 # Extract the first word of "$ac_prog", so it can be a program name with args.
4223 set dummy
$ac_prog; ac_word
=$2
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225 $as_echo_n "checking for $ac_word... " >&6; }
4226 if ${ac_cv_prog_MSGFMT+:} false
; then :
4227 $as_echo_n "(cached) " >&6
4229 if test -n "$MSGFMT"; then
4230 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
4232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4236 test -z "$as_dir" && as_dir
=.
4237 for ac_exec_ext
in '' $ac_executable_extensions; do
4238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4239 ac_cv_prog_MSGFMT
="$ac_prog"
4240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 MSGFMT
=$ac_cv_prog_MSGFMT
4250 if test -n "$MSGFMT"; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4252 $as_echo "$MSGFMT" >&6; }
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255 $as_echo "no" >&6; }
4259 test -n "$MSGFMT" && break
4262 if test -z "$MSGFMT"; then
4265 # Found it, now check the version.
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
4267 $as_echo_n "checking version of $MSGFMT... " >&6; }
4268 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4269 case $ac_prog_version in
4270 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4271 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
4272 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4273 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4277 $as_echo "$ac_prog_version" >&6; }
4279 if test $ac_verc_fail = yes; then
4280 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
4283 for ac_prog
in makeinfo
4285 # Extract the first word of "$ac_prog", so it can be a program name with args.
4286 set dummy
$ac_prog; ac_word
=$2
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4288 $as_echo_n "checking for $ac_word... " >&6; }
4289 if ${ac_cv_prog_MAKEINFO+:} false
; then :
4290 $as_echo_n "(cached) " >&6
4292 if test -n "$MAKEINFO"; then
4293 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 test -z "$as_dir" && as_dir
=.
4300 for ac_exec_ext
in '' $ac_executable_extensions; do
4301 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4302 ac_cv_prog_MAKEINFO
="$ac_prog"
4303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 MAKEINFO
=$ac_cv_prog_MAKEINFO
4313 if test -n "$MAKEINFO"; then
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4315 $as_echo "$MAKEINFO" >&6; }
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4318 $as_echo "no" >&6; }
4322 test -n "$MAKEINFO" && break
4325 if test -z "$MAKEINFO"; then
4328 # Found it, now check the version.
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
4330 $as_echo_n "checking version of $MAKEINFO... " >&6; }
4331 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4332 case $ac_prog_version in
4333 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4334 4.
[7-9]*|
4.
[1-9][0-9]*|
[5-9].
*)
4335 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4336 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4340 $as_echo "$ac_prog_version" >&6; }
4342 if test $ac_verc_fail = yes; then
4343 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
4348 # Extract the first word of "$ac_prog", so it can be a program name with args.
4349 set dummy
$ac_prog; ac_word
=$2
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4351 $as_echo_n "checking for $ac_word... " >&6; }
4352 if ${ac_cv_prog_SED+:} false
; then :
4353 $as_echo_n "(cached) " >&6
4355 if test -n "$SED"; then
4356 ac_cv_prog_SED
="$SED" # Let the user override the test.
4358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4362 test -z "$as_dir" && as_dir
=.
4363 for ac_exec_ext
in '' $ac_executable_extensions; do
4364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_prog_SED
="$ac_prog"
4366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 if test -n "$SED"; then
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4378 $as_echo "$SED" >&6; }
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4381 $as_echo "no" >&6; }
4385 test -n "$SED" && break
4388 if test -z "$SED"; then
4391 # Found it, now check the version.
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
4393 $as_echo_n "checking version of $SED... " >&6; }
4394 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4395 case $ac_prog_version in
4396 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4397 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
4398 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4399 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4403 $as_echo "$ac_prog_version" >&6; }
4405 if test $ac_verc_fail = yes; then
4406 SED
=: aux_missing
="$aux_missing sed"
4411 # Extract the first word of "$ac_prog", so it can be a program name with args.
4412 set dummy
$ac_prog; ac_word
=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if ${ac_cv_prog_AWK+:} false
; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -n "$AWK"; then
4419 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir
=.
4426 for ac_exec_ext
in '' $ac_executable_extensions; do
4427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4428 ac_cv_prog_AWK
="$ac_prog"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 if test -n "$AWK"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4441 $as_echo "$AWK" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4448 test -n "$AWK" && break
4451 if test -z "$AWK"; then
4454 # Found it, now check the version.
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AWK" >&5
4456 $as_echo_n "checking version of $AWK... " >&6; }
4457 ac_prog_version
=`$AWK --version 2>&1 | sed -n 's/^.*GNU Awk[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4458 case $ac_prog_version in
4459 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4460 3.1.
[2-9]*|
3.
[2-9]*|
[4-9]*)
4461 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4462 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4466 $as_echo "$ac_prog_version" >&6; }
4468 if test $ac_verc_fail = yes; then
4469 critic_missing
="$critic_missing gawk"
4472 for ac_prog
in bison
4474 # Extract the first word of "$ac_prog", so it can be a program name with args.
4475 set dummy
$ac_prog; ac_word
=$2
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if ${ac_cv_prog_BISON+:} false
; then :
4479 $as_echo_n "(cached) " >&6
4481 if test -n "$BISON"; then
4482 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir
=.
4489 for ac_exec_ext
in '' $ac_executable_extensions; do
4490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_BISON
="$ac_prog"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501 BISON
=$ac_cv_prog_BISON
4502 if test -n "$BISON"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4504 $as_echo "$BISON" >&6; }
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 $as_echo "no" >&6; }
4511 test -n "$BISON" && break
4514 if test -z "$BISON"; then
4517 # Found it, now check the version.
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $BISON" >&5
4519 $as_echo_n "checking version of $BISON... " >&6; }
4520 ac_prog_version
=`$BISON --version 2>&1 | sed -n 's/^.*bison (GNU Bison) \([0-9]*\.[0-9.]*\).*$/\1/p'`
4521 case $ac_prog_version in
4522 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4523 2.7*|
[3-9].
*|
[1-9][0-9]*)
4524 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4525 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4529 $as_echo "$ac_prog_version" >&6; }
4531 if test $ac_verc_fail = yes; then
4532 critic_missing
="$critic_missing bison"
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC is sufficient to build libc" >&5
4537 $as_echo_n "checking if $CC is sufficient to build libc... " >&6; }
4538 if ${libc_cv_compiler_ok+:} false
; then :
4539 $as_echo_n "(cached) " >&6
4542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4549 #if !defined __GNUC__ || __GNUC__ < 6 || (__GNUC__ == 6 && __GNUC_MINOR__ < 2)
4550 #error insufficient compiler
4556 if ac_fn_c_try_cpp
"$LINENO"; then :
4557 libc_cv_compiler_ok
=yes
4559 libc_cv_compiler_ok
=no
4561 rm -f conftest.err conftest.i conftest.
$ac_ext
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_compiler_ok" >&5
4564 $as_echo "$libc_cv_compiler_ok" >&6; }
4565 if test $libc_cv_compiler_ok != yes; then :
4566 critic_missing
="$critic_missing compiler"
4569 if test "x$maintainer" = "xyes"; then
4570 for ac_prog
in autoconf
4572 # Extract the first word of "$ac_prog", so it can be a program name with args.
4573 set dummy
$ac_prog; ac_word
=$2
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575 $as_echo_n "checking for $ac_word... " >&6; }
4576 if ${ac_cv_prog_AUTOCONF+:} false
; then :
4577 $as_echo_n "(cached) " >&6
4579 if test -n "$AUTOCONF"; then
4580 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
4582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4586 test -z "$as_dir" && as_dir
=.
4587 for ac_exec_ext
in '' $ac_executable_extensions; do
4588 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4589 ac_cv_prog_AUTOCONF
="$ac_prog"
4590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4599 AUTOCONF
=$ac_cv_prog_AUTOCONF
4600 if test -n "$AUTOCONF"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
4602 $as_echo "$AUTOCONF" >&6; }
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4609 test -n "$AUTOCONF" && break
4611 test -n "$AUTOCONF" || AUTOCONF
="no"
4613 case "x$AUTOCONF" in
4614 xno|x|x
:) AUTOCONF
=no
;;
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
4617 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
4618 if ${libc_cv_autoconf_works+:} false
; then :
4619 $as_echo_n "(cached) " >&6
4621 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.ac
> /dev
/null
2>&1); then
4622 libc_cv_autoconf_works
=yes
4624 libc_cv_autoconf_works
=no
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
4628 $as_echo "$libc_cv_autoconf_works" >&6; }
4629 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
4632 if test "x$AUTOCONF" = xno
; then
4633 aux_missing
="$aux_missing autoconf"
4639 # Check for python3 if available, or else python.
4640 for ac_prog
in python3 python
4642 # Extract the first word of "$ac_prog", so it can be a program name with args.
4643 set dummy
$ac_prog; ac_word
=$2
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645 $as_echo_n "checking for $ac_word... " >&6; }
4646 if ${ac_cv_prog_PYTHON_PROG+:} false
; then :
4647 $as_echo_n "(cached) " >&6
4649 if test -n "$PYTHON_PROG"; then
4650 ac_cv_prog_PYTHON_PROG
="$PYTHON_PROG" # Let the user override the test.
4652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4656 test -z "$as_dir" && as_dir
=.
4657 for ac_exec_ext
in '' $ac_executable_extensions; do
4658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4659 ac_cv_prog_PYTHON_PROG
="$ac_prog"
4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 PYTHON_PROG
=$ac_cv_prog_PYTHON_PROG
4670 if test -n "$PYTHON_PROG"; then
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_PROG" >&5
4672 $as_echo "$PYTHON_PROG" >&6; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4679 test -n "$PYTHON_PROG" && break
4682 if test -z "$PYTHON_PROG"; then
4685 # Found it, now check the version.
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $PYTHON_PROG" >&5
4687 $as_echo_n "checking version of $PYTHON_PROG... " >&6; }
4688 ac_prog_version
=`$PYTHON_PROG --version 2>&1 | sed -n 's/^.*Python \([0-9][0-9.]*\).*$/\1/p'`
4689 case $ac_prog_version in
4690 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4691 3.
[4-9]*|
3.
[1-9][0-9]*|
[4-9].
*|
[1-9][0-9]*)
4692 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4693 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4697 $as_echo "$ac_prog_version" >&6; }
4699 if test $ac_verc_fail = yes; then
4700 critic_missing
="$critic_missing python"
4703 PYTHON
="$PYTHON_PROG -B"
4706 test -n "$critic_missing" && as_fn_error $?
"
4707 *** These critical programs are missing or too old:$critic_missing
4708 *** Check the INSTALL file for required versions." "$LINENO" 5
4710 test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
4711 *** These auxiliary programs are missing or incompatible versions:$aux_missing
4712 *** some features or tests will be disabled.
4713 *** Check the INSTALL file for required versions." >&5
4714 $as_echo "$as_me: WARNING:
4715 *** These auxiliary programs are missing or incompatible versions:$aux_missing
4716 *** some features or tests will be disabled.
4717 *** Check the INSTALL file for required versions." >&2;}
4720 # Determine whether to use fpu or nofpu sysdeps directories.
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use of fpu sysdeps directories" >&5
4722 $as_echo_n "checking for use of fpu sysdeps directories... " >&6; }
4723 if ${libc_cv_with_fp+:} false
; then :
4724 $as_echo_n "(cached) " >&6
4726 cat > conftest.c
<<EOF
4730 # error "no hardware floating point"
4734 if ${CC-cc} $CFLAGS $CPPFLAGS -S conftest.c
-o conftest.s \
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_with_fp" >&5
4741 $as_echo "$libc_cv_with_fp" >&6; }
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
4745 $as_echo_n "checking for -fstack-protector... " >&6; }
4746 if ${libc_cv_ssp+:} false
; then :
4747 $as_echo_n "(cached) " >&6
4749 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector -xc /dev/null -S -o /dev/null'
4750 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4754 test $ac_status = 0; }; }; then :
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
4762 $as_echo "$libc_cv_ssp" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector-strong" >&5
4765 $as_echo_n "checking for -fstack-protector-strong... " >&6; }
4766 if ${libc_cv_ssp_strong+:} false
; then :
4767 $as_echo_n "(cached) " >&6
4769 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null'
4770 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4774 test $ac_status = 0; }; }; then :
4775 libc_cv_ssp_strong
=yes
4777 libc_cv_ssp_strong
=no
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp_strong" >&5
4782 $as_echo "$libc_cv_ssp_strong" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector-all" >&5
4785 $as_echo_n "checking for -fstack-protector-all... " >&6; }
4786 if ${libc_cv_ssp_all+:} false
; then :
4787 $as_echo_n "(cached) " >&6
4789 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null'
4790 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4794 test $ac_status = 0; }; }; then :
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp_all" >&5
4802 $as_echo "$libc_cv_ssp_all" >&6; }
4806 if test "$libc_cv_ssp" = yes; then
4807 no_stack_protector
="-fno-stack-protector -DSTACK_PROTECTOR_LEVEL=0"
4808 $as_echo "#define HAVE_CC_NO_STACK_PROTECTOR 1" >>confdefs.h
4812 if test "$enable_stack_protector" = yes && test "$libc_cv_ssp" = yes; then
4813 stack_protector
="-fstack-protector"
4814 $as_echo "#define STACK_PROTECTOR_LEVEL 1" >>confdefs.h
4816 elif test "$enable_stack_protector" = all
&& test "$libc_cv_ssp_all" = yes; then
4817 stack_protector
="-fstack-protector-all"
4818 $as_echo "#define STACK_PROTECTOR_LEVEL 2" >>confdefs.h
4820 elif test "$enable_stack_protector" = strong
&& test "$libc_cv_ssp_strong" = yes; then
4821 stack_protector
="-fstack-protector-strong"
4822 $as_echo "#define STACK_PROTECTOR_LEVEL 3" >>confdefs.h
4825 stack_protector
="-fno-stack-protector"
4826 $as_echo "#define STACK_PROTECTOR_LEVEL 0" >>confdefs.h
4833 if test -n "$stack_protector"; then
4834 no_ssp
=-fno-stack-protector
4838 if test "$enable_stack_protector" != no
; then
4839 as_fn_error $?
"--enable-stack-protector=$enable_stack_protector specified, but specified level of stack protection is not supported by the compiler." "$LINENO" 5
4843 # For the multi-arch option we need support in the assembler & linker.
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler and linker STT_GNU_IFUNC support" >&5
4845 $as_echo_n "checking for assembler and linker STT_GNU_IFUNC support... " >&6; }
4846 if ${libc_cv_ld_gnu_indirect_function+:} false
; then :
4847 $as_echo_n "(cached) " >&6
4849 cat > conftest.S
<<EOF
4850 .type foo,%gnu_indirect_function
4863 libc_cv_ld_gnu_indirect_function
=no
4864 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
4865 -nostartfiles -nostdlib $no_ssp \
4866 -o conftest conftest.S
1>&5 2>&5; then
4867 # Do a link to see if the backend supports IFUNC relocs.
4868 $READELF -r conftest
1>&5
4869 LC_ALL
=C
$READELF -Wr conftest |
grep -q 'IRELATIVE\|R_SPARC_JMP_IREL' && {
4870 libc_cv_ld_gnu_indirect_function
=yes
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_gnu_indirect_function" >&5
4876 $as_echo "$libc_cv_ld_gnu_indirect_function" >&6; }
4878 # Check if gcc supports attribute ifunc as it is used in libc_ifunc macro.
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc attribute ifunc support" >&5
4880 $as_echo_n "checking for gcc attribute ifunc support... " >&6; }
4881 if ${libc_cv_gcc_indirect_function+:} false
; then :
4882 $as_echo_n "(cached) " >&6
4884 cat > conftest.c
<<EOF
4885 extern int func (int);
4886 int used_func (int a)
4890 static void *resolver ()
4894 extern __typeof (func) func __attribute__ ((ifunc ("resolver")));
4896 libc_cv_gcc_indirect_function
=no
4897 if ${CC-cc} -c conftest.c
-o conftest.o
1>&5 \
4899 if $READELF -s conftest.o |
grep IFUNC
>/dev
/null
2>&5; then
4900 libc_cv_gcc_indirect_function
=yes
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_indirect_function" >&5
4906 $as_echo "$libc_cv_gcc_indirect_function" >&6; }
4908 # Check if linker supports textrel relocation with ifunc (used on elf/tests).
4909 # Note that it relies on libc_cv_ld_gnu_indirect_function test above.
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker supports textrels along with ifunc" >&5
4911 $as_echo_n "checking whether the linker supports textrels along with ifunc... " >&6; }
4912 if ${libc_cv_textrel_ifunc+:} false
; then :
4913 $as_echo_n "(cached) " >&6
4915 cat > conftest.S
<<EOF
4916 .type foo,%gnu_indirect_function
4937 libc_cv_textrel_ifunc
=no
4938 if test $libc_cv_ld_gnu_indirect_function = yes; then
4939 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostartfiles -nostdlib $no_ssp -pie -o conftest conftest.S'
4940 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4944 test $ac_status = 0; }; }; then
4945 libc_cv_textrel_ifunc
=yes
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_textrel_ifunc" >&5
4951 $as_echo "$libc_cv_textrel_ifunc" >&6; }
4954 # Check if CC supports attribute retain as it is used in attribute_used_retain macro.
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU attribute retain support" >&5
4956 $as_echo_n "checking for GNU attribute retain support... " >&6; }
4957 if ${libc_cv_gnu_retain+:} false
; then :
4958 $as_echo_n "(cached) " >&6
4960 cat > conftest.c
<<EOF
4961 static int var __attribute__ ((used, retain, section ("__libc_atexit")));
4963 libc_cv_gnu_retain
=no
4964 if ${CC-cc} -Werror -c conftest.c
-o /dev
/null
1>&5 \
4966 libc_cv_gnu_retain
=yes
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gnu_retain" >&5
4971 $as_echo "$libc_cv_gnu_retain" >&6; }
4972 if test $libc_cv_gnu_retain = yes; then
4973 $as_echo "#define HAVE_GNU_RETAIN 1" >>confdefs.h
4976 config_vars
="$config_vars
4977 have-gnu-retain = $libc_cv_gnu_retain"
4979 # Check if gcc warns about alias for function with incompatible types.
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler warns about alias for function with incompatible types" >&5
4981 $as_echo_n "checking if compiler warns about alias for function with incompatible types... " >&6; }
4982 if ${libc_cv_gcc_incompatible_alias+:} false
; then :
4983 $as_echo_n "(cached) " >&6
4985 cat > conftest.c
<<EOF
4986 int __redirect_foo (const void *s, int c);
4988 __typeof (__redirect_foo) *foo_impl (void) __asm__ ("foo");
4989 __typeof (__redirect_foo) *foo_impl (void)
4994 extern __typeof (__redirect_foo) foo_alias __attribute__ ((alias ("foo")));
4996 libc_cv_gcc_incompatible_alias
=yes
4997 if ${CC-cc} -Werror -c conftest.c
-o conftest.o
1>&5 2>&5 ; then
4998 libc_cv_gcc_incompatible_alias
=no
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_incompatible_alias" >&5
5003 $as_echo "$libc_cv_gcc_incompatible_alias" >&6; }
5005 if test x
"$libc_cv_ld_gnu_indirect_function" != xyes
; then
5006 if test x
"$multi_arch" = xyes
; then
5007 as_fn_error $?
"--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
5012 if test x
"$libc_cv_gcc_indirect_function" != xyes
; then
5013 # GCC 8+ emits a warning for alias with incompatible types and it might
5014 # fail to build ifunc resolvers aliases to either weak or internal
5015 # symbols. Disables multiarch build in this case.
5016 if test x
"$libc_cv_gcc_incompatible_alias" = xyes
; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc emits a warning for alias between functions of incompatible types" >&5
5018 $as_echo "$as_me: WARNING: gcc emits a warning for alias between functions of incompatible types" >&2;}
5019 if test x
"$multi_arch" = xyes
; then
5020 as_fn_error $?
"--enable-multi-arch support requires a gcc with gnu-indirect-function support" "$LINENO" 5
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Multi-arch is disabled." >&5
5023 $as_echo "$as_me: WARNING: Multi-arch is disabled." >&2;}
5025 elif test x
"$multi_arch" = xyes
; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-multi-arch support recommends a gcc with gnu-indirect-function support.
5027 Please use a gcc which supports it by default or configure gcc with --enable-gnu-indirect-function" >&5
5028 $as_echo "$as_me: WARNING: --enable-multi-arch support recommends a gcc with gnu-indirect-function support.
5029 Please use a gcc which supports it by default or configure gcc with --enable-gnu-indirect-function" >&2;}
5033 if test x
"$multi_arch" != xno
; then
5034 multi_arch_d
=/multiarch
5037 # Compute the list of sysdep directories for this configuration.
5038 # This can take a while to compute.
5039 sysdep_dir
=$srcdir/sysdeps
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysdep dirs" >&5
5041 $as_echo_n "checking sysdep dirs... " >&6; }
5042 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
5043 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
5045 test "x$base_os" != x ||
case "$os" in
5047 base_os
=mach
/hurd
;;
5049 base_os
=unix
/sysv
;;
5052 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
5055 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
5059 o
=`echo $tail | sed 's/[0-9]*$//'`
5060 if test $o != $tail; then
5063 # For linux-gnu, try linux-gnu, then linux.
5064 o
=`echo $tail | sed 's/-.*$//'`
5065 if test $o != $tail; then
5069 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
5072 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
5078 # For sparc/sparc32, try sparc/sparc32 and then sparc.
5080 tail=$machine${submachine:+/$submachine}
5081 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
5083 # Prepend the machine's FPU directory unless the architecture specific
5084 # preconfigure disables it.
5085 if test "$libc_cv_with_fp" = yes; then
5090 # For each machine term, try it with and then without /multiarch.
5091 for try_fpu
in $maybe_fpu ''; do
5092 for try_multi
in $multi_arch_d ''; do
5093 mach
="$mach /$1$try_fpu$try_multi"
5100 # Find what sysdep directories exist.
5102 for b
in $base ''; do
5103 for m0
in $mach ''; do
5104 for v
in /$vendor ''; do
5105 test "$v" = / && continue
5106 for o
in /$ostry ''; do
5107 test "$o" = / && continue
5108 for m
in $mach ''; do
5109 try_suffix
="$m0$b$v$o$m"
5110 if test -n "$try_suffix"; then
5111 try_srcdir
="${srcdir}/"
5112 try
="sysdeps$try_suffix"
5113 test -n "$enable_debug_configure" &&
5114 echo "$0 DEBUG: try $try" >&2
5115 if test -d "$try_srcdir$try"; then
5116 sysnames
="$sysnames $try"
5117 { test -n "$o" ||
test -n "$b"; } && os_used
=t
5118 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
5120 x
*/$submachine) submachine_used
=t
;;
5130 # If the assembler supports gnu_indirect_function symbol type and the
5131 # architecture supports multi-arch, we enable multi-arch by default.
5136 test x
"$multi_arch" = xdefault
&& multi_arch
=no
5139 if test x
"$multi_arch" != xno
; then
5140 $as_echo "#define USE_MULTIARCH 1" >>confdefs.h
5145 if test -z "$os_used" && test "$os" != none
; then
5146 as_fn_error $?
"Operating system $os is not supported." "$LINENO" 5
5148 if test -z "$machine_used" && test "$machine" != none
; then
5149 as_fn_error $?
"The $machine is not supported." "$LINENO" 5
5151 if test -z "$submachine_used" && test -n "$submachine"; then
5152 as_fn_error $?
"The $submachine subspecies of $host_cpu is not supported." "$LINENO" 5
5156 # We have now validated the configuration.
5158 # Expand the list of system names into a full list of directories
5159 # from each element's parent name and Implies file (if present).
5162 while test $# -gt 0; do
5166 case " $names " in *" $name "*)
5167 # Already in the list.
5171 # Report each name as we discover it, so there is no long pause in output.
5172 echo $ECHO_N "$name $ECHO_C" >&6
5174 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
5178 *) xsrcdir
=$srcdir/ ;;
5180 test -n "$enable_debug_configure" &&
5181 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
5183 for implies_file
in Implies Implies-before Implies-after
; do
5184 implies_type
=`echo $implies_file | sed s/-/_/`
5185 eval ${implies_type}=
5186 if test -f $xsrcdir$name/$implies_file; then
5187 # Collect more names from the `Implies' file (removing comments).
5188 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/$implies_file`"
5189 for x
in $implied_candidate; do
5191 if test -d $xsrcdir$name_base/$x; then
5192 eval "${implies_type}=\"\$${implies_type} \$name_base/\$x\""
5197 test -n "$enable_debug_configure" &&
5198 echo "DEBUG: $name $implies_file $x try() {$try_srcdir}$try" >&2
5199 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
5201 eval "${implies_type}=\"\$${implies_type} \$try\""
5204 if test $found = no
; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/$implies_file specifies nonexistent $x" >&5
5206 $as_echo "$as_me: WARNING: $name/$implies_file specifies nonexistent $x" >&2;}
5212 # Add NAME to the list of names.
5213 names
="$names $name"
5215 # Find the parent of NAME, using the empty string if it has none.
5216 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
5218 test -n "$enable_debug_configure" &&
5219 echo "DEBUG: $name Implies='$Implies' rest='$*' parent='$parent' \
5220 Implies_before='$Implies_before' Implies_after='$Implies_after'" >&2
5222 # Add the names implied by NAME, and NAME's parent (if it has one), to
5223 # the list of names to be processed (the argument list). We prepend the
5224 # implied names to the list and append the parent. We want implied
5225 # directories to come before further directories inferred from the
5226 # configuration components; this ensures that for sysv4, unix/common
5227 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
5229 sysnames
="`echo $Implies $* $Implies_before $parent $Implies_after`"
5230 test -n "$sysnames" && set $sysnames
5233 # Add the default directories.
5234 default_sysnames
="sysdeps/generic"
5235 sysnames
="$names $default_sysnames"
5237 # The other names were emitted during the scan.
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_sysnames" >&5
5239 $as_echo "$default_sysnames" >&6; }
5241 # if using special system headers, find out the compiler's sekrit
5242 # header directory and add that to the list. NOTE: Only does the right
5243 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5244 if test -n "$sysheaders"; then
5245 SYSINCLUDES
=-nostdinc
5246 for d
in include include-fixed
; do
5247 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5248 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5250 SYSINCLUDES
="$SYSINCLUDES \
5251 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5252 if test -n "$CXX"; then
5254 for cxxheaders
in `$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
5255 | sed -n -e '1,/#include/d' -e 's/^ \(\/.*\/[cg]++\)/\1/p'`; do
5256 test "x$cxxheaders" != x
&&
5257 CXX_SYSINCLUDES
="$CXX_SYSINCLUDES -isystem $cxxheaders"
5264 # Obtain some C++ header file paths. This is used to make a local
5265 # copy of those headers in Makerules.
5266 if test -n "$CXX"; then
5267 find_cxx_header
() {
5268 echo "#include <$1>" |
$CXX -H -fsyntax-only -x c
++ - 2>&1 \
5269 |
$AWK '$1 == "."{print $2}'
5271 CXX_CSTDLIB_HEADER
="$(find_cxx_header cstdlib)"
5272 CXX_CMATH_HEADER
="$(find_cxx_header cmath)"
5273 CXX_BITS_STD_ABS_H
="$(find_cxx_header bits/std_abs.h)"
5279 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5280 # since this would lead to problems installing/building glibc.
5281 # LD_LIBRARY_PATH contains the current directory if one of the following
5283 # - one of the terminals (":" and ";") is the first or last sign
5284 # - two terminals occur directly after each other
5285 # - the path contains an element with a dot in it
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
5287 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5288 case ${LD_LIBRARY_PATH} in
5289 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5290 ld_library_path_setting
="contains current directory"
5293 ld_library_path_setting
="ok"
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
5297 $as_echo "$ld_library_path_setting" >&6; }
5298 if test "$ld_library_path_setting" != "ok"; then
5300 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5301 *** building glibc. Please change the environment variable
5302 *** and run configure again." "$LINENO" 5
5305 # Extract the first word of "bash", so it can be a program name with args.
5306 set dummy bash
; ac_word
=$2
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 $as_echo_n "checking for $ac_word... " >&6; }
5309 if ${ac_cv_path_BASH_SHELL+:} false
; then :
5310 $as_echo_n "(cached) " >&6
5314 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5321 test -z "$as_dir" && as_dir
=.
5322 for ac_exec_ext
in '' $ac_executable_extensions; do
5323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5324 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5336 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5337 if test -n "$BASH_SHELL"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
5339 $as_echo "$BASH_SHELL" >&6; }
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5347 # Extract the first word of "perl", so it can be a program name with args.
5348 set dummy perl
; 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_PERL+:} false
; then :
5352 $as_echo_n "(cached) " >&6
5356 ac_cv_path_PERL
="$PERL" # 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_PERL
="$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_PERL" && ac_cv_path_PERL
="no"
5378 PERL
=$ac_cv_path_PERL
5379 if test -n "$PERL"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5381 $as_echo "$PERL" >&6; }
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5388 if test "$PERL" != no
&&
5389 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5392 # Extract the first word of "install-info", so it can be a program name with args.
5393 set dummy install-info
; ac_word
=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_path_INSTALL_INFO+:} false
; then :
5397 $as_echo_n "(cached) " >&6
5399 case $INSTALL_INFO in
5401 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5405 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5406 for as_dir
in $as_dummy
5409 test -z "$as_dir" && as_dir
=.
5410 for ac_exec_ext
in '' $ac_executable_extensions; do
5411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5424 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5425 if test -n "$INSTALL_INFO"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5427 $as_echo "$INSTALL_INFO" >&6; }
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
5436 $as_echo_n "checking for .set assembler directive... " >&6; }
5437 if ${libc_cv_asm_set_directive+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5440 cat > conftest.s
<<EOF
5443 .set glibc_conftest_frobozz,foo
5444 .globl glibc_conftest_frobozz
5446 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5447 # (but it doesn't work), so we must do a linking check to be sure.
5448 cat > conftest1.c
<<\EOF
5449 extern int glibc_conftest_frobozz
;
5450 void _start
() { glibc_conftest_frobozz
= 1; }
5452 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5453 -nostartfiles -nostdlib $no_ssp \
5454 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5455 libc_cv_asm_set_directive
=yes
5457 libc_cv_asm_set_directive
=no
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
5462 $as_echo "$libc_cv_asm_set_directive" >&6; }
5463 if test $libc_cv_asm_set_directive = yes; then
5464 $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for protected data symbol" >&5
5469 $as_echo_n "checking linker support for protected data symbol... " >&6; }
5470 if ${libc_cv_protected_data+:} false
; then :
5471 $as_echo_n "(cached) " >&6
5473 cat > conftest.c
<<EOF
5474 int bar __attribute__ ((visibility ("protected"))) = 1;
5476 libc_cv_protected_data
=no
5477 if { ac_try
='${CC-cc} -nostdlib -nostartfiles $no_ssp -fPIC -shared conftest.c -o conftest.so'
5478 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5482 test $ac_status = 0; }; }; then
5483 cat > conftest.c
<<EOF
5485 int main (void) { return bar; }
5487 if { ac_try
='${CC-cc} -nostdlib -nostartfiles $no_ssp conftest.c -o conftest conftest.so'
5488 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5492 test $ac_status = 0; }; }; then
5493 libc_cv_protected_data
=yes
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_protected_data" >&5
5500 $as_echo "$libc_cv_protected_data" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for INSERT in linker script" >&5
5504 $as_echo_n "checking linker support for INSERT in linker script... " >&6; }
5505 if ${libc_cv_insert+:} false
; then :
5506 $as_echo_n "(cached) " >&6
5508 cat > conftest.c
<<EOF
5509 int __attribute__ ((section(".bar"))) bar = 0x12345678;
5510 int test (void) { return bar; }
5512 cat > conftest.t
<<EOF
5517 INSERT AFTER .rela.dyn;
5520 if { ac_try
='${CC-cc} -nostdlib -nostartfiles $no_ssp -fPIC -shared conftest.c -Wl,-T,conftest.t -o conftest.so'
5521 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5525 test $ac_status = 0; }; }; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_insert" >&5
5532 $as_echo "$libc_cv_insert" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
5536 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
5537 if ${libc_cv_broken_alias_attribute+:} false
; then :
5538 $as_echo_n "(cached) " >&6
5540 cat > conftest.c
<<EOF
5541 extern int foo (int x) __asm ("xyzzy");
5542 int bar (int x) { return x; }
5543 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5545 extern __typeof (dfoo) dfoo __asm ("abccb");
5548 libc_cv_broken_alias_attribute
=yes
5549 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5550 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5554 test $ac_status = 0; }; }; then
5555 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5556 grep 'abccb' conftest.s
>/dev
/null
; then
5557 libc_cv_broken_alias_attribute
=no
5560 rm -f conftest.c conftest.s
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
5564 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
5565 if test $libc_cv_broken_alias_attribute = yes; then
5566 as_fn_error $?
"working alias attribute support required" "$LINENO" 5
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
5570 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
5571 if ${libc_cv_have_sdata_section+:} false
; then :
5572 $as_echo_n "(cached) " >&6
5574 echo "int i;" > conftest.c
5575 libc_cv_have_sdata_section
=no
5576 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5577 |
grep '\.sdata' >/dev
/null
; then
5578 libc_cv_have_sdata_section
=yes
5580 rm -f conftest.c conftest.so
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
5584 $as_echo "$libc_cv_have_sdata_section" >&6; }
5585 if test $libc_cv_have_sdata_section = yes; then
5586 $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
5591 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
5592 if ${libc_cv_cc_with_libunwind+:} false
; then :
5593 $as_echo_n "(cached) " >&6
5596 cat > conftest.c
<<EOF
5597 int main (void) { return 0; }
5599 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
5600 conftest.c
-v 2>&1 >/dev
/null |
grep ' -lunwind ' >/dev
/null
; then
5601 libc_cv_cc_with_libunwind
=yes
5603 libc_cv_cc_with_libunwind
=no
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
5608 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
5610 if test $libc_cv_cc_with_libunwind = yes; then
5611 $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
5617 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
5618 if ${libc_cv_as_noexecstack+:} false
; then :
5619 $as_echo_n "(cached) " >&6
5621 cat > conftest.c
<<EOF
5624 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
5625 -S -o conftest.s conftest.c 1>&5'
5626 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5630 test $ac_status = 0; }; } \
5631 && grep .note.GNU-stack conftest.s
>/dev
/null \
5632 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
5633 -c -o conftest.o conftest.s 1>&5'
5634 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5638 test $ac_status = 0; }; }
5640 libc_cv_as_noexecstack
=yes
5642 libc_cv_as_noexecstack
=no
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
5647 $as_echo "$libc_cv_as_noexecstack" >&6; }
5648 if test $libc_cv_as_noexecstack = yes; then
5649 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z execstack" >&5
5654 $as_echo_n "checking for linker that supports -z execstack... " >&6; }
5655 libc_linker_feature
=no
5656 cat > conftest.c
<<EOF
5657 int _start (void) { return 42; }
5659 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5660 -Wl,-z,execstack -nostdlib -nostartfiles
5661 -fPIC -shared -o conftest.so conftest.c
5663 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5667 test $ac_status = 0; }; }
5669 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,-z,execstack
-nostdlib \
5670 -nostartfiles -fPIC -shared -o conftest.so conftest.c
2>&1 \
5671 |
grep "warning: -z execstack ignored" > /dev
/null
2>&1; then
5674 libc_linker_feature
=yes
5678 if test $libc_linker_feature = yes; then
5679 libc_cv_z_execstack
=yes
5681 libc_cv_z_execstack
=no
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5684 $as_echo "$libc_linker_feature" >&6; }
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z start-stop-gc" >&5
5688 $as_echo_n "checking for linker that supports -z start-stop-gc... " >&6; }
5689 libc_linker_feature
=no
5690 cat > conftest.c
<<EOF
5691 int _start (void) { return 42; }
5693 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5694 -Wl,-z,start-stop-gc -nostdlib -nostartfiles
5695 -fPIC -shared -o conftest.so conftest.c
5697 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5701 test $ac_status = 0; }; }
5703 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,-z,start-stop-gc
-nostdlib \
5704 -nostartfiles -fPIC -shared -o conftest.so conftest.c
2>&1 \
5705 |
grep "warning: -z start-stop-gc ignored" > /dev
/null
2>&1; then
5708 libc_linker_feature
=yes
5712 if test $libc_linker_feature = yes; then
5713 libc_cv_z_start_stop_gc
=yes
5715 libc_cv_z_start_stop_gc
=no
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5718 $as_echo "$libc_linker_feature" >&6; }
5719 config_vars
="$config_vars
5720 have-z-start-stop-gc = $libc_cv_z_start_stop_gc"
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports --depaudit" >&5
5723 $as_echo_n "checking for linker that supports --depaudit... " >&6; }
5724 libc_linker_feature
=no
5725 cat > conftest.c
<<EOF
5726 int _start (void) { return 42; }
5728 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5729 -Wl,--depaudit,x -nostdlib -nostartfiles
5730 -fPIC -shared -o conftest.so conftest.c
5732 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5736 test $ac_status = 0; }; }
5738 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,--depaudit,x
-nostdlib \
5739 -nostartfiles -fPIC -shared -o conftest.so conftest.c
2>&1 \
5740 |
grep "warning: --depaudit ignored" > /dev
/null
2>&1; then
5743 libc_linker_feature
=yes
5747 if test $libc_linker_feature = yes; then
5748 libc_cv_depaudit
=yes
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5753 $as_echo "$libc_linker_feature" >&6; }
5754 config_vars
="$config_vars
5755 have-depaudit = $libc_cv_depaudit"
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z pack-relative-relocs" >&5
5758 $as_echo_n "checking for linker that supports -z pack-relative-relocs... " >&6; }
5759 libc_linker_feature
=no
5760 cat > conftest.c
<<EOF
5761 int _start (void) { return 42; }
5763 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5764 -Wl,-z,pack-relative-relocs -nostdlib -nostartfiles
5765 -fPIC -shared -o conftest.so conftest.c
5767 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5771 test $ac_status = 0; }; }
5773 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,-z,pack-relative-relocs
-nostdlib \
5774 -nostartfiles -fPIC -shared -o conftest.so conftest.c
2>&1 \
5775 |
grep "warning: -z pack-relative-relocs ignored" > /dev
/null
2>&1; then
5778 libc_linker_feature
=yes
5782 if test $libc_linker_feature = yes; then
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5788 $as_echo "$libc_linker_feature" >&6; }
5789 config_vars
="$config_vars
5790 have-dt-relr = $libc_cv_dt_relr"
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports --no-dynamic-linker" >&5
5793 $as_echo_n "checking for linker that supports --no-dynamic-linker... " >&6; }
5794 libc_linker_feature
=no
5795 cat > conftest.c
<<EOF
5796 int _start (void) { return 42; }
5798 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5799 -Wl,--no-dynamic-linker -nostdlib -nostartfiles
5800 -fPIC -shared -o conftest.so conftest.c
5802 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5806 test $ac_status = 0; }; }
5808 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,--no-dynamic-linker -nostdlib \
5809 -nostartfiles -fPIC -shared -o conftest.so conftest.c
2>&1 \
5810 |
grep "warning: --no-dynamic-linker ignored" > /dev
/null
2>&1; then
5813 libc_linker_feature
=yes
5817 if test $libc_linker_feature = yes; then
5818 libc_cv_no_dynamic_linker
=yes
5820 libc_cv_no_dynamic_linker
=no
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5823 $as_echo "$libc_linker_feature" >&6; }
5824 config_vars
="$config_vars
5825 have-no-dynamic-linker = $libc_cv_no_dynamic_linker"
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -static-pie" >&5
5828 $as_echo_n "checking for -static-pie... " >&6; }
5829 if ${libc_cv_static_pie+:} false
; then :
5830 $as_echo_n "(cached) " >&6
5832 if { ac_try
='${CC-cc} -static-pie -xc /dev/null -S -o /dev/null'
5833 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5837 test $ac_status = 0; }; }; then :
5838 libc_cv_static_pie
=yes
5840 libc_cv_static_pie
=no
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_static_pie" >&5
5845 $as_echo "$libc_cv_static_pie" >&6; }
5846 config_vars
="$config_vars
5847 have-static-pie = $libc_cv_static_pie"
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
5850 $as_echo_n "checking for -fpie... " >&6; }
5851 if ${libc_cv_fpie+:} false
; then :
5852 $as_echo_n "(cached) " >&6
5854 if { ac_try
='${CC-cc} -fpie -xc /dev/null -S -o /dev/null'
5855 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5859 test $ac_status = 0; }; }; then :
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
5867 $as_echo "$libc_cv_fpie" >&6; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOB_DAT reloc" >&5
5872 $as_echo_n "checking for GLOB_DAT reloc... " >&6; }
5873 if ${libc_cv_has_glob_dat+:} false
; then :
5874 $as_echo_n "(cached) " >&6
5876 cat > conftest.c
<<EOF
5878 int foo (void) { return mumble; }
5880 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5881 -fPIC -shared -o conftest.so conftest.c
5882 -nostdlib -nostartfiles $no_ssp
5884 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5888 test $ac_status = 0; }; }
5890 if $READELF -rW conftest.so |
grep '_GLOB_DAT' > /dev
/null
; then
5891 libc_cv_has_glob_dat
=yes
5893 libc_cv_has_glob_dat
=no
5896 libc_cv_has_glob_dat
=no
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_has_glob_dat" >&5
5901 $as_echo "$libc_cv_has_glob_dat" >&6; }
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mtls-dialect=gnu2" >&5
5905 $as_echo_n "checking for -mtls-dialect=gnu2... " >&6; }
5906 if ${libc_cv_mtls_dialect_gnu2+:} false
; then :
5907 $as_echo_n "(cached) " >&6
5909 cat > conftest.c
<<EOF
5916 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -fPIC -mtls-dialect=gnu2 -nostdlib -nostartfiles
5917 conftest.c -o conftest 1>&5'
5918 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5922 test $ac_status = 0; }; }
5924 libc_cv_mtls_dialect_gnu2
=yes
5926 libc_cv_mtls_dialect_gnu2
=no
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mtls_dialect_gnu2" >&5
5931 $as_echo "$libc_cv_mtls_dialect_gnu2" >&6; }
5933 config_vars
="$config_vars
5934 have-mtls-dialect-gnu2 = $libc_cv_mtls_dialect_gnu2"
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -Wno-ignored-attributes is required for aliases" >&5
5937 $as_echo_n "checking if -Wno-ignored-attributes is required for aliases... " >&6; }
5938 if ${libc_cv_wno_ignored_attributes+:} false
; then :
5939 $as_echo_n "(cached) " >&6
5941 cat > conftest.c
<<EOF
5945 extern __typeof (__foo) foo __attribute__ ((weak, alias ("__foo")));
5946 extern __typeof (__foo) bar __attribute__ ((weak, alias ("foo")));
5948 libc_cv_wno_ignored_attributes
=""
5949 if ! { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -c conftest.c'
5950 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5954 test $ac_status = 0; }; }
5956 libc_cv_wno_ignored_attributes
="-Wno-ignored-attributes"
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_wno_ignored_attributes" >&5
5961 $as_echo "$libc_cv_wno_ignored_attributes" >&6; }
5962 config_vars
="$config_vars
5963 config-cflags-wno-ignored-attributes = $libc_cv_wno_ignored_attributes"
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
5966 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
5967 if ${libc_cv_have_section_quotes+:} false
; then :
5968 $as_echo_n "(cached) " >&6
5970 cat > conftest.c
<<EOF
5971 static const int foo
5972 __attribute__ ((section ("bar"))) = 1;
5974 if ${CC-cc} -S conftest.c
-o conftest.s
; then
5975 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
5976 libc_cv_have_section_quotes
=yes
5978 libc_cv_have_section_quotes
=no
5981 libc_cv_have_section_quotes
=unknown
5983 rm -f conftest.
{c
,s
}
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
5987 $as_echo "$libc_cv_have_section_quotes" >&6; }
5988 if test $libc_cv_have_section_quotes = yes; then
5989 $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
5994 $as_echo_n "checking for __builtin_memset... " >&6; }
5995 if ${libc_cv_gcc_builtin_memset+:} false
; then :
5996 $as_echo_n "(cached) " >&6
5998 cat > conftest.c
<<\EOF
6001 __builtin_memset
(x
, 0, 1000);
6004 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | grep -F "memset" > /dev/null'
6005 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6009 test $ac_status = 0; }; };
6011 libc_cv_gcc_builtin_memset
=no
6013 libc_cv_gcc_builtin_memset
=yes
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
6018 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
6019 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6020 $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
6025 $as_echo_n "checking for redirection of built-in functions... " >&6; }
6026 if ${libc_cv_gcc_builtin_redirection+:} false
; then :
6027 $as_echo_n "(cached) " >&6
6029 cat > conftest.c
<<\EOF
6030 extern char
*strstr
(const char
*, const char
*) __asm
("my_strstr");
6031 char
*foo
(const char
*a
, const char
*b
)
6033 return __builtin_strstr
(a
, b
);
6036 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | grep -F "my_strstr" > /dev/null'
6037 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6041 test $ac_status = 0; }; };
6043 libc_cv_gcc_builtin_redirection
=yes
6045 libc_cv_gcc_builtin_redirection
=no
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
6050 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
6051 if test "$libc_cv_gcc_builtin_redirection" = no
; then
6052 as_fn_error $?
"support for the symbol redirection needed" "$LINENO" 5
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to disable generation of FMA instructions" >&5
6056 $as_echo_n "checking for compiler option to disable generation of FMA instructions... " >&6; }
6057 if ${libc_cv_cc_nofma+:} false
; then :
6058 $as_echo_n "(cached) " >&6
6061 for opt
in -ffp-contract=off
-mno-fused-madd; do
6062 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6063 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6067 test $ac_status = 0; }; }; then :
6068 libc_cv_cc_nofma
=$opt; break
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_nofma" >&5
6073 $as_echo "$libc_cv_cc_nofma" >&6; }
6076 if test -n "$submachine"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
6078 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
6079 if ${libc_cv_cc_submachine+:} false
; then :
6080 $as_echo_n "(cached) " >&6
6082 libc_cv_cc_submachine
=no
6083 for opt
in "-march=$submachine" "-mcpu=$submachine"; do
6084 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6085 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089 test $ac_status = 0; }; }; then :
6091 libc_cv_cc_submachine
="$opt"
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
6097 $as_echo "$libc_cv_cc_submachine" >&6; }
6098 if test "x$libc_cv_cc_submachine" = xno
; then
6099 as_fn_error $?
"${CC-cc} does not support $submachine" "$LINENO" 5
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option that -fsignaling-nans" >&5
6105 $as_echo_n "checking for compiler option that -fsignaling-nans... " >&6; }
6106 if ${libc_cv_cc_signaling_nans+:} false
; then :
6107 $as_echo_n "(cached) " >&6
6109 if { ac_try
='${CC-cc} -Werror -fsignaling-nans -xc /dev/null -S -o /dev/null'
6110 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6114 test $ac_status = 0; }; }; then :
6115 libc_cv_cc_signaling_nans
=-fsignaling-nans
6117 libc_cv_cc_signaling_nans
=
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_signaling_nans" >&5
6122 $as_echo "$libc_cv_cc_signaling_nans" >&6; }
6123 config_vars
="$config_vars
6124 config-cflags-signaling-nans = $libc_cv_cc_signaling_nans"
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6127 __attribute__ ((__optimize__))" >&5
6128 $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6129 __attribute__ ((__optimize__))... " >&6; }
6130 if ${libc_cv_cc_loop_to_function+:} false
; then :
6131 $as_echo_n "(cached) " >&6
6133 cat > conftest.c
<<EOF
6135 __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
6138 libc_cv_cc_loop_to_function
=no
6139 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c'
6140 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6144 test $ac_status = 0; }; }
6146 libc_cv_cc_loop_to_function
=yes
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_loop_to_function" >&5
6151 $as_echo "$libc_cv_cc_loop_to_function" >&6; }
6152 if test $libc_cv_cc_loop_to_function = yes; then
6153 $as_echo "#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
6159 $as_echo_n "checking for libgd... " >&6; }
6160 if test "$with_gd" != "no"; then
6161 old_CFLAGS
="$CFLAGS"
6162 CFLAGS
="$CFLAGS $libgd_include"
6163 old_LDFLAGS
="$LDFLAGS"
6164 LDFLAGS
="$LDFLAGS $libgd_ldflags"
6166 LIBS
="$LIBS -lgd -lpng -lz -lm"
6167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6168 /* end confdefs.h. */
6178 if ac_fn_c_try_link
"$LINENO"; then :
6183 rm -f core conftest.err conftest.
$ac_objext \
6184 conftest
$ac_exeext conftest.
$ac_ext
6185 CFLAGS
="$old_CFLAGS"
6186 LDFLAGS
="$old_LDFLAGS"
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
6192 $as_echo "$LIBGD" >&6; }
6196 if test x
$with_selinux = xno
; then
6199 # See if we have the SELinux library
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
6201 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
6202 if ${ac_cv_lib_selinux_is_selinux_enabled+:} false
; then :
6203 $as_echo_n "(cached) " >&6
6205 ac_check_lib_save_LIBS
=$LIBS
6206 LIBS
="-lselinux $LIBS"
6207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6210 /* Override any GCC internal prototype to avoid an error.
6211 Use char because int might match the return type of a GCC
6212 builtin and then its argument prototype would still apply. */
6216 char is_selinux_enabled ();
6220 return is_selinux_enabled ();
6225 if ac_fn_c_try_link
"$LINENO"; then :
6226 ac_cv_lib_selinux_is_selinux_enabled
=yes
6228 ac_cv_lib_selinux_is_selinux_enabled
=no
6230 rm -f core conftest.err conftest.
$ac_objext \
6231 conftest
$ac_exeext conftest.
$ac_ext
6232 LIBS
=$ac_check_lib_save_LIBS
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
6235 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
6236 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes
; then :
6242 if test x
$with_selinux = xyes
; then
6243 if test x
$have_selinux = xno
; then
6244 as_fn_error $?
"SELinux explicitly required, but SELinux library not found" "$LINENO" 5
6248 # Check if we're building with SELinux support.
6249 if test "x$have_selinux" = xyes
; then
6251 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
6254 # See if we have the libaudit library
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
6256 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
6257 if ${ac_cv_lib_audit_audit_log_user_avc_message+:} false
; then :
6258 $as_echo_n "(cached) " >&6
6260 ac_check_lib_save_LIBS
=$LIBS
6261 LIBS
="-laudit $LIBS"
6262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6265 /* Override any GCC internal prototype to avoid an error.
6266 Use char because int might match the return type of a GCC
6267 builtin and then its argument prototype would still apply. */
6271 char audit_log_user_avc_message ();
6275 return audit_log_user_avc_message ();
6280 if ac_fn_c_try_link
"$LINENO"; then :
6281 ac_cv_lib_audit_audit_log_user_avc_message
=yes
6283 ac_cv_lib_audit_audit_log_user_avc_message
=no
6285 rm -f core conftest.err conftest.
$ac_objext \
6286 conftest
$ac_exeext conftest.
$ac_ext
6287 LIBS
=$ac_check_lib_save_LIBS
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
6290 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
6291 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = xyes
; then :
6297 if test "x$have_libaudit" = xyes
; then
6299 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
6304 # See if we have the libcap library
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
6306 $as_echo_n "checking for cap_init in -lcap... " >&6; }
6307 if ${ac_cv_lib_cap_cap_init+:} false
; then :
6308 $as_echo_n "(cached) " >&6
6310 ac_check_lib_save_LIBS
=$LIBS
6312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6315 /* Override any GCC internal prototype to avoid an error.
6316 Use char because int might match the return type of a GCC
6317 builtin and then its argument prototype would still apply. */
6330 if ac_fn_c_try_link
"$LINENO"; then :
6331 ac_cv_lib_cap_cap_init
=yes
6333 ac_cv_lib_cap_cap_init
=no
6335 rm -f core conftest.err conftest.
$ac_objext \
6336 conftest
$ac_exeext conftest.
$ac_ext
6337 LIBS
=$ac_check_lib_save_LIBS
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
6340 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
6341 if test "x$ac_cv_lib_cap_cap_init" = xyes
; then :
6347 if test "x$have_libcap" = xyes
; then
6349 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FORTIFY_SOURCE predefine" >&5
6358 $as_echo_n "checking for _FORTIFY_SOURCE predefine... " >&6; }
6359 if ${libc_cv_predef_fortify_source+:} false
; then :
6360 $as_echo_n "(cached) " >&6
6362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6369 #ifdef _FORTIFY_SOURCE
6376 if ac_fn_c_try_compile
"$LINENO"; then :
6377 libc_cv_predef_fortify_source
=no
6379 libc_cv_predef_fortify_source
=yes
6381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_fortify_source" >&5
6384 $as_echo "$libc_cv_predef_fortify_source" >&6; }
6385 if test $libc_cv_predef_fortify_source = yes; then
6386 CPPUNDEFS
="${CPPUNDEFS:+$CPPUNDEFS }-U_FORTIFY_SOURCE"
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the assembler requires one version per symbol" >&5
6391 $as_echo_n "checking whether the assembler requires one version per symbol... " >&6; }
6392 if ${libc_cv_symver_needs_alias+:} false
; then :
6393 $as_echo_n "(cached) " >&6
6395 cat > conftest.s
<<EOF
6399 .symver testfunc, testfunc1@VERSION1
6400 .symver testfunc, testfunc1@VERSION2
6402 libc_cv_symver_needs_alias
=no
6403 if ${CC-cc} $ASFLAGS -c conftest.s
2>&5; then
6404 libc_cv_symver_needs_alias
=no
6406 libc_cv_symver_needs_alias
=yes
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_symver_needs_alias" >&5
6412 $as_echo "$libc_cv_symver_needs_alias" >&6; }
6413 if test "$libc_cv_symver_needs_alias" = yes; then
6414 $as_echo "#define SYMVER_NEEDS_ALIAS 1" >>confdefs.h
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_trap with no external dependencies" >&5
6419 $as_echo_n "checking for __builtin_trap with no external dependencies... " >&6; }
6420 if ${libc_cv_builtin_trap+:} false
; then :
6421 $as_echo_n "(cached) " >&6
6423 libc_cv_builtin_trap
=no
6424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6435 if ac_fn_c_try_compile
"$LINENO"; then :
6437 libc_undefs
=`$NM -u conftest.o |
6438 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
6440 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
6442 echo >&5 "libc_undefs='$libc_undefs'"
6443 if test -z "$libc_undefs"; then
6444 libc_cv_builtin_trap
=yes
6447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_builtin_trap" >&5
6450 $as_echo "$libc_cv_builtin_trap" >&6; }
6451 if test $libc_cv_builtin_trap = yes; then
6452 $as_echo "#define HAVE_BUILTIN_TRAP 1" >>confdefs.h
6457 ac_cpp
='$CXXCPP $CPPFLAGS'
6458 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6459 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6460 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports thread_local" >&5
6464 $as_echo_n "checking whether the C++ compiler supports thread_local... " >&6; }
6465 if ${libc_cv_cxx_thread_local+:} false
; then :
6466 $as_echo_n "(cached) " >&6
6469 old_CXXFLAGS
="$CXXFLAGS"
6470 CXXFLAGS
="$CXXFLAGS -std=gnu++11"
6471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6476 // Compiler support.
6483 S * get () { return &s; }
6485 // libstdc++ support.
6486 #ifndef _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL
6487 #error __cxa_thread_atexit_impl not supported
6491 if ac_fn_cxx_try_compile
"$LINENO"; then :
6492 libc_cv_cxx_thread_local
=yes
6494 libc_cv_cxx_thread_local
=no
6496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6497 CXXFLAGS
="$old_CXXFLAGS"
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_thread_local" >&5
6501 $as_echo "$libc_cv_cxx_thread_local" >&6; }
6505 ac_cpp
='$CPP $CPPFLAGS'
6506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6511 ### End of automated tests.
6512 ### Now run sysdeps configure fragments.
6514 # They also can set these variables.
6516 ldd_rewrite_script
=no
6517 libc_cv_sysconfdir
=$sysconfdir
6518 libc_cv_localstatedir
=$localstatedir
6519 libc_cv_gcc_unwind_find_fde
=no
6523 # Iterate over all the sysdep directories we will use, running their
6524 # configure fragments.
6525 for dir
in $sysnames; do
6528 *) dest
=$srcdir/$dir ;;
6530 if test -r $dest/configure
; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
6532 $as_echo "running configure fragment for $dir" >&6; }
6537 if test x
"$build_mathvec" = xnotset
; then
6540 config_vars
="$config_vars
6541 build-mathvec = $build_mathvec"
6546 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
6547 $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
6552 # A sysdeps configure fragment can reset this if IFUNC is not actually
6553 # usable even though the assembler knows how to generate the symbol type.
6554 if test x
"$libc_cv_ld_gnu_indirect_function" = xyes
; then
6555 $as_echo "#define HAVE_IFUNC 1" >>confdefs.h
6558 config_vars
="$config_vars
6559 have-ifunc = $libc_cv_ld_gnu_indirect_function"
6561 if test x
"$libc_cv_gcc_indirect_function" = xyes
; then
6562 $as_echo "#define HAVE_GCC_IFUNC 1" >>confdefs.h
6565 config_vars
="$config_vars
6566 have-gcc-ifunc = $libc_cv_gcc_indirect_function"
6568 # This is far from the AC_ARG_ENABLE that sets it so that a sysdeps
6569 # configure fragment can override the value to prevent this AC_DEFINE.
6571 if test "x$use_nscd" != xno
; then
6572 $as_echo "#define USE_NSCD 1" >>confdefs.h
6575 if test "x$build_nscd" = xdefault
; then
6576 build_nscd
=$use_nscd
6586 if test x
$use_ldconfig = xyes
; then
6587 $as_echo "#define USE_LDCONFIG 1" >>confdefs.h
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
6597 $as_echo_n "checking whether -fPIC is default... " >&6; }
6598 if ${libc_cv_pic_default+:} false
; then :
6599 $as_echo_n "(cached) " >&6
6601 libc_cv_pic_default
=yes
6602 cat > conftest.c
<<EOF
6603 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
6604 # error PIC is default.
6607 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
6608 libc_cv_pic_default
=no
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
6613 $as_echo "$libc_cv_pic_default" >&6; }
6614 config_vars
="$config_vars
6615 build-pic-default = $libc_cv_pic_default"
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIE is default" >&5
6618 $as_echo_n "checking whether -fPIE is default... " >&6; }
6619 if ${libc_cv_cc_pie_default+:} false
; then :
6620 $as_echo_n "(cached) " >&6
6622 libc_cv_cc_pie_default
=yes
6623 cat > conftest.c
<<EOF
6624 #if defined __PIE__ || defined __pie__ || defined PIE || defined pie
6625 # error PIE is default.
6628 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
6629 libc_cv_cc_pie_default
=no
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_pie_default" >&5
6634 $as_echo "$libc_cv_cc_pie_default" >&6; }
6635 config_vars
="$config_vars
6636 cc-pie-default = $libc_cv_cc_pie_default"
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can build programs as PIE" >&5
6639 $as_echo_n "checking if we can build programs as PIE... " >&6; }
6640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #ifdef PIE_UNSUPPORTED
6643 # error PIE is not supported
6646 if ac_fn_c_try_compile
"$LINENO"; then :
6647 libc_cv_pie_supported
=yes
6649 libc_cv_pie_supported
=no
6651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pie_supported" >&5
6653 $as_echo "$libc_cv_pie_supported" >&6; }
6654 # Disable build-pie-default if target does not support it or glibc is
6655 # configured with --disable-default-pie.
6656 if test "x$default_pie" = xno
; then
6657 build_pie_default
=no
6659 build_pie_default
=$libc_cv_pie_supported
6661 config_vars
="$config_vars
6662 build-pie-default = $build_pie_default"
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can build static PIE programs" >&5
6665 $as_echo_n "checking if we can build static PIE programs... " >&6; }
6666 libc_cv_static_pie_supported
=$libc_cv_pie_supported
6667 if test "x$libc_cv_pie_supported" != xno \
6668 -a "$libc_cv_no_dynamic_linker" = yes; then
6669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6670 /* end confdefs.h. */
6671 #ifndef SUPPORT_STATIC_PIE
6672 # error static PIE is not supported
6675 if ac_fn_c_try_compile
"$LINENO"; then :
6676 libc_cv_static_pie_supported
=yes
6678 libc_cv_static_pie_supported
=no
6680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_static_pie_supported" >&5
6683 $as_echo "$libc_cv_static_pie_supported" >&6; }
6685 # Enable static-pie only if it is available and glibc isn't configured
6686 # with --disable-default-pie.
6687 if test "x$default_pie" = xno
; then
6688 libc_cv_static_pie
=no
6690 libc_cv_static_pie
=$libc_cv_static_pie_supported
6692 if test "$libc_cv_static_pie" = "yes"; then
6693 $as_echo "#define ENABLE_STATIC_PIE 1" >>confdefs.h
6696 config_vars
="$config_vars
6697 enable-static-pie = $libc_cv_static_pie"
6699 # Set the `multidir' variable by grabbing the variable from the compiler.
6700 # We do it once and save the result in a generated makefile.
6701 libc_cv_multidir
=`${CC-cc} $CFLAGS $CPPFLAGS -print-multi-directory`
6711 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
6712 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
6716 if test "$pthread_in_libc" = yes; then
6717 $as_echo "#define PTHREAD_IN_LIBC 1" >>confdefs.h
6722 ac_config_files
="$ac_config_files config.make Makefile"
6724 ac_config_commands
="$ac_config_commands default"
6726 cat >confcache
<<\_ACEOF
6727 # This file is a shell script that caches the results of configure
6728 # tests run on this system so they can be shared between configure
6729 # scripts and configure runs, see configure's option --config-cache.
6730 # It is not useful on other systems. If it contains results you don't
6731 # want to keep, you may remove or edit it.
6733 # config.status only pays attention to the cache file if you give it
6734 # the --recheck option to rerun configure.
6736 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6737 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6742 # The following way of writing the cache mishandles newlines in values,
6743 # but we know of no workaround that is simple, portable, and efficient.
6744 # So, we kill variables containing newlines.
6745 # Ultrix sh set writes to stderr and can't be redirected directly,
6746 # and sets the high bit in the cache file unless we assign to the vars.
6748 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6749 eval ac_val
=\$
$ac_var
6753 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6754 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6757 _ | IFS | as_nl
) ;; #(
6758 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6759 *) { eval $ac_var=; unset $ac_var;} ;;
6765 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6766 *${as_nl}ac_space
=\
*)
6767 # `set' does not quote correctly, so add quotes: double-quote
6768 # substitution turns \\\\ into \\, and sed turns \\ into \.
6771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6774 # `set' quotes correctly as required by POSIX, so do not add quotes.
6775 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6784 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6786 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6788 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6789 if test -w "$cache_file"; then
6790 if test "x$cache_file" != "x/dev/null"; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6792 $as_echo "$as_me: updating cache $cache_file" >&6;}
6793 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6794 cat confcache
>"$cache_file"
6796 case $cache_file in #(
6798 mv -f confcache
"$cache_file"$$
&&
6799 mv -f "$cache_file"$$
"$cache_file" ;; #(
6801 mv -f confcache
"$cache_file" ;;
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6807 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6812 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6813 # Let make expand exec_prefix.
6814 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6816 DEFS
=-DHAVE_CONFIG_H
6821 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6822 # 1. Remove the extension, and $U if already installed.
6823 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6824 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6825 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6826 # will be set to the directory where LIBOBJS objects are built.
6827 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6828 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6832 LTLIBOBJS
=$ac_ltlibobjs
6836 : "${CONFIG_STATUS=./config.status}"
6838 ac_clean_files_save
=$ac_clean_files
6839 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6841 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6843 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6845 # Generated by $as_me.
6846 # Run this file to recreate the current configuration.
6847 # Compiler output produced by configure, useful for debugging
6848 # configure, is in config.log if it exists.
6854 SHELL=\${CONFIG_SHELL-$SHELL}
6857 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6858 ## -------------------- ##
6859 ## M4sh Initialization. ##
6860 ## -------------------- ##
6862 # Be more Bourne compatible
6863 DUALCASE
=1; export DUALCASE
# for MKS sh
6864 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6867 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6868 # is contrary to our usage. Disable this feature.
6869 alias -g '${1+"$@"}'='"$@"'
6870 setopt NO_GLOB_SUBST
6872 case `(set -o) 2>/dev/null` in #(
6884 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6885 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6886 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6887 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6888 # Prefer a ksh shell builtin over an external printf program on Solaris,
6889 # but without wasting forks for bash or zsh.
6890 if test -z "$BASH_VERSION$ZSH_VERSION" \
6891 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6892 as_echo='print
-r --'
6893 as_echo_n='print
-rn --'
6894 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6895 as_echo='printf %s
\n'
6896 as_echo_n='printf %s
'
6898 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6899 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6900 as_echo_n='/usr
/ucb
/echo -n'
6902 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6903 as_echo_n_body='eval
6907 expr "X$arg" : "X\\(.*\\)$as_nl";
6908 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6910 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6912 export as_echo_n_body
6913 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6916 as_echo='sh
-c $as_echo_body as_echo
'
6919 # The user is always right.
6920 if test "${PATH_SEPARATOR+set}" != set; then
6922 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6923 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6930 # We need space, tab and new line, in precisely that order. Quoting is
6931 # there to prevent editors from complaining about space-tab.
6932 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6933 # splitting by setting IFS to empty value.)
6936 # Find who we are. Look in the path if we contain no directory separator.
6939 *[\\/]* ) as_myself=$0 ;;
6940 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir=.
6945 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6951 # We did not find ourselves, most probably we were run as `sh COMMAND'
6952 # in which case we are not to be found in the path.
6953 if test "x$as_myself" = x
; then
6956 if test ! -f "$as_myself"; then
6957 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6961 # Unset variables that we do not need and which cause bugs (e.g. in
6962 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6963 # suppresses any "Segmentation fault" message there. '((' could
6964 # trigger a bug in pdksh 5.2.14.
6965 for as_var
in BASH_ENV ENV MAIL MAILPATH
6966 do eval test x\
${$as_var+set} = xset \
6967 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6980 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6983 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6984 # ----------------------------------------
6985 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6986 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6987 # script with STATUS, using 1 if that was 0.
6990 as_status
=$1; test $as_status -eq 0 && as_status
=1
6992 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6993 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6995 $as_echo "$as_me: error: $2" >&2
6996 as_fn_exit
$as_status
7000 # as_fn_set_status STATUS
7001 # -----------------------
7002 # Set $? to STATUS, without forking.
7006 } # as_fn_set_status
7010 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7020 # Portably unset VAR.
7023 { eval $1=; unset $1;}
7025 as_unset
=as_fn_unset
7026 # as_fn_append VAR VALUE
7027 # ----------------------
7028 # Append the text in VALUE to the end of the definition contained in VAR. Take
7029 # advantage of any shell optimizations that allow amortized linear growth over
7030 # repeated appends, instead of the typical quadratic growth present in naive
7032 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7033 eval 'as_fn_append ()
7044 # as_fn_arith ARG...
7045 # ------------------
7046 # Perform arithmetic evaluation on the ARGs, and store the result in the
7047 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7048 # must be portable across $(()) and expr.
7049 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7050 eval 'as_fn_arith ()
7057 as_val
=`expr "$@" || test $? -eq 1`
7062 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7063 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7069 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7070 as_basename
=basename
7075 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7081 as_me
=`$as_basename -- "$0" ||
7082 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7083 X"$0" : 'X\(//\)$' \| \
7084 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7086 sed '/^.*\/\([^/][^/]*\)\/*$/{
7100 # Avoid depending upon Character Ranges.
7101 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7102 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7103 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7104 as_cr_digits
='0123456789'
7105 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7107 ECHO_C
= ECHO_N
= ECHO_T
=
7108 case `echo -n x` in #(((((
7110 case `echo 'xy\c'` in
7111 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7113 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7120 rm -f conf$$ conf$$.exe conf$$.
file
7121 if test -d conf$$.dir
; then
7122 rm -f conf$$.dir
/conf$$.
file
7125 mkdir conf$$.dir
2>/dev
/null
7127 if (echo >conf$$.
file) 2>/dev
/null
; then
7128 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7130 # ... but there are two gotchas:
7131 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7132 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7133 # In both cases, we have to default to `cp -pR'.
7134 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7136 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7144 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7145 rmdir conf$$.dir
2>/dev
/null
7150 # Create "$as_dir" as a directory, including parents if necessary.
7155 -*) as_dir
=.
/$as_dir;;
7157 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7161 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7162 *) as_qdir
=$as_dir;;
7164 as_dirs
="'$as_qdir' $as_dirs"
7165 as_dir
=`$as_dirname -- "$as_dir" ||
7166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7167 X"$as_dir" : 'X\(//\)[^/]' \| \
7168 X"$as_dir" : 'X\(//\)$' \| \
7169 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7170 $as_echo X"$as_dir" |
7171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7188 test -d "$as_dir" && break
7190 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7191 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7195 if mkdir
-p .
2>/dev
/null
; then
7196 as_mkdir_p
='mkdir -p "$as_dir"'
7198 test -d .
/-p && rmdir .
/-p
7203 # as_fn_executable_p FILE
7204 # -----------------------
7205 # Test if FILE is an executable regular file.
7206 as_fn_executable_p
()
7208 test -f "$1" && test -x "$1"
7209 } # as_fn_executable_p
7211 as_executable_p
=as_fn_executable_p
7213 # Sed expression to map a string onto a valid CPP name.
7214 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7216 # Sed expression to map a string onto a valid variable name.
7217 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7221 ## ----------------------------------- ##
7222 ## Main body of $CONFIG_STATUS script. ##
7223 ## ----------------------------------- ##
7225 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7228 # Save the log message, to keep $0 and so on meaningful, and to
7229 # report actual input values of CONFIG_FILES etc. instead of their
7230 # values after options handling.
7232 This file was extended by GNU C Library $as_me (see version.h), which was
7233 generated by GNU Autoconf 2.69. Invocation command line was
7235 CONFIG_FILES = $CONFIG_FILES
7236 CONFIG_HEADERS = $CONFIG_HEADERS
7237 CONFIG_LINKS = $CONFIG_LINKS
7238 CONFIG_COMMANDS = $CONFIG_COMMANDS
7241 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7246 case $ac_config_files in *"
7247 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7250 case $ac_config_headers in *"
7251 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7256 # Files that config.status was made for.
7257 config_files="$ac_config_files"
7258 config_headers="$ac_config_headers"
7259 config_commands="$ac_config_commands"
7263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7265 \`$as_me' instantiates files and other configuration actions
7266 from templates according to the current configuration. Unless the files
7267 and actions are specified as TAGs, all are instantiated by default.
7269 Usage: $0 [OPTION]... [TAG]...
7271 -h, --help print this help, then exit
7272 -V, --version print version number and configuration settings, then exit
7273 --config print configuration, then exit
7274 -q, --quiet, --silent
7275 do not print progress messages
7276 -d, --debug don't remove temporary files
7277 --recheck update $as_me by reconfiguring in the same conditions
7278 --file=FILE[:TEMPLATE]
7279 instantiate the configuration file FILE
7280 --header=FILE[:TEMPLATE]
7281 instantiate the configuration header FILE
7283 Configuration files:
7286 Configuration headers:
7289 Configuration commands:
7292 Report bugs to <https://sourceware.org/bugzilla/>.
7293 GNU C Library home page: <https://www.gnu.org/software/glibc/>.
7294 General help using GNU software: <http://www.gnu.org/gethelp/>."
7297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7298 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7300 GNU C Library config.status (see version.h)
7301 configured by $0, generated by GNU Autoconf 2.69,
7302 with options \\"\$ac_cs_config\\"
7304 Copyright (C) 2012 Free Software Foundation, Inc.
7305 This config.status script is free software; the Free Software Foundation
7306 gives unlimited permission to copy, distribute and modify it."
7311 test -n "\$AWK" || AWK=awk
7314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7315 # The default lists apply if the user does not specify any file.
7321 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7322 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7326 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7338 # Handling of the options.
7339 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7341 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7342 $as_echo "$ac_cs_version"; exit ;;
7343 --config |
--confi |
--conf |
--con |
--co |
--c )
7344 $as_echo "$ac_cs_config"; exit ;;
7345 --debug |
--debu |
--deb |
--de |
--d |
-d )
7347 --file |
--fil |
--fi |
--f )
7350 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7351 '') as_fn_error $?
"missing file argument" ;;
7353 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7354 ac_need_defaults
=false
;;
7355 --header |
--heade |
--head |
--hea )
7358 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7360 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7361 ac_need_defaults
=false
;;
7363 # Conflict between --help and --header
7364 as_fn_error $?
"ambiguous option: \`$1'
7365 Try \`$0 --help' for more information.";;
7366 --help |
--hel |
-h )
7367 $as_echo "$ac_cs_usage"; exit ;;
7368 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7369 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7373 -*) as_fn_error $?
"unrecognized option: \`$1'
7374 Try \`$0 --help' for more information." ;;
7376 *) as_fn_append ac_config_targets
" $1"
7377 ac_need_defaults
=false
;;
7383 ac_configure_extra_args
=
7385 if $ac_cs_silent; then
7387 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7392 if \$ac_cs_recheck; then
7393 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7395 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7396 CONFIG_SHELL='$SHELL'
7402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7406 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7407 ## Running $as_me. ##
7413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7417 config_vars='$config_vars'
7421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7423 # Handling of arguments.
7424 for ac_config_target
in $ac_config_targets
7426 case $ac_config_target in
7427 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7428 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
7429 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7430 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
7432 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7437 # If the user did not use the arguments to specify the items to instantiate,
7438 # then the envvar interface is used. Set only those that are not.
7439 # We use the long form for the default assignment because of an extremely
7440 # bizarre bug on SunOS 4.1.3.
7441 if $ac_need_defaults; then
7442 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7443 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7444 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7447 # Have a temporary directory for convenience. Make it in the build tree
7448 # simply because there is no reason against having it here, and in addition,
7449 # creating and moving files from /tmp can sometimes cause problems.
7450 # Hook for its removal unless debugging.
7451 # Note that there is a small window in which the directory will not be cleaned:
7452 # after its creation but before its name has been assigned to `$tmp'.
7456 trap 'exit_status=$?
7458 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7460 trap 'as_fn_exit 1' 1 2 13 15
7462 # Create a (secure) tmp directory for tmp files.
7465 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7469 tmp
=.
/conf$$
-$RANDOM
7470 (umask 077 && mkdir
"$tmp")
7471 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7474 # Set up the scripts for CONFIG_FILES section.
7475 # No need to generate them if there are no CONFIG_FILES.
7476 # This happens for instance with `./config.status config.h'.
7477 if test -n "$CONFIG_FILES"; then
7480 ac_cr
=`echo X | tr X '\015'`
7481 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7482 # But we know of no other shell where ac_cr would be empty at this
7483 # point, so we can use a bashism as a fallback.
7484 if test "x$ac_cr" = x
; then
7485 eval ac_cr
=\$
\'\\r
\'
7487 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7488 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7494 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7499 echo "cat >conf$$subs.awk <<_ACEOF" &&
7500 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7503 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7504 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7506 for ac_last_try in false false false false false :; do
7507 . ./conf$$subs.sh ||
7508 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7510 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7511 if test $ac_delim_n = $ac_delim_num; then
7513 elif $ac_last_try; then
7514 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7516 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7522 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7526 s/^/S["/; s
/!.
*/"]=/
7536 s/\(.\{148\}\)..*/\1/
7538 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7543 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7550 s/\(.\{148\}\)..*/\1/
7552 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7556 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7561 ' <conf$$subs.awk | sed '
7566 ' >>$CONFIG_STATUS || ac_write_fail=1
7567 rm -f conf$$subs.awk
7568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7570 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7571 for (key in S) S_is_set[key] = 1
7577 nfields = split(line, field, "@
")
7579 len = length(field[1])
7580 for (i = 2; i < nfields; i++) {
7582 keylen = length(key)
7583 if (S_is_set[key]) {
7585 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7586 len += length(value) + length(field[++i])
7597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7598 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7599 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7602 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7603 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7606 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7607 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7608 # trailing colons and then remove the whole line if VPATH becomes empty
7609 # (actually we leave an empty line to preserve line numbers).
7610 if test "x
$srcdir" = x.; then
7611 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7630 fi # test -n "$CONFIG_FILES"
7632 # Set up the scripts for CONFIG_HEADERS section.
7633 # No need to generate them if there are no CONFIG_HEADERS.
7634 # This happens for instance with `./config.status Makefile'.
7635 if test -n "$CONFIG_HEADERS"; then
7636 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7640 # Transform confdefs.h into an awk script `defines.awk', embedded as
7641 # here-document in config.status, that substitutes the proper values into
7642 # config.h.in to produce config.h.
7644 # Create a delimiter string that does not exist in confdefs.h, to ease
7645 # handling of long lines.
7647 for ac_last_try in false false :; do
7648 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7649 if test -z "$ac_tt"; then
7651 elif $ac_last_try; then
7652 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7654 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7658 # For the awk script, D is an array of macro values keyed by name,
7659 # likewise P contains macro parameters if any. Preserve backslash
7660 # newline sequences.
7662 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7664 s/.\{148\}/&'"$ac_delim"'/g
7667 s/^[ ]*#[ ]*define[ ][ ]*/ /
7674 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7676 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7680 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7681 D["\
1"]=" \
3\\\\\\n
"\\/p
7683 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7688 s/.\{148\}/&'"$ac_delim"'/g
7693 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7696 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7698 ' <confdefs.h | sed '
7699 s/'"$ac_delim"'/"\\\
7700 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7703 for (key in D) D_is_set[key] = 1
7706 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7708 split(line, arg, " ")
7709 if (arg[1] == "#") {
7713 defundef
= substr
(arg
[1], 2)
7716 split(mac1
, mac2
, "(") #)
7718 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7719 if (D_is_set
[macro
]) {
7720 # Preserve the white space surrounding the "#".
7721 print prefix
"define", macro P
[macro
] D
[macro
]
7724 # Replace #undef with comments. This is necessary, for example,
7725 # in the case of _POSIX_SOURCE, which is predefined and required
7726 # on some systems where configure will not decide to define it.
7727 if (defundef
== "undef") {
7728 print
"/*", prefix defundef
, macro
, "*/"
7736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7737 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7738 fi # test -n "$CONFIG_HEADERS"
7741 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7746 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7748 case $ac_mode$ac_tag in
7750 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7751 :[FH
]-) ac_tag
=-:-;;
7752 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7769 -) ac_f
="$ac_tmp/stdin";;
7770 *) # Look for the file first in the build tree, then in the source tree
7771 # (if the path is not absolute). The absolute path cannot be DOS-style,
7772 # because $ac_f cannot contain `:'.
7776 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7778 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7780 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7781 as_fn_append ac_file_inputs
" '$ac_f'"
7784 # Let's still pretend it is `configure' which instantiates (i.e., don't
7785 # use $as_me), people would be surprised to read:
7786 # /* config.h. Generated by config.status. */
7787 configure_input
='Generated from '`
7788 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7790 if test x
"$ac_file" != x-
; then
7791 configure_input
="$ac_file. $configure_input"
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7793 $as_echo "$as_me: creating $ac_file" >&6;}
7795 # Neutralize special characters interpreted by sed in replacement strings.
7796 case $configure_input in #(
7797 *\
&* |
*\|
* |
*\\* )
7798 ac_sed_conf_input
=`$as_echo "$configure_input" |
7799 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7800 *) ac_sed_conf_input
=$configure_input;;
7804 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7805 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7810 ac_dir
=`$as_dirname -- "$ac_file" ||
7811 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7812 X"$ac_file" : 'X\(//\)[^/]' \| \
7813 X"$ac_file" : 'X\(//\)$' \| \
7814 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7815 $as_echo X"$ac_file" |
7816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7833 as_dir
="$ac_dir"; as_fn_mkdir_p
7837 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7839 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7840 # A ".." for each directory in $ac_dir_suffix.
7841 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7842 case $ac_top_builddir_sub in
7843 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7844 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7847 ac_abs_top_builddir
=$ac_pwd
7848 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7849 # for backward compatibility:
7850 ac_top_builddir
=$ac_top_build_prefix
7853 .
) # We are building in place.
7855 ac_top_srcdir
=$ac_top_builddir_sub
7856 ac_abs_top_srcdir
=$ac_pwd ;;
7857 [\\/]* | ?
:[\\/]* ) # Absolute name.
7858 ac_srcdir
=$srcdir$ac_dir_suffix;
7859 ac_top_srcdir
=$srcdir
7860 ac_abs_top_srcdir
=$srcdir ;;
7862 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7863 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7864 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7866 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7876 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7877 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7882 # If the template does not know about datarootdir, expand it.
7883 # FIXME: This hack should be removed a few years after 2.60.
7884 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7895 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7896 *datarootdir
*) ac_datarootdir_seen
=yes;;
7897 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7899 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7902 ac_datarootdir_hack='
7903 s&@datadir@&$datadir&g
7904 s&@docdir@&$docdir&g
7905 s&@infodir@&$infodir&g
7906 s&@localedir@&$localedir&g
7907 s&@mandir@&$mandir&g
7908 s&\\\${datarootdir}&$datarootdir&g' ;;
7912 # Neutralize VPATH when `$srcdir' = `.'.
7913 # Shell code in configure.ac might set extrasub.
7914 # FIXME: do we really want to maintain this feature?
7915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7916 ac_sed_extra="$ac_vpsub
7919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7921 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7922 s|@configure_input@|
$ac_sed_conf_input|
;t t
7923 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7924 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7925 s
&@srcdir@
&$ac_srcdir&;t t
7926 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7927 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7928 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7929 s
&@builddir@
&$ac_builddir&;t t
7930 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7931 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7932 s
&@INSTALL@
&$ac_INSTALL&;t t
7933 $ac_datarootdir_hack
7935 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7936 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7938 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7939 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7940 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7941 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7943 which seems to be undefined. Please make sure it is defined" >&5
7944 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7945 which seems to be undefined. Please make sure it is defined" >&2;}
7947 rm -f "$ac_tmp/stdin"
7949 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7950 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7952 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7958 if test x"$ac_file" != x-; then
7960 $as_echo "/* $configure_input */" \
7961 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7962 } >"$ac_tmp/config.h" \
7963 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7964 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7966 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7969 mv "$ac_tmp/config.h" "$ac_file" \
7970 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7973 $as_echo "/* $configure_input */" \
7974 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7975 || as_fn_error $? "could not create -" "$LINENO" 5
7979 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7980 $as_echo "$as_me: executing $ac_file commands" >&6;}
7985 case $ac_file$ac_mode in
7987 case $CONFIG_FILES in *config.make*)
7988 echo "$config_vars" >> config.make;;
7990 test -d bits || mkdir bits ;;
7998 ac_clean_files=$ac_clean_files_save
8000 test $ac_write_fail = 0 ||
8001 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8004 # configure is writing to config.log, and then calls config.status.
8005 # config.status does its own redirection, appending to config.log.
8006 # Unfortunately, on DOS this fails, as config.log is still kept open
8007 # by configure, so config.status won't be able to
write to it
; its
8008 # output is simply discarded. So we exec the FD to /dev/null,
8009 # effectively closing config.log, so it can be properly (re)opened and
8010 # appended to by config.status. When coming back to configure, we
8011 # need to make the FD available again.
8012 if test "$no_create" != yes; then
8014 ac_config_status_args
=
8015 test "$silent" = yes &&
8016 ac_config_status_args
="$ac_config_status_args --quiet"
8018 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8020 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8021 # would make configure fail if this is the last instruction.
8022 $ac_cs_success || as_fn_exit
1
8026 # CONFIG_SUBDIRS section.
8028 if test "$no_recursion" != yes; then
8030 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8031 # so they do not pile up.
8032 ac_sub_configure_args
=
8034 eval "set x $ac_configure_args"
8038 if test -n "$ac_prev"; then
8043 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8044 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8045 ac_prev
=cache_file
;;
8046 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8047 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8050 --config-cache |
-C)
8052 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8054 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8056 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8058 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8060 --disable-option-checking)
8064 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8066 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
8070 # Always prepend --prefix to ensure using the same prefix
8071 # in subdir configurations.
8072 ac_arg
="--prefix=$prefix"
8074 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8076 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8079 if test "$silent" = yes; then
8080 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8083 # Always prepend --disable-option-checking to silence warnings, since
8084 # different subdirs can have different --enable and --with options.
8085 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
8088 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8090 # Do not complain, so a configure script can configure whichever
8091 # parts of a large source tree are present.
8092 test -d "$srcdir/$ac_dir" ||
continue
8094 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8096 $as_echo "$ac_msg" >&6
8097 as_dir
="$ac_dir"; as_fn_mkdir_p
8101 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8103 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8104 # A ".." for each directory in $ac_dir_suffix.
8105 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8106 case $ac_top_builddir_sub in
8107 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8108 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8111 ac_abs_top_builddir
=$ac_pwd
8112 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8113 # for backward compatibility:
8114 ac_top_builddir
=$ac_top_build_prefix
8117 .
) # We are building in place.
8119 ac_top_srcdir
=$ac_top_builddir_sub
8120 ac_abs_top_srcdir
=$ac_pwd ;;
8121 [\\/]* | ?
:[\\/]* ) # Absolute name.
8122 ac_srcdir
=$srcdir$ac_dir_suffix;
8123 ac_top_srcdir
=$srcdir
8124 ac_abs_top_srcdir
=$srcdir ;;
8126 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8127 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8128 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8130 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8135 # Check for guested configure; otherwise get Cygnus style configure.
8136 if test -f "$ac_srcdir/configure.gnu"; then
8137 ac_sub_configure
=$ac_srcdir/configure.gnu
8138 elif test -f "$ac_srcdir/configure"; then
8139 ac_sub_configure
=$ac_srcdir/configure
8140 elif test -f "$ac_srcdir/configure.in"; then
8141 # This should be Cygnus configure.
8142 ac_sub_configure
=$ac_aux_dir/configure
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8145 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8149 # The recursion is here.
8150 if test -n "$ac_sub_configure"; then
8151 # Make the cache file name correct relative to the subdirectory.
8153 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8155 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8158 { $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
8159 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8160 # The eval makes quoting arguments work.
8161 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8162 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8163 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8169 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8171 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}