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
670 libc_cv_static_nss_crypt
679 hardcoded_path_in_tests
680 enable_timezone_tools
682 extra_nonshared_cflags
736 program_transform_name
749 enable_option_checking
758 with_nonshared_cflags
759 with_rtld_early_cflags
765 enable_timezone_tools
766 enable_hardcoded_path_in_tests
769 enable_stack_protector
772 enable_maintainer_mode
777 enable_experimental_malloc
778 enable_memory_tagging
791 ac_precious_vars
='build_alias
805 # Initialize some variables set by options.
807 ac_init_version
=false
808 ac_unrecognized_opts
=
810 # The variables have the same names as the options, with
811 # dashes changed to underlines.
819 program_transform_name
=s
,x
,x
,
827 # Installation directory options.
828 # These are left unexpanded so users can "make install exec_prefix=/foo"
829 # and all the variables that are supposed to be based on exec_prefix
830 # by default will actually change.
831 # Use braces instead of parens because sh, perl, etc. also accept them.
832 # (The list follows the same order as the GNU Coding Standards.)
833 bindir
='${exec_prefix}/bin'
834 sbindir
='${exec_prefix}/sbin'
835 libexecdir
='${exec_prefix}/libexec'
836 datarootdir
='${prefix}/share'
837 datadir
='${datarootdir}'
838 sysconfdir
='${prefix}/etc'
839 sharedstatedir
='${prefix}/com'
840 localstatedir
='${prefix}/var'
841 includedir
='${prefix}/include'
842 oldincludedir
='/usr/include'
843 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
844 infodir
='${datarootdir}/info'
849 libdir
='${exec_prefix}/lib'
850 localedir
='${datarootdir}/locale'
851 mandir
='${datarootdir}/man'
857 # If the previous option needs an argument, assign it.
858 if test -n "$ac_prev"; then
859 eval $ac_prev=\
$ac_option
865 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
870 # Accept the important Cygnus configure options, so we can diagnose typos.
872 case $ac_dashdash$ac_option in
876 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
878 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
881 -build |
--build |
--buil |
--bui |
--bu)
882 ac_prev
=build_alias
;;
883 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
884 build_alias
=$ac_optarg ;;
886 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
887 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
888 ac_prev
=cache_file
;;
889 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
890 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
891 cache_file
=$ac_optarg ;;
894 cache_file
=config.cache
;;
896 -datadir |
--datadir |
--datadi |
--datad)
898 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
899 datadir
=$ac_optarg ;;
901 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
902 |
--dataroo |
--dataro |
--datar)
903 ac_prev
=datarootdir
;;
904 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
905 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
906 datarootdir
=$ac_optarg ;;
908 -disable-* |
--disable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error $?
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=no
;;
924 -docdir |
--docdir |
--docdi |
--doc |
--do)
926 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
929 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
931 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
934 -enable-* |
--enable-*)
935 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
938 as_fn_error $?
"invalid feature name: $ac_useropt"
939 ac_useropt_orig
=$ac_useropt
940 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
945 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
946 ac_unrecognized_sep
=', ';;
948 eval enable_
$ac_useropt=\
$ac_optarg ;;
950 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
951 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
952 |
--exec |
--exe |
--ex)
953 ac_prev
=exec_prefix
;;
954 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
955 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
956 |
--exec=* |
--exe=* |
--ex=*)
957 exec_prefix
=$ac_optarg ;;
959 -gas |
--gas |
--ga |
--g)
960 # Obsolete; use --with-gas.
963 -help |
--help |
--hel |
--he |
-h)
965 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
966 ac_init_help
=recursive
;;
967 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
968 ac_init_help
=short
;;
970 -host |
--host |
--hos |
--ho)
971 ac_prev
=host_alias
;;
972 -host=* |
--host=* |
--hos=* |
--ho=*)
973 host_alias
=$ac_optarg ;;
975 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
977 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
979 htmldir
=$ac_optarg ;;
981 -includedir |
--includedir |
--includedi |
--included |
--include \
982 |
--includ |
--inclu |
--incl |
--inc)
983 ac_prev
=includedir
;;
984 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
985 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
986 includedir
=$ac_optarg ;;
988 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
990 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
991 infodir
=$ac_optarg ;;
993 -libdir |
--libdir |
--libdi |
--libd)
995 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
998 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
999 |
--libexe |
--libex |
--libe)
1000 ac_prev
=libexecdir
;;
1001 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1002 |
--libexe=* |
--libex=* |
--libe=*)
1003 libexecdir
=$ac_optarg ;;
1005 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1006 ac_prev
=localedir
;;
1007 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1008 localedir
=$ac_optarg ;;
1010 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1011 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1012 ac_prev
=localstatedir
;;
1013 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1014 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1015 localstatedir
=$ac_optarg ;;
1017 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1019 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1020 mandir
=$ac_optarg ;;
1022 -nfp |
--nfp |
--nf)
1023 # Obsolete; use --without-fp.
1026 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1027 |
--no-cr |
--no-c |
-n)
1030 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1031 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1034 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1035 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1036 |
--oldin |
--oldi |
--old |
--ol |
--o)
1037 ac_prev
=oldincludedir
;;
1038 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1039 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1040 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1041 oldincludedir
=$ac_optarg ;;
1043 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1045 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1046 prefix
=$ac_optarg ;;
1048 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1049 |
--program-pre |
--program-pr |
--program-p)
1050 ac_prev
=program_prefix
;;
1051 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1052 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1053 program_prefix
=$ac_optarg ;;
1055 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1056 |
--program-suf |
--program-su |
--program-s)
1057 ac_prev
=program_suffix
;;
1058 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1059 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1060 program_suffix
=$ac_optarg ;;
1062 -program-transform-name |
--program-transform-name \
1063 |
--program-transform-nam |
--program-transform-na \
1064 |
--program-transform-n |
--program-transform- \
1065 |
--program-transform |
--program-transfor \
1066 |
--program-transfo |
--program-transf \
1067 |
--program-trans |
--program-tran \
1068 |
--progr-tra |
--program-tr |
--program-t)
1069 ac_prev
=program_transform_name
;;
1070 -program-transform-name=* |
--program-transform-name=* \
1071 |
--program-transform-nam=* |
--program-transform-na=* \
1072 |
--program-transform-n=* |
--program-transform-=* \
1073 |
--program-transform=* |
--program-transfor=* \
1074 |
--program-transfo=* |
--program-transf=* \
1075 |
--program-trans=* |
--program-tran=* \
1076 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1077 program_transform_name
=$ac_optarg ;;
1079 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1081 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1082 pdfdir
=$ac_optarg ;;
1084 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1086 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1089 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1090 |
-silent |
--silent |
--silen |
--sile |
--sil)
1093 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1095 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1097 sbindir
=$ac_optarg ;;
1099 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1100 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1101 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1103 ac_prev
=sharedstatedir
;;
1104 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1105 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1106 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1108 sharedstatedir
=$ac_optarg ;;
1110 -site |
--site |
--sit)
1112 -site=* |
--site=* |
--sit=*)
1115 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1117 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1118 srcdir
=$ac_optarg ;;
1120 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1121 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1122 ac_prev
=sysconfdir
;;
1123 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1124 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1125 sysconfdir
=$ac_optarg ;;
1127 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1128 ac_prev
=target_alias
;;
1129 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1130 target_alias
=$ac_optarg ;;
1132 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1135 -version |
--version |
--versio |
--versi |
--vers |
-V)
1136 ac_init_version
=: ;;
1139 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1142 as_fn_error $?
"invalid package name: $ac_useropt"
1143 ac_useropt_orig
=$ac_useropt
1144 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1149 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1150 ac_unrecognized_sep
=', ';;
1152 eval with_
$ac_useropt=\
$ac_optarg ;;
1154 -without-* |
--without-*)
1155 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1158 as_fn_error $?
"invalid package name: $ac_useropt"
1159 ac_useropt_orig
=$ac_useropt
1160 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1165 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1166 ac_unrecognized_sep
=', ';;
1168 eval with_
$ac_useropt=no
;;
1171 # Obsolete; use --with-x.
1174 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1175 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1176 ac_prev
=x_includes
;;
1177 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1178 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1179 x_includes
=$ac_optarg ;;
1181 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1182 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1183 ac_prev
=x_libraries
;;
1184 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1185 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1186 x_libraries
=$ac_optarg ;;
1188 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1189 Try \`$0 --help' for more information"
1193 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1194 # Reject names that are not valid shell variable names.
1195 case $ac_envvar in #(
1196 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1197 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1199 eval $ac_envvar=\
$ac_optarg
1200 export $ac_envvar ;;
1203 # FIXME: should be removed in autoconf 3.0.
1204 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1205 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1206 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1207 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1213 if test -n "$ac_prev"; then
1214 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1215 as_fn_error $?
"missing argument to $ac_option"
1218 if test -n "$ac_unrecognized_opts"; then
1219 case $enable_option_checking in
1221 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1222 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1226 # Check all directory arguments for consistency.
1227 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1228 datadir sysconfdir sharedstatedir localstatedir includedir \
1229 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1230 libdir localedir mandir
1232 eval ac_val
=\$
$ac_var
1233 # Remove trailing slashes.
1236 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1237 eval $ac_var=\
$ac_val;;
1239 # Be sure to have absolute directory names.
1241 [\\/$
]* | ?
:[\\/]* ) continue;;
1242 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1244 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1247 # There might be people who depend on the old broken behavior: `$host'
1248 # used to hold the argument of --host etc.
1249 # FIXME: To remove some day.
1252 target
=$target_alias
1254 # FIXME: To remove some day.
1255 if test "x$host_alias" != x
; then
1256 if test "x$build_alias" = x
; then
1257 cross_compiling
=maybe
1258 elif test "x$build_alias" != "x$host_alias"; then
1264 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1266 test "$silent" = yes && exec 6>/dev
/null
1269 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1270 ac_ls_di
=`ls -di .` &&
1271 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1272 as_fn_error $?
"working directory cannot be determined"
1273 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1274 as_fn_error $?
"pwd does not report name of working directory"
1277 # Find the source files, if location was not specified.
1278 if test -z "$srcdir"; then
1279 ac_srcdir_defaulted
=yes
1280 # Try the directory containing this script, then the parent directory.
1281 ac_confdir
=`$as_dirname -- "$as_myself" ||
1282 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1283 X"$as_myself" : 'X\(//\)[^/]' \| \
1284 X"$as_myself" : 'X\(//\)$' \| \
1285 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1286 $as_echo X"$as_myself" |
1287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1309 ac_srcdir_defaulted
=no
1311 if test ! -r "$srcdir/$ac_unique_file"; then
1312 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1313 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1315 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1317 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1319 # When building in place, set srcdir=.
1320 if test "$ac_abs_confdir" = "$ac_pwd"; then
1323 # Remove unnecessary trailing slashes from srcdir.
1324 # Double slashes in file names in object file debugging info
1325 # mess up M-x gdb in Emacs.
1327 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1329 for ac_var
in $ac_precious_vars; do
1330 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1331 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1332 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1333 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1337 # Report the --help message.
1339 if test "$ac_init_help" = "long"; then
1340 # Omit some internal or obsolete options to make the list less imposing.
1341 # This message is too long to be a string in the A/UX 3.1 sh.
1343 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1345 Usage: $0 [OPTION]... [VAR=VALUE]...
1347 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1348 VAR=VALUE. See below for descriptions of some of the useful variables.
1350 Defaults for the options are specified in brackets.
1353 -h, --help display this help and exit
1354 --help=short display options specific to this package
1355 --help=recursive display the short help of all the included packages
1356 -V, --version display version information and exit
1357 -q, --quiet, --silent do not print \`checking ...' messages
1358 --cache-file=FILE cache test results in FILE [disabled]
1359 -C, --config-cache alias for \`--cache-file=config.cache'
1360 -n, --no-create do not create output files
1361 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1363 Installation directories:
1364 --prefix=PREFIX install architecture-independent files in PREFIX
1365 [$ac_default_prefix]
1366 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1369 By default, \`make install' will install all the files in
1370 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1371 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1372 for instance \`--prefix=\$HOME'.
1374 For better control, use the options below.
1376 Fine tuning of the installation directories:
1377 --bindir=DIR user executables [EPREFIX/bin]
1378 --sbindir=DIR system admin executables [EPREFIX/sbin]
1379 --libexecdir=DIR program executables [EPREFIX/libexec]
1380 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1381 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1382 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1383 --libdir=DIR object code libraries [EPREFIX/lib]
1384 --includedir=DIR C header files [PREFIX/include]
1385 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1386 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1387 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1388 --infodir=DIR info documentation [DATAROOTDIR/info]
1389 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1390 --mandir=DIR man documentation [DATAROOTDIR/man]
1391 --docdir=DIR documentation root [DATAROOTDIR/doc/glibc]
1392 --htmldir=DIR html documentation [DOCDIR]
1393 --dvidir=DIR dvi documentation [DOCDIR]
1394 --pdfdir=DIR pdf documentation [DOCDIR]
1395 --psdir=DIR ps documentation [DOCDIR]
1401 --build=BUILD configure
for building on BUILD
[guessed
]
1402 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1406 if test -n "$ac_init_help"; then
1407 case $ac_init_help in
1408 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1413 --disable-option-checking ignore unrecognized
--enable/--with options
1414 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1415 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1416 --disable-sanity-checks really
do not use threads
(should not be used except
1417 in special situations
) [default
=yes]
1418 --enable-shared build shared library
[default
=yes if GNU ld
]
1419 --enable-profile build profiled library
[default
=no
]
1420 --disable-default-pie Do not build glibc programs and the testsuite as PIE
1422 --disable-timezone-tools
1423 do not
install timezone tools
[default
=install]
1424 --enable-hardcoded-path-in-tests
1425 hardcode newly built glibc path
in tests
1427 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1428 --enable-bind-now disable lazy relocations
in DSOs
1429 --enable-stack-protector=[yes|no|all|strong
]
1430 Use
-fstack-protector[-all|
-strong] to detect glibc
1432 --enable-static-nss build static NSS modules
[default
=no
]
1433 --disable-force-install don
't force installation of files from this package,
1434 even if they are older than the installed files
1435 --enable-maintainer-mode
1436 enable make rules and dependencies not useful (and
1437 sometimes confusing) to the casual installer
1438 --enable-kernel=VERSION compile for compatibility with kernel not older than
1440 --enable-all-warnings enable all useful warnings gcc can issue
1441 --disable-werror do not build with -Werror
1442 --enable-multi-arch enable single DSO with optimizations for multiple
1444 --disable-experimental-malloc
1445 disable experimental malloc features
1446 --enable-memory-tagging enable memory tagging if supported by the
1447 architecture [default=no]
1448 --disable-crypt do not build nor install the passphrase hashing
1450 --enable-nss-crypt enable libcrypt to use nss
1451 --enable-systemtap enable systemtap static probe points [default=no]
1452 --disable-build-nscd disable building and installing the nscd daemon
1453 --disable-nscd library functions will not contact the nscd daemon
1454 --enable-pt_chown Enable building and installing pt_chown
1455 --enable-tunables Enable tunables support. Known values are 'yes',
1456 'no
' and 'valstring
'
1457 --enable-mathvec Enable building and installing mathvec [default
1458 depends on architecture]
1459 --enable-cet enable Intel Control-flow Enforcement Technology
1461 --disable-scv syscalls will not use scv instruction, even if the
1462 kernel supports it, powerpc only
1465 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1466 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1467 --with-pkgversion=PKG Use PKG in the version string in place of "GNU libc"
1468 --with-bugurl=URL Direct users to URL to report a bug
1469 --with-gd=DIR find libgd include dir and library with prefix DIR
1470 --with-gd-include=DIR find libgd include files in DIR
1471 --with-gd-lib=DIR find libgd library files in DIR
1472 --with-binutils=PATH specify location of binutils (as and ld)
1473 --with-selinux if building with SELinux support
1474 --with-headers=PATH location of system headers to use (for example
1475 /usr/src/linux/include) [default=compiler default]
1476 --with-nonshared-cflags=CFLAGS
1477 build nonshared libraries with additional CFLAGS
1478 --with-rtld-early-cflags=CFLAGS
1479 build early initialization with additional CFLAGS
1480 --with-timeoutfactor=NUM
1481 specify an integer to scale the timeout
1482 --with-cpu=CPU select code for CPU variant
1484 Some influential environment variables:
1485 CC C compiler command
1486 CFLAGS C compiler flags
1487 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1488 nonstandard directory <lib dir>
1489 LIBS libraries to pass to the linker, e.g. -l<library>
1490 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1491 you have headers in a nonstandard directory <include dir>
1493 CXX C++ compiler command
1494 CXXFLAGS C++ compiler flags
1496 Use these variables to override the choices made by `configure' or to
help
1497 it to
find libraries and programs with nonstandard names
/locations.
1499 Report bugs to
<https
://sourceware.org
/bugzilla
/>.
1500 GNU C Library home page
: <https
://www.gnu.org
/software
/glibc
/>.
1501 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1506 if test "$ac_init_help" = "recursive"; then
1507 # If there are subdirs, report their specific --help.
1508 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1509 test -d "$ac_dir" ||
1510 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1515 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1517 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1518 # A ".." for each directory in $ac_dir_suffix.
1519 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1520 case $ac_top_builddir_sub in
1521 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1522 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1525 ac_abs_top_builddir
=$ac_pwd
1526 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1527 # for backward compatibility:
1528 ac_top_builddir
=$ac_top_build_prefix
1531 .
) # We are building in place.
1533 ac_top_srcdir
=$ac_top_builddir_sub
1534 ac_abs_top_srcdir
=$ac_pwd ;;
1535 [\\/]* | ?
:[\\/]* ) # Absolute name.
1536 ac_srcdir
=$srcdir$ac_dir_suffix;
1537 ac_top_srcdir
=$srcdir
1538 ac_abs_top_srcdir
=$srcdir ;;
1540 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1541 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1542 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1544 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1546 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1547 # Check for guested configure.
1548 if test -f "$ac_srcdir/configure.gnu"; then
1550 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1551 elif test -f "$ac_srcdir/configure"; then
1553 $SHELL "$ac_srcdir/configure" --help=recursive
1555 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1557 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1561 test -n "$ac_init_help" && exit $ac_status
1562 if $ac_init_version; then
1564 GNU C Library configure
(see version.h
)
1565 generated by GNU Autoconf
2.69
1567 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1568 This configure
script is free software
; the Free Software Foundation
1569 gives unlimited permission to copy
, distribute and modify it.
1574 ## ------------------------ ##
1575 ## Autoconf initialization. ##
1576 ## ------------------------ ##
1578 # ac_fn_c_try_compile LINENO
1579 # --------------------------
1580 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1581 ac_fn_c_try_compile
()
1583 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1584 rm -f conftest.
$ac_objext
1585 if { { ac_try
="$ac_compile"
1587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_compile") 2>conftest.err
1594 if test -s conftest.err; then
1595 grep -v '^ *+' conftest.err >conftest.er1
1596 cat conftest.er1 >&5
1597 mv -f conftest.er1 conftest.err
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } && {
1601 test -z "$ac_c_werror_flag" ||
1602 test ! -s conftest.err
1603 } && test -s conftest.$ac_objext; then :
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612 as_fn_set_status $ac_retval
1614 } # ac_fn_c_try_compile
1616 # ac_fn_cxx_try_compile LINENO
1617 # ----------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_cxx_try_compile ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 rm -f conftest.$ac_objext
1623 if { { ac_try="$ac_compile"
1625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1626 *) ac_try_echo
=$ac_try;;
1628 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_compile") 2>conftest.err
1632 if test -s conftest.err
; then
1633 grep -v '^ *+' conftest.err
>conftest.er1
1634 cat conftest.er1
>&5
1635 mv -f conftest.er1 conftest.err
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && {
1639 test -z "$ac_cxx_werror_flag" ||
1640 test ! -s conftest.err
1641 } && test -s conftest.
$ac_objext; then :
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.
$ac_ext >&5
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status
$ac_retval
1652 } # ac_fn_cxx_try_compile
1654 # ac_fn_cxx_try_link LINENO
1655 # -------------------------
1656 # Try to link conftest.$ac_ext, and return whether this succeeded.
1657 ac_fn_cxx_try_link
()
1659 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1660 rm -f conftest.
$ac_objext conftest
$ac_exeext
1661 if { { ac_try
="$ac_link"
1663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_link") 2>conftest.err
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && {
1677 test -z "$ac_cxx_werror_flag" ||
1678 test ! -s conftest.err
1679 } && test -s conftest$ac_exeext && {
1680 test "$cross_compiling" = yes ||
1681 test -x conftest$ac_exeext
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1690 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1691 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1692 # interfere with the next link command; also delete a directory that is
1693 # left behind by Apple's compiler. We do this before executing the actions.
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1698 } # ac_fn_cxx_try_link
1700 # ac_fn_c_try_link LINENO
1701 # -----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded.
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 rm -f conftest.$ac_objext conftest$ac_exeext
1707 if { { ac_try="$ac_link"
1709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1710 *) ac_try_echo
=$ac_try;;
1712 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_link") 2>conftest.err
1716 if test -s conftest.err
; then
1717 grep -v '^ *+' conftest.err
>conftest.er1
1718 cat conftest.er1
>&5
1719 mv -f conftest.er1 conftest.err
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } && {
1723 test -z "$ac_c_werror_flag" ||
1724 test ! -s conftest.err
1725 } && test -s conftest
$ac_exeext && {
1726 test "$cross_compiling" = yes ||
1727 test -x conftest
$ac_exeext
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.
$ac_ext >&5
1736 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1737 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1738 # interfere with the next link command; also delete a directory that is
1739 # left behind by Apple's compiler. We do this before executing the actions.
1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742 as_fn_set_status
$ac_retval
1744 } # ac_fn_c_try_link
1746 # ac_fn_c_try_cpp LINENO
1747 # ----------------------
1748 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1751 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1752 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;;
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1761 if test -s conftest.err; then
1762 grep -v '^ *+' conftest.err >conftest.er1
1763 cat conftest.er1 >&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } > conftest.i && {
1768 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1769 test ! -s conftest.err
1773 $as_echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.$ac_ext >&5
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 as_fn_set_status $ac_retval
1782 cat >config.log <<_ACEOF
1783 This file contains any messages produced by compilers while
1784 running configure, to aid debugging if configure makes a mistake.
1786 It was created by GNU C Library $as_me (see version.h), which was
1787 generated by GNU Autoconf 2.69. Invocation command line was
1799 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1800 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1801 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1802 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1803 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1805 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1806 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1808 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1809 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1810 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1811 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1812 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1813 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1814 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1822 test -z "$as_dir" && as_dir=.
1823 $as_echo "PATH: $as_dir"
1839 # Keep a trace of the command line.
1840 # Strip out --no-create and --no-recursion so they do not pile up.
1841 # Strip out --silent because we don't want to record it for future runs.
1842 # Also quote any args containing shell meta-characters.
1843 # Make two passes to allow for proper duplicate-argument suppression.
1847 ac_must_keep_next=false
1853 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1854 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1855 | -silent | --silent | --silen | --sile | --sil)
1858 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1861 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1863 as_fn_append ac_configure_args1 " '$ac_arg'"
1864 if test $ac_must_keep_next = true; then
1865 ac_must_keep_next=false # Got value, back to normal.
1868 *=* | --config-cache | -C | -disable-* | --disable-* \
1869 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1870 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1871 | -with-* | --with-* | -without-* | --without-* | --x)
1872 case "$ac_configure_args0 " in
1873 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1876 -* ) ac_must_keep_next=true ;;
1879 as_fn_append ac_configure_args " '$ac_arg'"
1884 { ac_configure_args0=; unset ac_configure_args0;}
1885 { ac_configure_args1=; unset ac_configure_args1;}
1887 # When interrupted or exit'd, cleanup temporary files, and complete
1888 # config.log. We remove comments because anyway the quotes in there
1889 # would cause problems or look ugly.
1890 # WARNING: Use '\'' to represent an apostrophe within the trap.
1891 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1892 trap 'exit_status=$?
1893 # Save into config.log some information that might help in debugging.
1897 $as_echo "## ---------------- ##
1898 ## Cache variables. ##
1899 ## ---------------- ##"
1901 # The following way of writing the cache mishandles newlines in values,
1903 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1904 eval ac_val=\$$ac_var
1908 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1909 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1912 _ | IFS | as_nl) ;; #(
1913 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1914 *) { eval $ac_var=; unset $ac_var;} ;;
1919 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1920 *${as_nl}ac_space=\ *)
1922 "s/'\''/'\''\\\\'\'''\''/g;
1923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1933 $as_echo "## ----------------- ##
1934 ## Output variables. ##
1935 ## ----------------- ##"
1937 for ac_var in $ac_subst_vars
1939 eval ac_val=\$$ac_var
1941 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1943 $as_echo "$ac_var='\''$ac_val'\''"
1947 if test -n "$ac_subst_files"; then
1948 $as_echo "## ------------------- ##
1949 ## File substitutions. ##
1950 ## ------------------- ##"
1952 for ac_var in $ac_subst_files
1954 eval ac_val=\$$ac_var
1956 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1958 $as_echo "$ac_var='\''$ac_val'\''"
1963 if test -s confdefs.h; then
1964 $as_echo "## ----------- ##
1971 test "$ac_signal" != 0 &&
1972 $as_echo "$as_me: caught signal $ac_signal"
1973 $as_echo "$as_me: exit $exit_status"
1975 rm -f core *.core core.conftest.* &&
1976 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1979 for ac_signal in 1 2 13 15; do
1980 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1984 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1985 rm -f -r conftest* confdefs.h
1987 $as_echo "/* confdefs.h */" > confdefs.h
1989 # Predefined preprocessor variables.
1991 cat >>confdefs.h <<_ACEOF
1992 #define PACKAGE_NAME "$PACKAGE_NAME"
1995 cat >>confdefs.h <<_ACEOF
1996 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1999 cat >>confdefs.h <<_ACEOF
2000 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2003 cat >>confdefs.h <<_ACEOF
2004 #define PACKAGE_STRING "$PACKAGE_STRING"
2007 cat >>confdefs.h <<_ACEOF
2008 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2011 cat >>confdefs.h <<_ACEOF
2012 #define PACKAGE_URL "$PACKAGE_URL"
2016 # Let the site file select an alternate cache file if it wants to.
2017 # Prefer an explicitly selected file to automatically selected ones.
2020 if test -n "$CONFIG_SITE"; then
2021 # We do not want a PATH search for config.site.
2022 case $CONFIG_SITE in #((
2023 -*) ac_site_file1=./$CONFIG_SITE;;
2024 */*) ac_site_file1=$CONFIG_SITE;;
2025 *) ac_site_file1=./$CONFIG_SITE;;
2027 elif test "x$prefix" != xNONE; then
2028 ac_site_file1=$prefix/share/config.site
2029 ac_site_file2=$prefix/etc/config.site
2031 ac_site_file1=$ac_default_prefix/share/config.site
2032 ac_site_file2=$ac_default_prefix/etc/config.site
2034 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2036 test "x$ac_site_file" = xNONE && continue
2037 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2039 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2040 sed 's/^/| /' "$ac_site_file" >&5
2042 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2044 as_fn_error $? "failed to load site
script $ac_site_file
2045 See \
`config.log' for more details" "$LINENO" 5; }
2049 if test -r "$cache_file"; then
2050 # Some versions of bash will fail to source /dev/null (special files
2051 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2052 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2054 $as_echo "$as_me: loading cache $cache_file" >&6;}
2056 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2057 *) . "./$cache_file";;
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2062 $as_echo "$as_me: creating cache $cache_file" >&6;}
2066 # Check that the precious variables saved in the cache have kept the same
2068 ac_cache_corrupted=false
2069 for ac_var in $ac_precious_vars; do
2070 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2071 eval ac_new_set=\$ac_env_${ac_var}_set
2072 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2073 eval ac_new_val=\$ac_env_${ac_var}_value
2074 case $ac_old_set,$ac_new_set in
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2077 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2078 ac_cache_corrupted=: ;;
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2081 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2082 ac_cache_corrupted=: ;;
2085 if test "x$ac_old_val" != "x$ac_new_val"; then
2086 # differences in whitespace do not lead to failure.
2087 ac_old_val_w=`echo x
$ac_old_val`
2088 ac_new_val_w=`echo x
$ac_new_val`
2089 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2091 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2092 ac_cache_corrupted=:
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2095 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2096 eval $ac_var=\$ac_old_val
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2099 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2101 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2104 # Pass precious variables to config.status.
2105 if test "$ac_new_set" = set; then
2107 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2108 *) ac_arg=$ac_var=$ac_new_val ;;
2110 case " $ac_configure_args " in
2111 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2112 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2116 if $ac_cache_corrupted; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2120 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2121 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2123 ## -------------------- ##
2124 ## Main body of script. ##
2125 ## -------------------- ##
2128 ac_cpp='$CPP $CPPFLAGS'
2129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2135 ac_config_headers="$ac_config_headers config.h"
2138 for ac_dir in scripts "$srcdir"/scripts; do
2139 if test -f "$ac_dir/install-sh"; then
2141 ac_install_sh="$ac_aux_dir/install-sh -c"
2143 elif test -f "$ac_dir/install.sh"; then
2145 ac_install_sh="$ac_aux_dir/install.sh -c"
2147 elif test -f "$ac_dir/shtool"; then
2149 ac_install_sh="$ac_aux_dir/shtool install -c"
2153 if test -z "$ac_aux_dir"; then
2154 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
2157 # These three variables are undocumented and unsupported,
2158 # and are intended to be withdrawn in a future Autoconf release.
2159 # They can cause serious problems if a builder's source tree is in a directory
2160 # whose full name contains unusual characters.
2161 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2162 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2163 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2169 # Check whether --with-pkgversion was given.
2170 if test "${with_pkgversion+set}" = set; then :
2171 withval=$with_pkgversion; case "$withval" in
2172 yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
2174 *) PKGVERSION="($withval) " ;;
2177 PKGVERSION="(GNU libc) "
2181 PKGVERSION_TEXI=`echo "$PKGVERSION" |
sed 's/@/@@/g'`
2187 # Check whether --with-bugurl was given.
2188 if test "${with_bugurl+set}" = set; then :
2189 withval=$with_bugurl; case "$withval" in
2190 yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
2193 *) BUGURL="$withval"
2197 BUGURL="https://www.gnu.org/software/libc/bugs.html"
2207 REPORT_BUGS_TO="<$BUGURL>"
2208 REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" |
sed 's/@/@@/g'`}
2215 cat >>confdefs.h <<_ACEOF
2216 #define PKGVERSION "$PKGVERSION"
2220 cat >>confdefs.h <<_ACEOF
2221 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2225 # Glibc should not depend on any header files
2228 # We require GCC, and by default use its preprocessor. Override AC_PROG_CPP
2229 # here to work around the Autoconf issue discussed in
2230 # <https://sourceware.org/ml/libc-alpha/2013-01/msg00721.html>.
2233 # We require GCC. Override _AC_PROG_CC_C89 here to work around the Autoconf
2234 # issue discussed in
2235 # <https://sourceware.org/ml/libc-alpha/2013-01/msg00757.html>.
2243 # Make sure we can run config.sub.
2244 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2245 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2248 $as_echo_n "checking build system type... " >&6; }
2249 if ${ac_cv_build+:} false; then :
2250 $as_echo_n "(cached) " >&6
2252 ac_build_alias=$build_alias
2253 test "x$ac_build_alias" = x &&
2254 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2255 test "x$ac_build_alias" = x &&
2256 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2257 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2258 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2262 $as_echo "$ac_cv_build" >&6; }
2263 case $ac_cv_build in
2265 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2268 ac_save_IFS=$IFS; IFS='-'
2274 # Remember, the first character of IFS is used to create $*,
2275 # except with old shells:
2278 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2282 $as_echo_n "checking host system type... " >&6; }
2283 if ${ac_cv_host+:} false; then :
2284 $as_echo_n "(cached) " >&6
2286 if test "x$host_alias" = x; then
2287 ac_cv_host=$ac_cv_build
2289 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2290 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2295 $as_echo "$ac_cv_host" >&6; }
2298 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2301 ac_save_IFS=$IFS; IFS='-'
2307 # Remember, the first character of IFS is used to create $*,
2308 # except with old shells:
2311 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2316 ac_cpp='$CPP $CPPFLAGS'
2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320 if test -n "$ac_tool_prefix"; then
2321 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2322 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2324 $as_echo_n "checking for $ac_word... " >&6; }
2325 if ${ac_cv_prog_CC+:} false; then :
2326 $as_echo_n "(cached) " >&6
2328 if test -n "$CC"; then
2329 ac_cv_prog_CC="$CC" # Let the user override the test.
2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir=.
2336 for ac_exec_ext in '' $ac_executable_extensions; do
2337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 if test -n "$CC"; then
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2351 $as_echo "$CC" >&6; }
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2354 $as_echo "no" >&6; }
2359 if test -z "$ac_cv_prog_CC"; then
2361 # Extract the first word of "gcc", so it can be a program name with args.
2362 set dummy gcc; ac_word=$2
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2364 $as_echo_n "checking for $ac_word... " >&6; }
2365 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2366 $as_echo_n "(cached) " >&6
2368 if test -n "$ac_ct_CC"; then
2369 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir=.
2376 for ac_exec_ext in '' $ac_executable_extensions; do
2377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2378 ac_cv_prog_ac_ct_CC="gcc"
2379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2389 if test -n "$ac_ct_CC"; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2391 $as_echo "$ac_ct_CC" >&6; }
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2394 $as_echo "no" >&6; }
2397 if test "x$ac_ct_CC" = x; then
2400 case $cross_compiling:$ac_tool_warned in
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2404 ac_tool_warned=yes ;;
2412 if test -z "$CC"; then
2413 if test -n "$ac_tool_prefix"; then
2414 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2415 set dummy ${ac_tool_prefix}cc; ac_word=$2
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2417 $as_echo_n "checking for $ac_word... " >&6; }
2418 if ${ac_cv_prog_CC+:} false; then :
2419 $as_echo_n "(cached) " >&6
2421 if test -n "$CC"; then
2422 ac_cv_prog_CC="$CC" # Let the user override the test.
2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 test -z "$as_dir" && as_dir=.
2429 for ac_exec_ext in '' $ac_executable_extensions; do
2430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2431 ac_cv_prog_CC="${ac_tool_prefix}cc"
2432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 if test -n "$CC"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2444 $as_echo "$CC" >&6; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2447 $as_echo "no" >&6; }
2453 if test -z "$CC"; then
2454 # Extract the first word of "cc", so it can be a program name with args.
2455 set dummy cc; ac_word=$2
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if ${ac_cv_prog_CC+:} false; then :
2459 $as_echo_n "(cached) " >&6
2461 if test -n "$CC"; then
2462 ac_cv_prog_CC="$CC" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2473 ac_prog_rejected=yes
2477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 if test $ac_prog_rejected = yes; then
2485 # We found a bogon in the path, so make sure we never use it.
2486 set dummy $ac_cv_prog_CC
2488 if test $# != 0; then
2489 # We chose a different compiler from the bogus one.
2490 # However, it has the same basename, so the bogon will be chosen
2491 # first if we set CC to just the basename; use the full file name.
2493 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2499 if test -n "$CC"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2501 $as_echo "$CC" >&6; }
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2504 $as_echo "no" >&6; }
2509 if test -z "$CC"; then
2510 if test -n "$ac_tool_prefix"; then
2511 for ac_prog in cl.exe
2513 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2514 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 $as_echo_n "checking for $ac_word... " >&6; }
2517 if ${ac_cv_prog_CC+:} false; then :
2518 $as_echo_n "(cached) " >&6
2520 if test -n "$CC"; then
2521 ac_cv_prog_CC="$CC" # Let the user override the test.
2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir=.
2528 for ac_exec_ext in '' $ac_executable_extensions; do
2529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 if test -n "$CC"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2543 $as_echo "$CC" >&6; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2550 test -n "$CC" && break
2553 if test -z "$CC"; then
2555 for ac_prog in cl.exe
2557 # Extract the first word of "$ac_prog", so it can be a program name with args.
2558 set dummy $ac_prog; ac_word=$2
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560 $as_echo_n "checking for $ac_word... " >&6; }
2561 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2562 $as_echo_n "(cached) " >&6
2564 if test -n "$ac_ct_CC"; then
2565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_ac_ct_CC="$ac_prog"
2575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2585 if test -n "$ac_ct_CC"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2587 $as_echo "$ac_ct_CC" >&6; }
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590 $as_echo "no" >&6; }
2594 test -n "$ac_ct_CC" && break
2597 if test "x$ac_ct_CC" = x; then
2600 case $cross_compiling:$ac_tool_warned in
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2604 ac_tool_warned=yes ;;
2613 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2615 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2616 See \
`config.log' for more details" "$LINENO" 5; }
2618 # Provide some information about the compiler.
2619 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2622 for ac_option in --version -v -V -qversion; do
2623 { { ac_try="$ac_compiler $ac_option >&5"
2625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2626 *) ac_try_echo
=$ac_try;;
2628 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2629 $as_echo "$ac_try_echo"; } >&5
2630 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2632 if test -s conftest.err
; then
2634 ... rest of stderr output deleted ...
2635 10q' conftest.err
>conftest.er1
2636 cat conftest.er1
>&5
2638 rm -f conftest.er1 conftest.err
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; }
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2645 $as_echo_n "checking for suffix of object files... " >&6; }
2646 if ${ac_cv_objext+:} false
; then :
2647 $as_echo_n "(cached) " >&6
2649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2650 /* end confdefs.h. */
2660 rm -f conftest.o conftest.obj
2661 if { { ac_try
="$ac_compile"
2663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2667 $as_echo "$ac_try_echo"; } >&5
2668 (eval "$ac_compile") 2>&5
2670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2671 test $ac_status = 0; }; then :
2672 for ac_file in conftest.o conftest.obj conftest.*; do
2673 test -f "$ac_file" || continue;
2675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2676 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2681 $as_echo "$as_me: failed program was:" >&5
2682 sed 's/^/| /' conftest.$ac_ext >&5
2684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2686 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2687 See \
`config.log' for more details" "$LINENO" 5; }
2689 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2692 $as_echo "$ac_cv_objext" >&6; }
2693 OBJEXT=$ac_cv_objext
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2696 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2697 if ${ac_cv_c_compiler_gnu+:} false; then :
2698 $as_echo_n "(cached) " >&6
2700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2701 /* end confdefs.h. */
2714 if ac_fn_c_try_compile "$LINENO"; then :
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2724 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2725 if test $ac_compiler_gnu = yes; then
2730 ac_test_CFLAGS=${CFLAGS+set}
2731 ac_save_CFLAGS=$CFLAGS
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2733 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2734 if ${ac_cv_prog_cc_g+:} false; then :
2735 $as_echo_n "(cached) " >&6
2737 ac_save_c_werror_flag=$ac_c_werror_flag
2738 ac_c_werror_flag=yes
2741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2752 if ac_fn_c_try_compile "$LINENO"; then :
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2767 if ac_fn_c_try_compile "$LINENO"; then :
2770 ac_c_werror_flag=$ac_save_c_werror_flag
2772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2773 /* end confdefs.h. */
2783 if ac_fn_c_try_compile "$LINENO"; then :
2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2791 ac_c_werror_flag=$ac_save_c_werror_flag
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2794 $as_echo "$ac_cv_prog_cc_g" >&6; }
2795 if test "$ac_test_CFLAGS" = set; then
2796 CFLAGS=$ac_save_CFLAGS
2797 elif test $ac_cv_prog_cc_g = yes; then
2798 if test "$GCC" = yes; then
2804 if test "$GCC" = yes; then
2812 ac_cpp='$CPP $CPPFLAGS'
2813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2817 if test $host != $build; then
2818 for ac_prog in gcc cc
2820 # Extract the first word of "$ac_prog", so it can be a program name with args.
2821 set dummy $ac_prog; ac_word=$2
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 $as_echo_n "checking for $ac_word... " >&6; }
2824 if ${ac_cv_prog_BUILD_CC+:} false; then :
2825 $as_echo_n "(cached) " >&6
2827 if test -n "$BUILD_CC"; then
2828 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir=.
2835 for ac_exec_ext in '' $ac_executable_extensions; do
2836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2837 ac_cv_prog_BUILD_CC="$ac_prog"
2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847 BUILD_CC=$ac_cv_prog_BUILD_CC
2848 if test -n "$BUILD_CC"; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
2850 $as_echo "$BUILD_CC" >&6; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2857 test -n "$BUILD_CC" && break
2862 # On Suns, sometimes $CPP names a directory.
2863 if test -n "$CPP" && test -d "$CPP"; then
2866 if test -z "$CPP"; then
2871 # We need the C++ compiler only for testing.
2873 ac_cpp='$CXXCPP $CPPFLAGS'
2874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2877 if test -z "$CXX"; then
2878 if test -n "$CCC"; then
2881 if test -n "$ac_tool_prefix"; then
2882 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if ${ac_cv_prog_CXX+:} false; then :
2889 $as_echo_n "(cached) " >&6
2891 if test -n "$CXX"; then
2892 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2901 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 if test -n "$CXX"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2914 $as_echo "$CXX" >&6; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2921 test -n "$CXX" && break
2924 if test -z "$CXX"; then
2926 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2928 # Extract the first word of "$ac_prog", so it can be a program name with args.
2929 set dummy $ac_prog; ac_word=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$ac_ct_CXX"; then
2936 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_ac_ct_CXX="$ac_prog"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2956 if test -n "$ac_ct_CXX"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2958 $as_echo "$ac_ct_CXX" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2965 test -n "$ac_ct_CXX" && break
2968 if test "x$ac_ct_CXX" = x; then
2971 case $cross_compiling:$ac_tool_warned in
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2975 ac_tool_warned=yes ;;
2983 # Provide some information about the compiler.
2984 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2987 for ac_option in --version -v -V -qversion; do
2988 { { ac_try="$ac_compiler $ac_option >&5"
2990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2991 *) ac_try_echo
=$ac_try;;
2993 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994 $as_echo "$ac_try_echo"; } >&5
2995 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2997 if test -s conftest.err
; then
2999 ... rest of stderr output deleted ...
3000 10q' conftest.err
>conftest.er1
3001 cat conftest.er1
>&5
3003 rm -f conftest.er1 conftest.err
3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3009 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3010 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3011 $as_echo_n "(cached) " >&6
3013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3027 if ac_fn_cxx_try_compile
"$LINENO"; then :
3032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3033 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3037 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3038 if test $ac_compiler_gnu = yes; then
3043 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3044 ac_save_CXXFLAGS
=$CXXFLAGS
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3046 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3047 if ${ac_cv_prog_cxx_g+:} false
; then :
3048 $as_echo_n "(cached) " >&6
3050 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3051 ac_cxx_werror_flag
=yes
3054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3065 if ac_fn_cxx_try_compile
"$LINENO"; then :
3066 ac_cv_prog_cxx_g
=yes
3069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3080 if ac_fn_cxx_try_compile
"$LINENO"; then :
3083 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3096 if ac_fn_cxx_try_compile
"$LINENO"; then :
3097 ac_cv_prog_cxx_g
=yes
3099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3104 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3107 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3108 if test "$ac_test_CXXFLAGS" = set; then
3109 CXXFLAGS
=$ac_save_CXXFLAGS
3110 elif test $ac_cv_prog_cxx_g = yes; then
3111 if test "$GXX" = yes; then
3117 if test "$GXX" = yes; then
3124 ac_cpp
='$CPP $CPPFLAGS'
3125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3129 # It's useless to us if it can't link programs (e.g. missing -lstdc++).
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX can link programs" >&5
3132 $as_echo_n "checking whether $CXX can link programs... " >&6; }
3133 if ${libc_cv_cxx_link_ok+:} false
; then :
3134 $as_echo_n "(cached) " >&6
3137 ac_cpp
='$CXXCPP $CPPFLAGS'
3138 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3142 # Default, dynamic case.
3143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3154 if ac_fn_cxx_try_link
"$LINENO"; then :
3155 libc_cv_cxx_link_ok
=yes
3157 libc_cv_cxx_link_ok
=no
3159 rm -f core conftest.err conftest.
$ac_objext \
3160 conftest
$ac_exeext conftest.
$ac_ext
3162 old_LDFLAGS
="$LDFLAGS"
3163 LDFLAGS
="$LDFLAGS -static"
3164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3172 std::cout << "Hello, world!";
3177 if ac_fn_cxx_try_link
"$LINENO"; then :
3180 libc_cv_cxx_link_ok
=no
3182 rm -f core conftest.err conftest.
$ac_objext \
3183 conftest
$ac_exeext conftest.
$ac_ext
3184 LDFLAGS
="$old_LDFLAGS"
3186 ac_cpp
='$CPP $CPPFLAGS'
3187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_link_ok" >&5
3193 $as_echo "$libc_cv_cxx_link_ok" >&6; }
3194 if test $libc_cv_cxx_link_ok != yes; then :
3198 if test "`cd $srcdir; pwd -P`" = "`pwd -P`"; then
3199 as_fn_error $?
"you must configure in a separate build directory" "$LINENO" 5
3202 # This will get text that should go into config.make.
3205 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3207 # Check whether --with-gd was given.
3208 if test "${with_gd+set}" = set; then :
3209 withval
=$with_gd; case "$with_gd" in
3211 *) libgd_include
="-I$withval/include"
3212 libgd_ldflags
="-L$withval/lib" ;;
3218 # Check whether --with-gd-include was given.
3219 if test "${with_gd_include+set}" = set; then :
3220 withval
=$with_gd_include; case "$with_gd_include" in
3222 *) libgd_include
="-I$withval" ;;
3228 # Check whether --with-gd-lib was given.
3229 if test "${with_gd_lib+set}" = set; then :
3230 withval
=$with_gd_lib; case "$with_gd_lib" in
3232 *) libgd_ldflags
="-L$withval" ;;
3238 if test -n "$libgd_include"; then
3239 config_vars
="$config_vars
3240 CFLAGS-memusagestat.c = $libgd_include"
3242 if test -n "$libgd_ldflags"; then
3243 config_vars
="$config_vars
3244 libgd-LDFLAGS = $libgd_ldflags"
3248 # Check whether --with-binutils was given.
3249 if test "${with_binutils+set}" = set; then :
3250 withval
=$with_binutils; path_binutils
=$withval
3256 # Check whether --with-selinux was given.
3257 if test "${with_selinux+set}" = set; then :
3258 withval
=$with_selinux; with_selinux
=$withval
3265 # Check whether --with-headers was given.
3266 if test "${with_headers+set}" = set; then :
3267 withval
=$with_headers; sysheaders
=$withval
3275 # Check whether --with-nonshared-cflags was given.
3276 if test "${with_nonshared_cflags+set}" = set; then :
3277 withval
=$with_nonshared_cflags; extra_nonshared_cflags
=$withval
3279 extra_nonshared_cflags
=
3284 # Check whether --with-rtld-early-cflags was given.
3285 if test "${with_rtld_early_cflags+set}" = set; then :
3286 withval
=$with_rtld_early_cflags; rtld_early_cflags
=$withval
3294 # Check whether --with-timeoutfactor was given.
3295 if test "${with_timeoutfactor+set}" = set; then :
3296 withval
=$with_timeoutfactor; timeoutfactor
=$withval
3301 cat >>confdefs.h
<<_ACEOF
3302 #define TIMEOUTFACTOR $timeoutfactor
3306 # Check whether --enable-sanity-checks was given.
3307 if test "${enable_sanity_checks+set}" = set; then :
3308 enableval
=$enable_sanity_checks; enable_sanity
=$enableval
3314 # Check whether --enable-shared was given.
3315 if test "${enable_shared+set}" = set; then :
3316 enableval
=$enable_shared; shared
=$enableval
3321 # Check whether --enable-profile was given.
3322 if test "${enable_profile+set}" = set; then :
3323 enableval
=$enable_profile; profile
=$enableval
3328 # Check whether --enable-default-pie was given.
3329 if test "${enable_default_pie+set}" = set; then :
3330 enableval
=$enable_default_pie; default_pie
=$enableval
3335 # Check whether --enable-timezone-tools was given.
3336 if test "${enable_timezone_tools+set}" = set; then :
3337 enableval
=$enable_timezone_tools; enable_timezone_tools
=$enableval
3339 enable_timezone_tools
=yes
3344 # Check whether --enable-hardcoded-path-in-tests was given.
3345 if test "${enable_hardcoded_path_in_tests+set}" = set; then :
3346 enableval
=$enable_hardcoded_path_in_tests; hardcoded_path_in_tests
=$enableval
3348 hardcoded_path_in_tests
=no
3353 # Check whether --enable-hidden-plt was given.
3354 if test "${enable_hidden_plt+set}" = set; then :
3355 enableval
=$enable_hidden_plt; hidden
=$enableval
3360 if test "x$hidden" = xno
; then
3361 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
3365 # Check whether --enable-bind-now was given.
3366 if test "${enable_bind_now+set}" = set; then :
3367 enableval
=$enable_bind_now; bindnow
=$enableval
3373 if test "x$bindnow" = xyes
; then
3374 $as_echo "#define BIND_NOW 1" >>confdefs.h
3378 # Check whether --enable-stack-protector was given.
3379 if test "${enable_stack_protector+set}" = set; then :
3380 enableval
=$enable_stack_protector; enable_stack_protector
=$enableval
3382 enable_stack_protector
=no
3385 case "$enable_stack_protector" in
3386 all|
yes|no|strong
) ;;
3387 *) as_fn_error $?
"Not a valid argument for --enable-stack-protector: \"$enable_stack_protector\"" "$LINENO" 5;;
3390 # Check whether --enable-static-nss was given.
3391 if test "${enable_static_nss+set}" = set; then :
3392 enableval
=$enable_static_nss; static_nss
=$enableval
3397 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
3399 $as_echo "#define DO_STATIC_NSS 1" >>confdefs.h
3403 # Check whether --enable-force-install was given.
3404 if test "${enable_force_install+set}" = set; then :
3405 enableval
=$enable_force_install; force_install
=$enableval
3412 # Check whether --enable-maintainer-mode was given.
3413 if test "${enable_maintainer_mode+set}" = set; then :
3414 enableval
=$enable_maintainer_mode; maintainer
=$enableval
3420 # Check whether --enable-kernel was given.
3421 if test "${enable_kernel+set}" = set; then :
3422 enableval
=$enable_kernel; minimum_kernel
=$enableval
3425 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
3426 # Better nothing than this.
3429 if test "$minimum_kernel" = current
; then
3430 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
3434 # Check whether --enable-all-warnings was given.
3435 if test "${enable_all_warnings+set}" = set; then :
3436 enableval
=$enable_all_warnings; all_warnings
=$enableval
3441 # Check whether --enable-werror was given.
3442 if test "${enable_werror+set}" = set; then :
3443 enableval
=$enable_werror; enable_werror
=$enableval
3450 # Check whether --enable-multi-arch was given.
3451 if test "${enable_multi_arch+set}" = set; then :
3452 enableval
=$enable_multi_arch; multi_arch
=$enableval
3458 # Check whether --enable-experimental-malloc was given.
3459 if test "${enable_experimental_malloc+set}" = set; then :
3460 enableval
=$enable_experimental_malloc; experimental_malloc
=$enableval
3462 experimental_malloc
=yes
3467 # Check whether --enable-memory-tagging was given.
3468 if test "${enable_memory_tagging+set}" = set; then :
3469 enableval
=$enable_memory_tagging; memory_tagging
=$enableval
3474 if test "$memory_tagging" = yes; then
3475 # Only enable this on architectures that support it.
3478 $as_echo "#define USE_MTAG 1" >>confdefs.h
3485 # Check whether --enable-crypt was given.
3486 if test "${enable_crypt+set}" = set; then :
3487 enableval
=$enable_crypt; build_crypt
=$enableval
3494 # Check whether --enable-nss-crypt was given.
3495 if test "${enable_nss_crypt+set}" = set; then :
3496 enableval
=$enable_nss_crypt; nss_crypt
=$enableval
3501 if test x
$build_libcrypt = xno
&& test x
$nss_crypt = xyes
; then
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-nss-crypt has no effect when libcrypt is disabled" >&5
3503 $as_echo "$as_me: WARNING: --enable-nss-crypt has no effect when libcrypt is disabled" >&2;}
3506 if test x
$nss_crypt = xyes
; then
3507 nss_includes
=-I$
(nss-config
--includedir 2>/dev
/null
)
3508 if test $?
-ne 0; then
3509 as_fn_error $?
"cannot find include directory with nss-config" "$LINENO" 5
3511 nspr_includes
=-I$
(nspr-config
--includedir 2>/dev
/null
)
3512 if test $?
-ne 0; then
3513 as_fn_error $?
"cannot find include directory with nspr-config" "$LINENO" 5
3515 old_CFLAGS
="$CFLAGS"
3516 CFLAGS
="$CFLAGS $nss_includes $nspr_includes"
3518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3522 #include <nsslowhash.h>
3523 void f (void) { NSSLOW_Init (); }
3532 if ac_fn_c_try_compile
"$LINENO"; then :
3533 libc_cv_nss_crypt
=yes
3536 cannot find NSS headers with lowlevel hash function interfaces" "$LINENO" 5
3538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3540 old_LDFLAGS
="$LDFLAGS"
3541 LIBS
="$LIBS -lfreebl3"
3542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3546 #include <nsslowhash.h>
3555 if ac_fn_c_try_link
"$LINENO"; then :
3556 libc_cv_nss_crypt
=yes
3559 cannot link program using lowlevel NSS hash functions" "$LINENO" 5
3561 rm -f core conftest.err conftest.
$ac_objext \
3562 conftest
$ac_exeext conftest.
$ac_ext
3563 # Check to see if there is a static NSS cryptographic library.
3564 # If there isn't then we can't link anything with libcrypt.a,
3565 # and that might mean disabling some static tests.
3566 LDFLAGS
="$LDFLAGS -static"
3567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3571 #include <nsslowhash.h>
3580 if ac_fn_c_try_link
"$LINENO"; then :
3581 libc_cv_static_nss_crypt
=yes
3583 libc_cv_static_nss_crypt
=no
3585 rm -f core conftest.err conftest.
$ac_objext \
3586 conftest
$ac_exeext conftest.
$ac_ext
3587 LDFLAGS
="$old_LDFLAGS"
3588 CFLAGS
="$old_CFLAGS"
3591 libc_cv_nss_crypt
=no
3592 libc_cv_static_nss_crypt
=no
3598 # Check whether --enable-systemtap was given.
3599 if test "${enable_systemtap+set}" = set; then :
3600 enableval
=$enable_systemtap; systemtap
=$enableval
3605 if test "x$systemtap" != xno
; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemtap static probe support" >&5
3607 $as_echo_n "checking for systemtap static probe support... " >&6; }
3608 if ${libc_cv_sdt+:} false
; then :
3609 $as_echo_n "(cached) " >&6
3611 old_CFLAGS
="$CFLAGS"
3612 CFLAGS
="-std=gnu11 $CFLAGS"
3613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3615 #include <sys/sdt.h>
3616 void foo (int i, void *p)
3618 asm ("" STAP_PROBE_ASM (foo, bar, STAP_PROBE_ASM_TEMPLATE (2)) ""
3619 :: STAP_PROBE_ASM_OPERANDS (2, i, p));
3622 if ac_fn_c_try_compile
"$LINENO"; then :
3627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3628 CFLAGS
="$old_CFLAGS"
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_sdt" >&5
3631 $as_echo "$libc_cv_sdt" >&6; }
3632 if test $libc_cv_sdt = yes; then
3633 $as_echo "#define USE_STAP_PROBE 1" >>confdefs.h
3635 elif test "x$systemtap" != xauto
; then
3636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638 as_fn_error $?
"systemtap support needs sys/sdt.h with asm support
3639 See \`config.log' for more details" "$LINENO" 5; }
3643 # Check whether --enable-build-nscd was given.
3644 if test "${enable_build_nscd+set}" = set; then :
3645 enableval
=$enable_build_nscd; build_nscd
=$enableval
3652 # Note the use of $use_nscd is near the bottom of the file.
3653 # Check whether --enable-nscd was given.
3654 if test "${enable_nscd+set}" = set; then :
3655 enableval
=$enable_nscd; use_nscd
=$enableval
3661 # Check whether --enable-pt_chown was given.
3662 if test "${enable_pt_chown+set}" = set; then :
3663 enableval
=$enable_pt_chown; build_pt_chown
=$enableval
3669 if test "$build_pt_chown" = yes; then
3670 $as_echo "#define HAVE_PT_CHOWN 1" >>confdefs.h
3674 # Check whether --enable-tunables was given.
3675 if test "${enable_tunables+set}" = set; then :
3676 enableval
=$enable_tunables; have_tunables
=$enableval
3682 if test "$have_tunables" = yes; then
3683 $as_echo "#define HAVE_TUNABLES 1" >>confdefs.h
3687 # The abi-tags file uses a fairly simplistic model for name recognition that
3688 # can't distinguish i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a
3689 # $host_os of `gnu*' here to be `gnu-gnu*' just so that it can tell.
3690 # This doesn't get used much beyond that, so it's fairly safe.
3695 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3699 # Check whether --enable-mathvec was given.
3700 if test "${enable_mathvec+set}" = set; then :
3701 enableval
=$enable_mathvec; build_mathvec
=$enableval
3703 build_mathvec
=notset
3708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h. */
3716 # error no CET compiler support
3722 if ac_fn_c_try_cpp
"$LINENO"; then :
3723 libc_cv_compiler_default_cet
=yes
3725 libc_cv_compiler_default_cet
=no
3727 rm -f conftest.err conftest.i conftest.
$ac_ext
3729 # Check whether --enable-cet was given.
3730 if test "${enable_cet+set}" = set; then :
3731 enableval
=$enable_cet; enable_cet
=$enableval
3733 enable_cet
=$libc_cv_compiler_default_cet
3737 # Check whether --enable-scv was given.
3738 if test "${enable_scv+set}" = set; then :
3739 enableval
=$enable_scv; use_scv
=$enableval
3745 if test "$use_scv" != "no"; then :
3746 $as_echo "#define USE_PPC_SCV 1" >>confdefs.h
3750 # We keep the original values in `$config_*' and never modify them, so we
3751 # can write them unchanged into config.make. Everything else uses
3752 # $machine, $vendor, and $os, and changes them whenever convenient.
3753 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3755 # Don't allow vendor == "unknown"
3756 test "$config_vendor" = unknown
&& config_vendor
=
3757 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3759 # Some configurations imply other options.
3762 # The configure fragment of a port can modify these to supplement
3763 # or override the table in the case statement below. No fragment should
3764 # ever change the config_* variables, however.
3765 machine
=$config_machine
3766 vendor
=$config_vendor
3772 # Check whether --with-cpu was given.
3773 if test "${with_cpu+set}" = set; then :
3774 withval
=$with_cpu; case "$withval" in
3775 yes|
'') as_fn_error $?
"--with-cpu requires an argument" "$LINENO" 5 ;;
3777 *) submachine
="$withval" ;;
3783 # An preconfigure script can set this when it wants to disable the sanity
3787 # A preconfigure script for a system that may or may not use fpu
3788 # sysdeps directories sets this to a preprocessor conditional for
3789 # whether to use such directories.
3792 if frags
=`ls -d $srcdir/sysdeps/*/preconfigure 2> /dev/null`
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysdeps preconfigure fragments" >&5
3795 $as_echo_n "checking for sysdeps preconfigure fragments... " >&6; }
3796 for frag
in $frags; do
3797 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3798 echo $ECHO_N "$name $ECHO_C" >&6
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
3807 ### By using the undocumented --enable-hacker-mode option for configure
3808 ### one can skip this test to make the configuration not fail for unsupported
3811 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
3812 case "$machine-$host_os" in
3817 *** The GNU C library is currently unavailable for this platform.
3818 *** If you are interested in seeing glibc on this platform visit
3819 *** the \"How to submit a new port\" in the wiki:
3820 *** https://sourceware.org/glibc/wiki/#Development
3821 *** and join the community!" "$LINENO" 5
3826 # Set base_machine if not set by a preconfigure fragment.
3827 test -n "$base_machine" || base_machine
=$machine
3832 # Find a good install program. We prefer a C program (faster),
3833 # so one script is as good as another. But avoid the broken or
3834 # incompatible versions:
3835 # SysV /etc/install, /usr/sbin/install
3836 # SunOS /usr/etc/install
3837 # IRIX /sbin/install
3839 # AmigaOS /C/install, which installs bootblocks on floppy discs
3840 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3841 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3842 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3843 # OS/2's system install, which has a completely different semantic
3844 # ./install, which can be erroneously created by make from ./install.sh.
3845 # Reject install programs that cannot install multiple files.
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3847 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3848 if test -z "$INSTALL"; then
3849 if ${ac_cv_path_install+:} false
; then :
3850 $as_echo_n "(cached) " >&6
3852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3856 test -z "$as_dir" && as_dir
=.
3857 # Account for people who put trailing slashes in PATH elements.
3858 case $as_dir/ in #((
3859 .
/ | .
// |
/[cC
]/* | \
3860 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3861 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3864 # OSF1 and SCO ODT 3.0 have their own names for install.
3865 # Don't use installbsd from OSF since it installs stuff as root
3867 for ac_prog
in ginstall scoinst
install; do
3868 for ac_exec_ext
in '' $ac_executable_extensions; do
3869 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3870 if test $ac_prog = install &&
3871 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3872 # AIX install. It has an incompatible calling convention.
3874 elif test $ac_prog = install &&
3875 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3876 # program-specific install script used by HP pwplus--don't use.
3879 rm -rf conftest.one conftest.two conftest.dir
3880 echo one
> conftest.one
3881 echo two
> conftest.two
3883 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3884 test -s conftest.one
&& test -s conftest.two
&&
3885 test -s conftest.dir
/conftest.one
&&
3886 test -s conftest.dir
/conftest.two
3888 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3901 rm -rf conftest.one conftest.two conftest.dir
3904 if test "${ac_cv_path_install+set}" = set; then
3905 INSTALL
=$ac_cv_path_install
3907 # As a last resort, use the slow shell script. Don't cache a
3908 # value for INSTALL within a source directory, because that will
3909 # break other packages using the cache if that directory is
3910 # removed, or if the value is a relative name.
3911 INSTALL
=$ac_install_sh
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3915 $as_echo "$INSTALL" >&6; }
3917 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3918 # It thinks the first close brace ends the variable substitution.
3919 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3921 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3923 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3925 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
3926 # The makefiles need to use a different form to find it in $srcdir.
3927 INSTALL
='\$(..)./scripts/install-sh -c'
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3930 $as_echo_n "checking whether ln -s works... " >&6; }
3932 if test "$LN_S" = "ln -s"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3934 $as_echo "yes" >&6; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3937 $as_echo "no, using $LN_S" >&6; }
3941 # Was a --with-binutils option given?
3942 if test -n "$path_binutils"; then
3943 # Make absolute; ensure a single trailing slash.
3944 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
3945 CC
="$CC -B$path_binutils"
3948 *fuse-ld
=lld
*) LDNAME
=ld.lld
;;
3951 if test -z "$LD"; then
3952 LD
=`$CC -print-prog-name=$LDNAME`
3954 if test -z "$AR"; then
3955 AR
=`$CC -print-prog-name=ar`
3958 if test -z "$OBJCOPY"; then
3959 OBJCOPY
=`$CC -print-prog-name=objcopy`
3962 if test -z "$GPROF"; then
3963 GPROF
=`$CC -print-prog-name=gprof`
3966 if test -z "$READELF"; then
3967 READELF
=`$CC -print-prog-name=readelf`
3970 if test -z "$OBJDUMP"; then
3971 OBJDUMP
=`$CC -print-prog-name=objdump`
3974 if test -z "$NM"; then
3975 NM
=`$CC -print-prog-name=nm`
3980 # Accept binutils 2.25 or newer.
3982 case $
($LD --version) in
3984 # Accept gold 1.14 or higher
3987 # Extract the first word of "$ac_prog", so it can be a program name with args.
3988 set dummy
$ac_prog; ac_word
=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_LD+:} false
; then :
3992 $as_echo_n "(cached) " >&6
3994 if test -n "$LD"; then
3995 ac_cv_prog_LD
="$LD" # Let the user override the test.
3997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir
=.
4002 for ac_exec_ext
in '' $ac_executable_extensions; do
4003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_LD
="$ac_prog"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 if test -n "$LD"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4017 $as_echo "$LD" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4024 test -n "$LD" && break
4027 if test -z "$LD"; then
4030 # Found it, now check the version.
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4032 $as_echo_n "checking version of $LD... " >&6; }
4033 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU gold.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4034 case $ac_prog_version in
4035 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4036 1.1[4-9]*|
1.
[2-9][0-9]*|
1.1[0-9][0-9]*|
[2-9].
*|
[1-9][0-9]*)
4037 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4038 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4042 $as_echo "$ac_prog_version" >&6; }
4044 if test $ac_verc_fail = yes; then
4045 LD
=: critic_missing
="$critic_missing GNU gold"
4050 # Accept LLD 13.0.0 or higher
4053 # Extract the first word of "$ac_prog", so it can be a program name with args.
4054 set dummy
$ac_prog; ac_word
=$2
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4056 $as_echo_n "checking for $ac_word... " >&6; }
4057 if ${ac_cv_prog_LD+:} false
; then :
4058 $as_echo_n "(cached) " >&6
4060 if test -n "$LD"; then
4061 ac_cv_prog_LD
="$LD" # Let the user override the test.
4063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4067 test -z "$as_dir" && as_dir
=.
4068 for ac_exec_ext
in '' $ac_executable_extensions; do
4069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4070 ac_cv_prog_LD
="$ac_prog"
4071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 if test -n "$LD"; then
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4083 $as_echo "$LD" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4086 $as_echo "no" >&6; }
4090 test -n "$LD" && break
4093 if test -z "$LD"; then
4096 # Found it, now check the version.
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4098 $as_echo_n "checking version of $LD... " >&6; }
4099 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*LLD.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4100 case $ac_prog_version in
4101 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4102 1[3-9].
*|
[2-9][0-9].
*)
4103 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4104 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4108 $as_echo "$ac_prog_version" >&6; }
4110 if test $ac_verc_fail = yes; then
4111 LD
=: critic_missing
="$critic_missing LLD"
4114 libc_cv_with_lld
=yes
4119 # Extract the first word of "$ac_prog", so it can be a program name with args.
4120 set dummy
$ac_prog; ac_word
=$2
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4122 $as_echo_n "checking for $ac_word... " >&6; }
4123 if ${ac_cv_prog_LD+:} false
; then :
4124 $as_echo_n "(cached) " >&6
4126 if test -n "$LD"; then
4127 ac_cv_prog_LD
="$LD" # Let the user override the test.
4129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4133 test -z "$as_dir" && as_dir
=.
4134 for ac_exec_ext
in '' $ac_executable_extensions; do
4135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4136 ac_cv_prog_LD
="$ac_prog"
4137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 if test -n "$LD"; then
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4149 $as_echo "$LD" >&6; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4152 $as_echo "no" >&6; }
4156 test -n "$LD" && break
4159 if test -z "$LD"; then
4162 # Found it, now check the version.
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4164 $as_echo_n "checking version of $LD... " >&6; }
4165 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4166 case $ac_prog_version in
4167 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4168 2.1[0-9][0-9]*|
2.2[5-9]*|
2.
[3-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4169 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4170 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4174 $as_echo "$ac_prog_version" >&6; }
4176 if test $ac_verc_fail = yes; then
4177 LD
=: critic_missing
="$critic_missing GNU ld"
4182 config_vars
="$config_vars
4183 with-lld = $libc_cv_with_lld"
4185 # These programs are version sensitive.
4186 for ac_prog
in gnumake gmake
make
4188 # Extract the first word of "$ac_prog", so it can be a program name with args.
4189 set dummy
$ac_prog; ac_word
=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if ${ac_cv_prog_MAKE+:} false
; then :
4193 $as_echo_n "(cached) " >&6
4195 if test -n "$MAKE"; then
4196 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4202 test -z "$as_dir" && as_dir
=.
4203 for ac_exec_ext
in '' $ac_executable_extensions; do
4204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4205 ac_cv_prog_MAKE
="$ac_prog"
4206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 MAKE
=$ac_cv_prog_MAKE
4216 if test -n "$MAKE"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4218 $as_echo "$MAKE" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4225 test -n "$MAKE" && break
4228 if test -z "$MAKE"; then
4231 # Found it, now check the version.
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
4233 $as_echo_n "checking version of $MAKE... " >&6; }
4234 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4235 case $ac_prog_version in
4236 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4237 [4-9].
* |
[1-9][0-9]*)
4238 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4239 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4243 $as_echo "$ac_prog_version" >&6; }
4245 if test $ac_verc_fail = yes; then
4246 critic_missing
="$critic_missing make"
4250 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
4252 # Extract the first word of "$ac_prog", so it can be a program name with args.
4253 set dummy
$ac_prog; ac_word
=$2
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255 $as_echo_n "checking for $ac_word... " >&6; }
4256 if ${ac_cv_prog_MSGFMT+:} false
; then :
4257 $as_echo_n "(cached) " >&6
4259 if test -n "$MSGFMT"; then
4260 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
4262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4266 test -z "$as_dir" && as_dir
=.
4267 for ac_exec_ext
in '' $ac_executable_extensions; do
4268 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4269 ac_cv_prog_MSGFMT
="$ac_prog"
4270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279 MSGFMT
=$ac_cv_prog_MSGFMT
4280 if test -n "$MSGFMT"; then
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4282 $as_echo "$MSGFMT" >&6; }
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4285 $as_echo "no" >&6; }
4289 test -n "$MSGFMT" && break
4292 if test -z "$MSGFMT"; then
4295 # Found it, now check the version.
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
4297 $as_echo_n "checking version of $MSGFMT... " >&6; }
4298 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4299 case $ac_prog_version in
4300 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4301 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
4302 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4303 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4307 $as_echo "$ac_prog_version" >&6; }
4309 if test $ac_verc_fail = yes; then
4310 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
4313 for ac_prog
in makeinfo
4315 # Extract the first word of "$ac_prog", so it can be a program name with args.
4316 set dummy
$ac_prog; ac_word
=$2
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4318 $as_echo_n "checking for $ac_word... " >&6; }
4319 if ${ac_cv_prog_MAKEINFO+:} false
; then :
4320 $as_echo_n "(cached) " >&6
4322 if test -n "$MAKEINFO"; then
4323 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4329 test -z "$as_dir" && as_dir
=.
4330 for ac_exec_ext
in '' $ac_executable_extensions; do
4331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4332 ac_cv_prog_MAKEINFO
="$ac_prog"
4333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4342 MAKEINFO
=$ac_cv_prog_MAKEINFO
4343 if test -n "$MAKEINFO"; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4345 $as_echo "$MAKEINFO" >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4352 test -n "$MAKEINFO" && break
4355 if test -z "$MAKEINFO"; then
4358 # Found it, now check the version.
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
4360 $as_echo_n "checking version of $MAKEINFO... " >&6; }
4361 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4362 case $ac_prog_version in
4363 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4364 4.
[7-9]*|
4.
[1-9][0-9]*|
[5-9].
*)
4365 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4366 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4370 $as_echo "$ac_prog_version" >&6; }
4372 if test $ac_verc_fail = yes; then
4373 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
4378 # Extract the first word of "$ac_prog", so it can be a program name with args.
4379 set dummy
$ac_prog; ac_word
=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_SED+:} false
; then :
4383 $as_echo_n "(cached) " >&6
4385 if test -n "$SED"; then
4386 ac_cv_prog_SED
="$SED" # Let the user override the test.
4388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4392 test -z "$as_dir" && as_dir
=.
4393 for ac_exec_ext
in '' $ac_executable_extensions; do
4394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4395 ac_cv_prog_SED
="$ac_prog"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406 if test -n "$SED"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4408 $as_echo "$SED" >&6; }
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4415 test -n "$SED" && break
4418 if test -z "$SED"; then
4421 # Found it, now check the version.
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
4423 $as_echo_n "checking version of $SED... " >&6; }
4424 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4425 case $ac_prog_version in
4426 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4427 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
4428 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4429 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4433 $as_echo "$ac_prog_version" >&6; }
4435 if test $ac_verc_fail = yes; then
4436 SED
=: aux_missing
="$aux_missing sed"
4441 # Extract the first word of "$ac_prog", so it can be a program name with args.
4442 set dummy
$ac_prog; ac_word
=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_AWK+:} false
; then :
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$AWK"; then
4449 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir
=.
4456 for ac_exec_ext
in '' $ac_executable_extensions; do
4457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4458 ac_cv_prog_AWK
="$ac_prog"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 if test -n "$AWK"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4471 $as_echo "$AWK" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4478 test -n "$AWK" && break
4481 if test -z "$AWK"; then
4484 # Found it, now check the version.
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AWK" >&5
4486 $as_echo_n "checking version of $AWK... " >&6; }
4487 ac_prog_version
=`$AWK --version 2>&1 | sed -n 's/^.*GNU Awk[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4488 case $ac_prog_version in
4489 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4490 3.1.
[2-9]*|
3.
[2-9]*|
[4-9]*)
4491 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4492 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4496 $as_echo "$ac_prog_version" >&6; }
4498 if test $ac_verc_fail = yes; then
4499 critic_missing
="$critic_missing gawk"
4502 for ac_prog
in bison
4504 # Extract the first word of "$ac_prog", so it can be a program name with args.
4505 set dummy
$ac_prog; ac_word
=$2
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if ${ac_cv_prog_BISON+:} false
; then :
4509 $as_echo_n "(cached) " >&6
4511 if test -n "$BISON"; then
4512 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir
=.
4519 for ac_exec_ext
in '' $ac_executable_extensions; do
4520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4521 ac_cv_prog_BISON
="$ac_prog"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4531 BISON
=$ac_cv_prog_BISON
4532 if test -n "$BISON"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4534 $as_echo "$BISON" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4541 test -n "$BISON" && break
4544 if test -z "$BISON"; then
4547 # Found it, now check the version.
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $BISON" >&5
4549 $as_echo_n "checking version of $BISON... " >&6; }
4550 ac_prog_version
=`$BISON --version 2>&1 | sed -n 's/^.*bison (GNU Bison) \([0-9]*\.[0-9.]*\).*$/\1/p'`
4551 case $ac_prog_version in
4552 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4553 2.7*|
[3-9].
*|
[1-9][0-9]*)
4554 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4555 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4559 $as_echo "$ac_prog_version" >&6; }
4561 if test $ac_verc_fail = yes; then
4562 critic_missing
="$critic_missing bison"
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC is sufficient to build libc" >&5
4567 $as_echo_n "checking if $CC is sufficient to build libc... " >&6; }
4568 if ${libc_cv_compiler_ok+:} false
; then :
4569 $as_echo_n "(cached) " >&6
4572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4579 #if !defined __GNUC__ || __GNUC__ < 6 || (__GNUC__ == 6 && __GNUC_MINOR__ < 2)
4580 #error insufficient compiler
4586 if ac_fn_c_try_cpp
"$LINENO"; then :
4587 libc_cv_compiler_ok
=yes
4589 libc_cv_compiler_ok
=no
4591 rm -f conftest.err conftest.i conftest.
$ac_ext
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_compiler_ok" >&5
4594 $as_echo "$libc_cv_compiler_ok" >&6; }
4595 if test $libc_cv_compiler_ok != yes; then :
4596 critic_missing
="$critic_missing compiler"
4599 if test "x$maintainer" = "xyes"; then
4600 for ac_prog
in autoconf
4602 # Extract the first word of "$ac_prog", so it can be a program name with args.
4603 set dummy
$ac_prog; ac_word
=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_AUTOCONF+:} false
; then :
4607 $as_echo_n "(cached) " >&6
4609 if test -n "$AUTOCONF"; then
4610 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
4612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir
=.
4617 for ac_exec_ext
in '' $ac_executable_extensions; do
4618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_AUTOCONF
="$ac_prog"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 AUTOCONF
=$ac_cv_prog_AUTOCONF
4630 if test -n "$AUTOCONF"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
4632 $as_echo "$AUTOCONF" >&6; }
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4639 test -n "$AUTOCONF" && break
4641 test -n "$AUTOCONF" || AUTOCONF
="no"
4643 case "x$AUTOCONF" in
4644 xno|x|x
:) AUTOCONF
=no
;;
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
4647 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
4648 if ${libc_cv_autoconf_works+:} false
; then :
4649 $as_echo_n "(cached) " >&6
4651 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.ac
> /dev
/null
2>&1); then
4652 libc_cv_autoconf_works
=yes
4654 libc_cv_autoconf_works
=no
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
4658 $as_echo "$libc_cv_autoconf_works" >&6; }
4659 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
4662 if test "x$AUTOCONF" = xno
; then
4663 aux_missing
="$aux_missing autoconf"
4669 # Check for python3 if available, or else python.
4670 for ac_prog
in python3 python
4672 # Extract the first word of "$ac_prog", so it can be a program name with args.
4673 set dummy
$ac_prog; ac_word
=$2
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4676 if ${ac_cv_prog_PYTHON_PROG+:} false
; then :
4677 $as_echo_n "(cached) " >&6
4679 if test -n "$PYTHON_PROG"; then
4680 ac_cv_prog_PYTHON_PROG
="$PYTHON_PROG" # Let the user override the test.
4682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4686 test -z "$as_dir" && as_dir
=.
4687 for ac_exec_ext
in '' $ac_executable_extensions; do
4688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4689 ac_cv_prog_PYTHON_PROG
="$ac_prog"
4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 PYTHON_PROG
=$ac_cv_prog_PYTHON_PROG
4700 if test -n "$PYTHON_PROG"; then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_PROG" >&5
4702 $as_echo "$PYTHON_PROG" >&6; }
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 $as_echo "no" >&6; }
4709 test -n "$PYTHON_PROG" && break
4712 if test -z "$PYTHON_PROG"; then
4715 # Found it, now check the version.
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $PYTHON_PROG" >&5
4717 $as_echo_n "checking version of $PYTHON_PROG... " >&6; }
4718 ac_prog_version
=`$PYTHON_PROG --version 2>&1 | sed -n 's/^.*Python \([0-9][0-9.]*\).*$/\1/p'`
4719 case $ac_prog_version in
4720 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4721 3.
[4-9]*|
3.
[1-9][0-9]*|
[4-9].
*|
[1-9][0-9]*)
4722 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4723 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4727 $as_echo "$ac_prog_version" >&6; }
4729 if test $ac_verc_fail = yes; then
4730 critic_missing
="$critic_missing python"
4733 PYTHON
="$PYTHON_PROG -B"
4736 test -n "$critic_missing" && as_fn_error $?
"
4737 *** These critical programs are missing or too old:$critic_missing
4738 *** Check the INSTALL file for required versions." "$LINENO" 5
4740 test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
4741 *** These auxiliary programs are missing or incompatible versions:$aux_missing
4742 *** some features or tests will be disabled.
4743 *** Check the INSTALL file for required versions." >&5
4744 $as_echo "$as_me: WARNING:
4745 *** These auxiliary programs are missing or incompatible versions:$aux_missing
4746 *** some features or tests will be disabled.
4747 *** Check the INSTALL file for required versions." >&2;}
4750 # Determine whether to use fpu or nofpu sysdeps directories.
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use of fpu sysdeps directories" >&5
4752 $as_echo_n "checking for use of fpu sysdeps directories... " >&6; }
4753 if ${libc_cv_with_fp+:} false
; then :
4754 $as_echo_n "(cached) " >&6
4756 cat > conftest.c
<<EOF
4760 # error "no hardware floating point"
4764 if ${CC-cc} $CFLAGS $CPPFLAGS -S conftest.c
-o conftest.s \
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_with_fp" >&5
4771 $as_echo "$libc_cv_with_fp" >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
4775 $as_echo_n "checking for -fstack-protector... " >&6; }
4776 if ${libc_cv_ssp+:} false
; then :
4777 $as_echo_n "(cached) " >&6
4779 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector -xc /dev/null -S -o /dev/null'
4780 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4784 test $ac_status = 0; }; }; then :
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
4792 $as_echo "$libc_cv_ssp" >&6; }
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector-strong" >&5
4795 $as_echo_n "checking for -fstack-protector-strong... " >&6; }
4796 if ${libc_cv_ssp_strong+:} false
; then :
4797 $as_echo_n "(cached) " >&6
4799 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null'
4800 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4804 test $ac_status = 0; }; }; then :
4805 libc_cv_ssp_strong
=yes
4807 libc_cv_ssp_strong
=no
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp_strong" >&5
4812 $as_echo "$libc_cv_ssp_strong" >&6; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector-all" >&5
4815 $as_echo_n "checking for -fstack-protector-all... " >&6; }
4816 if ${libc_cv_ssp_all+:} false
; then :
4817 $as_echo_n "(cached) " >&6
4819 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null'
4820 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4824 test $ac_status = 0; }; }; then :
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp_all" >&5
4832 $as_echo "$libc_cv_ssp_all" >&6; }
4836 if test "$libc_cv_ssp" = yes; then
4837 no_stack_protector
="-fno-stack-protector -DSTACK_PROTECTOR_LEVEL=0"
4838 $as_echo "#define HAVE_CC_NO_STACK_PROTECTOR 1" >>confdefs.h
4842 if test "$enable_stack_protector" = yes && test "$libc_cv_ssp" = yes; then
4843 stack_protector
="-fstack-protector"
4844 $as_echo "#define STACK_PROTECTOR_LEVEL 1" >>confdefs.h
4846 elif test "$enable_stack_protector" = all
&& test "$libc_cv_ssp_all" = yes; then
4847 stack_protector
="-fstack-protector-all"
4848 $as_echo "#define STACK_PROTECTOR_LEVEL 2" >>confdefs.h
4850 elif test "$enable_stack_protector" = strong
&& test "$libc_cv_ssp_strong" = yes; then
4851 stack_protector
="-fstack-protector-strong"
4852 $as_echo "#define STACK_PROTECTOR_LEVEL 3" >>confdefs.h
4855 stack_protector
="-fno-stack-protector"
4856 $as_echo "#define STACK_PROTECTOR_LEVEL 0" >>confdefs.h
4863 if test -n "$stack_protector"; then
4864 no_ssp
=-fno-stack-protector
4868 if test "$enable_stack_protector" != no
; then
4869 as_fn_error $?
"--enable-stack-protector=$enable_stack_protector specified, but specified level of stack protection is not supported by the compiler." "$LINENO" 5
4873 # For the multi-arch option we need support in the assembler & linker.
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler and linker STT_GNU_IFUNC support" >&5
4875 $as_echo_n "checking for assembler and linker STT_GNU_IFUNC support... " >&6; }
4876 if ${libc_cv_ld_gnu_indirect_function+:} false
; then :
4877 $as_echo_n "(cached) " >&6
4879 cat > conftest.S
<<EOF
4880 .type foo,%gnu_indirect_function
4893 libc_cv_ld_gnu_indirect_function
=no
4894 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
4895 -nostartfiles -nostdlib $no_ssp \
4896 -o conftest conftest.S
1>&5 2>&5; then
4897 # Do a link to see if the backend supports IFUNC relocs.
4898 $READELF -r conftest
1>&5
4899 LC_ALL
=C
$READELF -Wr conftest |
grep -q 'IRELATIVE\|R_SPARC_JMP_IREL' && {
4900 libc_cv_ld_gnu_indirect_function
=yes
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_gnu_indirect_function" >&5
4906 $as_echo "$libc_cv_ld_gnu_indirect_function" >&6; }
4908 # Check if gcc supports attribute ifunc as it is used in libc_ifunc macro.
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc attribute ifunc support" >&5
4910 $as_echo_n "checking for gcc attribute ifunc support... " >&6; }
4911 if ${libc_cv_gcc_indirect_function+:} false
; then :
4912 $as_echo_n "(cached) " >&6
4914 cat > conftest.c
<<EOF
4915 extern int func (int);
4916 int used_func (int a)
4920 static void *resolver ()
4924 extern __typeof (func) func __attribute__ ((ifunc ("resolver")));
4926 libc_cv_gcc_indirect_function
=no
4927 if ${CC-cc} -c conftest.c
-o conftest.o
1>&5 \
4929 if $READELF -s conftest.o |
grep IFUNC
>/dev
/null
2>&5; then
4930 libc_cv_gcc_indirect_function
=yes
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_indirect_function" >&5
4936 $as_echo "$libc_cv_gcc_indirect_function" >&6; }
4938 # Check if linker supports textrel relocation with ifunc (used on elf/tests).
4939 # Note that it relies on libc_cv_ld_gnu_indirect_function test above.
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker supports textrels along with ifunc" >&5
4941 $as_echo_n "checking whether the linker supports textrels along with ifunc... " >&6; }
4942 if ${libc_cv_textrel_ifunc+:} false
; then :
4943 $as_echo_n "(cached) " >&6
4945 cat > conftest.S
<<EOF
4946 .type foo,%gnu_indirect_function
4967 libc_cv_textrel_ifunc
=no
4968 if test $libc_cv_ld_gnu_indirect_function = yes; then
4969 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostartfiles -nostdlib $no_ssp -pie -o conftest conftest.S'
4970 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4974 test $ac_status = 0; }; }; then
4975 libc_cv_textrel_ifunc
=yes
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_textrel_ifunc" >&5
4981 $as_echo "$libc_cv_textrel_ifunc" >&6; }
4984 # Check if CC supports attribute retain as it is used in attribute_used_retain macro.
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU attribute retain support" >&5
4986 $as_echo_n "checking for GNU attribute retain support... " >&6; }
4987 if ${libc_cv_gnu_retain+:} false
; then :
4988 $as_echo_n "(cached) " >&6
4990 cat > conftest.c
<<EOF
4991 static int var __attribute__ ((used, retain, section ("__libc_atexit")));
4993 libc_cv_gnu_retain
=no
4994 if ${CC-cc} -Werror -c conftest.c
-o /dev
/null
1>&5 \
4996 libc_cv_gnu_retain
=yes
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gnu_retain" >&5
5001 $as_echo "$libc_cv_gnu_retain" >&6; }
5002 if test $libc_cv_gnu_retain = yes; then
5003 $as_echo "#define HAVE_GNU_RETAIN 1" >>confdefs.h
5006 config_vars
="$config_vars
5007 have-gnu-retain = $libc_cv_gnu_retain"
5009 # Check if gcc warns about alias for function with incompatible types.
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler warns about alias for function with incompatible types" >&5
5011 $as_echo_n "checking if compiler warns about alias for function with incompatible types... " >&6; }
5012 if ${libc_cv_gcc_incompatible_alias+:} false
; then :
5013 $as_echo_n "(cached) " >&6
5015 cat > conftest.c
<<EOF
5016 int __redirect_foo (const void *s, int c);
5018 __typeof (__redirect_foo) *foo_impl (void) __asm__ ("foo");
5019 __typeof (__redirect_foo) *foo_impl (void)
5024 extern __typeof (__redirect_foo) foo_alias __attribute__ ((alias ("foo")));
5026 libc_cv_gcc_incompatible_alias
=yes
5027 if ${CC-cc} -Werror -c conftest.c
-o conftest.o
1>&5 2>&5 ; then
5028 libc_cv_gcc_incompatible_alias
=no
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_incompatible_alias" >&5
5033 $as_echo "$libc_cv_gcc_incompatible_alias" >&6; }
5035 if test x
"$libc_cv_ld_gnu_indirect_function" != xyes
; then
5036 if test x
"$multi_arch" = xyes
; then
5037 as_fn_error $?
"--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
5042 if test x
"$libc_cv_gcc_indirect_function" != xyes
; then
5043 # GCC 8+ emits a warning for alias with incompatible types and it might
5044 # fail to build ifunc resolvers aliases to either weak or internal
5045 # symbols. Disables multiarch build in this case.
5046 if test x
"$libc_cv_gcc_incompatible_alias" = xyes
; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc emits a warning for alias between functions of incompatible types" >&5
5048 $as_echo "$as_me: WARNING: gcc emits a warning for alias between functions of incompatible types" >&2;}
5049 if test x
"$multi_arch" = xyes
; then
5050 as_fn_error $?
"--enable-multi-arch support requires a gcc with gnu-indirect-function support" "$LINENO" 5
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Multi-arch is disabled." >&5
5053 $as_echo "$as_me: WARNING: Multi-arch is disabled." >&2;}
5055 elif test x
"$multi_arch" = xyes
; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-multi-arch support recommends a gcc with gnu-indirect-function support.
5057 Please use a gcc which supports it by default or configure gcc with --enable-gnu-indirect-function" >&5
5058 $as_echo "$as_me: WARNING: --enable-multi-arch support recommends a gcc with gnu-indirect-function support.
5059 Please use a gcc which supports it by default or configure gcc with --enable-gnu-indirect-function" >&2;}
5063 if test x
"$multi_arch" != xno
; then
5064 multi_arch_d
=/multiarch
5067 # Compute the list of sysdep directories for this configuration.
5068 # This can take a while to compute.
5069 sysdep_dir
=$srcdir/sysdeps
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysdep dirs" >&5
5071 $as_echo_n "checking sysdep dirs... " >&6; }
5072 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
5073 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
5075 test "x$base_os" != x ||
case "$os" in
5077 base_os
=mach
/hurd
;;
5079 base_os
=unix
/sysv
;;
5082 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
5085 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
5089 o
=`echo $tail | sed 's/[0-9]*$//'`
5090 if test $o != $tail; then
5093 # For linux-gnu, try linux-gnu, then linux.
5094 o
=`echo $tail | sed 's/-.*$//'`
5095 if test $o != $tail; then
5099 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
5102 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
5108 # For sparc/sparc32, try sparc/sparc32 and then sparc.
5110 tail=$machine${submachine:+/$submachine}
5111 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
5113 # Prepend the machine's FPU directory unless the architecture specific
5114 # preconfigure disables it.
5115 if test "$libc_cv_with_fp" = yes; then
5120 # For each machine term, try it with and then without /multiarch.
5121 for try_fpu
in $maybe_fpu ''; do
5122 for try_multi
in $multi_arch_d ''; do
5123 mach
="$mach /$1$try_fpu$try_multi"
5130 # Find what sysdep directories exist.
5132 for b
in $base ''; do
5133 for m0
in $mach ''; do
5134 for v
in /$vendor ''; do
5135 test "$v" = / && continue
5136 for o
in /$ostry ''; do
5137 test "$o" = / && continue
5138 for m
in $mach ''; do
5139 try_suffix
="$m0$b$v$o$m"
5140 if test -n "$try_suffix"; then
5141 try_srcdir
="${srcdir}/"
5142 try
="sysdeps$try_suffix"
5143 test -n "$enable_debug_configure" &&
5144 echo "$0 DEBUG: try $try" >&2
5145 if test -d "$try_srcdir$try"; then
5146 sysnames
="$sysnames $try"
5147 { test -n "$o" ||
test -n "$b"; } && os_used
=t
5148 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
5150 x
*/$submachine) submachine_used
=t
;;
5160 # If the assembler supports gnu_indirect_function symbol type and the
5161 # architecture supports multi-arch, we enable multi-arch by default.
5166 test x
"$multi_arch" = xdefault
&& multi_arch
=no
5169 if test x
"$multi_arch" != xno
; then
5170 $as_echo "#define USE_MULTIARCH 1" >>confdefs.h
5175 if test -z "$os_used" && test "$os" != none
; then
5176 as_fn_error $?
"Operating system $os is not supported." "$LINENO" 5
5178 if test -z "$machine_used" && test "$machine" != none
; then
5179 as_fn_error $?
"The $machine is not supported." "$LINENO" 5
5181 if test -z "$submachine_used" && test -n "$submachine"; then
5182 as_fn_error $?
"The $submachine subspecies of $host_cpu is not supported." "$LINENO" 5
5186 # We have now validated the configuration.
5188 # Expand the list of system names into a full list of directories
5189 # from each element's parent name and Implies file (if present).
5192 while test $# -gt 0; do
5196 case " $names " in *" $name "*)
5197 # Already in the list.
5201 # Report each name as we discover it, so there is no long pause in output.
5202 echo $ECHO_N "$name $ECHO_C" >&6
5204 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
5208 *) xsrcdir
=$srcdir/ ;;
5210 test -n "$enable_debug_configure" &&
5211 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
5213 for implies_file
in Implies Implies-before Implies-after
; do
5214 implies_type
=`echo $implies_file | sed s/-/_/`
5215 eval ${implies_type}=
5216 if test -f $xsrcdir$name/$implies_file; then
5217 # Collect more names from the `Implies' file (removing comments).
5218 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/$implies_file`"
5219 for x
in $implied_candidate; do
5221 if test -d $xsrcdir$name_base/$x; then
5222 eval "${implies_type}=\"\$${implies_type} \$name_base/\$x\""
5227 test -n "$enable_debug_configure" &&
5228 echo "DEBUG: $name $implies_file $x try() {$try_srcdir}$try" >&2
5229 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
5231 eval "${implies_type}=\"\$${implies_type} \$try\""
5234 if test $found = no
; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/$implies_file specifies nonexistent $x" >&5
5236 $as_echo "$as_me: WARNING: $name/$implies_file specifies nonexistent $x" >&2;}
5242 # Add NAME to the list of names.
5243 names
="$names $name"
5245 # Find the parent of NAME, using the empty string if it has none.
5246 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
5248 test -n "$enable_debug_configure" &&
5249 echo "DEBUG: $name Implies='$Implies' rest='$*' parent='$parent' \
5250 Implies_before='$Implies_before' Implies_after='$Implies_after'" >&2
5252 # Add the names implied by NAME, and NAME's parent (if it has one), to
5253 # the list of names to be processed (the argument list). We prepend the
5254 # implied names to the list and append the parent. We want implied
5255 # directories to come before further directories inferred from the
5256 # configuration components; this ensures that for sysv4, unix/common
5257 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
5259 sysnames
="`echo $Implies $* $Implies_before $parent $Implies_after`"
5260 test -n "$sysnames" && set $sysnames
5263 # Add the default directories.
5264 default_sysnames
="sysdeps/generic"
5265 sysnames
="$names $default_sysnames"
5267 # The other names were emitted during the scan.
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_sysnames" >&5
5269 $as_echo "$default_sysnames" >&6; }
5271 # if using special system headers, find out the compiler's sekrit
5272 # header directory and add that to the list. NOTE: Only does the right
5273 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5274 if test -n "$sysheaders"; then
5275 SYSINCLUDES
=-nostdinc
5276 for d
in include include-fixed
; do
5277 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5278 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5280 SYSINCLUDES
="$SYSINCLUDES \
5281 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5282 if test -n "$CXX"; then
5284 for cxxheaders
in `$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
5285 | sed -n -e '1,/#include/d' -e 's/^ \(\/.*\/[cg]++\)/\1/p'`; do
5286 test "x$cxxheaders" != x
&&
5287 CXX_SYSINCLUDES
="$CXX_SYSINCLUDES -isystem $cxxheaders"
5294 # Obtain some C++ header file paths. This is used to make a local
5295 # copy of those headers in Makerules.
5296 if test -n "$CXX"; then
5297 find_cxx_header
() {
5298 echo "#include <$1>" |
$CXX -H -fsyntax-only -x c
++ - 2>&1 \
5299 |
$AWK '$1 == "."{print $2}'
5301 CXX_CSTDLIB_HEADER
="$(find_cxx_header cstdlib)"
5302 CXX_CMATH_HEADER
="$(find_cxx_header cmath)"
5303 CXX_BITS_STD_ABS_H
="$(find_cxx_header bits/std_abs.h)"
5309 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5310 # since this would lead to problems installing/building glibc.
5311 # LD_LIBRARY_PATH contains the current directory if one of the following
5313 # - one of the terminals (":" and ";") is the first or last sign
5314 # - two terminals occur directly after each other
5315 # - the path contains an element with a dot in it
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
5317 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5318 case ${LD_LIBRARY_PATH} in
5319 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5320 ld_library_path_setting
="contains current directory"
5323 ld_library_path_setting
="ok"
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
5327 $as_echo "$ld_library_path_setting" >&6; }
5328 if test "$ld_library_path_setting" != "ok"; then
5330 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5331 *** building glibc. Please change the environment variable
5332 *** and run configure again." "$LINENO" 5
5335 # Extract the first word of "bash", so it can be a program name with args.
5336 set dummy bash
; ac_word
=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_path_BASH_SHELL+:} false
; then :
5340 $as_echo_n "(cached) " >&6
5344 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir
=.
5352 for ac_exec_ext
in '' $ac_executable_extensions; do
5353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5354 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5366 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5367 if test -n "$BASH_SHELL"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
5369 $as_echo "$BASH_SHELL" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5377 # Extract the first word of "perl", so it can be a program name with args.
5378 set dummy perl
; ac_word
=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_path_PERL+:} false
; then :
5382 $as_echo_n "(cached) " >&6
5386 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir
=.
5394 for ac_exec_ext
in '' $ac_executable_extensions; do
5395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5396 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5408 PERL
=$ac_cv_path_PERL
5409 if test -n "$PERL"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5411 $as_echo "$PERL" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5418 if test "$PERL" != no
&&
5419 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5422 # Extract the first word of "install-info", so it can be a program name with args.
5423 set dummy install-info
; ac_word
=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if ${ac_cv_path_INSTALL_INFO+:} false
; then :
5427 $as_echo_n "(cached) " >&6
5429 case $INSTALL_INFO in
5431 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5435 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5436 for as_dir
in $as_dummy
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5454 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5455 if test -n "$INSTALL_INFO"; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5457 $as_echo "$INSTALL_INFO" >&6; }
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5460 $as_echo "no" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
5466 $as_echo_n "checking for .set assembler directive... " >&6; }
5467 if ${libc_cv_asm_set_directive+:} false
; then :
5468 $as_echo_n "(cached) " >&6
5470 cat > conftest.s
<<EOF
5473 .set glibc_conftest_frobozz,foo
5474 .globl glibc_conftest_frobozz
5476 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5477 # (but it doesn't work), so we must do a linking check to be sure.
5478 cat > conftest1.c
<<\EOF
5479 extern int glibc_conftest_frobozz
;
5480 void _start
() { glibc_conftest_frobozz
= 1; }
5482 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5483 -nostartfiles -nostdlib $no_ssp \
5484 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5485 libc_cv_asm_set_directive
=yes
5487 libc_cv_asm_set_directive
=no
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
5492 $as_echo "$libc_cv_asm_set_directive" >&6; }
5493 if test $libc_cv_asm_set_directive = yes; then
5494 $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for protected data symbol" >&5
5499 $as_echo_n "checking linker support for protected data symbol... " >&6; }
5500 if ${libc_cv_protected_data+:} false
; then :
5501 $as_echo_n "(cached) " >&6
5503 cat > conftest.c
<<EOF
5504 int bar __attribute__ ((visibility ("protected"))) = 1;
5506 libc_cv_protected_data
=no
5507 if { ac_try
='${CC-cc} -nostdlib -nostartfiles $no_ssp -fPIC -shared conftest.c -o conftest.so'
5508 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5512 test $ac_status = 0; }; }; then
5513 cat > conftest.c
<<EOF
5515 int main (void) { return bar; }
5517 if { ac_try
='${CC-cc} -nostdlib -nostartfiles $no_ssp conftest.c -o conftest conftest.so'
5518 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5522 test $ac_status = 0; }; }; then
5523 libc_cv_protected_data
=yes
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_protected_data" >&5
5530 $as_echo "$libc_cv_protected_data" >&6; }
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for INSERT in linker script" >&5
5534 $as_echo_n "checking linker support for INSERT in linker script... " >&6; }
5535 if ${libc_cv_insert+:} false
; then :
5536 $as_echo_n "(cached) " >&6
5538 cat > conftest.c
<<EOF
5539 int __attribute__ ((section(".bar"))) bar = 0x12345678;
5540 int test (void) { return bar; }
5542 cat > conftest.t
<<EOF
5547 INSERT AFTER .rela.dyn;
5550 if { ac_try
='${CC-cc} -nostdlib -nostartfiles $no_ssp -fPIC -shared conftest.c -Wl,-T,conftest.t -o conftest.so'
5551 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5555 test $ac_status = 0; }; }; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_insert" >&5
5562 $as_echo "$libc_cv_insert" >&6; }
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
5566 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
5567 if ${libc_cv_broken_alias_attribute+:} false
; then :
5568 $as_echo_n "(cached) " >&6
5570 cat > conftest.c
<<EOF
5571 extern int foo (int x) __asm ("xyzzy");
5572 int bar (int x) { return x; }
5573 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5575 extern __typeof (dfoo) dfoo __asm ("abccb");
5578 libc_cv_broken_alias_attribute
=yes
5579 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5580 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5584 test $ac_status = 0; }; }; then
5585 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5586 grep 'abccb' conftest.s
>/dev
/null
; then
5587 libc_cv_broken_alias_attribute
=no
5590 rm -f conftest.c conftest.s
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
5594 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
5595 if test $libc_cv_broken_alias_attribute = yes; then
5596 as_fn_error $?
"working alias attribute support required" "$LINENO" 5
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
5600 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
5601 if ${libc_cv_have_sdata_section+:} false
; then :
5602 $as_echo_n "(cached) " >&6
5604 echo "int i;" > conftest.c
5605 libc_cv_have_sdata_section
=no
5606 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5607 |
grep '\.sdata' >/dev
/null
; then
5608 libc_cv_have_sdata_section
=yes
5610 rm -f conftest.c conftest.so
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
5614 $as_echo "$libc_cv_have_sdata_section" >&6; }
5615 if test $libc_cv_have_sdata_section = yes; then
5616 $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
5621 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
5622 if ${libc_cv_cc_with_libunwind+:} false
; then :
5623 $as_echo_n "(cached) " >&6
5626 cat > conftest.c
<<EOF
5627 int main (void) { return 0; }
5629 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
5630 conftest.c
-v 2>&1 >/dev
/null |
grep ' -lunwind ' >/dev
/null
; then
5631 libc_cv_cc_with_libunwind
=yes
5633 libc_cv_cc_with_libunwind
=no
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
5638 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
5640 if test $libc_cv_cc_with_libunwind = yes; then
5641 $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
5647 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
5648 if ${libc_cv_as_noexecstack+:} false
; then :
5649 $as_echo_n "(cached) " >&6
5651 cat > conftest.c
<<EOF
5654 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
5655 -S -o conftest.s conftest.c 1>&5'
5656 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5660 test $ac_status = 0; }; } \
5661 && grep .note.GNU-stack conftest.s
>/dev
/null \
5662 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
5663 -c -o conftest.o conftest.s 1>&5'
5664 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5668 test $ac_status = 0; }; }
5670 libc_cv_as_noexecstack
=yes
5672 libc_cv_as_noexecstack
=no
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
5677 $as_echo "$libc_cv_as_noexecstack" >&6; }
5678 if test $libc_cv_as_noexecstack = yes; then
5679 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z execstack" >&5
5684 $as_echo_n "checking for linker that supports -z execstack... " >&6; }
5685 libc_linker_feature
=no
5686 cat > conftest.c
<<EOF
5687 int _start (void) { return 42; }
5689 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5690 -Wl,-z,execstack -nostdlib -nostartfiles
5691 -fPIC -shared -o conftest.so conftest.c
5693 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5697 test $ac_status = 0; }; }
5699 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,-z,execstack
-nostdlib \
5700 -nostartfiles -fPIC -shared -o conftest.so conftest.c
2>&1 \
5701 |
grep "warning: -z execstack ignored" > /dev
/null
2>&1; then
5704 libc_linker_feature
=yes
5708 if test $libc_linker_feature = yes; then
5709 libc_cv_z_execstack
=yes
5711 libc_cv_z_execstack
=no
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5714 $as_echo "$libc_linker_feature" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z start-stop-gc" >&5
5718 $as_echo_n "checking for linker that supports -z start-stop-gc... " >&6; }
5719 libc_linker_feature
=no
5720 cat > conftest.c
<<EOF
5721 int _start (void) { return 42; }
5723 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5724 -Wl,-z,start-stop-gc -nostdlib -nostartfiles
5725 -fPIC -shared -o conftest.so conftest.c
5727 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5731 test $ac_status = 0; }; }
5733 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,-z,start-stop-gc
-nostdlib \
5734 -nostartfiles -fPIC -shared -o conftest.so conftest.c
2>&1 \
5735 |
grep "warning: -z start-stop-gc ignored" > /dev
/null
2>&1; then
5738 libc_linker_feature
=yes
5742 if test $libc_linker_feature = yes; then
5743 libc_cv_z_start_stop_gc
=yes
5745 libc_cv_z_start_stop_gc
=no
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5748 $as_echo "$libc_linker_feature" >&6; }
5749 config_vars
="$config_vars
5750 have-z-start-stop-gc = $libc_cv_z_start_stop_gc"
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports --depaudit" >&5
5753 $as_echo_n "checking for linker that supports --depaudit... " >&6; }
5754 libc_linker_feature
=no
5755 cat > conftest.c
<<EOF
5756 int _start (void) { return 42; }
5758 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5759 -Wl,--depaudit,x -nostdlib -nostartfiles
5760 -fPIC -shared -o conftest.so conftest.c
5762 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5766 test $ac_status = 0; }; }
5768 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,--depaudit,x
-nostdlib \
5769 -nostartfiles -fPIC -shared -o conftest.so conftest.c
2>&1 \
5770 |
grep "warning: --depaudit ignored" > /dev
/null
2>&1; then
5773 libc_linker_feature
=yes
5777 if test $libc_linker_feature = yes; then
5778 libc_cv_depaudit
=yes
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5783 $as_echo "$libc_linker_feature" >&6; }
5784 config_vars
="$config_vars
5785 have-depaudit = $libc_cv_depaudit"
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z pack-relative-relocs" >&5
5788 $as_echo_n "checking for linker that supports -z pack-relative-relocs... " >&6; }
5789 libc_linker_feature
=no
5790 cat > conftest.c
<<EOF
5791 int _start (void) { return 42; }
5793 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5794 -Wl,-z,pack-relative-relocs -nostdlib -nostartfiles
5795 -fPIC -shared -o conftest.so conftest.c
5797 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5801 test $ac_status = 0; }; }
5803 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,-z,pack-relative-relocs
-nostdlib \
5804 -nostartfiles -fPIC -shared -o conftest.so conftest.c
2>&1 \
5805 |
grep "warning: -z pack-relative-relocs ignored" > /dev
/null
2>&1; then
5808 libc_linker_feature
=yes
5812 if test $libc_linker_feature = yes; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5818 $as_echo "$libc_linker_feature" >&6; }
5819 config_vars
="$config_vars
5820 have-dt-relr = $libc_cv_dt_relr"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports --no-dynamic-linker" >&5
5823 $as_echo_n "checking for linker that supports --no-dynamic-linker... " >&6; }
5824 libc_linker_feature
=no
5825 cat > conftest.c
<<EOF
5826 int _start (void) { return 42; }
5828 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
5829 -Wl,--no-dynamic-linker -nostdlib -nostartfiles
5830 -fPIC -shared -o conftest.so conftest.c
5832 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5836 test $ac_status = 0; }; }
5838 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,--no-dynamic-linker -nostdlib \
5839 -nostartfiles -fPIC -shared -o conftest.so conftest.c
2>&1 \
5840 |
grep "warning: --no-dynamic-linker ignored" > /dev
/null
2>&1; then
5843 libc_linker_feature
=yes
5847 if test $libc_linker_feature = yes; then
5848 libc_cv_no_dynamic_linker
=yes
5850 libc_cv_no_dynamic_linker
=no
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5853 $as_echo "$libc_linker_feature" >&6; }
5854 config_vars
="$config_vars
5855 have-no-dynamic-linker = $libc_cv_no_dynamic_linker"
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -static-pie" >&5
5858 $as_echo_n "checking for -static-pie... " >&6; }
5859 if ${libc_cv_static_pie+:} false
; then :
5860 $as_echo_n "(cached) " >&6
5862 if { ac_try
='${CC-cc} -static-pie -xc /dev/null -S -o /dev/null'
5863 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5867 test $ac_status = 0; }; }; then :
5868 libc_cv_static_pie
=yes
5870 libc_cv_static_pie
=no
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_static_pie" >&5
5875 $as_echo "$libc_cv_static_pie" >&6; }
5876 config_vars
="$config_vars
5877 have-static-pie = $libc_cv_static_pie"
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
5880 $as_echo_n "checking for -fpie... " >&6; }
5881 if ${libc_cv_fpie+:} false
; then :
5882 $as_echo_n "(cached) " >&6
5884 if { ac_try
='${CC-cc} -fpie -xc /dev/null -S -o /dev/null'
5885 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5889 test $ac_status = 0; }; }; then :
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
5897 $as_echo "$libc_cv_fpie" >&6; }
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOB_DAT reloc" >&5
5902 $as_echo_n "checking for GLOB_DAT reloc... " >&6; }
5903 if ${libc_cv_has_glob_dat+:} false
; then :
5904 $as_echo_n "(cached) " >&6
5906 cat > conftest.c
<<EOF
5908 int foo (void) { return mumble; }
5910 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5911 -fPIC -shared -o conftest.so conftest.c
5912 -nostdlib -nostartfiles $no_ssp
5914 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5918 test $ac_status = 0; }; }
5920 if $READELF -rW conftest.so |
grep '_GLOB_DAT' > /dev
/null
; then
5921 libc_cv_has_glob_dat
=yes
5923 libc_cv_has_glob_dat
=no
5926 libc_cv_has_glob_dat
=no
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_has_glob_dat" >&5
5931 $as_echo "$libc_cv_has_glob_dat" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mtls-dialect=gnu2" >&5
5935 $as_echo_n "checking for -mtls-dialect=gnu2... " >&6; }
5936 if ${libc_cv_mtls_dialect_gnu2+:} false
; then :
5937 $as_echo_n "(cached) " >&6
5939 cat > conftest.c
<<EOF
5946 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -fPIC -mtls-dialect=gnu2 -nostdlib -nostartfiles
5947 conftest.c -o conftest 1>&5'
5948 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5952 test $ac_status = 0; }; }
5954 libc_cv_mtls_dialect_gnu2
=yes
5956 libc_cv_mtls_dialect_gnu2
=no
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mtls_dialect_gnu2" >&5
5961 $as_echo "$libc_cv_mtls_dialect_gnu2" >&6; }
5963 config_vars
="$config_vars
5964 have-mtls-dialect-gnu2 = $libc_cv_mtls_dialect_gnu2"
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -Wno-ignored-attributes is required for aliases" >&5
5967 $as_echo_n "checking if -Wno-ignored-attributes is required for aliases... " >&6; }
5968 if ${libc_cv_wno_ignored_attributes+:} false
; then :
5969 $as_echo_n "(cached) " >&6
5971 cat > conftest.c
<<EOF
5975 extern __typeof (__foo) foo __attribute__ ((weak, alias ("__foo")));
5976 extern __typeof (__foo) bar __attribute__ ((weak, alias ("foo")));
5978 libc_cv_wno_ignored_attributes
=""
5979 if ! { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -c conftest.c'
5980 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5984 test $ac_status = 0; }; }
5986 libc_cv_wno_ignored_attributes
="-Wno-ignored-attributes"
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_wno_ignored_attributes" >&5
5991 $as_echo "$libc_cv_wno_ignored_attributes" >&6; }
5992 config_vars
="$config_vars
5993 config-cflags-wno-ignored-attributes = $libc_cv_wno_ignored_attributes"
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
5996 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
5997 if ${libc_cv_have_section_quotes+:} false
; then :
5998 $as_echo_n "(cached) " >&6
6000 cat > conftest.c
<<EOF
6001 static const int foo
6002 __attribute__ ((section ("bar"))) = 1;
6004 if ${CC-cc} -S conftest.c
-o conftest.s
; then
6005 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
6006 libc_cv_have_section_quotes
=yes
6008 libc_cv_have_section_quotes
=no
6011 libc_cv_have_section_quotes
=unknown
6013 rm -f conftest.
{c
,s
}
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
6017 $as_echo "$libc_cv_have_section_quotes" >&6; }
6018 if test $libc_cv_have_section_quotes = yes; then
6019 $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
6024 $as_echo_n "checking for __builtin_memset... " >&6; }
6025 if ${libc_cv_gcc_builtin_memset+:} false
; then :
6026 $as_echo_n "(cached) " >&6
6028 cat > conftest.c
<<\EOF
6031 __builtin_memset
(x
, 0, 1000);
6034 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | grep -F "memset" > /dev/null'
6035 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6039 test $ac_status = 0; }; };
6041 libc_cv_gcc_builtin_memset
=no
6043 libc_cv_gcc_builtin_memset
=yes
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
6048 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
6049 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6050 $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
6055 $as_echo_n "checking for redirection of built-in functions... " >&6; }
6056 if ${libc_cv_gcc_builtin_redirection+:} false
; then :
6057 $as_echo_n "(cached) " >&6
6059 cat > conftest.c
<<\EOF
6060 extern char
*strstr
(const char
*, const char
*) __asm
("my_strstr");
6061 char
*foo
(const char
*a
, const char
*b
)
6063 return __builtin_strstr
(a
, b
);
6066 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | grep -F "my_strstr" > /dev/null'
6067 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6071 test $ac_status = 0; }; };
6073 libc_cv_gcc_builtin_redirection
=yes
6075 libc_cv_gcc_builtin_redirection
=no
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
6080 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
6081 if test "$libc_cv_gcc_builtin_redirection" = no
; then
6082 as_fn_error $?
"support for the symbol redirection needed" "$LINENO" 5
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to disable generation of FMA instructions" >&5
6086 $as_echo_n "checking for compiler option to disable generation of FMA instructions... " >&6; }
6087 if ${libc_cv_cc_nofma+:} false
; then :
6088 $as_echo_n "(cached) " >&6
6091 for opt
in -ffp-contract=off
-mno-fused-madd; do
6092 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6093 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6097 test $ac_status = 0; }; }; then :
6098 libc_cv_cc_nofma
=$opt; break
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_nofma" >&5
6103 $as_echo "$libc_cv_cc_nofma" >&6; }
6106 if test -n "$submachine"; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
6108 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
6109 if ${libc_cv_cc_submachine+:} false
; then :
6110 $as_echo_n "(cached) " >&6
6112 libc_cv_cc_submachine
=no
6113 for opt
in "-march=$submachine" "-mcpu=$submachine"; do
6114 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6115 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6119 test $ac_status = 0; }; }; then :
6121 libc_cv_cc_submachine
="$opt"
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
6127 $as_echo "$libc_cv_cc_submachine" >&6; }
6128 if test "x$libc_cv_cc_submachine" = xno
; then
6129 as_fn_error $?
"${CC-cc} does not support $submachine" "$LINENO" 5
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option that -fsignaling-nans" >&5
6135 $as_echo_n "checking for compiler option that -fsignaling-nans... " >&6; }
6136 if ${libc_cv_cc_signaling_nans+:} false
; then :
6137 $as_echo_n "(cached) " >&6
6139 if { ac_try
='${CC-cc} -Werror -fsignaling-nans -xc /dev/null -S -o /dev/null'
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; }; }; then :
6145 libc_cv_cc_signaling_nans
=-fsignaling-nans
6147 libc_cv_cc_signaling_nans
=
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_signaling_nans" >&5
6152 $as_echo "$libc_cv_cc_signaling_nans" >&6; }
6153 config_vars
="$config_vars
6154 config-cflags-signaling-nans = $libc_cv_cc_signaling_nans"
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6157 __attribute__ ((__optimize__))" >&5
6158 $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6159 __attribute__ ((__optimize__))... " >&6; }
6160 if ${libc_cv_cc_loop_to_function+:} false
; then :
6161 $as_echo_n "(cached) " >&6
6163 cat > conftest.c
<<EOF
6165 __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
6168 libc_cv_cc_loop_to_function
=no
6169 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c'
6170 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6174 test $ac_status = 0; }; }
6176 libc_cv_cc_loop_to_function
=yes
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_loop_to_function" >&5
6181 $as_echo "$libc_cv_cc_loop_to_function" >&6; }
6182 if test $libc_cv_cc_loop_to_function = yes; then
6183 $as_echo "#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
6189 $as_echo_n "checking for libgd... " >&6; }
6190 if test "$with_gd" != "no"; then
6191 old_CFLAGS
="$CFLAGS"
6192 CFLAGS
="$CFLAGS $libgd_include"
6193 old_LDFLAGS
="$LDFLAGS"
6194 LDFLAGS
="$LDFLAGS $libgd_ldflags"
6196 LIBS
="$LIBS -lgd -lpng -lz -lm"
6197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6198 /* end confdefs.h. */
6208 if ac_fn_c_try_link
"$LINENO"; then :
6213 rm -f core conftest.err conftest.
$ac_objext \
6214 conftest
$ac_exeext conftest.
$ac_ext
6215 CFLAGS
="$old_CFLAGS"
6216 LDFLAGS
="$old_LDFLAGS"
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
6222 $as_echo "$LIBGD" >&6; }
6226 if test x
$with_selinux = xno
; then
6229 # See if we have the SELinux library
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
6231 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
6232 if ${ac_cv_lib_selinux_is_selinux_enabled+:} false
; then :
6233 $as_echo_n "(cached) " >&6
6235 ac_check_lib_save_LIBS
=$LIBS
6236 LIBS
="-lselinux $LIBS"
6237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h. */
6240 /* Override any GCC internal prototype to avoid an error.
6241 Use char because int might match the return type of a GCC
6242 builtin and then its argument prototype would still apply. */
6246 char is_selinux_enabled ();
6250 return is_selinux_enabled ();
6255 if ac_fn_c_try_link
"$LINENO"; then :
6256 ac_cv_lib_selinux_is_selinux_enabled
=yes
6258 ac_cv_lib_selinux_is_selinux_enabled
=no
6260 rm -f core conftest.err conftest.
$ac_objext \
6261 conftest
$ac_exeext conftest.
$ac_ext
6262 LIBS
=$ac_check_lib_save_LIBS
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
6265 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
6266 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes
; then :
6272 if test x
$with_selinux = xyes
; then
6273 if test x
$have_selinux = xno
; then
6274 as_fn_error $?
"SELinux explicitly required, but SELinux library not found" "$LINENO" 5
6278 # Check if we're building with SELinux support.
6279 if test "x$have_selinux" = xyes
; then
6281 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
6284 # See if we have the libaudit library
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
6286 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
6287 if ${ac_cv_lib_audit_audit_log_user_avc_message+:} false
; then :
6288 $as_echo_n "(cached) " >&6
6290 ac_check_lib_save_LIBS
=$LIBS
6291 LIBS
="-laudit $LIBS"
6292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6293 /* end confdefs.h. */
6295 /* Override any GCC internal prototype to avoid an error.
6296 Use char because int might match the return type of a GCC
6297 builtin and then its argument prototype would still apply. */
6301 char audit_log_user_avc_message ();
6305 return audit_log_user_avc_message ();
6310 if ac_fn_c_try_link
"$LINENO"; then :
6311 ac_cv_lib_audit_audit_log_user_avc_message
=yes
6313 ac_cv_lib_audit_audit_log_user_avc_message
=no
6315 rm -f core conftest.err conftest.
$ac_objext \
6316 conftest
$ac_exeext conftest.
$ac_ext
6317 LIBS
=$ac_check_lib_save_LIBS
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
6320 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
6321 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = xyes
; then :
6327 if test "x$have_libaudit" = xyes
; then
6329 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
6334 # See if we have the libcap library
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
6336 $as_echo_n "checking for cap_init in -lcap... " >&6; }
6337 if ${ac_cv_lib_cap_cap_init+:} false
; then :
6338 $as_echo_n "(cached) " >&6
6340 ac_check_lib_save_LIBS
=$LIBS
6342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6345 /* Override any GCC internal prototype to avoid an error.
6346 Use char because int might match the return type of a GCC
6347 builtin and then its argument prototype would still apply. */
6360 if ac_fn_c_try_link
"$LINENO"; then :
6361 ac_cv_lib_cap_cap_init
=yes
6363 ac_cv_lib_cap_cap_init
=no
6365 rm -f core conftest.err conftest.
$ac_objext \
6366 conftest
$ac_exeext conftest.
$ac_ext
6367 LIBS
=$ac_check_lib_save_LIBS
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
6370 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
6371 if test "x$ac_cv_lib_cap_cap_init" = xyes
; then :
6377 if test "x$have_libcap" = xyes
; then
6379 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FORTIFY_SOURCE predefine" >&5
6388 $as_echo_n "checking for _FORTIFY_SOURCE predefine... " >&6; }
6389 if ${libc_cv_predef_fortify_source+:} false
; then :
6390 $as_echo_n "(cached) " >&6
6392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6399 #ifdef _FORTIFY_SOURCE
6406 if ac_fn_c_try_compile
"$LINENO"; then :
6407 libc_cv_predef_fortify_source
=no
6409 libc_cv_predef_fortify_source
=yes
6411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_fortify_source" >&5
6414 $as_echo "$libc_cv_predef_fortify_source" >&6; }
6415 if test $libc_cv_predef_fortify_source = yes; then
6416 CPPUNDEFS
="${CPPUNDEFS:+$CPPUNDEFS }-U_FORTIFY_SOURCE"
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the assembler requires one version per symbol" >&5
6421 $as_echo_n "checking whether the assembler requires one version per symbol... " >&6; }
6422 if ${libc_cv_symver_needs_alias+:} false
; then :
6423 $as_echo_n "(cached) " >&6
6425 cat > conftest.s
<<EOF
6429 .symver testfunc, testfunc1@VERSION1
6430 .symver testfunc, testfunc1@VERSION2
6432 libc_cv_symver_needs_alias
=no
6433 if ${CC-cc} $ASFLAGS -c conftest.s
2>&5; then
6434 libc_cv_symver_needs_alias
=no
6436 libc_cv_symver_needs_alias
=yes
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_symver_needs_alias" >&5
6442 $as_echo "$libc_cv_symver_needs_alias" >&6; }
6443 if test "$libc_cv_symver_needs_alias" = yes; then
6444 $as_echo "#define SYMVER_NEEDS_ALIAS 1" >>confdefs.h
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_trap with no external dependencies" >&5
6449 $as_echo_n "checking for __builtin_trap with no external dependencies... " >&6; }
6450 if ${libc_cv_builtin_trap+:} false
; then :
6451 $as_echo_n "(cached) " >&6
6453 libc_cv_builtin_trap
=no
6454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6465 if ac_fn_c_try_compile
"$LINENO"; then :
6467 libc_undefs
=`$NM -u conftest.o |
6468 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
6470 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
6472 echo >&5 "libc_undefs='$libc_undefs'"
6473 if test -z "$libc_undefs"; then
6474 libc_cv_builtin_trap
=yes
6477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_builtin_trap" >&5
6480 $as_echo "$libc_cv_builtin_trap" >&6; }
6481 if test $libc_cv_builtin_trap = yes; then
6482 $as_echo "#define HAVE_BUILTIN_TRAP 1" >>confdefs.h
6487 ac_cpp
='$CXXCPP $CPPFLAGS'
6488 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6489 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6490 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports thread_local" >&5
6494 $as_echo_n "checking whether the C++ compiler supports thread_local... " >&6; }
6495 if ${libc_cv_cxx_thread_local+:} false
; then :
6496 $as_echo_n "(cached) " >&6
6499 old_CXXFLAGS
="$CXXFLAGS"
6500 CXXFLAGS
="$CXXFLAGS -std=gnu++11"
6501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6506 // Compiler support.
6513 S * get () { return &s; }
6515 // libstdc++ support.
6516 #ifndef _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL
6517 #error __cxa_thread_atexit_impl not supported
6521 if ac_fn_cxx_try_compile
"$LINENO"; then :
6522 libc_cv_cxx_thread_local
=yes
6524 libc_cv_cxx_thread_local
=no
6526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6527 CXXFLAGS
="$old_CXXFLAGS"
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_thread_local" >&5
6531 $as_echo "$libc_cv_cxx_thread_local" >&6; }
6535 ac_cpp
='$CPP $CPPFLAGS'
6536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6541 ### End of automated tests.
6542 ### Now run sysdeps configure fragments.
6544 # They also can set these variables.
6546 ldd_rewrite_script
=no
6547 libc_cv_sysconfdir
=$sysconfdir
6548 libc_cv_localstatedir
=$localstatedir
6549 libc_cv_gcc_unwind_find_fde
=no
6553 # Iterate over all the sysdep directories we will use, running their
6554 # configure fragments.
6555 for dir
in $sysnames; do
6558 *) dest
=$srcdir/$dir ;;
6560 if test -r $dest/configure
; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
6562 $as_echo "running configure fragment for $dir" >&6; }
6567 if test x
"$build_mathvec" = xnotset
; then
6570 config_vars
="$config_vars
6571 build-mathvec = $build_mathvec"
6576 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
6577 $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
6582 # A sysdeps configure fragment can reset this if IFUNC is not actually
6583 # usable even though the assembler knows how to generate the symbol type.
6584 if test x
"$libc_cv_ld_gnu_indirect_function" = xyes
; then
6585 $as_echo "#define HAVE_IFUNC 1" >>confdefs.h
6588 config_vars
="$config_vars
6589 have-ifunc = $libc_cv_ld_gnu_indirect_function"
6591 if test x
"$libc_cv_gcc_indirect_function" = xyes
; then
6592 $as_echo "#define HAVE_GCC_IFUNC 1" >>confdefs.h
6595 config_vars
="$config_vars
6596 have-gcc-ifunc = $libc_cv_gcc_indirect_function"
6598 # This is far from the AC_ARG_ENABLE that sets it so that a sysdeps
6599 # configure fragment can override the value to prevent this AC_DEFINE.
6601 if test "x$use_nscd" != xno
; then
6602 $as_echo "#define USE_NSCD 1" >>confdefs.h
6605 if test "x$build_nscd" = xdefault
; then
6606 build_nscd
=$use_nscd
6616 if test x
$use_ldconfig = xyes
; then
6617 $as_echo "#define USE_LDCONFIG 1" >>confdefs.h
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
6627 $as_echo_n "checking whether -fPIC is default... " >&6; }
6628 if ${libc_cv_pic_default+:} false
; then :
6629 $as_echo_n "(cached) " >&6
6631 libc_cv_pic_default
=yes
6632 cat > conftest.c
<<EOF
6633 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
6634 # error PIC is default.
6637 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
6638 libc_cv_pic_default
=no
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
6643 $as_echo "$libc_cv_pic_default" >&6; }
6644 config_vars
="$config_vars
6645 build-pic-default = $libc_cv_pic_default"
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIE is default" >&5
6648 $as_echo_n "checking whether -fPIE is default... " >&6; }
6649 if ${libc_cv_cc_pie_default+:} false
; then :
6650 $as_echo_n "(cached) " >&6
6652 libc_cv_cc_pie_default
=yes
6653 cat > conftest.c
<<EOF
6654 #if defined __PIE__ || defined __pie__ || defined PIE || defined pie
6655 # error PIE is default.
6658 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
6659 libc_cv_cc_pie_default
=no
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_pie_default" >&5
6664 $as_echo "$libc_cv_cc_pie_default" >&6; }
6665 config_vars
="$config_vars
6666 cc-pie-default = $libc_cv_cc_pie_default"
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can build programs as PIE" >&5
6669 $as_echo_n "checking if we can build programs as PIE... " >&6; }
6670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6671 /* end confdefs.h. */
6672 #ifdef PIE_UNSUPPORTED
6673 # error PIE is not supported
6676 if ac_fn_c_try_compile
"$LINENO"; then :
6677 libc_cv_pie_supported
=yes
6679 libc_cv_pie_supported
=no
6681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pie_supported" >&5
6683 $as_echo "$libc_cv_pie_supported" >&6; }
6684 # Disable build-pie-default if target does not support it or glibc is
6685 # configured with --disable-default-pie.
6686 if test "x$default_pie" = xno
; then
6687 build_pie_default
=no
6689 build_pie_default
=$libc_cv_pie_supported
6691 config_vars
="$config_vars
6692 build-pie-default = $build_pie_default"
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can build static PIE programs" >&5
6695 $as_echo_n "checking if we can build static PIE programs... " >&6; }
6696 libc_cv_static_pie_supported
=$libc_cv_pie_supported
6697 if test "x$libc_cv_pie_supported" != xno \
6698 -a "$libc_cv_no_dynamic_linker" = yes; then
6699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6700 /* end confdefs.h. */
6701 #ifndef SUPPORT_STATIC_PIE
6702 # error static PIE is not supported
6705 if ac_fn_c_try_compile
"$LINENO"; then :
6706 libc_cv_static_pie_supported
=yes
6708 libc_cv_static_pie_supported
=no
6710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_static_pie_supported" >&5
6713 $as_echo "$libc_cv_static_pie_supported" >&6; }
6715 # Enable static-pie only if it is available and glibc isn't configured
6716 # with --disable-default-pie.
6717 if test "x$default_pie" = xno
; then
6718 libc_cv_static_pie
=no
6720 libc_cv_static_pie
=$libc_cv_static_pie_supported
6722 if test "$libc_cv_static_pie" = "yes"; then
6723 $as_echo "#define ENABLE_STATIC_PIE 1" >>confdefs.h
6726 config_vars
="$config_vars
6727 enable-static-pie = $libc_cv_static_pie"
6729 # Set the `multidir' variable by grabbing the variable from the compiler.
6730 # We do it once and save the result in a generated makefile.
6731 libc_cv_multidir
=`${CC-cc} $CFLAGS $CPPFLAGS -print-multi-directory`
6741 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
6742 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
6746 if test "$pthread_in_libc" = yes; then
6747 $as_echo "#define PTHREAD_IN_LIBC 1" >>confdefs.h
6752 ac_config_files
="$ac_config_files config.make Makefile"
6754 ac_config_commands
="$ac_config_commands default"
6756 cat >confcache
<<\_ACEOF
6757 # This file is a shell script that caches the results of configure
6758 # tests run on this system so they can be shared between configure
6759 # scripts and configure runs, see configure's option --config-cache.
6760 # It is not useful on other systems. If it contains results you don't
6761 # want to keep, you may remove or edit it.
6763 # config.status only pays attention to the cache file if you give it
6764 # the --recheck option to rerun configure.
6766 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6772 # The following way of writing the cache mishandles newlines in values,
6773 # but we know of no workaround that is simple, portable, and efficient.
6774 # So, we kill variables containing newlines.
6775 # Ultrix sh set writes to stderr and can't be redirected directly,
6776 # and sets the high bit in the cache file unless we assign to the vars.
6778 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6779 eval ac_val
=\$
$ac_var
6783 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6784 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6787 _ | IFS | as_nl
) ;; #(
6788 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6789 *) { eval $ac_var=; unset $ac_var;} ;;
6795 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6796 *${as_nl}ac_space
=\
*)
6797 # `set' does not quote correctly, so add quotes: double-quote
6798 # substitution turns \\\\ into \\, and sed turns \\ into \.
6801 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6804 # `set' quotes correctly as required by POSIX, so do not add quotes.
6805 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6814 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6816 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6818 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6819 if test -w "$cache_file"; then
6820 if test "x$cache_file" != "x/dev/null"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6822 $as_echo "$as_me: updating cache $cache_file" >&6;}
6823 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6824 cat confcache
>"$cache_file"
6826 case $cache_file in #(
6828 mv -f confcache
"$cache_file"$$
&&
6829 mv -f "$cache_file"$$
"$cache_file" ;; #(
6831 mv -f confcache
"$cache_file" ;;
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6837 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6842 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6843 # Let make expand exec_prefix.
6844 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6846 DEFS
=-DHAVE_CONFIG_H
6851 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6852 # 1. Remove the extension, and $U if already installed.
6853 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6854 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6855 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6856 # will be set to the directory where LIBOBJS objects are built.
6857 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6858 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6862 LTLIBOBJS
=$ac_ltlibobjs
6866 : "${CONFIG_STATUS=./config.status}"
6868 ac_clean_files_save
=$ac_clean_files
6869 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6871 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6873 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6875 # Generated by $as_me.
6876 # Run this file to recreate the current configuration.
6877 # Compiler output produced by configure, useful for debugging
6878 # configure, is in config.log if it exists.
6884 SHELL=\${CONFIG_SHELL-$SHELL}
6887 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6888 ## -------------------- ##
6889 ## M4sh Initialization. ##
6890 ## -------------------- ##
6892 # Be more Bourne compatible
6893 DUALCASE
=1; export DUALCASE
# for MKS sh
6894 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6897 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6898 # is contrary to our usage. Disable this feature.
6899 alias -g '${1+"$@"}'='"$@"'
6900 setopt NO_GLOB_SUBST
6902 case `(set -o) 2>/dev/null` in #(
6914 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6915 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6916 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6917 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6918 # Prefer a ksh shell builtin over an external printf program on Solaris,
6919 # but without wasting forks for bash or zsh.
6920 if test -z "$BASH_VERSION$ZSH_VERSION" \
6921 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6922 as_echo='print
-r --'
6923 as_echo_n='print
-rn --'
6924 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6925 as_echo='printf %s
\n'
6926 as_echo_n='printf %s
'
6928 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6929 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6930 as_echo_n='/usr
/ucb
/echo -n'
6932 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6933 as_echo_n_body='eval
6937 expr "X$arg" : "X\\(.*\\)$as_nl";
6938 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6940 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6942 export as_echo_n_body
6943 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6946 as_echo='sh
-c $as_echo_body as_echo
'
6949 # The user is always right.
6950 if test "${PATH_SEPARATOR+set}" != set; then
6952 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6953 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6960 # We need space, tab and new line, in precisely that order. Quoting is
6961 # there to prevent editors from complaining about space-tab.
6962 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6963 # splitting by setting IFS to empty value.)
6966 # Find who we are. Look in the path if we contain no directory separator.
6969 *[\\/]* ) as_myself=$0 ;;
6970 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 test -z "$as_dir" && as_dir=.
6975 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6981 # We did not find ourselves, most probably we were run as `sh COMMAND'
6982 # in which case we are not to be found in the path.
6983 if test "x$as_myself" = x
; then
6986 if test ! -f "$as_myself"; then
6987 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6991 # Unset variables that we do not need and which cause bugs (e.g. in
6992 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6993 # suppresses any "Segmentation fault" message there. '((' could
6994 # trigger a bug in pdksh 5.2.14.
6995 for as_var
in BASH_ENV ENV MAIL MAILPATH
6996 do eval test x\
${$as_var+set} = xset \
6997 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7010 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7013 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7014 # ----------------------------------------
7015 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7016 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7017 # script with STATUS, using 1 if that was 0.
7020 as_status
=$1; test $as_status -eq 0 && as_status
=1
7022 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7023 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7025 $as_echo "$as_me: error: $2" >&2
7026 as_fn_exit
$as_status
7030 # as_fn_set_status STATUS
7031 # -----------------------
7032 # Set $? to STATUS, without forking.
7036 } # as_fn_set_status
7040 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7050 # Portably unset VAR.
7053 { eval $1=; unset $1;}
7055 as_unset
=as_fn_unset
7056 # as_fn_append VAR VALUE
7057 # ----------------------
7058 # Append the text in VALUE to the end of the definition contained in VAR. Take
7059 # advantage of any shell optimizations that allow amortized linear growth over
7060 # repeated appends, instead of the typical quadratic growth present in naive
7062 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7063 eval 'as_fn_append ()
7074 # as_fn_arith ARG...
7075 # ------------------
7076 # Perform arithmetic evaluation on the ARGs, and store the result in the
7077 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7078 # must be portable across $(()) and expr.
7079 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7080 eval 'as_fn_arith ()
7087 as_val
=`expr "$@" || test $? -eq 1`
7092 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7093 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7099 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7100 as_basename
=basename
7105 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7111 as_me
=`$as_basename -- "$0" ||
7112 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7113 X"$0" : 'X\(//\)$' \| \
7114 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7116 sed '/^.*\/\([^/][^/]*\)\/*$/{
7130 # Avoid depending upon Character Ranges.
7131 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7132 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7133 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7134 as_cr_digits
='0123456789'
7135 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7137 ECHO_C
= ECHO_N
= ECHO_T
=
7138 case `echo -n x` in #(((((
7140 case `echo 'xy\c'` in
7141 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7143 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7150 rm -f conf$$ conf$$.exe conf$$.
file
7151 if test -d conf$$.dir
; then
7152 rm -f conf$$.dir
/conf$$.
file
7155 mkdir conf$$.dir
2>/dev
/null
7157 if (echo >conf$$.
file) 2>/dev
/null
; then
7158 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7160 # ... but there are two gotchas:
7161 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7162 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7163 # In both cases, we have to default to `cp -pR'.
7164 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7166 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7174 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7175 rmdir conf$$.dir
2>/dev
/null
7180 # Create "$as_dir" as a directory, including parents if necessary.
7185 -*) as_dir
=.
/$as_dir;;
7187 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7191 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7192 *) as_qdir
=$as_dir;;
7194 as_dirs
="'$as_qdir' $as_dirs"
7195 as_dir
=`$as_dirname -- "$as_dir" ||
7196 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7197 X"$as_dir" : 'X\(//\)[^/]' \| \
7198 X"$as_dir" : 'X\(//\)$' \| \
7199 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7200 $as_echo X"$as_dir" |
7201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7218 test -d "$as_dir" && break
7220 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7221 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7225 if mkdir
-p .
2>/dev
/null
; then
7226 as_mkdir_p
='mkdir -p "$as_dir"'
7228 test -d .
/-p && rmdir .
/-p
7233 # as_fn_executable_p FILE
7234 # -----------------------
7235 # Test if FILE is an executable regular file.
7236 as_fn_executable_p
()
7238 test -f "$1" && test -x "$1"
7239 } # as_fn_executable_p
7241 as_executable_p
=as_fn_executable_p
7243 # Sed expression to map a string onto a valid CPP name.
7244 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7246 # Sed expression to map a string onto a valid variable name.
7247 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7251 ## ----------------------------------- ##
7252 ## Main body of $CONFIG_STATUS script. ##
7253 ## ----------------------------------- ##
7255 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7258 # Save the log message, to keep $0 and so on meaningful, and to
7259 # report actual input values of CONFIG_FILES etc. instead of their
7260 # values after options handling.
7262 This file was extended by GNU C Library $as_me (see version.h), which was
7263 generated by GNU Autoconf 2.69. Invocation command line was
7265 CONFIG_FILES = $CONFIG_FILES
7266 CONFIG_HEADERS = $CONFIG_HEADERS
7267 CONFIG_LINKS = $CONFIG_LINKS
7268 CONFIG_COMMANDS = $CONFIG_COMMANDS
7271 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7276 case $ac_config_files in *"
7277 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7280 case $ac_config_headers in *"
7281 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7286 # Files that config.status was made for.
7287 config_files="$ac_config_files"
7288 config_headers="$ac_config_headers"
7289 config_commands="$ac_config_commands"
7293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7295 \`$as_me' instantiates files and other configuration actions
7296 from templates according to the current configuration. Unless the files
7297 and actions are specified as TAGs, all are instantiated by default.
7299 Usage: $0 [OPTION]... [TAG]...
7301 -h, --help print this help, then exit
7302 -V, --version print version number and configuration settings, then exit
7303 --config print configuration, then exit
7304 -q, --quiet, --silent
7305 do not print progress messages
7306 -d, --debug don't remove temporary files
7307 --recheck update $as_me by reconfiguring in the same conditions
7308 --file=FILE[:TEMPLATE]
7309 instantiate the configuration file FILE
7310 --header=FILE[:TEMPLATE]
7311 instantiate the configuration header FILE
7313 Configuration files:
7316 Configuration headers:
7319 Configuration commands:
7322 Report bugs to <https://sourceware.org/bugzilla/>.
7323 GNU C Library home page: <https://www.gnu.org/software/glibc/>.
7324 General help using GNU software: <http://www.gnu.org/gethelp/>."
7327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7328 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7330 GNU C Library config.status (see version.h)
7331 configured by $0, generated by GNU Autoconf 2.69,
7332 with options \\"\$ac_cs_config\\"
7334 Copyright (C) 2012 Free Software Foundation, Inc.
7335 This config.status script is free software; the Free Software Foundation
7336 gives unlimited permission to copy, distribute and modify it."
7341 test -n "\$AWK" || AWK=awk
7344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7345 # The default lists apply if the user does not specify any file.
7351 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7352 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7356 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7368 # Handling of the options.
7369 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7371 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7372 $as_echo "$ac_cs_version"; exit ;;
7373 --config |
--confi |
--conf |
--con |
--co |
--c )
7374 $as_echo "$ac_cs_config"; exit ;;
7375 --debug |
--debu |
--deb |
--de |
--d |
-d )
7377 --file |
--fil |
--fi |
--f )
7380 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7381 '') as_fn_error $?
"missing file argument" ;;
7383 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7384 ac_need_defaults
=false
;;
7385 --header |
--heade |
--head |
--hea )
7388 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7390 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7391 ac_need_defaults
=false
;;
7393 # Conflict between --help and --header
7394 as_fn_error $?
"ambiguous option: \`$1'
7395 Try \`$0 --help' for more information.";;
7396 --help |
--hel |
-h )
7397 $as_echo "$ac_cs_usage"; exit ;;
7398 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7399 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7403 -*) as_fn_error $?
"unrecognized option: \`$1'
7404 Try \`$0 --help' for more information." ;;
7406 *) as_fn_append ac_config_targets
" $1"
7407 ac_need_defaults
=false
;;
7413 ac_configure_extra_args
=
7415 if $ac_cs_silent; then
7417 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7422 if \$ac_cs_recheck; then
7423 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7425 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7426 CONFIG_SHELL='$SHELL'
7432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7436 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7437 ## Running $as_me. ##
7443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7447 config_vars='$config_vars'
7451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7453 # Handling of arguments.
7454 for ac_config_target
in $ac_config_targets
7456 case $ac_config_target in
7457 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7458 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
7459 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7460 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
7462 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7467 # If the user did not use the arguments to specify the items to instantiate,
7468 # then the envvar interface is used. Set only those that are not.
7469 # We use the long form for the default assignment because of an extremely
7470 # bizarre bug on SunOS 4.1.3.
7471 if $ac_need_defaults; then
7472 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7473 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7474 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7477 # Have a temporary directory for convenience. Make it in the build tree
7478 # simply because there is no reason against having it here, and in addition,
7479 # creating and moving files from /tmp can sometimes cause problems.
7480 # Hook for its removal unless debugging.
7481 # Note that there is a small window in which the directory will not be cleaned:
7482 # after its creation but before its name has been assigned to `$tmp'.
7486 trap 'exit_status=$?
7488 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7490 trap 'as_fn_exit 1' 1 2 13 15
7492 # Create a (secure) tmp directory for tmp files.
7495 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7499 tmp
=.
/conf$$
-$RANDOM
7500 (umask 077 && mkdir
"$tmp")
7501 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7504 # Set up the scripts for CONFIG_FILES section.
7505 # No need to generate them if there are no CONFIG_FILES.
7506 # This happens for instance with `./config.status config.h'.
7507 if test -n "$CONFIG_FILES"; then
7510 ac_cr
=`echo X | tr X '\015'`
7511 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7512 # But we know of no other shell where ac_cr would be empty at this
7513 # point, so we can use a bashism as a fallback.
7514 if test "x$ac_cr" = x
; then
7515 eval ac_cr
=\$
\'\\r
\'
7517 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7518 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7524 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7529 echo "cat >conf$$subs.awk <<_ACEOF" &&
7530 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7533 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7534 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7536 for ac_last_try in false false false false false :; do
7537 . ./conf$$subs.sh ||
7538 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7540 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7541 if test $ac_delim_n = $ac_delim_num; then
7543 elif $ac_last_try; then
7544 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7546 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7552 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7556 s/^/S["/; s
/!.
*/"]=/
7566 s/\(.\{148\}\)..*/\1/
7568 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7573 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7580 s/\(.\{148\}\)..*/\1/
7582 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7586 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7591 ' <conf$$subs.awk | sed '
7596 ' >>$CONFIG_STATUS || ac_write_fail=1
7597 rm -f conf$$subs.awk
7598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7600 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7601 for (key in S) S_is_set[key] = 1
7607 nfields = split(line, field, "@
")
7609 len = length(field[1])
7610 for (i = 2; i < nfields; i++) {
7612 keylen = length(key)
7613 if (S_is_set[key]) {
7615 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7616 len += length(value) + length(field[++i])
7627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7628 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7629 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7632 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7633 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7636 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7637 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7638 # trailing colons and then remove the whole line if VPATH becomes empty
7639 # (actually we leave an empty line to preserve line numbers).
7640 if test "x
$srcdir" = x.; then
7641 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7660 fi # test -n "$CONFIG_FILES"
7662 # Set up the scripts for CONFIG_HEADERS section.
7663 # No need to generate them if there are no CONFIG_HEADERS.
7664 # This happens for instance with `./config.status Makefile'.
7665 if test -n "$CONFIG_HEADERS"; then
7666 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7670 # Transform confdefs.h into an awk script `defines.awk', embedded as
7671 # here-document in config.status, that substitutes the proper values into
7672 # config.h.in to produce config.h.
7674 # Create a delimiter string that does not exist in confdefs.h, to ease
7675 # handling of long lines.
7677 for ac_last_try in false false :; do
7678 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7679 if test -z "$ac_tt"; then
7681 elif $ac_last_try; then
7682 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7684 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7688 # For the awk script, D is an array of macro values keyed by name,
7689 # likewise P contains macro parameters if any. Preserve backslash
7690 # newline sequences.
7692 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7694 s/.\{148\}/&'"$ac_delim"'/g
7697 s/^[ ]*#[ ]*define[ ][ ]*/ /
7704 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7706 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7710 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7711 D["\
1"]=" \
3\\\\\\n
"\\/p
7713 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7718 s/.\{148\}/&'"$ac_delim"'/g
7723 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7726 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7728 ' <confdefs.h | sed '
7729 s/'"$ac_delim"'/"\\\
7730 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7733 for (key in D) D_is_set[key] = 1
7736 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7738 split(line, arg, " ")
7739 if (arg[1] == "#") {
7743 defundef
= substr
(arg
[1], 2)
7746 split(mac1
, mac2
, "(") #)
7748 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7749 if (D_is_set
[macro
]) {
7750 # Preserve the white space surrounding the "#".
7751 print prefix
"define", macro P
[macro
] D
[macro
]
7754 # Replace #undef with comments. This is necessary, for example,
7755 # in the case of _POSIX_SOURCE, which is predefined and required
7756 # on some systems where configure will not decide to define it.
7757 if (defundef
== "undef") {
7758 print
"/*", prefix defundef
, macro
, "*/"
7766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7767 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7768 fi # test -n "$CONFIG_HEADERS"
7771 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7776 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7778 case $ac_mode$ac_tag in
7780 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7781 :[FH
]-) ac_tag
=-:-;;
7782 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7799 -) ac_f
="$ac_tmp/stdin";;
7800 *) # Look for the file first in the build tree, then in the source tree
7801 # (if the path is not absolute). The absolute path cannot be DOS-style,
7802 # because $ac_f cannot contain `:'.
7806 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7808 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7810 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7811 as_fn_append ac_file_inputs
" '$ac_f'"
7814 # Let's still pretend it is `configure' which instantiates (i.e., don't
7815 # use $as_me), people would be surprised to read:
7816 # /* config.h. Generated by config.status. */
7817 configure_input
='Generated from '`
7818 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7820 if test x
"$ac_file" != x-
; then
7821 configure_input
="$ac_file. $configure_input"
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7823 $as_echo "$as_me: creating $ac_file" >&6;}
7825 # Neutralize special characters interpreted by sed in replacement strings.
7826 case $configure_input in #(
7827 *\
&* |
*\|
* |
*\\* )
7828 ac_sed_conf_input
=`$as_echo "$configure_input" |
7829 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7830 *) ac_sed_conf_input
=$configure_input;;
7834 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7835 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7840 ac_dir
=`$as_dirname -- "$ac_file" ||
7841 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7842 X"$ac_file" : 'X\(//\)[^/]' \| \
7843 X"$ac_file" : 'X\(//\)$' \| \
7844 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7845 $as_echo X"$ac_file" |
7846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7863 as_dir
="$ac_dir"; as_fn_mkdir_p
7867 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7869 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7870 # A ".." for each directory in $ac_dir_suffix.
7871 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7872 case $ac_top_builddir_sub in
7873 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7874 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7877 ac_abs_top_builddir
=$ac_pwd
7878 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7879 # for backward compatibility:
7880 ac_top_builddir
=$ac_top_build_prefix
7883 .
) # We are building in place.
7885 ac_top_srcdir
=$ac_top_builddir_sub
7886 ac_abs_top_srcdir
=$ac_pwd ;;
7887 [\\/]* | ?
:[\\/]* ) # Absolute name.
7888 ac_srcdir
=$srcdir$ac_dir_suffix;
7889 ac_top_srcdir
=$srcdir
7890 ac_abs_top_srcdir
=$srcdir ;;
7892 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7893 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7894 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7896 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7906 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7907 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7912 # If the template does not know about datarootdir, expand it.
7913 # FIXME: This hack should be removed a few years after 2.60.
7914 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7925 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7926 *datarootdir
*) ac_datarootdir_seen
=yes;;
7927 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7929 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7932 ac_datarootdir_hack='
7933 s&@datadir@&$datadir&g
7934 s&@docdir@&$docdir&g
7935 s&@infodir@&$infodir&g
7936 s&@localedir@&$localedir&g
7937 s&@mandir@&$mandir&g
7938 s&\\\${datarootdir}&$datarootdir&g' ;;
7942 # Neutralize VPATH when `$srcdir' = `.'.
7943 # Shell code in configure.ac might set extrasub.
7944 # FIXME: do we really want to maintain this feature?
7945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7946 ac_sed_extra="$ac_vpsub
7949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7951 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7952 s|@configure_input@|
$ac_sed_conf_input|
;t t
7953 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7954 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7955 s
&@srcdir@
&$ac_srcdir&;t t
7956 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7957 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7958 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7959 s
&@builddir@
&$ac_builddir&;t t
7960 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7961 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7962 s
&@INSTALL@
&$ac_INSTALL&;t t
7963 $ac_datarootdir_hack
7965 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7966 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7968 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7969 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7970 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7971 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7973 which seems to be undefined. Please make sure it is defined" >&5
7974 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7975 which seems to be undefined. Please make sure it is defined" >&2;}
7977 rm -f "$ac_tmp/stdin"
7979 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7980 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7982 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7988 if test x"$ac_file" != x-; then
7990 $as_echo "/* $configure_input */" \
7991 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7992 } >"$ac_tmp/config.h" \
7993 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7994 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7996 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7999 mv "$ac_tmp/config.h" "$ac_file" \
8000 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8003 $as_echo "/* $configure_input */" \
8004 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8005 || as_fn_error $? "could not create -" "$LINENO" 5
8009 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8010 $as_echo "$as_me: executing $ac_file commands" >&6;}
8015 case $ac_file$ac_mode in
8017 case $CONFIG_FILES in *config.make*)
8018 echo "$config_vars" >> config.make;;
8020 test -d bits || mkdir bits ;;
8028 ac_clean_files=$ac_clean_files_save
8030 test $ac_write_fail = 0 ||
8031 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8034 # configure is writing to config.log, and then calls config.status.
8035 # config.status does its own redirection, appending to config.log.
8036 # Unfortunately, on DOS this fails, as config.log is still kept open
8037 # by configure, so config.status won't be able to
write to it
; its
8038 # output is simply discarded. So we exec the FD to /dev/null,
8039 # effectively closing config.log, so it can be properly (re)opened and
8040 # appended to by config.status. When coming back to configure, we
8041 # need to make the FD available again.
8042 if test "$no_create" != yes; then
8044 ac_config_status_args
=
8045 test "$silent" = yes &&
8046 ac_config_status_args
="$ac_config_status_args --quiet"
8048 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8050 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8051 # would make configure fail if this is the last instruction.
8052 $ac_cs_success || as_fn_exit
1
8056 # CONFIG_SUBDIRS section.
8058 if test "$no_recursion" != yes; then
8060 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8061 # so they do not pile up.
8062 ac_sub_configure_args
=
8064 eval "set x $ac_configure_args"
8068 if test -n "$ac_prev"; then
8073 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8074 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8075 ac_prev
=cache_file
;;
8076 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8077 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8080 --config-cache |
-C)
8082 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8084 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8086 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8088 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8090 --disable-option-checking)
8094 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8096 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
8100 # Always prepend --prefix to ensure using the same prefix
8101 # in subdir configurations.
8102 ac_arg
="--prefix=$prefix"
8104 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8106 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8109 if test "$silent" = yes; then
8110 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8113 # Always prepend --disable-option-checking to silence warnings, since
8114 # different subdirs can have different --enable and --with options.
8115 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
8118 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8120 # Do not complain, so a configure script can configure whichever
8121 # parts of a large source tree are present.
8122 test -d "$srcdir/$ac_dir" ||
continue
8124 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8126 $as_echo "$ac_msg" >&6
8127 as_dir
="$ac_dir"; as_fn_mkdir_p
8131 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8133 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8134 # A ".." for each directory in $ac_dir_suffix.
8135 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8136 case $ac_top_builddir_sub in
8137 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8138 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8141 ac_abs_top_builddir
=$ac_pwd
8142 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8143 # for backward compatibility:
8144 ac_top_builddir
=$ac_top_build_prefix
8147 .
) # We are building in place.
8149 ac_top_srcdir
=$ac_top_builddir_sub
8150 ac_abs_top_srcdir
=$ac_pwd ;;
8151 [\\/]* | ?
:[\\/]* ) # Absolute name.
8152 ac_srcdir
=$srcdir$ac_dir_suffix;
8153 ac_top_srcdir
=$srcdir
8154 ac_abs_top_srcdir
=$srcdir ;;
8156 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8157 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8158 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8160 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8165 # Check for guested configure; otherwise get Cygnus style configure.
8166 if test -f "$ac_srcdir/configure.gnu"; then
8167 ac_sub_configure
=$ac_srcdir/configure.gnu
8168 elif test -f "$ac_srcdir/configure"; then
8169 ac_sub_configure
=$ac_srcdir/configure
8170 elif test -f "$ac_srcdir/configure.in"; then
8171 # This should be Cygnus configure.
8172 ac_sub_configure
=$ac_aux_dir/configure
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8175 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8179 # The recursion is here.
8180 if test -n "$ac_sub_configure"; then
8181 # Make the cache file name correct relative to the subdirectory.
8183 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8185 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8188 { $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
8189 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8190 # The eval makes quoting arguments work.
8191 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8192 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8193 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8199 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8201 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}