2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU C Library (see version.h).
5 # Report bugs to <http://sourceware.org/bugzilla/>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: http://sourceware.org/bugzilla/ about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='GNU C Library'
582 PACKAGE_TARNAME
='glibc'
583 PACKAGE_VERSION
='(see version.h)'
584 PACKAGE_STRING
='GNU C Library (see version.h)'
585 PACKAGE_BUGREPORT
='http://sourceware.org/bugzilla/'
586 PACKAGE_URL
='http://www.gnu.org/software/glibc/'
588 ac_unique_file
="include/features.h"
589 enable_option_checking
=no
590 ac_includes_default
='/* none */'
591 ac_subst_vars
='LTLIBOBJS
604 libc_cv_forced_unwind
606 libc_cv_localstatedir
613 libc_cv_gcc_unwind_find_fde
622 libc_cv_cc_loop_to_function
623 libc_cv_cc_submachine
629 libc_cv_output_format
636 libc_cv_cc_with_libunwind
641 libc_cv_gcc_static_libgcc
675 hardcoded_path_in_tests
732 program_transform_name
745 enable_option_checking
759 enable_hardcoded_path_in_tests
760 enable_stackguard_randomization
767 enable_maintainer_mode
779 ac_precious_vars
='build_alias
794 # Initialize some variables set by options.
796 ac_init_version
=false
797 ac_unrecognized_opts
=
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name
=s
,x
,x
,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir
='${exec_prefix}/bin'
823 sbindir
='${exec_prefix}/sbin'
824 libexecdir
='${exec_prefix}/libexec'
825 datarootdir
='${prefix}/share'
826 datadir
='${datarootdir}'
827 sysconfdir
='${prefix}/etc'
828 sharedstatedir
='${prefix}/com'
829 localstatedir
='${prefix}/var'
830 includedir
='${prefix}/include'
831 oldincludedir
='/usr/include'
832 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir
='${datarootdir}/info'
838 libdir
='${exec_prefix}/lib'
839 localedir
='${datarootdir}/locale'
840 mandir
='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\
$ac_option
854 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
859 # Accept the important Cygnus configure options, so we can diagnose typos.
861 case $ac_dashdash$ac_option in
865 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
867 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
870 -build |
--build |
--buil |
--bui |
--bu)
871 ac_prev
=build_alias
;;
872 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
873 build_alias
=$ac_optarg ;;
875 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
876 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
877 ac_prev
=cache_file
;;
878 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
879 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
880 cache_file
=$ac_optarg ;;
883 cache_file
=config.cache
;;
885 -datadir |
--datadir |
--datadi |
--datad)
887 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
888 datadir
=$ac_optarg ;;
890 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
891 |
--dataroo |
--dataro |
--datar)
892 ac_prev
=datarootdir
;;
893 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
894 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
895 datarootdir
=$ac_optarg ;;
897 -disable-* |
--disable-*)
898 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
901 as_fn_error $?
"invalid feature name: $ac_useropt"
902 ac_useropt_orig
=$ac_useropt
903 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
908 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909 ac_unrecognized_sep
=', ';;
911 eval enable_
$ac_useropt=no
;;
913 -docdir |
--docdir |
--docdi |
--doc |
--do)
915 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
918 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
920 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
923 -enable-* |
--enable-*)
924 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
927 as_fn_error $?
"invalid feature name: $ac_useropt"
928 ac_useropt_orig
=$ac_useropt
929 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930 case $ac_user_opts in
934 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
935 ac_unrecognized_sep
=', ';;
937 eval enable_
$ac_useropt=\
$ac_optarg ;;
939 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
940 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
941 |
--exec |
--exe |
--ex)
942 ac_prev
=exec_prefix
;;
943 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
944 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
945 |
--exec=* |
--exe=* |
--ex=*)
946 exec_prefix
=$ac_optarg ;;
948 -gas |
--gas |
--ga |
--g)
949 # Obsolete; use --with-gas.
952 -help |
--help |
--hel |
--he |
-h)
954 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
955 ac_init_help
=recursive
;;
956 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
957 ac_init_help
=short
;;
959 -host |
--host |
--hos |
--ho)
960 ac_prev
=host_alias
;;
961 -host=* |
--host=* |
--hos=* |
--ho=*)
962 host_alias
=$ac_optarg ;;
964 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
966 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
968 htmldir
=$ac_optarg ;;
970 -includedir |
--includedir |
--includedi |
--included |
--include \
971 |
--includ |
--inclu |
--incl |
--inc)
972 ac_prev
=includedir
;;
973 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
974 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
975 includedir
=$ac_optarg ;;
977 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
979 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
980 infodir
=$ac_optarg ;;
982 -libdir |
--libdir |
--libdi |
--libd)
984 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
987 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
988 |
--libexe |
--libex |
--libe)
989 ac_prev
=libexecdir
;;
990 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
991 |
--libexe=* |
--libex=* |
--libe=*)
992 libexecdir
=$ac_optarg ;;
994 -localedir |
--localedir |
--localedi |
--localed |
--locale)
996 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
997 localedir
=$ac_optarg ;;
999 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1000 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1001 ac_prev
=localstatedir
;;
1002 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1003 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1004 localstatedir
=$ac_optarg ;;
1006 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1008 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1009 mandir
=$ac_optarg ;;
1011 -nfp |
--nfp |
--nf)
1012 # Obsolete; use --without-fp.
1015 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1016 |
--no-cr |
--no-c |
-n)
1019 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1020 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1023 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1024 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1025 |
--oldin |
--oldi |
--old |
--ol |
--o)
1026 ac_prev
=oldincludedir
;;
1027 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1028 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1029 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1030 oldincludedir
=$ac_optarg ;;
1032 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1034 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1035 prefix
=$ac_optarg ;;
1037 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1038 |
--program-pre |
--program-pr |
--program-p)
1039 ac_prev
=program_prefix
;;
1040 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1041 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1042 program_prefix
=$ac_optarg ;;
1044 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1045 |
--program-suf |
--program-su |
--program-s)
1046 ac_prev
=program_suffix
;;
1047 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1048 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1049 program_suffix
=$ac_optarg ;;
1051 -program-transform-name |
--program-transform-name \
1052 |
--program-transform-nam |
--program-transform-na \
1053 |
--program-transform-n |
--program-transform- \
1054 |
--program-transform |
--program-transfor \
1055 |
--program-transfo |
--program-transf \
1056 |
--program-trans |
--program-tran \
1057 |
--progr-tra |
--program-tr |
--program-t)
1058 ac_prev
=program_transform_name
;;
1059 -program-transform-name=* |
--program-transform-name=* \
1060 |
--program-transform-nam=* |
--program-transform-na=* \
1061 |
--program-transform-n=* |
--program-transform-=* \
1062 |
--program-transform=* |
--program-transfor=* \
1063 |
--program-transfo=* |
--program-transf=* \
1064 |
--program-trans=* |
--program-tran=* \
1065 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1066 program_transform_name
=$ac_optarg ;;
1068 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1070 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1071 pdfdir
=$ac_optarg ;;
1073 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1075 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1078 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1079 |
-silent |
--silent |
--silen |
--sile |
--sil)
1082 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1084 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1086 sbindir
=$ac_optarg ;;
1088 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1089 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1090 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1092 ac_prev
=sharedstatedir
;;
1093 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1094 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1095 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1097 sharedstatedir
=$ac_optarg ;;
1099 -site |
--site |
--sit)
1101 -site=* |
--site=* |
--sit=*)
1104 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1106 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1107 srcdir
=$ac_optarg ;;
1109 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1110 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1111 ac_prev
=sysconfdir
;;
1112 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1113 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1114 sysconfdir
=$ac_optarg ;;
1116 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1117 ac_prev
=target_alias
;;
1118 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1119 target_alias
=$ac_optarg ;;
1121 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1124 -version |
--version |
--versio |
--versi |
--vers |
-V)
1125 ac_init_version
=: ;;
1128 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1131 as_fn_error $?
"invalid package name: $ac_useropt"
1132 ac_useropt_orig
=$ac_useropt
1133 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1138 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1139 ac_unrecognized_sep
=', ';;
1141 eval with_
$ac_useropt=\
$ac_optarg ;;
1143 -without-* |
--without-*)
1144 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1147 as_fn_error $?
"invalid package name: $ac_useropt"
1148 ac_useropt_orig
=$ac_useropt
1149 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1154 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1155 ac_unrecognized_sep
=', ';;
1157 eval with_
$ac_useropt=no
;;
1160 # Obsolete; use --with-x.
1163 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1164 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1165 ac_prev
=x_includes
;;
1166 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1167 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1168 x_includes
=$ac_optarg ;;
1170 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1171 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1172 ac_prev
=x_libraries
;;
1173 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1174 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1175 x_libraries
=$ac_optarg ;;
1177 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1178 Try \`$0 --help' for more information"
1182 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1183 # Reject names that are not valid shell variable names.
1184 case $ac_envvar in #(
1185 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1186 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1188 eval $ac_envvar=\
$ac_optarg
1189 export $ac_envvar ;;
1192 # FIXME: should be removed in autoconf 3.0.
1193 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1196 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1202 if test -n "$ac_prev"; then
1203 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1204 as_fn_error $?
"missing argument to $ac_option"
1207 if test -n "$ac_unrecognized_opts"; then
1208 case $enable_option_checking in
1210 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1211 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1215 # Check all directory arguments for consistency.
1216 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217 datadir sysconfdir sharedstatedir localstatedir includedir \
1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219 libdir localedir mandir
1221 eval ac_val
=\$
$ac_var
1222 # Remove trailing slashes.
1225 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1226 eval $ac_var=\
$ac_val;;
1228 # Be sure to have absolute directory names.
1230 [\\/$
]* | ?
:[\\/]* ) continue;;
1231 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1233 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1236 # There might be people who depend on the old broken behavior: `$host'
1237 # used to hold the argument of --host etc.
1238 # FIXME: To remove some day.
1241 target
=$target_alias
1243 # FIXME: To remove some day.
1244 if test "x$host_alias" != x
; then
1245 if test "x$build_alias" = x
; then
1246 cross_compiling
=maybe
1247 elif test "x$build_alias" != "x$host_alias"; then
1253 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1255 test "$silent" = yes && exec 6>/dev
/null
1258 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1259 ac_ls_di
=`ls -di .` &&
1260 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1261 as_fn_error $?
"working directory cannot be determined"
1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263 as_fn_error $?
"pwd does not report name of working directory"
1266 # Find the source files, if location was not specified.
1267 if test -z "$srcdir"; then
1268 ac_srcdir_defaulted
=yes
1269 # Try the directory containing this script, then the parent directory.
1270 ac_confdir
=`$as_dirname -- "$as_myself" ||
1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_myself" : 'X\(//\)[^/]' \| \
1273 X"$as_myself" : 'X\(//\)$' \| \
1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275 $as_echo X"$as_myself" |
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1298 ac_srcdir_defaulted
=no
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1301 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1302 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1304 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var
in $ac_precious_vars; do
1319 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1321 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking ...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/glibc]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1390 --build=BUILD configure
for building on BUILD
[guessed
]
1391 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1402 --disable-option-checking ignore unrecognized
--enable/--with options
1403 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1404 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1405 --disable-sanity-checks really
do not use threads
(should not be used except
1406 in special situations
) [default
=yes]
1407 --enable-shared build shared library
[default
=yes if GNU ld
]
1408 --enable-profile build profiled library
[default
=no
]
1409 --enable-hardcoded-path-in-tests
1410 hardcode newly built glibc path
in tests
1412 --enable-stackguard-randomization
1413 initialize __stack_chk_guard canary with a random
1414 number
at program start
1415 --enable-lock-elision=yes
/no
1416 Enable lock elision
for pthread mutexes by default
1417 --enable-add-ons[=DIRS...
]
1418 configure and build add-ons
in DIR1
,DIR2
,... search
1419 for add-ons
if no parameter given
1420 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1421 --enable-bind-now disable lazy relocations
in DSOs
1422 --enable-static-nss build static NSS modules
[default
=no
]
1423 --disable-force-install don
't force installation of files from this package,
1424 even if they are older than the installed files
1425 --enable-maintainer-mode
1426 enable make rules and dependencies not useful (and
1427 sometimes confusing) to the casual installer
1428 --enable-kernel=VERSION compile for compatibility with kernel not older than
1430 --enable-all-warnings enable all useful warnings gcc can issue
1431 --enable-multi-arch enable single DSO with optimizations for multiple
1433 --enable-nss-crypt enable libcrypt to use nss
1434 --enable-obsolete-rpc build and install the obsolete RPC code for
1436 --enable-systemtap enable systemtap static probe points [default=no]
1437 --disable-build-nscd disable building and installing the nscd daemon
1438 --disable-nscd library functions will not contact the nscd daemon
1439 --enable-pt_chown Enable building and installing pt_chown
1442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1443 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1444 --with-pkgversion=PKG Use PKG in the version string in place of "GNU libc"
1445 --with-bugurl=URL Direct users to URL to report a bug
1446 --with-gd=DIR find libgd include dir and library with prefix DIR
1447 --with-gd-include=DIR find libgd include files in DIR
1448 --with-gd-lib=DIR find libgd library files in DIR
1449 --with-fp if using floating-point hardware [default=yes]
1450 --with-binutils=PATH specify location of binutils (as and ld)
1451 --with-selinux if building with SELinux support
1452 --with-headers=PATH location of system headers to use (for example
1453 /usr/src/linux/include) [default=compiler default]
1454 --with-default-link do not use explicit linker scripts
1455 --with-cpu=CPU select code for CPU variant
1457 Some influential environment variables:
1458 CC C compiler command
1459 CFLAGS C compiler flags
1460 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1461 nonstandard directory <lib dir>
1462 LIBS libraries to pass to the linker, e.g. -l<library>
1463 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1464 you have headers in a nonstandard directory <include dir>
1466 CXX C++ compiler command
1467 CXXFLAGS C++ compiler flags
1469 Use these variables to override the choices made by `configure' or to
help
1470 it to
find libraries and programs with nonstandard names
/locations.
1472 Report bugs to
<http
://sourceware.org
/bugzilla
/>.
1473 GNU C Library home page
: <http
://www.gnu.org
/software
/glibc
/>.
1474 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1479 if test "$ac_init_help" = "recursive"; then
1480 # If there are subdirs, report their specific --help.
1481 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1482 test -d "$ac_dir" ||
1483 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1488 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1490 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1491 # A ".." for each directory in $ac_dir_suffix.
1492 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1493 case $ac_top_builddir_sub in
1494 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1495 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1498 ac_abs_top_builddir
=$ac_pwd
1499 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1500 # for backward compatibility:
1501 ac_top_builddir
=$ac_top_build_prefix
1504 .
) # We are building in place.
1506 ac_top_srcdir
=$ac_top_builddir_sub
1507 ac_abs_top_srcdir
=$ac_pwd ;;
1508 [\\/]* | ?
:[\\/]* ) # Absolute name.
1509 ac_srcdir
=$srcdir$ac_dir_suffix;
1510 ac_top_srcdir
=$srcdir
1511 ac_abs_top_srcdir
=$srcdir ;;
1513 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1514 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1515 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1517 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1519 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1520 # Check for guested configure.
1521 if test -f "$ac_srcdir/configure.gnu"; then
1523 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1524 elif test -f "$ac_srcdir/configure"; then
1526 $SHELL "$ac_srcdir/configure" --help=recursive
1528 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1530 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1534 test -n "$ac_init_help" && exit $ac_status
1535 if $ac_init_version; then
1537 GNU C Library configure
(see version.h
)
1538 generated by GNU Autoconf
2.69
1540 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1541 This configure
script is free software
; the Free Software Foundation
1542 gives unlimited permission to copy
, distribute and modify it.
1547 ## ------------------------ ##
1548 ## Autoconf initialization. ##
1549 ## ------------------------ ##
1551 # ac_fn_c_try_compile LINENO
1552 # --------------------------
1553 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1554 ac_fn_c_try_compile
()
1556 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1557 rm -f conftest.
$ac_objext
1558 if { { ac_try
="$ac_compile"
1560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1561 *) ac_try_echo=$ac_try;;
1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_compile") 2>conftest.err
1567 if test -s conftest.err; then
1568 grep -v '^ *+' conftest.err >conftest.er1
1569 cat conftest.er1 >&5
1570 mv -f conftest.er1 conftest.err
1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573 test $ac_status = 0; } && {
1574 test -z "$ac_c_werror_flag" ||
1575 test ! -s conftest.err
1576 } && test -s conftest.$ac_objext; then :
1579 $as_echo "$as_me: failed program was:" >&5
1580 sed 's/^/| /' conftest.$ac_ext >&5
1584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1585 as_fn_set_status $ac_retval
1587 } # ac_fn_c_try_compile
1589 # ac_fn_cxx_try_compile LINENO
1590 # ----------------------------
1591 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1592 ac_fn_cxx_try_compile ()
1594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595 rm -f conftest.$ac_objext
1596 if { { ac_try="$ac_compile"
1598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1599 *) ac_try_echo
=$ac_try;;
1601 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602 $as_echo "$ac_try_echo"; } >&5
1603 (eval "$ac_compile") 2>conftest.err
1605 if test -s conftest.err
; then
1606 grep -v '^ *+' conftest.err
>conftest.er1
1607 cat conftest.er1
>&5
1608 mv -f conftest.er1 conftest.err
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611 test $ac_status = 0; } && {
1612 test -z "$ac_cxx_werror_flag" ||
1613 test ! -s conftest.err
1614 } && test -s conftest.
$ac_objext; then :
1617 $as_echo "$as_me: failed program was:" >&5
1618 sed 's/^/| /' conftest.
$ac_ext >&5
1622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 as_fn_set_status
$ac_retval
1625 } # ac_fn_cxx_try_compile
1627 # ac_fn_c_try_link LINENO
1628 # -----------------------
1629 # Try to link conftest.$ac_ext, and return whether this succeeded.
1632 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1633 rm -f conftest.
$ac_objext conftest
$ac_exeext
1634 if { { ac_try
="$ac_link"
1636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_link") 2>conftest.err
1643 if test -s conftest.err; then
1644 grep -v '^ *+' conftest.err >conftest.er1
1645 cat conftest.er1 >&5
1646 mv -f conftest.er1 conftest.err
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } && {
1650 test -z "$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1652 } && test -s conftest$ac_exeext && {
1653 test "$cross_compiling" = yes ||
1654 test -x conftest$ac_exeext
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1663 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1664 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1665 # interfere with the next link command; also delete a directory that is
1666 # left behind by Apple's compiler. We do this before executing the actions.
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status $ac_retval
1671 } # ac_fn_c_try_link
1673 # ac_fn_c_try_run LINENO
1674 # ----------------------
1675 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1676 # that executables *can* be run.
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 if { { ac_try="$ac_link"
1682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1683 *) ac_try_echo
=$ac_try;;
1685 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_link") 2>&5
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1691 { { case "(($ac_try" in
1692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_try") 2>&5
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; }; }; then :
1703 $as_echo "$as_me: program exited with status $ac_status" >&5
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1707 ac_retval=$ac_status
1709 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1715 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1716 # --------------------------------------------
1717 # Tries to find the compile-time value of EXPR in a program that includes
1718 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1720 ac_fn_c_compute_int ()
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 if test "$cross_compiling" = yes; then
1724 # Depending upon the size, compute the lo and hi bounds.
1725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1726 /* end confdefs.h. */
1731 static int test_array [1 - 2 * !(($2) >= 0)];
1733 return test_array [0];
1739 if ac_fn_c_try_compile "$LINENO"; then :
1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743 /* end confdefs.h. */
1748 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1750 return test_array [0];
1756 if ac_fn_c_try_compile "$LINENO"; then :
1757 ac_hi=$ac_mid; break
1759 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1760 if test $ac_lo -le $ac_mid; then
1764 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1770 /* end confdefs.h. */
1775 static int test_array [1 - 2 * !(($2) < 0)];
1777 return test_array [0];
1783 if ac_fn_c_try_compile "$LINENO"; then :
1786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787 /* end confdefs.h. */
1792 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1794 return test_array [0];
1800 if ac_fn_c_try_compile "$LINENO"; then :
1801 ac_lo=$ac_mid; break
1803 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1804 if test $ac_mid -le $ac_hi; then
1808 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1818 # Binary search between lo and hi bounds.
1819 while test "x$ac_lo" != "x$ac_hi"; do
1820 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1827 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1829 return test_array [0];
1835 if ac_fn_c_try_compile "$LINENO"; then :
1838 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1843 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h. */
1850 static long int longval () { return $2; }
1851 static unsigned long int ulongval () { return $2; }
1858 FILE *f = fopen ("conftest.val", "w");
1863 long int i = longval ();
1866 fprintf (f, "%ld", i);
1870 unsigned long int i = ulongval ();
1873 fprintf (f, "%lu", i);
1875 /* Do not output a trailing newline, as this causes \r\n confusion
1876 on some platforms. */
1877 return ferror (f) || fclose (f) != 0;
1883 if ac_fn_c_try_run "$LINENO"; then :
1884 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1889 conftest.$ac_objext conftest.beam conftest.$ac_ext
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 as_fn_set_status $ac_retval
1896 } # ac_fn_c_compute_int
1897 cat >config.log <<_ACEOF
1898 This file contains any messages produced by compilers while
1899 running configure, to aid debugging if configure makes a mistake.
1901 It was created by GNU C Library $as_me (see version.h), which was
1902 generated by GNU Autoconf 2.69. Invocation command line was
1914 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1915 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1916 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1917 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1918 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1920 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1921 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1923 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1924 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1925 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1926 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1927 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1928 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1929 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir=.
1938 $as_echo "PATH: $as_dir"
1954 # Keep a trace of the command line.
1955 # Strip out --no-create and --no-recursion so they do not pile up.
1956 # Strip out --silent because we don't want to record it for future runs.
1957 # Also quote any args containing shell meta-characters.
1958 # Make two passes to allow for proper duplicate-argument suppression.
1962 ac_must_keep_next=false
1968 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1970 | -silent | --silent | --silen | --sile | --sil)
1973 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1976 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1978 as_fn_append ac_configure_args1 " '$ac_arg'"
1979 if test $ac_must_keep_next = true; then
1980 ac_must_keep_next=false # Got value, back to normal.
1983 *=* | --config-cache | -C | -disable-* | --disable-* \
1984 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1985 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1986 | -with-* | --with-* | -without-* | --without-* | --x)
1987 case "$ac_configure_args0 " in
1988 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1991 -* ) ac_must_keep_next=true ;;
1994 as_fn_append ac_configure_args " '$ac_arg'"
1999 { ac_configure_args0=; unset ac_configure_args0;}
2000 { ac_configure_args1=; unset ac_configure_args1;}
2002 # When interrupted or exit'd, cleanup temporary files, and complete
2003 # config.log. We remove comments because anyway the quotes in there
2004 # would cause problems or look ugly.
2005 # WARNING: Use '\'' to represent an apostrophe within the trap.
2006 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2007 trap 'exit_status=$?
2008 # Save into config.log some information that might help in debugging.
2012 $as_echo "## ---------------- ##
2013 ## Cache variables. ##
2014 ## ---------------- ##"
2016 # The following way of writing the cache mishandles newlines in values,
2018 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2019 eval ac_val=\$$ac_var
2023 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2024 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2027 _ | IFS | as_nl) ;; #(
2028 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2029 *) { eval $ac_var=; unset $ac_var;} ;;
2034 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2035 *${as_nl}ac_space=\ *)
2037 "s/'\''/'\''\\\\'\'''\''/g;
2038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2048 $as_echo "## ----------------- ##
2049 ## Output variables. ##
2050 ## ----------------- ##"
2052 for ac_var in $ac_subst_vars
2054 eval ac_val=\$$ac_var
2056 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2058 $as_echo "$ac_var='\''$ac_val'\''"
2062 if test -n "$ac_subst_files"; then
2063 $as_echo "## ------------------- ##
2064 ## File substitutions. ##
2065 ## ------------------- ##"
2067 for ac_var in $ac_subst_files
2069 eval ac_val=\$$ac_var
2071 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2073 $as_echo "$ac_var='\''$ac_val'\''"
2078 if test -s confdefs.h; then
2079 $as_echo "## ----------- ##
2086 test "$ac_signal" != 0 &&
2087 $as_echo "$as_me: caught signal $ac_signal"
2088 $as_echo "$as_me: exit $exit_status"
2090 rm -f core *.core core.conftest.* &&
2091 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2094 for ac_signal in 1 2 13 15; do
2095 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2099 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2100 rm -f -r conftest* confdefs.h
2102 $as_echo "/* confdefs.h */" > confdefs.h
2104 # Predefined preprocessor variables.
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_NAME "$PACKAGE_NAME"
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE_STRING "$PACKAGE_STRING"
2122 cat >>confdefs.h <<_ACEOF
2123 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2126 cat >>confdefs.h <<_ACEOF
2127 #define PACKAGE_URL "$PACKAGE_URL"
2131 # Let the site file select an alternate cache file if it wants to.
2132 # Prefer an explicitly selected file to automatically selected ones.
2135 if test -n "$CONFIG_SITE"; then
2136 # We do not want a PATH search for config.site.
2137 case $CONFIG_SITE in #((
2138 -*) ac_site_file1=./$CONFIG_SITE;;
2139 */*) ac_site_file1=$CONFIG_SITE;;
2140 *) ac_site_file1=./$CONFIG_SITE;;
2142 elif test "x$prefix" != xNONE; then
2143 ac_site_file1=$prefix/share/config.site
2144 ac_site_file2=$prefix/etc/config.site
2146 ac_site_file1=$ac_default_prefix/share/config.site
2147 ac_site_file2=$ac_default_prefix/etc/config.site
2149 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2151 test "x$ac_site_file" = xNONE && continue
2152 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2154 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2155 sed 's/^/| /' "$ac_site_file" >&5
2157 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159 as_fn_error $? "failed to load site
script $ac_site_file
2160 See \
`config.log' for more details" "$LINENO" 5; }
2164 if test -r "$cache_file"; then
2165 # Some versions of bash will fail to source /dev/null (special files
2166 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2167 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2169 $as_echo "$as_me: loading cache $cache_file" >&6;}
2171 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2172 *) . "./$cache_file";;
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2177 $as_echo "$as_me: creating cache $cache_file" >&6;}
2181 # Check that the precious variables saved in the cache have kept the same
2183 ac_cache_corrupted=false
2184 for ac_var in $ac_precious_vars; do
2185 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2186 eval ac_new_set=\$ac_env_${ac_var}_set
2187 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2188 eval ac_new_val=\$ac_env_${ac_var}_value
2189 case $ac_old_set,$ac_new_set in
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2192 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2193 ac_cache_corrupted=: ;;
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2196 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2197 ac_cache_corrupted=: ;;
2200 if test "x$ac_old_val" != "x$ac_new_val"; then
2201 # differences in whitespace do not lead to failure.
2202 ac_old_val_w=`echo x
$ac_old_val`
2203 ac_new_val_w=`echo x
$ac_new_val`
2204 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2206 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2207 ac_cache_corrupted=:
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2210 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2211 eval $ac_var=\$ac_old_val
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2214 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2216 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2219 # Pass precious variables to config.status.
2220 if test "$ac_new_set" = set; then
2222 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2223 *) ac_arg=$ac_var=$ac_new_val ;;
2225 case " $ac_configure_args " in
2226 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2227 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2231 if $ac_cache_corrupted; then
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2235 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2236 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2238 ## -------------------- ##
2239 ## Main body of script. ##
2240 ## -------------------- ##
2243 ac_cpp='$CPP $CPPFLAGS'
2244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2250 ac_config_headers="$ac_config_headers config.h"
2253 for ac_dir in scripts "$srcdir"/scripts; do
2254 if test -f "$ac_dir/install-sh"; then
2256 ac_install_sh="$ac_aux_dir/install-sh -c"
2258 elif test -f "$ac_dir/install.sh"; then
2260 ac_install_sh="$ac_aux_dir/install.sh -c"
2262 elif test -f "$ac_dir/shtool"; then
2264 ac_install_sh="$ac_aux_dir/shtool install -c"
2268 if test -z "$ac_aux_dir"; then
2269 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
2272 # These three variables are undocumented and unsupported,
2273 # and are intended to be withdrawn in a future Autoconf release.
2274 # They can cause serious problems if a builder's source tree is in a directory
2275 # whose full name contains unusual characters.
2276 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2277 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2278 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2284 # Check whether --with-pkgversion was given.
2285 if test "${with_pkgversion+set}" = set; then :
2286 withval=$with_pkgversion; case "$withval" in
2287 yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
2289 *) PKGVERSION="($withval) " ;;
2292 PKGVERSION="(GNU libc) "
2296 PKGVERSION_TEXI=`echo "$PKGVERSION" |
sed 's/@/@@/g'`
2302 # Check whether --with-bugurl was given.
2303 if test "${with_bugurl+set}" = set; then :
2304 withval=$with_bugurl; case "$withval" in
2305 yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
2308 *) BUGURL="$withval"
2312 BUGURL="http://www.gnu.org/software/libc/bugs.html"
2322 REPORT_BUGS_TO="<$BUGURL>"
2323 REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" |
sed 's/@/@@/g'`}
2330 cat >>confdefs.h <<_ACEOF
2331 #define PKGVERSION "$PKGVERSION"
2335 cat >>confdefs.h <<_ACEOF
2336 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2340 # Glibc should not depend on any header files
2343 # We require GCC, and by default use its preprocessor. Override AC_PROG_CPP
2344 # here to work around the Autoconf issue discussed in
2345 # <http://sourceware.org/ml/libc-alpha/2013-01/msg00721.html>.
2348 # We require GCC. Override _AC_PROG_CC_C89 here to work around the Autoconf
2349 # issue discussed in
2350 # <http://sourceware.org/ml/libc-alpha/2013-01/msg00757.html>.
2358 # Make sure we can run config.sub.
2359 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2360 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2363 $as_echo_n "checking build system type... " >&6; }
2364 if ${ac_cv_build+:} false; then :
2365 $as_echo_n "(cached) " >&6
2367 ac_build_alias=$build_alias
2368 test "x$ac_build_alias" = x &&
2369 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2370 test "x$ac_build_alias" = x &&
2371 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2372 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2373 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2377 $as_echo "$ac_cv_build" >&6; }
2378 case $ac_cv_build in
2380 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2383 ac_save_IFS=$IFS; IFS='-'
2389 # Remember, the first character of IFS is used to create $*,
2390 # except with old shells:
2393 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2397 $as_echo_n "checking host system type... " >&6; }
2398 if ${ac_cv_host+:} false; then :
2399 $as_echo_n "(cached) " >&6
2401 if test "x$host_alias" = x; then
2402 ac_cv_host=$ac_cv_build
2404 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2405 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2410 $as_echo "$ac_cv_host" >&6; }
2413 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2416 ac_save_IFS=$IFS; IFS='-'
2422 # Remember, the first character of IFS is used to create $*,
2423 # except with old shells:
2426 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2431 ac_cpp='$CPP $CPPFLAGS'
2432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2435 if test -n "$ac_tool_prefix"; then
2436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2437 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2439 $as_echo_n "checking for $ac_word... " >&6; }
2440 if ${ac_cv_prog_CC+:} false; then :
2441 $as_echo_n "(cached) " >&6
2443 if test -n "$CC"; then
2444 ac_cv_prog_CC="$CC" # Let the user override the test.
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir=.
2451 for ac_exec_ext in '' $ac_executable_extensions; do
2452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2453 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 if test -n "$CC"; then
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2466 $as_echo "$CC" >&6; }
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2469 $as_echo "no" >&6; }
2474 if test -z "$ac_cv_prog_CC"; then
2476 # Extract the first word of "gcc", so it can be a program name with args.
2477 set dummy gcc; ac_word=$2
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2479 $as_echo_n "checking for $ac_word... " >&6; }
2480 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2481 $as_echo_n "(cached) " >&6
2483 if test -n "$ac_ct_CC"; then
2484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir=.
2491 for ac_exec_ext in '' $ac_executable_extensions; do
2492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2493 ac_cv_prog_ac_ct_CC="gcc"
2494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2504 if test -n "$ac_ct_CC"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2506 $as_echo "$ac_ct_CC" >&6; }
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2509 $as_echo "no" >&6; }
2512 if test "x$ac_ct_CC" = x; then
2515 case $cross_compiling:$ac_tool_warned in
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2519 ac_tool_warned=yes ;;
2527 if test -z "$CC"; then
2528 if test -n "$ac_tool_prefix"; then
2529 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2530 set dummy ${ac_tool_prefix}cc; ac_word=$2
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2532 $as_echo_n "checking for $ac_word... " >&6; }
2533 if ${ac_cv_prog_CC+:} false; then :
2534 $as_echo_n "(cached) " >&6
2536 if test -n "$CC"; then
2537 ac_cv_prog_CC="$CC" # Let the user override the test.
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546 ac_cv_prog_CC="${ac_tool_prefix}cc"
2547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 if test -n "$CC"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2559 $as_echo "$CC" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2562 $as_echo "no" >&6; }
2568 if test -z "$CC"; then
2569 # Extract the first word of "cc", so it can be a program name with args.
2570 set dummy cc; ac_word=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if ${ac_cv_prog_CC+:} false; then :
2574 $as_echo_n "(cached) " >&6
2576 if test -n "$CC"; then
2577 ac_cv_prog_CC="$CC" # Let the user override the test.
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 test -z "$as_dir" && as_dir=.
2585 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2588 ac_prog_rejected=yes
2592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 if test $ac_prog_rejected = yes; then
2600 # We found a bogon in the path, so make sure we never use it.
2601 set dummy $ac_cv_prog_CC
2603 if test $# != 0; then
2604 # We chose a different compiler from the bogus one.
2605 # However, it has the same basename, so the bogon will be chosen
2606 # first if we set CC to just the basename; use the full file name.
2608 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2614 if test -n "$CC"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2616 $as_echo "$CC" >&6; }
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2619 $as_echo "no" >&6; }
2624 if test -z "$CC"; then
2625 if test -n "$ac_tool_prefix"; then
2626 for ac_prog in cl.exe
2628 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2629 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2631 $as_echo_n "checking for $ac_word... " >&6; }
2632 if ${ac_cv_prog_CC+:} false; then :
2633 $as_echo_n "(cached) " >&6
2635 if test -n "$CC"; then
2636 ac_cv_prog_CC="$CC" # Let the user override the test.
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642 test -z "$as_dir" && as_dir=.
2643 for ac_exec_ext in '' $ac_executable_extensions; do
2644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2645 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2656 if test -n "$CC"; then
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2658 $as_echo "$CC" >&6; }
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 $as_echo "no" >&6; }
2665 test -n "$CC" && break
2668 if test -z "$CC"; then
2670 for ac_prog in cl.exe
2672 # Extract the first word of "$ac_prog", so it can be a program name with args.
2673 set dummy $ac_prog; ac_word=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2677 $as_echo_n "(cached) " >&6
2679 if test -n "$ac_ct_CC"; then
2680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir=.
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689 ac_cv_prog_ac_ct_CC="$ac_prog"
2690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2700 if test -n "$ac_ct_CC"; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2702 $as_echo "$ac_ct_CC" >&6; }
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705 $as_echo "no" >&6; }
2709 test -n "$ac_ct_CC" && break
2712 if test "x$ac_ct_CC" = x; then
2715 case $cross_compiling:$ac_tool_warned in
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2719 ac_tool_warned=yes ;;
2728 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2730 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2731 See \
`config.log' for more details" "$LINENO" 5; }
2733 # Provide some information about the compiler.
2734 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2737 for ac_option in --version -v -V -qversion; do
2738 { { ac_try="$ac_compiler $ac_option >&5"
2740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2741 *) ac_try_echo
=$ac_try;;
2743 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744 $as_echo "$ac_try_echo"; } >&5
2745 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2747 if test -s conftest.err
; then
2749 ... rest of stderr output deleted ...
2750 10q' conftest.err
>conftest.er1
2751 cat conftest.er1
>&5
2753 rm -f conftest.er1 conftest.err
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2760 $as_echo_n "checking for suffix of object files... " >&6; }
2761 if ${ac_cv_objext+:} false
; then :
2762 $as_echo_n "(cached) " >&6
2764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2775 rm -f conftest.o conftest.obj
2776 if { { ac_try
="$ac_compile"
2778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2779 *) ac_try_echo=$ac_try;;
2781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2782 $as_echo "$ac_try_echo"; } >&5
2783 (eval "$ac_compile") 2>&5
2785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2786 test $ac_status = 0; }; then :
2787 for ac_file in conftest.o conftest.obj conftest.*; do
2788 test -f "$ac_file" || continue;
2790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2791 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2796 $as_echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2801 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2802 See \
`config.log' for more details" "$LINENO" 5; }
2804 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2807 $as_echo "$ac_cv_objext" >&6; }
2808 OBJEXT=$ac_cv_objext
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2811 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2812 if ${ac_cv_c_compiler_gnu+:} false; then :
2813 $as_echo_n "(cached) " >&6
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2829 if ac_fn_c_try_compile "$LINENO"; then :
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2839 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2840 if test $ac_compiler_gnu = yes; then
2845 ac_test_CFLAGS=${CFLAGS+set}
2846 ac_save_CFLAGS=$CFLAGS
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2848 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2849 if ${ac_cv_prog_cc_g+:} false; then :
2850 $as_echo_n "(cached) " >&6
2852 ac_save_c_werror_flag=$ac_c_werror_flag
2853 ac_c_werror_flag=yes
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2867 if ac_fn_c_try_compile "$LINENO"; then :
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2882 if ac_fn_c_try_compile "$LINENO"; then :
2885 ac_c_werror_flag=$ac_save_c_werror_flag
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2898 if ac_fn_c_try_compile "$LINENO"; then :
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 ac_c_werror_flag=$ac_save_c_werror_flag
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2909 $as_echo "$ac_cv_prog_cc_g" >&6; }
2910 if test "$ac_test_CFLAGS" = set; then
2911 CFLAGS=$ac_save_CFLAGS
2912 elif test $ac_cv_prog_cc_g = yes; then
2913 if test "$GCC" = yes; then
2919 if test "$GCC" = yes; then
2927 ac_cpp='$CPP $CPPFLAGS'
2928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2932 if test $host != $build; then
2933 for ac_prog in gcc cc
2935 # Extract the first word of "$ac_prog", so it can be a program name with args.
2936 set dummy $ac_prog; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_BUILD_CC+:} false; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$BUILD_CC"; then
2943 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir=.
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2952 ac_cv_prog_BUILD_CC="$ac_prog"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 BUILD_CC=$ac_cv_prog_BUILD_CC
2963 if test -n "$BUILD_CC"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
2965 $as_echo "$BUILD_CC" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2972 test -n "$BUILD_CC" && break
2977 # On Suns, sometimes $CPP names a directory.
2978 if test -n "$CPP" && test -d "$CPP"; then
2981 if test -z "$CPP"; then
2985 # We need the C++ compiler only for testing.
2987 ac_cpp='$CXXCPP $CPPFLAGS'
2988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2991 if test -z "$CXX"; then
2992 if test -n "$CCC"; then
2995 if test -n "$ac_tool_prefix"; then
2996 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2998 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2999 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if ${ac_cv_prog_CXX+:} false; then :
3003 $as_echo_n "(cached) " >&6
3005 if test -n "$CXX"; then
3006 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir=.
3013 for ac_exec_ext in '' $ac_executable_extensions; do
3014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3015 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 if test -n "$CXX"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3028 $as_echo "$CXX" >&6; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3035 test -n "$CXX" && break
3038 if test -z "$CXX"; then
3040 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3042 # Extract the first word of "$ac_prog", so it can be a program name with args.
3043 set dummy $ac_prog; ac_word=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3047 $as_echo_n "(cached) " >&6
3049 if test -n "$ac_ct_CXX"; then
3050 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir=.
3057 for ac_exec_ext in '' $ac_executable_extensions; do
3058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059 ac_cv_prog_ac_ct_CXX="$ac_prog"
3060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3070 if test -n "$ac_ct_CXX"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3072 $as_echo "$ac_ct_CXX" >&6; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3079 test -n "$ac_ct_CXX" && break
3082 if test "x$ac_ct_CXX" = x; then
3085 case $cross_compiling:$ac_tool_warned in
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3089 ac_tool_warned=yes ;;
3097 # Provide some information about the compiler.
3098 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3101 for ac_option in --version -v -V -qversion; do
3102 { { ac_try="$ac_compiler $ac_option >&5"
3104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3105 *) ac_try_echo
=$ac_try;;
3107 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3108 $as_echo "$ac_try_echo"; } >&5
3109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3111 if test -s conftest.err
; then
3113 ... rest of stderr output deleted ...
3114 10q' conftest.err
>conftest.er1
3115 cat conftest.er1
>&5
3117 rm -f conftest.er1 conftest.err
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3123 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3124 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3125 $as_echo_n "(cached) " >&6
3127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3141 if ac_fn_cxx_try_compile
"$LINENO"; then :
3146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3147 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3151 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3152 if test $ac_compiler_gnu = yes; then
3157 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3158 ac_save_CXXFLAGS
=$CXXFLAGS
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3160 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3161 if ${ac_cv_prog_cxx_g+:} false
; then :
3162 $as_echo_n "(cached) " >&6
3164 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3165 ac_cxx_werror_flag
=yes
3168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3179 if ac_fn_cxx_try_compile
"$LINENO"; then :
3180 ac_cv_prog_cxx_g
=yes
3183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3194 if ac_fn_cxx_try_compile
"$LINENO"; then :
3197 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3210 if ac_fn_cxx_try_compile
"$LINENO"; then :
3211 ac_cv_prog_cxx_g
=yes
3213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3218 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3221 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3222 if test "$ac_test_CXXFLAGS" = set; then
3223 CXXFLAGS
=$ac_save_CXXFLAGS
3224 elif test $ac_cv_prog_cxx_g = yes; then
3225 if test "$GXX" = yes; then
3231 if test "$GXX" = yes; then
3238 ac_cpp
='$CPP $CPPFLAGS'
3239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3243 if test -n "$ac_tool_prefix"; then
3244 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3245 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3247 $as_echo_n "checking for $ac_word... " >&6; }
3248 if ${ac_cv_prog_READELF+:} false
; then :
3249 $as_echo_n "(cached) " >&6
3251 if test -n "$READELF"; then
3252 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
3254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3258 test -z "$as_dir" && as_dir
=.
3259 for ac_exec_ext
in '' $ac_executable_extensions; do
3260 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3261 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
3262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271 READELF
=$ac_cv_prog_READELF
3272 if test -n "$READELF"; then
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
3274 $as_echo "$READELF" >&6; }
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277 $as_echo "no" >&6; }
3282 if test -z "$ac_cv_prog_READELF"; then
3283 ac_ct_READELF
=$READELF
3284 # Extract the first word of "readelf", so it can be a program name with args.
3285 set dummy readelf
; ac_word
=$2
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3287 $as_echo_n "checking for $ac_word... " >&6; }
3288 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
3289 $as_echo_n "(cached) " >&6
3291 if test -n "$ac_ct_READELF"; then
3292 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
3294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3298 test -z "$as_dir" && as_dir
=.
3299 for ac_exec_ext
in '' $ac_executable_extensions; do
3300 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3301 ac_cv_prog_ac_ct_READELF
="readelf"
3302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
3312 if test -n "$ac_ct_READELF"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
3314 $as_echo "$ac_ct_READELF" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3320 if test "x$ac_ct_READELF" = x
; then
3323 case $cross_compiling:$ac_tool_warned in
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3327 ac_tool_warned
=yes ;;
3329 READELF
=$ac_ct_READELF
3332 READELF
="$ac_cv_prog_READELF"
3336 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
3337 as_fn_error $?
"you must configure in a separate build directory" "$LINENO" 5
3340 # This will get text that should go into config.make.
3343 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3345 # Check whether --with-gd was given.
3346 if test "${with_gd+set}" = set; then :
3347 withval
=$with_gd; case "$with_gd" in
3349 *) libgd_include
="-I$withval/include"
3350 libgd_ldflags
="-L$withval/lib" ;;
3356 # Check whether --with-gd-include was given.
3357 if test "${with_gd_include+set}" = set; then :
3358 withval
=$with_gd_include; case "$with_gd_include" in
3360 *) libgd_include
="-I$withval" ;;
3366 # Check whether --with-gd-lib was given.
3367 if test "${with_gd_lib+set}" = set; then :
3368 withval
=$with_gd_lib; case "$with_gd_lib" in
3370 *) libgd_ldflags
="-L$withval" ;;
3376 if test -n "$libgd_include"; then
3377 config_vars
="$config_vars
3378 CFLAGS-memusagestat.c = $libgd_include"
3380 if test -n "$libgd_ldflags"; then
3381 config_vars
="$config_vars
3382 libgd-LDFLAGS = $libgd_ldflags"
3386 # Check whether --with-fp was given.
3387 if test "${with_fp+set}" = set; then :
3388 withval
=$with_fp; with_fp
=$withval
3395 # Check whether --with-binutils was given.
3396 if test "${with_binutils+set}" = set; then :
3397 withval
=$with_binutils; path_binutils
=$withval
3403 # Check whether --with-selinux was given.
3404 if test "${with_selinux+set}" = set; then :
3405 withval
=$with_selinux; with_selinux
=$withval
3412 # Check whether --with-headers was given.
3413 if test "${with_headers+set}" = set; then :
3414 withval
=$with_headers; sysheaders
=$withval
3423 # Check whether --with-default-link was given.
3424 if test "${with_default_link+set}" = set; then :
3425 withval
=$with_default_link; use_default_link
=$withval
3427 use_default_link
=default
3431 # Check whether --enable-sanity-checks was given.
3432 if test "${enable_sanity_checks+set}" = set; then :
3433 enableval
=$enable_sanity_checks; enable_sanity
=$enableval
3439 # Check whether --enable-shared was given.
3440 if test "${enable_shared+set}" = set; then :
3441 enableval
=$enable_shared; shared
=$enableval
3446 # Check whether --enable-profile was given.
3447 if test "${enable_profile+set}" = set; then :
3448 enableval
=$enable_profile; profile
=$enableval
3454 # Check whether --enable-hardcoded-path-in-tests was given.
3455 if test "${enable_hardcoded_path_in_tests+set}" = set; then :
3456 enableval
=$enable_hardcoded_path_in_tests; hardcoded_path_in_tests
=$enableval
3458 hardcoded_path_in_tests
=no
3463 # Check whether --enable-stackguard-randomization was given.
3464 if test "${enable_stackguard_randomization+set}" = set; then :
3465 enableval
=$enable_stackguard_randomization; enable_stackguard_randomize
=$enableval
3467 enable_stackguard_randomize
=no
3470 if test "$enable_stackguard_randomize" = yes; then
3471 $as_echo "#define ENABLE_STACKGUARD_RANDOMIZE 1" >>confdefs.h
3475 # Check whether --enable-lock-elision was given.
3476 if test "${enable_lock_elision+set}" = set; then :
3477 enableval
=$enable_lock_elision; enable_lock_elision
=$enableval
3479 enable_lock_elision
=no
3483 if test "$enable_lock_elision" = yes ; then
3484 $as_echo "#define ENABLE_LOCK_ELISION 1" >>confdefs.h
3488 # Check whether --enable-add-ons was given.
3489 if test "${enable_add_ons+set}" = set; then :
3490 enableval
=$enable_add_ons;
3496 # Check whether --enable-hidden-plt was given.
3497 if test "${enable_hidden_plt+set}" = set; then :
3498 enableval
=$enable_hidden_plt; hidden
=$enableval
3503 if test "x$hidden" = xno
; then
3504 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
3508 # Check whether --enable-bind-now was given.
3509 if test "${enable_bind_now+set}" = set; then :
3510 enableval
=$enable_bind_now; bindnow
=$enableval
3517 # Check whether --enable-static-nss was given.
3518 if test "${enable_static_nss+set}" = set; then :
3519 enableval
=$enable_static_nss; static_nss
=$enableval
3524 if test x
"$static_nss" = xyes ||
test x
"$shared" = xno
; then
3526 $as_echo "#define DO_STATIC_NSS 1" >>confdefs.h
3530 # Check whether --enable-force-install was given.
3531 if test "${enable_force_install+set}" = set; then :
3532 enableval
=$enable_force_install; force_install
=$enableval
3539 # Check whether --enable-maintainer-mode was given.
3540 if test "${enable_maintainer_mode+set}" = set; then :
3541 enableval
=$enable_maintainer_mode; maintainer
=$enableval
3547 # Check whether --enable-kernel was given.
3548 if test "${enable_kernel+set}" = set; then :
3549 enableval
=$enable_kernel; minimum_kernel
=$enableval
3552 if test "$minimum_kernel" = yes ||
test "$minimum_kernel" = no
; then
3553 # Better nothing than this.
3556 if test "$minimum_kernel" = current
; then
3557 minimum_kernel
=`uname -r 2>/dev/null` || minimum_kernel
=
3561 # Check whether --enable-all-warnings was given.
3562 if test "${enable_all_warnings+set}" = set; then :
3563 enableval
=$enable_all_warnings; all_warnings
=$enableval
3568 # Check whether --enable-multi-arch was given.
3569 if test "${enable_multi_arch+set}" = set; then :
3570 enableval
=$enable_multi_arch; multi_arch
=$enableval
3576 # Check whether --enable-nss-crypt was given.
3577 if test "${enable_nss_crypt+set}" = set; then :
3578 enableval
=$enable_nss_crypt; nss_crypt
=$enableval
3583 if test x
$nss_crypt = xyes
; then
3584 nss_includes
=-I$
(nss-config
--includedir 2>/dev
/null
)
3585 if test $?
-ne 0; then
3586 as_fn_error $?
"cannot find include directory with nss-config" "$LINENO" 5
3588 old_CFLAGS
="$CFLAGS"
3589 CFLAGS
="$CFLAGS $nss_includes"
3591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3595 #include <nsslowhash.h>
3596 void f (void) { NSSLOW_Init (); }
3605 if ac_fn_c_try_compile
"$LINENO"; then :
3606 libc_cv_nss_crypt
=yes
3609 cannot find NSS headers with lowlevel hash function interfaces" "$LINENO" 5
3611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3613 LIBS
="$LIBS -lfreebl3"
3614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3618 #include <nsslowhash.h>
3627 if ac_fn_c_try_link
"$LINENO"; then :
3628 libc_cv_nss_crypt
=yes
3631 cannot link program using lowlevel NSS hash functions" "$LINENO" 5
3633 rm -f core conftest.err conftest.
$ac_objext \
3634 conftest
$ac_exeext conftest.
$ac_ext
3635 CFLAGS
="$old_CFLAGS"
3638 libc_cv_nss_crypt
=no
3643 # Check whether --enable-obsolete-rpc was given.
3644 if test "${enable_obsolete_rpc+set}" = set; then :
3645 enableval
=$enable_obsolete_rpc; link_obsolete_rpc
=$enableval
3647 link_obsolete_rpc
=no
3652 if test "$link_obsolete_rpc" = yes; then
3653 $as_echo "#define LINK_OBSOLETE_RPC 1" >>confdefs.h
3657 # Check whether --enable-systemtap was given.
3658 if test "${enable_systemtap+set}" = set; then :
3659 enableval
=$enable_systemtap; systemtap
=$enableval
3664 if test "x$systemtap" != xno
; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemtap static probe support" >&5
3666 $as_echo_n "checking for systemtap static probe support... " >&6; }
3667 if ${libc_cv_sdt+:} false
; then :
3668 $as_echo_n "(cached) " >&6
3670 old_CFLAGS
="$CFLAGS"
3671 CFLAGS
="-std=gnu99 $CFLAGS"
3672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3674 #include <sys/sdt.h>
3675 void foo (int i, void *p)
3677 asm ("" STAP_PROBE_ASM (foo, bar, STAP_PROBE_ASM_TEMPLATE (2)) ""
3678 :: STAP_PROBE_ASM_OPERANDS (2, i, p));
3681 if ac_fn_c_try_compile
"$LINENO"; then :
3686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3687 CFLAGS
="$old_CFLAGS"
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_sdt" >&5
3690 $as_echo "$libc_cv_sdt" >&6; }
3691 if test $libc_cv_sdt = yes; then
3692 $as_echo "#define USE_STAP_PROBE 1" >>confdefs.h
3694 elif test "x$systemtap" != xauto
; then
3695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3697 as_fn_error $?
"systemtap support needs sys/sdt.h with asm support
3698 See \`config.log' for more details" "$LINENO" 5; }
3702 # Check whether --enable-build-nscd was given.
3703 if test "${enable_build_nscd+set}" = set; then :
3704 enableval
=$enable_build_nscd; build_nscd
=$enableval
3711 # Note the use of $use_nscd is near the bottom of the file.
3712 # Check whether --enable-nscd was given.
3713 if test "${enable_nscd+set}" = set; then :
3714 enableval
=$enable_nscd; use_nscd
=$enableval
3720 # Check whether --enable-pt_chown was given.
3721 if test "${enable_pt_chown+set}" = set; then :
3722 enableval
=$enable_pt_chown; build_pt_chown
=$enableval
3728 if test "$build_pt_chown" = yes; then
3729 $as_echo "#define HAVE_PT_CHOWN 1" >>confdefs.h
3733 # We keep the original values in `$config_*' and never modify them, so we
3734 # can write them unchanged into config.make. Everything else uses
3735 # $machine, $vendor, and $os, and changes them whenever convenient.
3736 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3738 # Don't allow vendor == "unknown"
3739 test "$config_vendor" = unknown
&& config_vendor
=
3740 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3742 # Some configurations imply other options.
3745 # The configure fragment of an add-on port can modify these to supplement
3746 # or override the table in the case statement below. No fragment should
3747 # ever change the config_* variables, however.
3748 machine
=$config_machine
3749 vendor
=$config_vendor
3755 # Check whether --with-cpu was given.
3756 if test "${with_cpu+set}" = set; then :
3757 withval
=$with_cpu; case "$withval" in
3758 yes|
'') as_fn_error $?
"--with-cpu requires an argument" "$LINENO" 5 ;;
3760 *) submachine
="$withval" ;;
3766 if frags
=`ls -d $srcdir/sysdeps/*/preconfigure 2> /dev/null`
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysdeps preconfigure fragments" >&5
3769 $as_echo_n "checking for sysdeps preconfigure fragments... " >&6; }
3770 for frag
in $frags; do
3771 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3772 echo $ECHO_N "$name $ECHO_C" >&6
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
3779 # An add-on can set this when it wants to disable the sanity check below.
3785 case "$enable_add_ons" in
3788 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
3789 sed 's@/[^/]*$@@' | sort | uniq`
3790 add_ons_automatic
=yes
3792 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
3793 add_ons_automatic
=no
;;
3799 if test x
"$add_ons" != x
; then
3800 for f
in $add_ons; do
3801 # Some sanity checks
3805 *** It seems that you're using an old \`crypt' add-on. crypt is now
3806 *** part of glibc and using the old add-on will not work with this
3807 *** release. Start again with fresh sources and without the old
3808 *** \`crypt' add-on." "$LINENO" 5
3812 *** It seems that you're using an old \`localedata' add-on. localedata
3813 *** is now part of glibc and using the old add-on will not work with
3814 *** this release. Start again with fresh sources and without the old
3815 *** \`localedata' add-on." "$LINENO" 5
3820 # Now source each add-on's configure fragment.
3821 # The fragments can use $srcdir/$libc_add_on to find themselves,
3822 # and test $add_ons_automatic to see if they were explicitly requested.
3823 # A fragment can clear (or even change) $libc_add_on to affect
3824 # whether it goes into the list to be actually used in the build.
3826 for libc_add_on
in $add_ons; do
3827 # Test whether such a directory really exists.
3828 # It can be absolute, or relative to $srcdir, or relative to the build dir.
3829 case "$libc_add_on" in
3831 libc_add_on_srcdir
=$libc_add_on
3834 test -d "$srcdir/$libc_add_on" ||
{
3835 if test -d "$libc_add_on"; then
3836 libc_add_on
="`pwd`/$libc_add_on"
3838 as_fn_error $?
"add-on directory \"$libc_add_on\" does not exist" "$LINENO" 5
3841 libc_add_on_srcdir
=$srcdir/$libc_add_on
3845 libc_add_on_frag
=$libc_add_on_srcdir/configure
3846 libc_add_on_canonical
=
3847 libc_add_on_config_subdirs
=
3848 if test -r "$libc_add_on_frag"; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: running configure fragment for add-on $libc_add_on" >&5
3850 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
3851 libc_add_on_canonical
=unknown
3852 libc_add_on_subdirs
=
3853 .
"$libc_add_on_frag"
3854 test -z "$libc_add_on" ||
{
3855 configured_add_ons
="$configured_add_ons $libc_add_on"
3856 if test "x$libc_add_on_canonical" = xunknown
; then
3857 as_fn_error $?
"fragment must set \$libc_add_on_canonical" "$LINENO" 5
3859 for d
in $libc_add_on_subdirs; do
3860 case "$libc_add_on" in
3861 /*) subdir_srcdir
="$libc_add_on" ;;
3862 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
3866 d
="${libc_add_on_canonical:-$libc_add_on}"
3872 subdir_srcdir
="$subdir_srcdir/$d"
3875 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
3876 add_on_subdirs
="$add_on_subdirs $d"
3877 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
3878 $d-srcdir = $subdir_srcdir"
3880 for d
in $libc_add_on_config_subdirs; do
3882 /*) as_fn_error $?
"fragment uses absolute path in \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
3884 if test ! -d "$libc_add_on_srcdir/$d"; then
3885 as_fn_error $?
"fragment wants to configure missing directory $d" "$LINENO" 5
3887 case "$libc_add_on" in
3888 /*) as_fn_error $?
"relative path required for add-on using \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
3890 subdirs
="$subdirs $libc_add_on/$d"
3894 if test -n "$libc_add_on"; then
3895 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking add-on $libc_add_on for preconfigure fragments" >&5
3898 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
3899 for frag
in $frags; do
3900 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3901 echo $ECHO_N "$name $ECHO_C" >&6
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
3907 use_add_ons
="$use_add_ons $libc_add_on"
3908 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
3909 test -z "$libc_add_on_canonical" ||
3910 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
3913 # Use echo to strip excess whitespace.
3914 add_ons
="`echo $use_add_ons`"
3921 ### I put this here to prevent those annoying emails from people who cannot
3922 ### read and try to compile glibc on unsupported platforms. --drepper
3924 ### By using the undocumented --enable-hacker-mode option for configure
3925 ### one can skip this test to make the configuration not fail for unsupported
3928 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
3929 case "$machine-$host_os" in
3933 echo "*** The GNU C library is currently not available for this platform."
3934 echo "*** So far nobody cared to port it and if there is no volunteer it"
3935 echo "*** might never happen. So, if you have interest to see glibc on"
3936 echo "*** this platform visit"
3937 echo "*** http://www.gnu.org/software/libc/porting.html"
3938 echo "*** and join the group of porters"
3944 # Set base_machine if not set by a preconfigure fragment.
3945 test -n "$base_machine" || base_machine
=$machine
3948 # For the multi-arch option we need support in the assembler & linker.
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler and linker STT_GNU_IFUNC support" >&5
3950 $as_echo_n "checking for assembler and linker STT_GNU_IFUNC support... " >&6; }
3951 if ${libc_cv_ld_gnu_indirect_function+:} false
; then :
3952 $as_echo_n "(cached) " >&6
3954 cat > conftest.S
<<EOF
3955 .type foo,%gnu_indirect_function
3968 libc_cv_ld_gnu_indirect_function
=no
3969 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
3970 -nostartfiles -nostdlib \
3971 -o conftest conftest.S
1>&5 2>&5; then
3972 # Do a link to see if the backend supports IFUNC relocs.
3973 $READELF -r conftest
1>&5
3974 LC_ALL
=C
$READELF -r conftest |
grep 'no relocations' >/dev
/null ||
{
3975 libc_cv_ld_gnu_indirect_function
=yes
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_gnu_indirect_function" >&5
3981 $as_echo "$libc_cv_ld_gnu_indirect_function" >&6; }
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .text pseudo-op must be used" >&5
3984 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
3985 if ${libc_cv_dot_text+:} false
; then :
3986 $as_echo_n "(cached) " >&6
3988 cat > conftest.s
<<EOF
3992 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
3993 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }; }; then
3998 libc_cv_dot_text
=.text
4003 if test -z "$libc_cv_dot_text"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4008 $as_echo "yes" >&6; }
4011 if test x
"$libc_cv_ld_gnu_indirect_function" != xyes
; then
4012 if test x
"$multi_arch" = xyes
; then
4013 as_fn_error $?
"--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
4019 if test x
"$multi_arch" != xno
; then
4020 multi_arch_d
=/multiarch
4023 # Compute the list of sysdep directories for this configuration.
4024 # This can take a while to compute.
4025 sysdep_dir
=$srcdir/sysdeps
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysdep dirs" >&5
4027 $as_echo_n "checking sysdep dirs... " >&6; }
4028 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4029 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4031 test "x$base_os" != x ||
case "$os" in
4033 base_os
=mach
/hurd
;;
4035 base_os
=unix
/sysv
;;
4038 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4041 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4045 o
=`echo $tail | sed 's/[0-9]*$//'`
4046 if test $o != $tail; then
4049 # For linux-gnu, try linux-gnu, then linux.
4050 o
=`echo $tail | sed 's/-.*$//'`
4051 if test $o != $tail; then
4055 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4058 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4064 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4066 tail=$machine${submachine:+/$submachine}
4067 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4069 # Prepend the machine's FPU directory unless --without-fp.
4070 if test "$with_fp" = yes; then
4075 # For each machine term, try it with and then without /multiarch.
4076 for try_fpu
in $maybe_fpu ''; do
4077 for try_multi
in $multi_arch_d ''; do
4078 mach
="$mach /$1$try_fpu$try_multi"
4085 # Find what sysdep directories exist.
4088 for b
in $base ''; do
4089 for m0
in $mach ''; do
4090 for v
in /$vendor ''; do
4091 test "$v" = / && continue
4092 for o
in /$ostry ''; do
4093 test "$o" = / && continue
4094 for m
in $mach ''; do
4095 for d
in $add_ons_pfx ''; do
4096 for a
in $add_ons_sfx ''; do
4097 try_suffix
="$m0$b$v$o$m"
4098 if test -n "$try_suffix"; then
4099 try_srcdir
="${srcdir}/"
4103 try
="${d}sysdeps$try_suffix$a"
4104 test -n "$enable_debug_configure" &&
4105 echo "$0 DEBUG: try $try" >&2
4106 if test -d "$try_srcdir$try"; then
4107 sysnames
="$sysnames $try"
4108 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4109 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4111 x
*/$submachine) submachine_used
=t
;;
4113 if test -n "$d"; then
4114 case "$sysnames_add_ons" in
4116 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4129 # If the assembler supports gnu_indirect_function symbol type and the
4130 # architecture supports multi-arch, we enable multi-arch by default.
4131 case $sysnames_add_ons$sysnames in
4135 test x
"$multi_arch" = xdefault
&& multi_arch
=no
4138 if test x
"$multi_arch" != xno
; then
4139 $as_echo "#define USE_MULTIARCH 1" >>confdefs.h
4144 if test -z "$os_used" && test "$os" != none
; then
4145 as_fn_error $?
"Operating system $os is not supported." "$LINENO" 5
4147 if test -z "$machine_used" && test "$machine" != none
; then
4148 as_fn_error $?
"The $machine is not supported." "$LINENO" 5
4150 if test -z "$submachine_used" && test -n "$submachine"; then
4151 as_fn_error $?
"The $submachine subspecies of $host_cpu is not supported." "$LINENO" 5
4155 # We have now validated the configuration.
4157 # Expand the list of system names into a full list of directories
4158 # from each element's parent name and Implies file (if present).
4161 while test $# -gt 0; do
4165 case " $names " in *" $name "*)
4166 # Already in the list.
4170 # Report each name as we discover it, so there is no long pause in output.
4171 echo $ECHO_N "$name $ECHO_C" >&6
4173 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4177 *) xsrcdir
=$srcdir/ ;;
4179 test -n "$enable_debug_configure" &&
4180 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4182 for implies_file
in Implies Implies-before Implies-after
; do
4183 implies_type
=`echo $implies_file | sed s/-/_/`
4184 eval ${implies_type}=
4185 if test -f $xsrcdir$name/$implies_file; then
4186 # Collect more names from the `Implies' file (removing comments).
4187 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/$implies_file`"
4188 for x
in $implied_candidate; do
4190 if test -d $xsrcdir$name_base/$x; then
4191 eval "${implies_type}=\"\$${implies_type} \$name_base/\$x\""
4194 for d
in $add_ons_pfx ''; do
4195 try
="${d}sysdeps/$x"
4198 *) try_srcdir
=$srcdir/ ;;
4200 test -n "$enable_debug_configure" &&
4201 echo "DEBUG: $name $implies_file $x try($d) {$try_srcdir}$try" >&2
4202 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4204 eval "${implies_type}=\"\$${implies_type} \$try\""
4206 case "$sysnames_add_ons" in
4208 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4212 if test $found = no
; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/$implies_file specifies nonexistent $x" >&5
4214 $as_echo "$as_me: WARNING: $name/$implies_file specifies nonexistent $x" >&2;}
4220 # Add NAME to the list of names.
4221 names
="$names $name"
4223 # Find the parent of NAME, using the empty string if it has none.
4224 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4226 test -n "$enable_debug_configure" &&
4227 echo "DEBUG: $name Implies='$Implies' rest='$*' parent='$parent' \
4228 Implies_before='$Implies_before' Implies_after='$Implies_after'" >&2
4230 # Add the names implied by NAME, and NAME's parent (if it has one), to
4231 # the list of names to be processed (the argument list). We prepend the
4232 # implied names to the list and append the parent. We want implied
4233 # directories to come before further directories inferred from the
4234 # configuration components; this ensures that for sysv4, unix/common
4235 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4237 sysnames
="`echo $Implies $* $Implies_before $parent $Implies_after`"
4238 test -n "$sysnames" && set $sysnames
4241 # Add the default directories.
4242 default_sysnames
="sysdeps/generic"
4243 sysnames
="$names $default_sysnames"
4245 # The other names were emitted during the scan.
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_sysnames" >&5
4247 $as_echo "$default_sysnames" >&6; }
4249 # Collect the list of add-ons that supply partial sysdeps trees.
4251 for add_on
in $add_ons; do
4254 *) xsrcdir
="$srcdir/" ;;
4257 test -d "$xsrcdir$add_on/sysdeps" ||
{
4258 case "$configured_add_ons " in
4261 as_fn_error $?
"add-on $add_on has no configure fragment or sysdeps tree" "$LINENO" 5
4267 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4268 case "$sysnames_add_ons" in
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4272 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4277 for d
in $sysnames; do
4279 $add_on/sysdeps
/*) ;;
4282 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4285 for ff
in $f/*.h
; do
4286 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4290 test -d "$f" ||
{ test -e "$f" && exit 88; }
4294 if test $?
-eq 88; then
4299 if test $found = no
; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4301 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4309 # Find a good install program. We prefer a C program (faster),
4310 # so one script is as good as another. But avoid the broken or
4311 # incompatible versions:
4312 # SysV /etc/install, /usr/sbin/install
4313 # SunOS /usr/etc/install
4314 # IRIX /sbin/install
4316 # AmigaOS /C/install, which installs bootblocks on floppy discs
4317 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4318 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4319 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4320 # OS/2's system install, which has a completely different semantic
4321 # ./install, which can be erroneously created by make from ./install.sh.
4322 # Reject install programs that cannot install multiple files.
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4324 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4325 if test -z "$INSTALL"; then
4326 if ${ac_cv_path_install+:} false
; then :
4327 $as_echo_n "(cached) " >&6
4329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4333 test -z "$as_dir" && as_dir
=.
4334 # Account for people who put trailing slashes in PATH elements.
4335 case $as_dir/ in #((
4336 .
/ | .
// |
/[cC
]/* | \
4337 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4338 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4341 # OSF1 and SCO ODT 3.0 have their own names for install.
4342 # Don't use installbsd from OSF since it installs stuff as root
4344 for ac_prog
in ginstall scoinst
install; do
4345 for ac_exec_ext
in '' $ac_executable_extensions; do
4346 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4347 if test $ac_prog = install &&
4348 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4349 # AIX install. It has an incompatible calling convention.
4351 elif test $ac_prog = install &&
4352 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4353 # program-specific install script used by HP pwplus--don't use.
4356 rm -rf conftest.one conftest.two conftest.dir
4357 echo one
> conftest.one
4358 echo two
> conftest.two
4360 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4361 test -s conftest.one
&& test -s conftest.two
&&
4362 test -s conftest.dir
/conftest.one
&&
4363 test -s conftest.dir
/conftest.two
4365 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4378 rm -rf conftest.one conftest.two conftest.dir
4381 if test "${ac_cv_path_install+set}" = set; then
4382 INSTALL
=$ac_cv_path_install
4384 # As a last resort, use the slow shell script. Don't cache a
4385 # value for INSTALL within a source directory, because that will
4386 # break other packages using the cache if that directory is
4387 # removed, or if the value is a relative name.
4388 INSTALL
=$ac_install_sh
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4392 $as_echo "$INSTALL" >&6; }
4394 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4395 # It thinks the first close brace ends the variable substitution.
4396 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4398 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4400 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4402 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4403 # The makefiles need to use a different form to find it in $srcdir.
4404 INSTALL
='\$(..)./scripts/install-sh -c'
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4407 $as_echo_n "checking whether ln -s works... " >&6; }
4409 if test "$LN_S" = "ln -s"; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4411 $as_echo "yes" >&6; }
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4414 $as_echo "no, using $LN_S" >&6; }
4418 # Was a --with-binutils option given?
4419 if test -n "$path_binutils"; then
4420 # Make absolute; ensure a single trailing slash.
4421 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4422 CC
="$CC -B$path_binutils"
4424 AS
=`$CC -print-prog-name=as`
4425 LD
=`$CC -print-prog-name=ld`
4426 AR
=`$CC -print-prog-name=ar`
4428 OBJDUMP
=`$CC -print-prog-name=objdump`
4430 OBJCOPY
=`$CC -print-prog-name=objcopy`
4433 # Determine whether we are using GNU binutils.
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AS is GNU as" >&5
4435 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4436 if ${libc_cv_prog_as_gnu+:} false
; then :
4437 $as_echo_n "(cached) " >&6
4439 # Most GNU programs take a -v and spit out some text including
4440 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4441 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4442 libc_cv_prog_as_gnu
=yes
4444 libc_cv_prog_as_gnu
=no
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_as_gnu" >&5
4449 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4451 gnu_as
=$libc_cv_prog_as_gnu
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD is GNU ld" >&5
4454 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4455 if ${libc_cv_prog_ld_gnu+:} false
; then :
4456 $as_echo_n "(cached) " >&6
4458 # Most GNU programs take a -v and spit out some text including
4459 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4460 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4461 libc_cv_prog_ld_gnu
=yes
4463 libc_cv_prog_ld_gnu
=no
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_ld_gnu" >&5
4468 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4469 gnu_ld
=$libc_cv_prog_ld_gnu
4472 # Accept binutils 2.22 or newer.
4475 # Extract the first word of "$ac_prog", so it can be a program name with args.
4476 set dummy
$ac_prog; ac_word
=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if ${ac_cv_prog_AS+:} false
; then :
4480 $as_echo_n "(cached) " >&6
4482 if test -n "$AS"; then
4483 ac_cv_prog_AS
="$AS" # Let the user override the test.
4485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4489 test -z "$as_dir" && as_dir
=.
4490 for ac_exec_ext
in '' $ac_executable_extensions; do
4491 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4492 ac_cv_prog_AS
="$ac_prog"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 if test -n "$AS"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4505 $as_echo "$AS" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4512 test -n "$AS" && break
4515 if test -z "$AS"; then
4518 # Found it, now check the version.
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AS" >&5
4520 $as_echo_n "checking version of $AS... " >&6; }
4521 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4522 case $ac_prog_version in
4523 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4524 2.1[0-9][0-9]*|
2.2[2-9]*|
2.
[3-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4525 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4526 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4530 $as_echo "$ac_prog_version" >&6; }
4532 if test $ac_verc_fail = yes; then
4533 AS
=: critic_missing
="$critic_missing as"
4538 # Extract the first word of "$ac_prog", so it can be a program name with args.
4539 set dummy
$ac_prog; ac_word
=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if ${ac_cv_prog_LD+:} false
; then :
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$LD"; then
4546 ac_cv_prog_LD
="$LD" # Let the user override the test.
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4555 ac_cv_prog_LD
="$ac_prog"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 if test -n "$LD"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4568 $as_echo "$LD" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4575 test -n "$LD" && break
4578 if test -z "$LD"; then
4581 # Found it, now check the version.
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4583 $as_echo_n "checking version of $LD... " >&6; }
4584 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4585 case $ac_prog_version in
4586 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4587 2.1[0-9][0-9]*|
2.2[2-9]*|
2.
[3-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4588 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4589 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4593 $as_echo "$ac_prog_version" >&6; }
4595 if test $ac_verc_fail = yes; then
4596 LD
=: critic_missing
="$critic_missing ld"
4600 # These programs are version sensitive.
4602 for ac_prog
in gnumake gmake
make
4604 # Extract the first word of "$ac_prog", so it can be a program name with args.
4605 set dummy
$ac_prog; ac_word
=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_MAKE+:} false
; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$MAKE"; then
4612 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir
=.
4619 for ac_exec_ext
in '' $ac_executable_extensions; do
4620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_MAKE
="$ac_prog"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 MAKE
=$ac_cv_prog_MAKE
4632 if test -n "$MAKE"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4634 $as_echo "$MAKE" >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4641 test -n "$MAKE" && break
4644 if test -z "$MAKE"; then
4647 # Found it, now check the version.
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
4649 $as_echo_n "checking version of $MAKE... " >&6; }
4650 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4651 case $ac_prog_version in
4652 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4653 3.79* |
3.
[89]* |
[4-9].
* |
[1-9][0-9]*)
4654 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4655 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4659 $as_echo "$ac_prog_version" >&6; }
4661 if test $ac_verc_fail = yes; then
4662 critic_missing
="$critic_missing make"
4666 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
4668 # Extract the first word of "$ac_prog", so it can be a program name with args.
4669 set dummy
$ac_prog; ac_word
=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_MSGFMT+:} false
; then :
4673 $as_echo_n "(cached) " >&6
4675 if test -n "$MSGFMT"; then
4676 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir
=.
4683 for ac_exec_ext
in '' $ac_executable_extensions; do
4684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4685 ac_cv_prog_MSGFMT
="$ac_prog"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 MSGFMT
=$ac_cv_prog_MSGFMT
4696 if test -n "$MSGFMT"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4698 $as_echo "$MSGFMT" >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4705 test -n "$MSGFMT" && break
4708 if test -z "$MSGFMT"; then
4711 # Found it, now check the version.
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
4713 $as_echo_n "checking version of $MSGFMT... " >&6; }
4714 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4715 case $ac_prog_version in
4716 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4717 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
4718 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4719 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4723 $as_echo "$ac_prog_version" >&6; }
4725 if test $ac_verc_fail = yes; then
4726 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
4729 for ac_prog
in makeinfo
4731 # Extract the first word of "$ac_prog", so it can be a program name with args.
4732 set dummy
$ac_prog; ac_word
=$2
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4734 $as_echo_n "checking for $ac_word... " >&6; }
4735 if ${ac_cv_prog_MAKEINFO+:} false
; then :
4736 $as_echo_n "(cached) " >&6
4738 if test -n "$MAKEINFO"; then
4739 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4745 test -z "$as_dir" && as_dir
=.
4746 for ac_exec_ext
in '' $ac_executable_extensions; do
4747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4748 ac_cv_prog_MAKEINFO
="$ac_prog"
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 MAKEINFO
=$ac_cv_prog_MAKEINFO
4759 if test -n "$MAKEINFO"; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4761 $as_echo "$MAKEINFO" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764 $as_echo "no" >&6; }
4768 test -n "$MAKEINFO" && break
4771 if test -z "$MAKEINFO"; then
4774 # Found it, now check the version.
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
4776 $as_echo_n "checking version of $MAKEINFO... " >&6; }
4777 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4778 case $ac_prog_version in
4779 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4780 4.
[5-9]*|
4.
[1-9][0-9]*|
[5-9].
*)
4781 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4782 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4786 $as_echo "$ac_prog_version" >&6; }
4788 if test $ac_verc_fail = yes; then
4789 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
4794 # Extract the first word of "$ac_prog", so it can be a program name with args.
4795 set dummy
$ac_prog; ac_word
=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if ${ac_cv_prog_SED+:} false
; then :
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$SED"; then
4802 ac_cv_prog_SED
="$SED" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4811 ac_cv_prog_SED
="$ac_prog"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4822 if test -n "$SED"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4824 $as_echo "$SED" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4831 test -n "$SED" && break
4834 if test -z "$SED"; then
4837 # Found it, now check the version.
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
4839 $as_echo_n "checking version of $SED... " >&6; }
4840 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4841 case $ac_prog_version in
4842 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4843 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
4844 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4845 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4849 $as_echo "$ac_prog_version" >&6; }
4851 if test $ac_verc_fail = yes; then
4852 SED
=: aux_missing
="$aux_missing sed"
4857 # Extract the first word of "$ac_prog", so it can be a program name with args.
4858 set dummy
$ac_prog; ac_word
=$2
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if ${ac_cv_prog_AWK+:} false
; then :
4862 $as_echo_n "(cached) " >&6
4864 if test -n "$AWK"; then
4865 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4871 test -z "$as_dir" && as_dir
=.
4872 for ac_exec_ext
in '' $ac_executable_extensions; do
4873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4874 ac_cv_prog_AWK
="$ac_prog"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 if test -n "$AWK"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4887 $as_echo "$AWK" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4894 test -n "$AWK" && break
4897 if test -z "$AWK"; then
4900 # Found it, now check the version.
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AWK" >&5
4902 $as_echo_n "checking version of $AWK... " >&6; }
4903 ac_prog_version
=`$AWK --version 2>&1 | sed -n 's/^.*GNU Awk[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4904 case $ac_prog_version in
4905 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4906 3.1.
[2-9]*|
3.
[2-9]*|
[4-9]*)
4907 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4908 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4912 $as_echo "$ac_prog_version" >&6; }
4914 if test $ac_verc_fail = yes; then
4915 critic_missing
="$critic_missing gawk"
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC is sufficient to build libc" >&5
4920 $as_echo_n "checking if $CC is sufficient to build libc... " >&6; }
4921 if ${libc_cv_compiler_ok+:} false
; then :
4922 $as_echo_n "(cached) " >&6
4925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4932 #if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)
4933 #error insufficient compiler
4939 if ac_fn_c_try_compile
"$LINENO"; then :
4940 libc_cv_compiler_ok
=yes
4942 libc_cv_compiler_ok
=no
4944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_compiler_ok" >&5
4947 $as_echo "$libc_cv_compiler_ok" >&6; }
4948 if test $libc_cv_compiler_ok != yes; then :
4949 critic_missing
="$critic_missing compiler"
4952 if test -n "$ac_tool_prefix"; then
4953 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
4954 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956 $as_echo_n "checking for $ac_word... " >&6; }
4957 if ${ac_cv_prog_NM+:} false
; then :
4958 $as_echo_n "(cached) " >&6
4960 if test -n "$NM"; then
4961 ac_cv_prog_NM
="$NM" # Let the user override the test.
4963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4967 test -z "$as_dir" && as_dir
=.
4968 for ac_exec_ext
in '' $ac_executable_extensions; do
4969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4970 ac_cv_prog_NM
="${ac_tool_prefix}nm"
4971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 if test -n "$NM"; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
4983 $as_echo "$NM" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4991 if test -z "$ac_cv_prog_NM"; then
4993 # Extract the first word of "nm", so it can be a program name with args.
4994 set dummy nm
; ac_word
=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
4998 $as_echo_n "(cached) " >&6
5000 if test -n "$ac_ct_NM"; then
5001 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5007 test -z "$as_dir" && as_dir
=.
5008 for ac_exec_ext
in '' $ac_executable_extensions; do
5009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5010 ac_cv_prog_ac_ct_NM
="nm"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5021 if test -n "$ac_ct_NM"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
5023 $as_echo "$ac_ct_NM" >&6; }
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5029 if test "x$ac_ct_NM" = x
; then
5032 case $cross_compiling:$ac_tool_warned in
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5036 ac_tool_warned
=yes ;;
5045 if test "x$maintainer" = "xyes"; then
5046 for ac_prog
in autoconf
5048 # Extract the first word of "$ac_prog", so it can be a program name with args.
5049 set dummy
$ac_prog; ac_word
=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_AUTOCONF+:} false
; then :
5053 $as_echo_n "(cached) " >&6
5055 if test -n "$AUTOCONF"; then
5056 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir
=.
5063 for ac_exec_ext
in '' $ac_executable_extensions; do
5064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5065 ac_cv_prog_AUTOCONF
="$ac_prog"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 AUTOCONF
=$ac_cv_prog_AUTOCONF
5076 if test -n "$AUTOCONF"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5078 $as_echo "$AUTOCONF" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5085 test -n "$AUTOCONF" && break
5087 test -n "$AUTOCONF" || AUTOCONF
="no"
5089 case "x$AUTOCONF" in
5090 xno|x|x
:) AUTOCONF
=no
;;
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5093 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5094 if ${libc_cv_autoconf_works+:} false
; then :
5095 $as_echo_n "(cached) " >&6
5097 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.ac
> /dev
/null
2>&1); then
5098 libc_cv_autoconf_works
=yes
5100 libc_cv_autoconf_works
=no
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
5104 $as_echo "$libc_cv_autoconf_works" >&6; }
5105 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5108 if test "x$AUTOCONF" = xno
; then
5109 aux_missing
="$aux_missing autoconf"
5115 test -n "$critic_missing" && as_fn_error $?
"
5116 *** These critical programs are missing or too old:$critic_missing
5117 *** Check the INSTALL file for required versions." "$LINENO" 5
5119 test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
5120 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5121 *** some features will be disabled.
5122 *** Check the INSTALL file for required versions." >&5
5123 $as_echo "$as_me: WARNING:
5124 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5125 *** some features will be disabled.
5126 *** Check the INSTALL file for required versions." >&2;}
5128 # if using special system headers, find out the compiler's sekrit
5129 # header directory and add that to the list. NOTE: Only does the right
5130 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5131 if test -n "$sysheaders"; then
5132 SYSINCLUDES
=-nostdinc
5133 for d
in include include-fixed
; do
5134 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5135 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5137 SYSINCLUDES
="$SYSINCLUDES \
5138 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5139 if test -n "$CXX"; then
5141 for cxxheaders
in `$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
5142 | sed -n -e '1,/#include/d' -e 's/^ \(\/.*\/[cg]++\)/\1/p'`; do
5143 test "x$cxxheaders" != x
&&
5144 CXX_SYSINCLUDES
="$CXX_SYSINCLUDES -isystem $cxxheaders"
5151 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5152 # since this would lead to problems installing/building glibc.
5153 # LD_LIBRARY_PATH contains the current directory if one of the following
5155 # - one of the terminals (":" and ";") is the first or last sign
5156 # - two terminals occur directly after each other
5157 # - the path contains an element with a dot in it
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
5159 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5160 case ${LD_LIBRARY_PATH} in
5161 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5162 ld_library_path_setting
="contains current directory"
5165 ld_library_path_setting
="ok"
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
5169 $as_echo "$ld_library_path_setting" >&6; }
5170 if test "$ld_library_path_setting" != "ok"; then
5172 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5173 *** building glibc. Please change the environment variable
5174 *** and run configure again." "$LINENO" 5
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports -static-libgcc" >&5
5178 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5179 if ${libc_cv_gcc_static_libgcc+:} false
; then :
5180 $as_echo_n "(cached) " >&6
5182 if $CC -v -static-libgcc 2>&1 |
grep 'unrecognized option.*static-libgcc' >/dev
/null
; then
5183 libc_cv_gcc_static_libgcc
=
5185 libc_cv_gcc_static_libgcc
=-static-libgcc
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_static_libgcc" >&5
5189 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5192 # Extract the first word of "bash", so it can be a program name with args.
5193 set dummy bash
; ac_word
=$2
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5195 $as_echo_n "checking for $ac_word... " >&6; }
5196 if ${ac_cv_path_BASH_SHELL+:} false
; then :
5197 $as_echo_n "(cached) " >&6
5201 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5208 test -z "$as_dir" && as_dir
=.
5209 for ac_exec_ext
in '' $ac_executable_extensions; do
5210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5223 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5224 if test -n "$BASH_SHELL"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
5226 $as_echo "$BASH_SHELL" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5234 # Extract the first word of "perl", so it can be a program name with args.
5235 set dummy perl
; ac_word
=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_path_PERL+:} false
; then :
5239 $as_echo_n "(cached) " >&6
5243 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5253 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5265 PERL
=$ac_cv_path_PERL
5266 if test -n "$PERL"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5268 $as_echo "$PERL" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 if test "$PERL" != no
&&
5276 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5279 # Extract the first word of "install-info", so it can be a program name with args.
5280 set dummy install-info
; ac_word
=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_path_INSTALL_INFO+:} false
; then :
5284 $as_echo_n "(cached) " >&6
5286 case $INSTALL_INFO in
5288 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5293 for as_dir
in $as_dummy
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_exec_ext
in '' $ac_executable_extensions; do
5298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5307 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5311 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5312 if test -n "$INSTALL_INFO"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5314 $as_echo "$INSTALL_INFO" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5321 # Extract the first word of "bison", so it can be a program name with args.
5322 set dummy bison
; ac_word
=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_path_BISON+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5330 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
5333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5334 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
5335 for as_dir
in $as_dummy
5338 test -z "$as_dir" && as_dir
=.
5339 for ac_exec_ext
in '' $ac_executable_extensions; do
5340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5341 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5349 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
5353 BISON
=$ac_cv_path_BISON
5354 if test -n "$BISON"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5356 $as_echo "$BISON" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libc-friendly stddef.h" >&5
5365 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5366 if ${libc_cv_friendly_stddef+:} false
; then :
5367 $as_echo_n "(cached) " >&6
5369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5371 #define __need_size_t
5372 #define __need_wchar_t
5379 size_t size; wchar_t wchar;
5381 #error stddef.h ignored __need_*
5383 if (&size == NULL || &wchar == NULL) abort ();
5388 if ac_fn_c_try_compile
"$LINENO"; then :
5389 libc_cv_friendly_stddef
=yes
5391 libc_cv_friendly_stddef
=no
5393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_friendly_stddef" >&5
5396 $as_echo "$libc_cv_friendly_stddef" >&6; }
5397 if test $libc_cv_friendly_stddef = yes; then
5398 config_vars
="$config_vars
5399 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to use -P to assemble .S files" >&5
5403 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5404 if ${libc_cv_need_minus_P+:} false
; then :
5405 $as_echo_n "(cached) " >&6
5407 cat > conftest.S
<<EOF
5408 #include "confdefs.h"
5409 /* Nothing whatsoever. */
5411 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5412 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5416 test $ac_status = 0; }; }; then
5417 libc_cv_need_minus_P
=no
5419 libc_cv_need_minus_P
=yes
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_need_minus_P" >&5
5424 $as_echo "$libc_cv_need_minus_P" >&6; }
5425 if test $libc_cv_need_minus_P = yes; then
5426 config_vars
="$config_vars
5427 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
5431 $as_echo_n "checking for .set assembler directive... " >&6; }
5432 if ${libc_cv_asm_set_directive+:} false
; then :
5433 $as_echo_n "(cached) " >&6
5435 cat > conftest.s
<<EOF
5438 .set glibc_conftest_frobozz,foo
5439 .globl glibc_conftest_frobozz
5441 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5442 # (but it doesn't work), so we must do a linking check to be sure.
5443 cat > conftest1.c
<<\EOF
5444 extern int glibc_conftest_frobozz
;
5445 void _start
() { glibc_conftest_frobozz
= 1; }
5447 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5448 -nostartfiles -nostdlib \
5449 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5450 libc_cv_asm_set_directive
=yes
5452 libc_cv_asm_set_directive
=no
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
5457 $as_echo "$libc_cv_asm_set_directive" >&6; }
5458 if test $libc_cv_asm_set_directive = yes; then
5459 $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler gnu_unique_object symbol type" >&5
5464 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
5465 if ${libc_cv_asm_unique_object+:} false
; then :
5466 $as_echo_n "(cached) " >&6
5468 cat > conftest.s
<<EOF
5471 .type _sym, %gnu_unique_object
5473 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5474 libc_cv_asm_unique_object
=yes
5476 libc_cv_asm_unique_object
=no
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_unique_object" >&5
5481 $as_echo "$libc_cv_asm_unique_object" >&6; }
5482 if test $libc_cv_asm_unique_object = yes; then
5483 $as_echo "#define HAVE_ASM_UNIQUE_OBJECT 1" >>confdefs.h
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .previous assembler directive" >&5
5488 $as_echo_n "checking for .previous assembler directive... " >&6; }
5489 if ${libc_cv_asm_previous_directive+:} false
; then :
5490 $as_echo_n "(cached) " >&6
5492 cat > conftest.s
<<EOF
5493 .section foo_section
5496 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5497 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5501 test $ac_status = 0; }; }; then
5502 libc_cv_asm_previous_directive
=yes
5504 libc_cv_asm_previous_directive
=no
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_previous_directive" >&5
5509 $as_echo "$libc_cv_asm_previous_directive" >&6; }
5510 if test $libc_cv_asm_previous_directive = yes; then
5511 $as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .popsection assembler directive" >&5
5515 $as_echo_n "checking for .popsection assembler directive... " >&6; }
5516 if ${libc_cv_asm_popsection_directive+:} false
; then :
5517 $as_echo_n "(cached) " >&6
5519 cat > conftest.s
<<EOF
5520 .pushsection foo_section
5523 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5524 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5528 test $ac_status = 0; }; }; then
5529 libc_cv_asm_popsection_directive
=yes
5531 libc_cv_asm_popsection_directive
=no
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_popsection_directive" >&5
5536 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
5537 if test $libc_cv_asm_popsection_directive = yes; then
5538 $as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .protected and .hidden assembler directive" >&5
5543 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
5544 if ${libc_cv_asm_protected_directive+:} false
; then :
5545 $as_echo_n "(cached) " >&6
5547 cat > conftest.s
<<EOF
5553 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5554 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5558 test $ac_status = 0; }; }; then
5559 libc_cv_asm_protected_directive
=yes
5561 as_fn_error $?
"assembler support for symbol visibility is required" "$LINENO" 5
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_protected_directive" >&5
5566 $as_echo "$libc_cv_asm_protected_directive" >&6; }
5568 if test $libc_cv_asm_protected_directive = yes; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((visibility())) is supported" >&5
5570 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
5571 if ${libc_cv_visibility_attribute+:} false
; then :
5572 $as_echo_n "(cached) " >&6
5574 cat > conftest.c
<<EOF
5575 int foo __attribute__ ((visibility ("hidden"))) = 1;
5576 int bar __attribute__ ((visibility ("protected"))) = 1;
5578 libc_cv_visibility_attribute
=no
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 '\.hidden.*foo' conftest.s
>/dev
/null
; then
5586 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
5587 libc_cv_visibility_attribute
=yes
5591 rm -f conftest.
{c
,s
}
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_visibility_attribute" >&5
5595 $as_echo "$libc_cv_visibility_attribute" >&6; }
5596 if test $libc_cv_visibility_attribute != yes; then
5597 as_fn_error $?
"compiler support for visibility attribute is required" "$LINENO" 5
5601 if test $libc_cv_visibility_attribute = yes; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((visibility()))" >&5
5603 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
5604 if ${libc_cv_broken_visibility_attribute+:} false
; then :
5605 $as_echo_n "(cached) " >&6
5607 cat > conftest.c
<<EOF
5609 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5610 int bar (int x) { return x; }
5612 libc_cv_broken_visibility_attribute
=yes
5613 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5614 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5618 test $ac_status = 0; }; }; then
5619 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
5620 libc_cv_broken_visibility_attribute
=no
5623 rm -f conftest.c conftest.s
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_visibility_attribute" >&5
5627 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
5628 if test $libc_cv_broken_visibility_attribute = yes; then
5629 as_fn_error $?
"working compiler support for visibility attribute is required" "$LINENO" 5
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
5634 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
5635 if ${libc_cv_broken_alias_attribute+:} false
; then :
5636 $as_echo_n "(cached) " >&6
5638 cat > conftest.c
<<EOF
5639 extern int foo (int x) __asm ("xyzzy");
5640 int bar (int x) { return x; }
5641 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5643 extern __typeof (dfoo) dfoo __asm ("abccb");
5646 libc_cv_broken_alias_attribute
=yes
5647 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5648 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5652 test $ac_status = 0; }; }; then
5653 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5654 grep 'abccb' conftest.s
>/dev
/null
; then
5655 libc_cv_broken_alias_attribute
=no
5658 rm -f conftest.c conftest.s
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
5662 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
5663 if test $libc_cv_broken_alias_attribute = yes; then
5664 as_fn_error $?
"working alias attribute support required" "$LINENO" 5
5667 if test $libc_cv_visibility_attribute = yes; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
5669 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
5670 if ${libc_cv_have_sdata_section+:} false
; then :
5671 $as_echo_n "(cached) " >&6
5673 echo "int i;" > conftest.c
5674 libc_cv_have_sdata_section
=no
5675 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5676 |
grep '\.sdata' >/dev
/null
; then
5677 libc_cv_have_sdata_section
=yes
5679 rm -f conftest.c conftest.so
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
5683 $as_echo "$libc_cv_have_sdata_section" >&6; }
5684 if test $libc_cv_have_sdata_section = yes; then
5685 $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
5691 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
5692 if ${libc_cv_initfini_array+:} false
; then :
5693 $as_echo_n "(cached) " >&6
5695 cat > conftest.c
<<EOF
5696 int _start (void) { return 0; }
5697 int __start (void) { return 0; }
5699 int foo (void) { return 1; }
5700 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
5703 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest
5704 conftest.c -static -nostartfiles -nostdlib
5706 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5710 test $ac_status = 0; }; }; then :
5711 if $READELF -S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
5712 libc_cv_initfini_array
=yes
5714 libc_cv_initfini_array
=no
5717 libc_cv_initfini_array
=no
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_initfini_array" >&5
5723 $as_echo "$libc_cv_initfini_array" >&6; }
5724 if test $libc_cv_initfini_array != yes; then
5725 as_fn_error $?
"Need linker with .init_array/.fini_array support." "$LINENO" 5
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use .ctors/.dtors header and trailer" >&5
5729 $as_echo_n "checking whether to use .ctors/.dtors header and trailer... " >&6; }
5730 if ${libc_cv_ctors_header+:} false
; then :
5731 $as_echo_n "(cached) " >&6
5733 libc_cv_ctors_header
=yes
5734 cat > conftest.c
<<EOF
5735 int _start (void) { return 0; }
5736 int __start (void) { return 0; }
5738 __attribute__ ((constructor)) void ctor (void) { asm (""); }
5739 __attribute__ ((destructor)) void dtor (void) { asm (""); }
5742 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest
5743 conftest.c -static -nostartfiles -nostdlib
5745 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5749 test $ac_status = 0; }; }; then :
5750 if $READELF -WS conftest
$ac_exeext |
$AWK '
5751 { gsub(/\[ */, "[") }
5752 $2 == ".ctors" || $2 == ".dtors" {
5753 size = strtonum("0x" $6)
5754 align = strtonum("0x" $NF)
5756 stub[$2] = size == align * 2
5759 ctors_ok = !seen[".ctors"] || stub[".ctors"]
5760 dtors_ok = !seen[".dtors"] || stub[".dtors"]
5761 exit ((ctors_ok && dtors_ok) ? 0 : 1)
5764 libc_cv_ctors_header
=no
5768 as_fn_error $?
"missing __attribute__ ((constructor)) support??" "$LINENO" 5
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ctors_header" >&5
5775 $as_echo "$libc_cv_ctors_header" >&6; }
5776 if test $libc_cv_ctors_header = no
; then
5777 $as_echo "#define NO_CTORS_DTORS_SECTIONS 1" >>confdefs.h
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
5782 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
5783 if ${libc_cv_cc_with_libunwind+:} false
; then :
5784 $as_echo_n "(cached) " >&6
5787 cat > conftest.c
<<EOF
5788 int main (void) { return 0; }
5790 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
5791 conftest.c
-v 2>&1 >/dev
/null |
grep ' -lunwind ' >/dev
/null
; then
5792 libc_cv_cc_with_libunwind
=yes
5794 libc_cv_cc_with_libunwind
=no
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
5799 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
5801 if test $libc_cv_cc_with_libunwind = yes; then
5802 $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z nodelete" >&5
5807 $as_echo_n "checking for linker that supports -z nodelete... " >&6; }
5808 libc_linker_feature
=no
5809 if test x
"$gnu_ld" = x
"yes"; then
5810 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z nodelete"`
5811 if test -n "$libc_linker_check"; then
5812 cat > conftest.c
<<EOF
5813 int _start (void) { return 42; }
5815 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5816 -Wl,--enable-new-dtags,-z,nodelete -nostdlib -nostartfiles
5817 -fPIC -shared -o conftest.so conftest.c
5819 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5823 test $ac_status = 0; }; }
5825 libc_linker_feature
=yes
5830 if test $libc_linker_feature = yes; then
5831 libc_cv_z_nodelete
=yes
5833 as_fn_error $?
"linker with -z nodelete support required" "$LINENO" 5
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5836 $as_echo "$libc_linker_feature" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z nodlopen" >&5
5839 $as_echo_n "checking for linker that supports -z nodlopen... " >&6; }
5840 libc_linker_feature
=no
5841 if test x
"$gnu_ld" = x
"yes"; then
5842 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z nodlopen"`
5843 if test -n "$libc_linker_check"; then
5844 cat > conftest.c
<<EOF
5845 int _start (void) { return 42; }
5847 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5848 -Wl,--enable-new-dtags,-z,nodlopen -nostdlib -nostartfiles
5849 -fPIC -shared -o conftest.so conftest.c
5851 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5855 test $ac_status = 0; }; }
5857 libc_linker_feature
=yes
5862 if test $libc_linker_feature = yes; then
5863 libc_cv_z_nodlopen
=yes
5865 as_fn_error $?
"linker with -z nodlopen support required" "$LINENO" 5
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5868 $as_echo "$libc_linker_feature" >&6; }
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z initfirst" >&5
5871 $as_echo_n "checking for linker that supports -z initfirst... " >&6; }
5872 libc_linker_feature
=no
5873 if test x
"$gnu_ld" = x
"yes"; then
5874 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z initfirst"`
5875 if test -n "$libc_linker_check"; then
5876 cat > conftest.c
<<EOF
5877 int _start (void) { return 42; }
5879 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5880 -Wl,--enable-new-dtags,-z,initfirst -nostdlib -nostartfiles
5881 -fPIC -shared -o conftest.so conftest.c
5883 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5887 test $ac_status = 0; }; }
5889 libc_linker_feature
=yes
5894 if test $libc_linker_feature = yes; then
5895 libc_cv_z_initfirst
=yes
5897 as_fn_error $?
"linker with -z initfirst support required" "$LINENO" 5
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5900 $as_echo "$libc_linker_feature" >&6; }
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bgroup option" >&5
5903 $as_echo_n "checking for -Bgroup option... " >&6; }
5904 if ${libc_cv_Bgroup+:} false
; then :
5905 $as_echo_n "(cached) " >&6
5907 cat > conftest.c
<<EOF
5908 int _start (void) { return 42; }
5910 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5911 -fPIC -shared -o conftest.so conftest.c
5912 -Wl,-Bgroup -nostdlib 1>&5'
5913 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5917 test $ac_status = 0; }; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_Bgroup" >&5
5926 $as_echo "$libc_cv_Bgroup" >&6; }
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
5931 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
5932 if ${libc_cv_as_noexecstack+:} false
; then :
5933 $as_echo_n "(cached) " >&6
5935 cat > conftest.c
<<EOF
5938 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
5939 -S -o conftest.s conftest.c 1>&5'
5940 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5944 test $ac_status = 0; }; } \
5945 && grep .note.GNU-stack conftest.s
>/dev
/null \
5946 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
5947 -c -o conftest.o conftest.s 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_as_noexecstack
=yes
5956 libc_cv_as_noexecstack
=no
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
5961 $as_echo "$libc_cv_as_noexecstack" >&6; }
5962 if test $libc_cv_as_noexecstack = yes; then
5963 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z combreloc" >&5
5968 $as_echo_n "checking for -z combreloc... " >&6; }
5969 if ${libc_cv_z_combreloc+:} false
; then :
5970 $as_echo_n "(cached) " >&6
5972 cat > conftest.c
<<EOF
5973 extern int bar (int);
5975 int foo (void) { return bar (mumble); }
5977 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5978 -fPIC -shared -o conftest.so conftest.c
5979 -nostdlib -nostartfiles
5980 -Wl,-z,combreloc 1>&5'
5981 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5985 test $ac_status = 0; }; }
5987 if $READELF -S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
5988 libc_cv_z_combreloc
=yes
5990 libc_cv_z_combreloc
=no
5993 libc_cv_z_combreloc
=no
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_combreloc" >&5
5998 $as_echo "$libc_cv_z_combreloc" >&6; }
5999 if test "$libc_cv_z_combreloc" = yes; then
6000 $as_echo "#define HAVE_Z_COMBRELOC 1" >>confdefs.h
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z execstack" >&5
6006 $as_echo_n "checking for linker that supports -z execstack... " >&6; }
6007 libc_linker_feature
=no
6008 if test x
"$gnu_ld" = x
"yes"; then
6009 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z execstack"`
6010 if test -n "$libc_linker_check"; then
6011 cat > conftest.c
<<EOF
6012 int _start (void) { return 42; }
6014 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6015 -Wl,-z,execstack -nostdlib -nostartfiles
6016 -fPIC -shared -o conftest.so conftest.c
6018 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6022 test $ac_status = 0; }; }
6024 libc_linker_feature
=yes
6029 if test $libc_linker_feature = yes; then
6030 libc_cv_z_execstack
=yes
6032 libc_cv_z_execstack
=no
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
6035 $as_echo "$libc_linker_feature" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
6039 $as_echo_n "checking for -fpie... " >&6; }
6040 if ${libc_cv_fpie+:} false
; then :
6041 $as_echo_n "(cached) " >&6
6043 if { ac_try
='${CC-cc} -fpie -xc /dev/null -S -o /dev/null'
6044 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6048 test $ac_status = 0; }; }; then :
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
6056 $as_echo "$libc_cv_fpie" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style option" >&5
6061 $as_echo_n "checking for --hash-style option... " >&6; }
6062 if ${libc_cv_hashstyle+:} false
; then :
6063 $as_echo_n "(cached) " >&6
6065 cat > conftest.c
<<EOF
6066 int _start (void) { return 42; }
6068 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6069 -fPIC -shared -o conftest.so conftest.c
6070 -Wl,--hash-style=both -nostdlib 1>&5'
6071 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6075 test $ac_status = 0; }; }
6077 libc_cv_hashstyle
=yes
6079 libc_cv_hashstyle
=no
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hashstyle" >&5
6084 $as_echo "$libc_cv_hashstyle" >&6; }
6087 # The linker's default -shared behavior is good enough if it
6088 # does these things that our custom linker scripts ensure that
6089 # all allocated NOTE sections come first.
6090 if test "$use_default_link" = default
; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sufficient default -shared layout" >&5
6092 $as_echo_n "checking for sufficient default -shared layout... " >&6; }
6093 if ${libc_cv_use_default_link+:} false
; then :
6094 $as_echo_n "(cached) " >&6
6096 libc_cv_use_default_link
=no
6097 cat > conftest.s
<<\EOF
6098 .section .note.a
,"a",%note
6103 .section .note.b
,"a",%note
6109 if { ac_try
=' ${CC-cc} $ASFLAGS -shared -o conftest.so conftest.s 1>&5'
6110 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6114 test $ac_status = 0; }; } &&
6115 ac_try
=`$READELF -S conftest.so | sed -n \
6117 s/^ *\[ *[1-9][0-9]*\] *\([^ ][^ ]*\) *\([^ ][^ ]*\) .*$/\2 \1/
6123 libc_seen_a
=no libc_seen_b
=no
6125 while test $# -ge 2 -a "$1" = NOTE
; do
6127 .note.a
) libc_seen_a
=yes ;;
6128 .note.b
) libc_seen_b
=yes ;;
6132 case "$libc_seen_a$libc_seen_b" in
6134 libc_cv_use_default_link
=yes
6138 $libc_seen_a$libc_seen_b from:
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_use_default_link" >&5
6146 $as_echo "$libc_cv_use_default_link" >&6; }
6147 use_default_link
=$libc_cv_use_default_link
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker output format" >&5
6151 $as_echo_n "checking linker output format... " >&6; }
6152 if ${libc_cv_output_format+:} false
; then :
6153 $as_echo_n "(cached) " >&6
6155 if libc_cv_output_format
=`
6156 ${CC-cc} -nostartfiles -nostdlib -Wl,--print-output-format 2>&5`
6160 libc_cv_output_format
=
6162 test -n "$libc_cv_output_format" || libc_cv_output_format
=unknown
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_output_format" >&5
6165 $as_echo "$libc_cv_output_format" >&6; }
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6169 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6170 if ${libc_cv_fno_toplevel_reorder+:} false
; then :
6171 $as_echo_n "(cached) " >&6
6173 cat > conftest.c
<<EOF
6176 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6178 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6182 test $ac_status = 0; }; }
6184 libc_cv_fno_toplevel_reorder
=yes
6186 libc_cv_fno_toplevel_reorder
=no
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fno_toplevel_reorder" >&5
6191 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6192 if test $libc_cv_fno_toplevel_reorder = yes; then
6193 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6195 fno_unit_at_a_time
=-fno-unit-at-a-time
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
6200 $as_echo_n "checking for -fstack-protector... " >&6; }
6201 if ${libc_cv_ssp+:} false
; then :
6202 $as_echo_n "(cached) " >&6
6204 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector -xc /dev/null -S -o /dev/null'
6205 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6209 test $ac_status = 0; }; }; then :
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
6217 $as_echo "$libc_cv_ssp" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fgnu89-inline" >&5
6221 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6222 if ${libc_cv_gnu89_inline+:} false
; then :
6223 $as_echo_n "(cached) " >&6
6225 cat > conftest.c
<<EOF
6227 #ifdef __GNUC_GNU_INLINE__
6228 main () { return 0;}
6233 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6234 -o conftest.s conftest.c 1>&5'
6235 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6239 test $ac_status = 0; }; }
6241 libc_cv_gnu89_inline
=yes
6243 libc_cv_gnu89_inline
=no
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gnu89_inline" >&5
6248 $as_echo "$libc_cv_gnu89_inline" >&6; }
6249 if test $libc_cv_gnu89_inline = yes; then
6250 gnu89_inline
=-fgnu89-inline
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
6257 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6258 if ${libc_cv_have_section_quotes+:} false
; then :
6259 $as_echo_n "(cached) " >&6
6261 cat > conftest.c
<<EOF
6262 static const int foo
6263 __attribute__ ((section ("bar"))) = 1;
6265 if ${CC-cc} -S conftest.c
-o conftest.s
; then
6266 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
6267 libc_cv_have_section_quotes
=yes
6269 libc_cv_have_section_quotes
=no
6272 libc_cv_have_section_quotes
=unknown
6274 rm -f conftest.
{c
,s
}
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
6278 $as_echo "$libc_cv_have_section_quotes" >&6; }
6279 if test $libc_cv_have_section_quotes = yes; then
6280 $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weak directive" >&5
6285 $as_echo_n "checking for assembler .weak directive... " >&6; }
6286 if ${libc_cv_asm_weak_directive+:} false
; then :
6287 $as_echo_n "(cached) " >&6
6289 cat > conftest.s
<<EOF
6294 .weak bar; bar = foo
6296 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6297 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6301 test $ac_status = 0; }; }; then
6302 libc_cv_asm_weak_directive
=yes
6304 libc_cv_asm_weak_directive
=no
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weak_directive" >&5
6309 $as_echo "$libc_cv_asm_weak_directive" >&6; }
6311 if test $libc_cv_asm_weak_directive = no
; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weakext directive" >&5
6313 $as_echo_n "checking for assembler .weakext directive... " >&6; }
6314 if ${libc_cv_asm_weakext_directive+:} false
; then :
6315 $as_echo_n "(cached) " >&6
6317 cat > conftest.s
<<EOF
6326 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6327 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6331 test $ac_status = 0; }; }; then
6332 libc_cv_asm_weakext_directive
=yes
6334 libc_cv_asm_weakext_directive
=no
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weakext_directive" >&5
6339 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
6343 if test $libc_cv_asm_weak_directive = yes; then
6344 $as_echo "#define HAVE_ASM_WEAK_DIRECTIVE 1" >>confdefs.h
6346 elif test $libc_cv_asm_weakext_directive = yes; then
6347 $as_echo "#define HAVE_ASM_WEAKEXT_DIRECTIVE 1" >>confdefs.h
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --no-whole-archive" >&5
6352 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
6353 if ${libc_cv_ld_no_whole_archive+:} false
; then :
6354 $as_echo_n "(cached) " >&6
6356 cat > conftest.c
<<\EOF
6361 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6362 -nostdlib -nostartfiles -Wl,--no-whole-archive
6363 -o conftest conftest.c 1>&5'
6364 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6368 test $ac_status = 0; }; }; then
6369 libc_cv_ld_no_whole_archive
=yes
6371 libc_cv_ld_no_whole_archive
=no
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_no_whole_archive" >&5
6376 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
6377 if test $libc_cv_ld_no_whole_archive = no
; then
6378 as_fn_error $?
"support for --no-whole-archive is needed" "$LINENO" 5
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc -fexceptions" >&5
6382 $as_echo_n "checking for gcc -fexceptions... " >&6; }
6383 if ${libc_cv_gcc_exceptions+:} false
; then :
6384 $as_echo_n "(cached) " >&6
6386 cat > conftest.c
<<\EOF
6391 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6392 -nostdlib -nostartfiles -fexceptions
6393 -o conftest conftest.c 1>&5'
6394 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6398 test $ac_status = 0; }; }; then
6399 libc_cv_gcc_exceptions
=yes
6401 libc_cv_gcc_exceptions
=no
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_exceptions" >&5
6406 $as_echo "$libc_cv_gcc_exceptions" >&6; }
6407 if test $libc_cv_gcc_exceptions = yes; then
6408 exceptions
=-fexceptions
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
6412 $as_echo_n "checking for __builtin_memset... " >&6; }
6413 if ${libc_cv_gcc_builtin_memset+:} false
; then :
6414 $as_echo_n "(cached) " >&6
6416 cat > conftest.c
<<\EOF
6419 __builtin_memset
(x
, 0, 1000);
6422 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
6423 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6427 test $ac_status = 0; }; };
6429 libc_cv_gcc_builtin_memset
=no
6431 libc_cv_gcc_builtin_memset
=yes
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
6436 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
6437 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6438 $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
6443 $as_echo_n "checking for redirection of built-in functions... " >&6; }
6444 if ${libc_cv_gcc_builtin_redirection+:} false
; then :
6445 $as_echo_n "(cached) " >&6
6447 cat > conftest.c
<<\EOF
6448 extern char
*strstr
(const char
*, const char
*) __asm
("my_strstr");
6449 char
*foo
(const char
*a
, const char
*b
)
6451 return __builtin_strstr
(a
, b
);
6454 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
6455 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6459 test $ac_status = 0; }; };
6461 libc_cv_gcc_builtin_redirection
=yes
6463 libc_cv_gcc_builtin_redirection
=no
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
6468 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
6469 if test "$libc_cv_gcc_builtin_redirection" = no
; then
6470 as_fn_error $?
"support for the symbol redirection needed" "$LINENO" 5
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
6474 $as_echo_n "checking for __thread... " >&6; }
6475 if ${libc_cv_gcc___thread+:} false
; then :
6476 $as_echo_n "(cached) " >&6
6478 cat > conftest.c
<<\EOF
6479 __thread int a
= 42;
6481 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
6482 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6486 test $ac_status = 0; }; }; then
6487 libc_cv_gcc___thread
=yes
6489 libc_cv_gcc___thread
=no
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc___thread" >&5
6494 $as_echo "$libc_cv_gcc___thread" >&6; }
6495 if test "$libc_cv_gcc___thread" = no
; then
6496 as_fn_error $?
"support for the __thread keyword is required" "$LINENO" 5
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tls_model attribute" >&5
6500 $as_echo_n "checking for tls_model attribute... " >&6; }
6501 if ${libc_cv_gcc_tls_model_attr+:} false
; then :
6502 $as_echo_n "(cached) " >&6
6504 cat > conftest.c
<<\EOF
6505 extern __thread int a __attribute__
((tls_model
("initial-exec")));
6507 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
6508 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6512 test $ac_status = 0; }; }; then
6513 libc_cv_gcc_tls_model_attr
=yes
6515 libc_cv_gcc_tls_model_attr
=no
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_tls_model_attr" >&5
6520 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
6521 if test "$libc_cv_gcc_tls_model_attr" = no
; then
6522 as_fn_error $?
"support for the tls_model attribute is required" "$LINENO" 5
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to disable generation of FMA instructions" >&5
6526 $as_echo_n "checking for compiler option to disable generation of FMA instructions... " >&6; }
6527 if ${libc_cv_cc_nofma+:} false
; then :
6528 $as_echo_n "(cached) " >&6
6531 for opt
in -ffp-contract=off
-mno-fused-madd; do
6532 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6533 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6537 test $ac_status = 0; }; }; then :
6538 libc_cv_cc_nofma
=$opt; break
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_nofma" >&5
6543 $as_echo "$libc_cv_cc_nofma" >&6; }
6546 if test -n "$submachine"; then
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
6548 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
6549 if ${libc_cv_cc_submachine+:} false
; then :
6550 $as_echo_n "(cached) " >&6
6552 libc_cv_cc_submachine
=no
6553 for opt
in "-march=$submachine" "-mcpu=$submachine"; do
6554 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6555 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6559 test $ac_status = 0; }; }; then :
6561 libc_cv_cc_submachine
="$opt"
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
6567 $as_echo "$libc_cv_cc_submachine" >&6; }
6568 if test "x$libc_cv_cc_submachine" = xno
; then
6569 as_fn_error $?
"${CC-cc} does not support $submachine" "$LINENO" 5
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6575 __attribute__ ((__optimize__))" >&5
6576 $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6577 __attribute__ ((__optimize__))... " >&6; }
6578 if ${libc_cv_cc_loop_to_function+:} false
; then :
6579 $as_echo_n "(cached) " >&6
6581 cat > conftest.c
<<EOF
6583 __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
6586 libc_cv_cc_loop_to_function
=no
6587 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c'
6588 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6592 test $ac_status = 0; }; }
6594 libc_cv_cc_loop_to_function
=yes
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_loop_to_function" >&5
6599 $as_echo "$libc_cv_cc_loop_to_function" >&6; }
6600 if test $libc_cv_cc_loop_to_function = yes; then
6601 $as_echo "#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
6607 $as_echo_n "checking for libgd... " >&6; }
6608 if test "$with_gd" != "no"; then
6609 old_CFLAGS
="$CFLAGS"
6610 CFLAGS
="$CFLAGS $libgd_include"
6611 old_LDFLAGS
="$LDFLAGS"
6612 LDFLAGS
="$LDFLAGS $libgd_ldflags"
6614 LIBS
="$LIBS -lgd -lpng -lz -lm"
6615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6626 if ac_fn_c_try_link
"$LINENO"; then :
6631 rm -f core conftest.err conftest.
$ac_objext \
6632 conftest
$ac_exeext conftest.
$ac_ext
6633 CFLAGS
="$old_CFLAGS"
6634 LDFLAGS
="$old_LDFLAGS"
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
6640 $as_echo "$LIBGD" >&6; }
6644 if test x
$with_selinux = xno
; then
6647 # See if we have the SELinux library
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
6649 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
6650 if ${ac_cv_lib_selinux_is_selinux_enabled+:} false
; then :
6651 $as_echo_n "(cached) " >&6
6653 ac_check_lib_save_LIBS
=$LIBS
6654 LIBS
="-lselinux $LIBS"
6655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6656 /* end confdefs.h. */
6658 /* Override any GCC internal prototype to avoid an error.
6659 Use char because int might match the return type of a GCC
6660 builtin and then its argument prototype would still apply. */
6664 char is_selinux_enabled ();
6668 return is_selinux_enabled ();
6673 if ac_fn_c_try_link
"$LINENO"; then :
6674 ac_cv_lib_selinux_is_selinux_enabled
=yes
6676 ac_cv_lib_selinux_is_selinux_enabled
=no
6678 rm -f core conftest.err conftest.
$ac_objext \
6679 conftest
$ac_exeext conftest.
$ac_ext
6680 LIBS
=$ac_check_lib_save_LIBS
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
6683 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
6684 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes
; then :
6690 if test x
$with_selinux = xyes
; then
6691 if test x
$have_selinux = xno
; then
6692 as_fn_error $?
"SELinux explicitly required, but SELinux library not found" "$LINENO" 5
6696 # Check if we're building with SELinux support.
6697 if test "x$have_selinux" = xyes
; then
6699 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
6702 # See if we have the libaudit library
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
6704 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
6705 if ${ac_cv_lib_audit_audit_log_user_avc_message+:} false
; then :
6706 $as_echo_n "(cached) " >&6
6708 ac_check_lib_save_LIBS
=$LIBS
6709 LIBS
="-laudit $LIBS"
6710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6713 /* Override any GCC internal prototype to avoid an error.
6714 Use char because int might match the return type of a GCC
6715 builtin and then its argument prototype would still apply. */
6719 char audit_log_user_avc_message ();
6723 return audit_log_user_avc_message ();
6728 if ac_fn_c_try_link
"$LINENO"; then :
6729 ac_cv_lib_audit_audit_log_user_avc_message
=yes
6731 ac_cv_lib_audit_audit_log_user_avc_message
=no
6733 rm -f core conftest.err conftest.
$ac_objext \
6734 conftest
$ac_exeext conftest.
$ac_ext
6735 LIBS
=$ac_check_lib_save_LIBS
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
6738 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
6739 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = xyes
; then :
6745 if test "x$have_libaudit" = xyes
; then
6747 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
6752 # See if we have the libcap library
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
6754 $as_echo_n "checking for cap_init in -lcap... " >&6; }
6755 if ${ac_cv_lib_cap_cap_init+:} false
; then :
6756 $as_echo_n "(cached) " >&6
6758 ac_check_lib_save_LIBS
=$LIBS
6760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6763 /* Override any GCC internal prototype to avoid an error.
6764 Use char because int might match the return type of a GCC
6765 builtin and then its argument prototype would still apply. */
6778 if ac_fn_c_try_link
"$LINENO"; then :
6779 ac_cv_lib_cap_cap_init
=yes
6781 ac_cv_lib_cap_cap_init
=no
6783 rm -f core conftest.err conftest.
$ac_objext \
6784 conftest
$ac_exeext conftest.
$ac_ext
6785 LIBS
=$ac_check_lib_save_LIBS
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
6788 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
6789 if test "x$ac_cv_lib_cap_cap_init" = xyes
; then :
6795 if test "x$have_libcap" = xyes
; then
6797 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
6805 # The cast to long int works around a bug in the HP C Compiler
6806 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6807 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6808 # This bug is HP SR number 8606223364.
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
6810 $as_echo_n "checking size of long double... " >&6; }
6811 if ${ac_cv_sizeof_long_double+:} false
; then :
6812 $as_echo_n "(cached) " >&6
6814 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
6817 if test "$ac_cv_type_long_double" = yes; then
6818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6820 as_fn_error
77 "cannot compute sizeof (long double)
6821 See \`config.log' for more details" "$LINENO" 5; }
6823 ac_cv_sizeof_long_double
=0
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
6829 $as_echo "$ac_cv_sizeof_long_double" >&6; }
6833 cat >>confdefs.h
<<_ACEOF
6834 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
6838 sizeof_long_double
=$ac_cv_sizeof_long_double
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FORTIFY_SOURCE predefine" >&5
6843 $as_echo_n "checking for _FORTIFY_SOURCE predefine... " >&6; }
6844 if ${libc_cv_predef_fortify_source+:} false
; then :
6845 $as_echo_n "(cached) " >&6
6847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6854 #ifdef _FORTIFY_SOURCE
6861 if ac_fn_c_try_compile
"$LINENO"; then :
6862 libc_cv_predef_fortify_source
=no
6864 libc_cv_predef_fortify_source
=yes
6866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_fortify_source" >&5
6869 $as_echo "$libc_cv_predef_fortify_source" >&6; }
6870 if test $libc_cv_predef_fortify_source = yes; then
6871 CPPUNDEFS
="${CPPUNDEFS:+$CPPUNDEFS }-U_FORTIFY_SOURCE"
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implicitly enables -fstack-protector" >&5
6876 $as_echo_n "checking whether $CC implicitly enables -fstack-protector... " >&6; }
6877 if ${libc_cv_predef_stack_protector+:} false
; then :
6878 $as_echo_n "(cached) " >&6
6881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6883 extern void foobar (char *);
6887 char large_array[2048]; foobar (large_array);
6892 if ac_fn_c_try_compile
"$LINENO"; then :
6894 libc_undefs
=`$NM -u conftest.o |
6895 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
6897 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
6899 echo >&5 "libc_undefs='$libc_undefs'"
6900 # On some architectures, there are architecture-specific undefined
6901 # symbols (resolved by the linker), so filter out unknown symbols.
6902 # This will fail to produce the correct result if the compiler
6903 # defaults to -fstack-protector but this produces an undefined symbol
6904 # other than __stack_chk_fail. However, compilers like that have not
6905 # been encountered in practice.
6906 libc_undefs
=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail)$'`
6907 case "$libc_undefs" in
6908 foobar
) libc_cv_predef_stack_protector
=no
;;
6910 foobar') libc_cv_predef_stack_protector
=yes ;;
6911 *) as_fn_error $?
"unexpected symbols in test: $libc_undefs" "$LINENO" 5 ;;
6914 as_fn_error $?
"test compilation failed" "$LINENO" 5
6916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_stack_protector" >&5
6920 $as_echo "$libc_cv_predef_stack_protector" >&6; }
6922 if test $libc_cv_predef_stack_protector = yes; then
6923 libc_extra_cflags
="$libc_extra_cflags -fno-stack-protector"
6925 libc_extra_cppflags
=
6927 # Some linkers on some architectures support __ehdr_start but with
6928 # bugs. Make sure usage of it does not create relocations in the
6929 # output (as the linker should resolve them all for us).
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker provides working __ehdr_start" >&5
6931 $as_echo_n "checking whether the linker provides working __ehdr_start... " >&6; }
6932 if ${libc_cv_ehdr_start+:} false
; then :
6933 $as_echo_n "(cached) " >&6
6936 old_CFLAGS
="$CFLAGS"
6937 old_LDFLAGS
="$LDFLAGS"
6939 CFLAGS
="$CFLAGS -fPIC"
6940 LDFLAGS
="$LDFLAGS -nostdlib -nostartfiles -shared"
6942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6943 /* end confdefs.h. */
6949 extern const Ehdr __ehdr_start __attribute__ ((visibility ("hidden")));
6950 long ehdr (void) { return __ehdr_start.val; }
6953 if ac_fn_c_try_link
"$LINENO"; then :
6954 if $READELF -r conftest | fgrep __ehdr_start
>/dev
/null
; then
6955 libc_cv_ehdr_start
=broken
6957 libc_cv_ehdr_start
=yes
6960 libc_cv_ehdr_start
=no
6962 rm -f core conftest.err conftest.
$ac_objext \
6963 conftest
$ac_exeext conftest.
$ac_ext
6964 CFLAGS
="$old_CFLAGS"
6965 LDFLAGS
="$old_LDFLAGS"
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ehdr_start" >&5
6970 $as_echo "$libc_cv_ehdr_start" >&6; }
6971 if test "$libc_cv_ehdr_start" = yes; then
6972 $as_echo "#define HAVE_EHDR_START 1" >>confdefs.h
6974 elif test "$libc_cv_ehdr_start" = broken
; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linker is broken -- you should upgrade" >&5
6976 $as_echo "$as_me: WARNING: linker is broken -- you should upgrade" >&2;}
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_trap with no external dependencies" >&5
6980 $as_echo_n "checking for __builtin_trap with no external dependencies... " >&6; }
6981 if ${libc_cv_builtin_trap+:} false
; then :
6982 $as_echo_n "(cached) " >&6
6984 libc_cv_builtin_trap
=no
6985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6986 /* end confdefs.h. */
6996 if ac_fn_c_try_compile
"$LINENO"; then :
6998 libc_undefs
=`$NM -u conftest.o |
6999 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
7001 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
7003 echo >&5 "libc_undefs='$libc_undefs'"
7004 if test -z "$libc_undefs"; then
7005 libc_cv_builtin_trap
=yes
7008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_builtin_trap" >&5
7011 $as_echo "$libc_cv_builtin_trap" >&6; }
7012 if test $libc_cv_builtin_trap = yes; then
7013 $as_echo "#define HAVE_BUILTIN_TRAP 1" >>confdefs.h
7017 ### End of automated tests.
7018 ### Now run sysdeps configure fragments.
7020 # They also can set these variables.
7022 ldd_rewrite_script
=no
7023 libc_cv_sysconfdir
=$sysconfdir
7024 libc_cv_localstatedir
=$localstatedir
7025 libc_cv_gcc_unwind_find_fde
=no
7028 # Iterate over all the sysdep directories we will use, running their
7029 # configure fragments.
7030 for dir
in $sysnames; do
7033 *) dest
=$srcdir/$dir ;;
7035 if test -r $dest/configure
; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
7037 $as_echo "running configure fragment for $dir" >&6; }
7045 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
7046 $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
7051 # A sysdeps configure fragment can reset this if IFUNC is not actually
7052 # usable even though the assembler knows how to generate the symbol type.
7053 if test x
"$libc_cv_ld_gnu_indirect_function" = xyes
; then
7054 $as_echo "#define HAVE_IFUNC 1" >>confdefs.h
7058 # This is far from the AC_ARG_ENABLE that sets it so that a sysdeps
7059 # configure fragment can override the value to prevent this AC_DEFINE.
7061 if test "x$use_nscd" != xno
; then
7062 $as_echo "#define USE_NSCD 1" >>confdefs.h
7065 if test "x$build_nscd" = xdefault
; then
7066 build_nscd
=$use_nscd
7069 # Test for old glibc 2.0.x headers so that they can be removed properly
7070 # Search only in includedir.
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old glibc 2.0.x headers" >&5
7072 $as_echo_n "checking for old glibc 2.0.x headers... " >&6; }
7073 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
7075 old_glibc_headers
=yes
7077 old_glibc_headers
=no
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $old_glibc_headers" >&5
7080 $as_echo "$old_glibc_headers" >&6; }
7081 if test ${old_glibc_headers} = yes; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
7083 $as_echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** be removed." >&5
7085 $as_echo "$as_me: WARNING: *** be removed." >&2;}
7097 if test x
$use_ldconfig = xyes
; then
7098 $as_echo "#define USE_LDCONFIG 1" >>confdefs.h
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
7108 $as_echo_n "checking whether -fPIC is default... " >&6; }
7109 if ${libc_cv_pic_default+:} false
; then :
7110 $as_echo_n "(cached) " >&6
7112 libc_cv_pic_default
=yes
7113 cat > conftest.c
<<EOF
7114 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
7115 # error PIC is default.
7118 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7119 libc_cv_pic_default
=no
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
7124 $as_echo "$libc_cv_pic_default" >&6; }
7134 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
7135 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
7139 ac_config_files
="$ac_config_files config.make Makefile"
7141 ac_config_commands
="$ac_config_commands default"
7143 cat >confcache
<<\_ACEOF
7144 # This file is a shell script that caches the results of configure
7145 # tests run on this system so they can be shared between configure
7146 # scripts and configure runs, see configure's option --config-cache.
7147 # It is not useful on other systems. If it contains results you don't
7148 # want to keep, you may remove or edit it.
7150 # config.status only pays attention to the cache file if you give it
7151 # the --recheck option to rerun configure.
7153 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7154 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7159 # The following way of writing the cache mishandles newlines in values,
7160 # but we know of no workaround that is simple, portable, and efficient.
7161 # So, we kill variables containing newlines.
7162 # Ultrix sh set writes to stderr and can't be redirected directly,
7163 # and sets the high bit in the cache file unless we assign to the vars.
7165 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7166 eval ac_val
=\$
$ac_var
7170 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7171 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7174 _ | IFS | as_nl
) ;; #(
7175 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7176 *) { eval $ac_var=; unset $ac_var;} ;;
7182 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7183 *${as_nl}ac_space
=\
*)
7184 # `set' does not quote correctly, so add quotes: double-quote
7185 # substitution turns \\\\ into \\, and sed turns \\ into \.
7188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7191 # `set' quotes correctly as required by POSIX, so do not add quotes.
7192 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7201 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7203 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7205 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7206 if test -w "$cache_file"; then
7207 if test "x$cache_file" != "x/dev/null"; then
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7209 $as_echo "$as_me: updating cache $cache_file" >&6;}
7210 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7211 cat confcache
>"$cache_file"
7213 case $cache_file in #(
7215 mv -f confcache
"$cache_file"$$
&&
7216 mv -f "$cache_file"$$
"$cache_file" ;; #(
7218 mv -f confcache
"$cache_file" ;;
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7224 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7229 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7230 # Let make expand exec_prefix.
7231 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7233 DEFS
=-DHAVE_CONFIG_H
7238 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7239 # 1. Remove the extension, and $U if already installed.
7240 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7241 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7242 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7243 # will be set to the directory where LIBOBJS objects are built.
7244 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7245 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7249 LTLIBOBJS
=$ac_ltlibobjs
7253 : "${CONFIG_STATUS=./config.status}"
7255 ac_clean_files_save
=$ac_clean_files
7256 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7258 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7260 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7262 # Generated by $as_me.
7263 # Run this file to recreate the current configuration.
7264 # Compiler output produced by configure, useful for debugging
7265 # configure, is in config.log if it exists.
7271 SHELL=\${CONFIG_SHELL-$SHELL}
7274 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7275 ## -------------------- ##
7276 ## M4sh Initialization. ##
7277 ## -------------------- ##
7279 # Be more Bourne compatible
7280 DUALCASE
=1; export DUALCASE
# for MKS sh
7281 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7285 # is contrary to our usage. Disable this feature.
7286 alias -g '${1+"$@"}'='"$@"'
7287 setopt NO_GLOB_SUBST
7289 case `(set -o) 2>/dev/null` in #(
7301 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7302 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7304 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7305 # Prefer a ksh shell builtin over an external printf program on Solaris,
7306 # but without wasting forks for bash or zsh.
7307 if test -z "$BASH_VERSION$ZSH_VERSION" \
7308 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7309 as_echo='print
-r --'
7310 as_echo_n='print
-rn --'
7311 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7312 as_echo='printf %s
\n'
7313 as_echo_n='printf %s
'
7315 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7316 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7317 as_echo_n='/usr
/ucb
/echo -n'
7319 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7320 as_echo_n_body='eval
7324 expr "X$arg" : "X\\(.*\\)$as_nl";
7325 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7327 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7329 export as_echo_n_body
7330 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7333 as_echo='sh
-c $as_echo_body as_echo
'
7336 # The user is always right.
7337 if test "${PATH_SEPARATOR+set}" != set; then
7339 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7340 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7347 # We need space, tab and new line, in precisely that order. Quoting is
7348 # there to prevent editors from complaining about space-tab.
7349 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7350 # splitting by setting IFS to empty value.)
7353 # Find who we are. Look in the path if we contain no directory separator.
7356 *[\\/]* ) as_myself=$0 ;;
7357 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir=.
7362 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7368 # We did not find ourselves, most probably we were run as `sh COMMAND'
7369 # in which case we are not to be found in the path.
7370 if test "x$as_myself" = x
; then
7373 if test ! -f "$as_myself"; then
7374 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7378 # Unset variables that we do not need and which cause bugs (e.g. in
7379 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7380 # suppresses any "Segmentation fault" message there. '((' could
7381 # trigger a bug in pdksh 5.2.14.
7382 for as_var
in BASH_ENV ENV MAIL MAILPATH
7383 do eval test x\
${$as_var+set} = xset \
7384 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7397 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7400 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7401 # ----------------------------------------
7402 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7403 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7404 # script with STATUS, using 1 if that was 0.
7407 as_status
=$1; test $as_status -eq 0 && as_status
=1
7409 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7410 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7412 $as_echo "$as_me: error: $2" >&2
7413 as_fn_exit
$as_status
7417 # as_fn_set_status STATUS
7418 # -----------------------
7419 # Set $? to STATUS, without forking.
7423 } # as_fn_set_status
7427 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7437 # Portably unset VAR.
7440 { eval $1=; unset $1;}
7442 as_unset
=as_fn_unset
7443 # as_fn_append VAR VALUE
7444 # ----------------------
7445 # Append the text in VALUE to the end of the definition contained in VAR. Take
7446 # advantage of any shell optimizations that allow amortized linear growth over
7447 # repeated appends, instead of the typical quadratic growth present in naive
7449 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7450 eval 'as_fn_append ()
7461 # as_fn_arith ARG...
7462 # ------------------
7463 # Perform arithmetic evaluation on the ARGs, and store the result in the
7464 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7465 # must be portable across $(()) and expr.
7466 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7467 eval 'as_fn_arith ()
7474 as_val
=`expr "$@" || test $? -eq 1`
7479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7486 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7487 as_basename
=basename
7492 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7498 as_me
=`$as_basename -- "$0" ||
7499 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7500 X"$0" : 'X\(//\)$' \| \
7501 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7503 sed '/^.*\/\([^/][^/]*\)\/*$/{
7517 # Avoid depending upon Character Ranges.
7518 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7519 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7520 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7521 as_cr_digits
='0123456789'
7522 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7524 ECHO_C
= ECHO_N
= ECHO_T
=
7525 case `echo -n x` in #(((((
7527 case `echo 'xy\c'` in
7528 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7530 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7537 rm -f conf$$ conf$$.exe conf$$.
file
7538 if test -d conf$$.dir
; then
7539 rm -f conf$$.dir
/conf$$.
file
7542 mkdir conf$$.dir
2>/dev
/null
7544 if (echo >conf$$.
file) 2>/dev
/null
; then
7545 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7547 # ... but there are two gotchas:
7548 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7549 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7550 # In both cases, we have to default to `cp -pR'.
7551 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7553 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7561 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7562 rmdir conf$$.dir
2>/dev
/null
7567 # Create "$as_dir" as a directory, including parents if necessary.
7572 -*) as_dir
=.
/$as_dir;;
7574 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7578 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7579 *) as_qdir
=$as_dir;;
7581 as_dirs
="'$as_qdir' $as_dirs"
7582 as_dir
=`$as_dirname -- "$as_dir" ||
7583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7584 X"$as_dir" : 'X\(//\)[^/]' \| \
7585 X"$as_dir" : 'X\(//\)$' \| \
7586 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7587 $as_echo X"$as_dir" |
7588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7605 test -d "$as_dir" && break
7607 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7608 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7612 if mkdir
-p .
2>/dev
/null
; then
7613 as_mkdir_p
='mkdir -p "$as_dir"'
7615 test -d .
/-p && rmdir .
/-p
7620 # as_fn_executable_p FILE
7621 # -----------------------
7622 # Test if FILE is an executable regular file.
7623 as_fn_executable_p
()
7625 test -f "$1" && test -x "$1"
7626 } # as_fn_executable_p
7628 as_executable_p
=as_fn_executable_p
7630 # Sed expression to map a string onto a valid CPP name.
7631 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7633 # Sed expression to map a string onto a valid variable name.
7634 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7638 ## ----------------------------------- ##
7639 ## Main body of $CONFIG_STATUS script. ##
7640 ## ----------------------------------- ##
7642 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7645 # Save the log message, to keep $0 and so on meaningful, and to
7646 # report actual input values of CONFIG_FILES etc. instead of their
7647 # values after options handling.
7649 This file was extended by GNU C Library $as_me (see version.h), which was
7650 generated by GNU Autoconf 2.69. Invocation command line was
7652 CONFIG_FILES = $CONFIG_FILES
7653 CONFIG_HEADERS = $CONFIG_HEADERS
7654 CONFIG_LINKS = $CONFIG_LINKS
7655 CONFIG_COMMANDS = $CONFIG_COMMANDS
7658 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7663 case $ac_config_files in *"
7664 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7667 case $ac_config_headers in *"
7668 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7673 # Files that config.status was made for.
7674 config_files="$ac_config_files"
7675 config_headers="$ac_config_headers"
7676 config_commands="$ac_config_commands"
7680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7682 \`$as_me' instantiates files and other configuration actions
7683 from templates according to the current configuration. Unless the files
7684 and actions are specified as TAGs, all are instantiated by default.
7686 Usage: $0 [OPTION]... [TAG]...
7688 -h, --help print this help, then exit
7689 -V, --version print version number and configuration settings, then exit
7690 --config print configuration, then exit
7691 -q, --quiet, --silent
7692 do not print progress messages
7693 -d, --debug don't remove temporary files
7694 --recheck update $as_me by reconfiguring in the same conditions
7695 --file=FILE[:TEMPLATE]
7696 instantiate the configuration file FILE
7697 --header=FILE[:TEMPLATE]
7698 instantiate the configuration header FILE
7700 Configuration files:
7703 Configuration headers:
7706 Configuration commands:
7709 Report bugs to <http://sourceware.org/bugzilla/>.
7710 GNU C Library home page: <http://www.gnu.org/software/glibc/>.
7711 General help using GNU software: <http://www.gnu.org/gethelp/>."
7714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7715 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7717 GNU C Library config.status (see version.h)
7718 configured by $0, generated by GNU Autoconf 2.69,
7719 with options \\"\$ac_cs_config\\"
7721 Copyright (C) 2012 Free Software Foundation, Inc.
7722 This config.status script is free software; the Free Software Foundation
7723 gives unlimited permission to copy, distribute and modify it."
7728 test -n "\$AWK" || AWK=awk
7731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7732 # The default lists apply if the user does not specify any file.
7738 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7739 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7743 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7755 # Handling of the options.
7756 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7758 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7759 $as_echo "$ac_cs_version"; exit ;;
7760 --config |
--confi |
--conf |
--con |
--co |
--c )
7761 $as_echo "$ac_cs_config"; exit ;;
7762 --debug |
--debu |
--deb |
--de |
--d |
-d )
7764 --file |
--fil |
--fi |
--f )
7767 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7768 '') as_fn_error $?
"missing file argument" ;;
7770 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7771 ac_need_defaults
=false
;;
7772 --header |
--heade |
--head |
--hea )
7775 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7777 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7778 ac_need_defaults
=false
;;
7780 # Conflict between --help and --header
7781 as_fn_error $?
"ambiguous option: \`$1'
7782 Try \`$0 --help' for more information.";;
7783 --help |
--hel |
-h )
7784 $as_echo "$ac_cs_usage"; exit ;;
7785 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7786 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7790 -*) as_fn_error $?
"unrecognized option: \`$1'
7791 Try \`$0 --help' for more information." ;;
7793 *) as_fn_append ac_config_targets
" $1"
7794 ac_need_defaults
=false
;;
7800 ac_configure_extra_args
=
7802 if $ac_cs_silent; then
7804 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7809 if \$ac_cs_recheck; then
7810 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7812 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7813 CONFIG_SHELL='$SHELL'
7819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7823 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7824 ## Running $as_me. ##
7830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7834 config_vars='$config_vars'
7838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7840 # Handling of arguments.
7841 for ac_config_target
in $ac_config_targets
7843 case $ac_config_target in
7844 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7845 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
7846 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7847 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
7849 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7854 # If the user did not use the arguments to specify the items to instantiate,
7855 # then the envvar interface is used. Set only those that are not.
7856 # We use the long form for the default assignment because of an extremely
7857 # bizarre bug on SunOS 4.1.3.
7858 if $ac_need_defaults; then
7859 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7860 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7861 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7864 # Have a temporary directory for convenience. Make it in the build tree
7865 # simply because there is no reason against having it here, and in addition,
7866 # creating and moving files from /tmp can sometimes cause problems.
7867 # Hook for its removal unless debugging.
7868 # Note that there is a small window in which the directory will not be cleaned:
7869 # after its creation but before its name has been assigned to `$tmp'.
7873 trap 'exit_status=$?
7875 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7877 trap 'as_fn_exit 1' 1 2 13 15
7879 # Create a (secure) tmp directory for tmp files.
7882 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7886 tmp
=.
/conf$$
-$RANDOM
7887 (umask 077 && mkdir
"$tmp")
7888 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7891 # Set up the scripts for CONFIG_FILES section.
7892 # No need to generate them if there are no CONFIG_FILES.
7893 # This happens for instance with `./config.status config.h'.
7894 if test -n "$CONFIG_FILES"; then
7897 ac_cr
=`echo X | tr X '\015'`
7898 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7899 # But we know of no other shell where ac_cr would be empty at this
7900 # point, so we can use a bashism as a fallback.
7901 if test "x$ac_cr" = x
; then
7902 eval ac_cr
=\$
\'\\r
\'
7904 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7905 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7911 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7916 echo "cat >conf$$subs.awk <<_ACEOF" &&
7917 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7920 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7921 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7923 for ac_last_try in false false false false false :; do
7924 . ./conf$$subs.sh ||
7925 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7927 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7928 if test $ac_delim_n = $ac_delim_num; then
7930 elif $ac_last_try; then
7931 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7933 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7939 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7943 s/^/S["/; s
/!.
*/"]=/
7953 s/\(.\{148\}\)..*/\1/
7955 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7960 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7967 s/\(.\{148\}\)..*/\1/
7969 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7973 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7978 ' <conf$$subs.awk | sed '
7983 ' >>$CONFIG_STATUS || ac_write_fail=1
7984 rm -f conf$$subs.awk
7985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7987 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7988 for (key in S) S_is_set[key] = 1
7994 nfields = split(line, field, "@
")
7996 len = length(field[1])
7997 for (i = 2; i < nfields; i++) {
7999 keylen = length(key)
8000 if (S_is_set[key]) {
8002 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8003 len += length(value) + length(field[++i])
8014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8015 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8016 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8019 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8020 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8023 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8024 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8025 # trailing colons and then remove the whole line if VPATH becomes empty
8026 # (actually we leave an empty line to preserve line numbers).
8027 if test "x
$srcdir" = x.; then
8028 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8047 fi # test -n "$CONFIG_FILES"
8049 # Set up the scripts for CONFIG_HEADERS section.
8050 # No need to generate them if there are no CONFIG_HEADERS.
8051 # This happens for instance with `./config.status Makefile'.
8052 if test -n "$CONFIG_HEADERS"; then
8053 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8057 # Transform confdefs.h into an awk script `defines.awk', embedded as
8058 # here-document in config.status, that substitutes the proper values into
8059 # config.h.in to produce config.h.
8061 # Create a delimiter string that does not exist in confdefs.h, to ease
8062 # handling of long lines.
8064 for ac_last_try in false false :; do
8065 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8066 if test -z "$ac_tt"; then
8068 elif $ac_last_try; then
8069 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8071 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8075 # For the awk script, D is an array of macro values keyed by name,
8076 # likewise P contains macro parameters if any. Preserve backslash
8077 # newline sequences.
8079 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8081 s/.\{148\}/&'"$ac_delim"'/g
8084 s/^[ ]*#[ ]*define[ ][ ]*/ /
8091 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8093 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8097 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8098 D["\
1"]=" \
3\\\\\\n
"\\/p
8100 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8105 s/.\{148\}/&'"$ac_delim"'/g
8110 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8113 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8115 ' <confdefs.h | sed '
8116 s/'"$ac_delim"'/"\\\
8117 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8120 for (key in D) D_is_set[key] = 1
8123 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8125 split(line, arg, " ")
8126 if (arg[1] == "#") {
8130 defundef
= substr
(arg
[1], 2)
8133 split(mac1
, mac2
, "(") #)
8135 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8136 if (D_is_set
[macro
]) {
8137 # Preserve the white space surrounding the "#".
8138 print prefix
"define", macro P
[macro
] D
[macro
]
8141 # Replace #undef with comments. This is necessary, for example,
8142 # in the case of _POSIX_SOURCE, which is predefined and required
8143 # on some systems where configure will not decide to define it.
8144 if (defundef
== "undef") {
8145 print
"/*", prefix defundef
, macro
, "*/"
8153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8154 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8155 fi # test -n "$CONFIG_HEADERS"
8158 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8163 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8165 case $ac_mode$ac_tag in
8167 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8168 :[FH
]-) ac_tag
=-:-;;
8169 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8186 -) ac_f
="$ac_tmp/stdin";;
8187 *) # Look for the file first in the build tree, then in the source tree
8188 # (if the path is not absolute). The absolute path cannot be DOS-style,
8189 # because $ac_f cannot contain `:'.
8193 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8195 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8197 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8198 as_fn_append ac_file_inputs
" '$ac_f'"
8201 # Let's still pretend it is `configure' which instantiates (i.e., don't
8202 # use $as_me), people would be surprised to read:
8203 # /* config.h. Generated by config.status. */
8204 configure_input
='Generated from '`
8205 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8207 if test x
"$ac_file" != x-
; then
8208 configure_input
="$ac_file. $configure_input"
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8210 $as_echo "$as_me: creating $ac_file" >&6;}
8212 # Neutralize special characters interpreted by sed in replacement strings.
8213 case $configure_input in #(
8214 *\
&* |
*\|
* |
*\\* )
8215 ac_sed_conf_input
=`$as_echo "$configure_input" |
8216 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8217 *) ac_sed_conf_input
=$configure_input;;
8221 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8222 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8227 ac_dir
=`$as_dirname -- "$ac_file" ||
8228 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8229 X"$ac_file" : 'X\(//\)[^/]' \| \
8230 X"$ac_file" : 'X\(//\)$' \| \
8231 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8232 $as_echo X"$ac_file" |
8233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8250 as_dir
="$ac_dir"; as_fn_mkdir_p
8254 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8256 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8257 # A ".." for each directory in $ac_dir_suffix.
8258 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8259 case $ac_top_builddir_sub in
8260 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8261 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8264 ac_abs_top_builddir
=$ac_pwd
8265 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8266 # for backward compatibility:
8267 ac_top_builddir
=$ac_top_build_prefix
8270 .
) # We are building in place.
8272 ac_top_srcdir
=$ac_top_builddir_sub
8273 ac_abs_top_srcdir
=$ac_pwd ;;
8274 [\\/]* | ?
:[\\/]* ) # Absolute name.
8275 ac_srcdir
=$srcdir$ac_dir_suffix;
8276 ac_top_srcdir
=$srcdir
8277 ac_abs_top_srcdir
=$srcdir ;;
8279 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8280 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8281 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8283 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8293 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8294 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8299 # If the template does not know about datarootdir, expand it.
8300 # FIXME: This hack should be removed a few years after 2.60.
8301 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8312 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8313 *datarootdir
*) ac_datarootdir_seen
=yes;;
8314 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8316 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8319 ac_datarootdir_hack='
8320 s&@datadir@&$datadir&g
8321 s&@docdir@&$docdir&g
8322 s&@infodir@&$infodir&g
8323 s&@localedir@&$localedir&g
8324 s&@mandir@&$mandir&g
8325 s&\\\${datarootdir}&$datarootdir&g' ;;
8329 # Neutralize VPATH when `$srcdir' = `.'.
8330 # Shell code in configure.ac might set extrasub.
8331 # FIXME: do we really want to maintain this feature?
8332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8333 ac_sed_extra="$ac_vpsub
8336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8338 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8339 s|@configure_input@|
$ac_sed_conf_input|
;t t
8340 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8341 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8342 s
&@srcdir@
&$ac_srcdir&;t t
8343 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8344 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8345 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8346 s
&@builddir@
&$ac_builddir&;t t
8347 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8348 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8349 s
&@INSTALL@
&$ac_INSTALL&;t t
8350 $ac_datarootdir_hack
8352 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8353 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8355 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8356 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8357 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8358 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8360 which seems to be undefined. Please make sure it is defined" >&5
8361 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8362 which seems to be undefined. Please make sure it is defined" >&2;}
8364 rm -f "$ac_tmp/stdin"
8366 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8367 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8369 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8375 if test x"$ac_file" != x-; then
8377 $as_echo "/* $configure_input */" \
8378 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8379 } >"$ac_tmp/config.h" \
8380 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8381 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8383 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8386 mv "$ac_tmp/config.h" "$ac_file" \
8387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8390 $as_echo "/* $configure_input */" \
8391 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8392 || as_fn_error $? "could not create -" "$LINENO" 5
8396 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8397 $as_echo "$as_me: executing $ac_file commands" >&6;}
8402 case $ac_file$ac_mode in
8404 case $CONFIG_FILES in *config.make*)
8405 echo "$config_vars" >> config.make;;
8407 test -d bits || mkdir bits ;;
8415 ac_clean_files=$ac_clean_files_save
8417 test $ac_write_fail = 0 ||
8418 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8421 # configure is writing to config.log, and then calls config.status.
8422 # config.status does its own redirection, appending to config.log.
8423 # Unfortunately, on DOS this fails, as config.log is still kept open
8424 # by configure, so config.status won't be able to
write to it
; its
8425 # output is simply discarded. So we exec the FD to /dev/null,
8426 # effectively closing config.log, so it can be properly (re)opened and
8427 # appended to by config.status. When coming back to configure, we
8428 # need to make the FD available again.
8429 if test "$no_create" != yes; then
8431 ac_config_status_args
=
8432 test "$silent" = yes &&
8433 ac_config_status_args
="$ac_config_status_args --quiet"
8435 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8437 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8438 # would make configure fail if this is the last instruction.
8439 $ac_cs_success || as_fn_exit
1
8443 # CONFIG_SUBDIRS section.
8445 if test "$no_recursion" != yes; then
8447 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8448 # so they do not pile up.
8449 ac_sub_configure_args
=
8451 eval "set x $ac_configure_args"
8455 if test -n "$ac_prev"; then
8460 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8461 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8462 ac_prev
=cache_file
;;
8463 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8464 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8467 --config-cache |
-C)
8469 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8471 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8473 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8475 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8477 --disable-option-checking)
8481 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8483 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
8487 # Always prepend --prefix to ensure using the same prefix
8488 # in subdir configurations.
8489 ac_arg
="--prefix=$prefix"
8491 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8493 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8496 if test "$silent" = yes; then
8497 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8500 # Always prepend --disable-option-checking to silence warnings, since
8501 # different subdirs can have different --enable and --with options.
8502 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
8505 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8507 # Do not complain, so a configure script can configure whichever
8508 # parts of a large source tree are present.
8509 test -d "$srcdir/$ac_dir" ||
continue
8511 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8512 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8513 $as_echo "$ac_msg" >&6
8514 as_dir
="$ac_dir"; as_fn_mkdir_p
8518 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8520 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8521 # A ".." for each directory in $ac_dir_suffix.
8522 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8523 case $ac_top_builddir_sub in
8524 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8525 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8528 ac_abs_top_builddir
=$ac_pwd
8529 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8530 # for backward compatibility:
8531 ac_top_builddir
=$ac_top_build_prefix
8534 .
) # We are building in place.
8536 ac_top_srcdir
=$ac_top_builddir_sub
8537 ac_abs_top_srcdir
=$ac_pwd ;;
8538 [\\/]* | ?
:[\\/]* ) # Absolute name.
8539 ac_srcdir
=$srcdir$ac_dir_suffix;
8540 ac_top_srcdir
=$srcdir
8541 ac_abs_top_srcdir
=$srcdir ;;
8543 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8544 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8545 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8547 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8552 # Check for guested configure; otherwise get Cygnus style configure.
8553 if test -f "$ac_srcdir/configure.gnu"; then
8554 ac_sub_configure
=$ac_srcdir/configure.gnu
8555 elif test -f "$ac_srcdir/configure"; then
8556 ac_sub_configure
=$ac_srcdir/configure
8557 elif test -f "$ac_srcdir/configure.in"; then
8558 # This should be Cygnus configure.
8559 ac_sub_configure
=$ac_aux_dir/configure
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8562 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8566 # The recursion is here.
8567 if test -n "$ac_sub_configure"; then
8568 # Make the cache file name correct relative to the subdirectory.
8570 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8572 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8575 { $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
8576 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8577 # The eval makes quoting arguments work.
8578 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8579 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8580 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8586 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8588 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}