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.20 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-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-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 ${ac_tool_prefix}gcc
${ac_tool_prefix}cc
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_CC+:} false
; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$CC"; then
4612 ac_cv_prog_CC
="$CC" # 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_CC
="$ac_prog"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 if test -n "$CC"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4634 $as_echo "$CC" >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4641 test -n "$CC" && break
4644 if test -z "$CC"; then
4647 # Found it, now check the version.
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $CC" >&5
4649 $as_echo_n "checking version of $CC... " >&6; }
4650 ac_prog_version
=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
4651 case $ac_prog_version in
4652 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4653 4.
[4-9].
* |
4.
[1-9][0-9].
* |
[5-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 gcc"
4665 for ac_prog
in gnumake gmake
make
4667 # Extract the first word of "$ac_prog", so it can be a program name with args.
4668 set dummy
$ac_prog; ac_word
=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if ${ac_cv_prog_MAKE+:} false
; then :
4672 $as_echo_n "(cached) " >&6
4674 if test -n "$MAKE"; then
4675 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4681 test -z "$as_dir" && as_dir
=.
4682 for ac_exec_ext
in '' $ac_executable_extensions; do
4683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_MAKE
="$ac_prog"
4685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 MAKE
=$ac_cv_prog_MAKE
4695 if test -n "$MAKE"; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4697 $as_echo "$MAKE" >&6; }
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4704 test -n "$MAKE" && break
4707 if test -z "$MAKE"; then
4710 # Found it, now check the version.
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
4712 $as_echo_n "checking version of $MAKE... " >&6; }
4713 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4714 case $ac_prog_version in
4715 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4716 3.79* |
3.
[89]* |
[4-9].
* |
[1-9][0-9]*)
4717 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4718 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4722 $as_echo "$ac_prog_version" >&6; }
4724 if test $ac_verc_fail = yes; then
4725 critic_missing
="$critic_missing make"
4729 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
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_MSGFMT+:} false
; then :
4736 $as_echo_n "(cached) " >&6
4738 if test -n "$MSGFMT"; then
4739 ac_cv_prog_MSGFMT
="$MSGFMT" # 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_MSGFMT
="$ac_prog"
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 MSGFMT
=$ac_cv_prog_MSGFMT
4759 if test -n "$MSGFMT"; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4761 $as_echo "$MSGFMT" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764 $as_echo "no" >&6; }
4768 test -n "$MSGFMT" && break
4771 if test -z "$MSGFMT"; then
4774 # Found it, now check the version.
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
4776 $as_echo_n "checking version of $MSGFMT... " >&6; }
4777 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4778 case $ac_prog_version in
4779 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4780 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-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 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
4792 for ac_prog
in 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_MAKEINFO+:} false
; then :
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$MAKEINFO"; then
4802 ac_cv_prog_MAKEINFO
="$MAKEINFO" # 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_MAKEINFO
="$ac_prog"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 MAKEINFO
=$ac_cv_prog_MAKEINFO
4822 if test -n "$MAKEINFO"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4824 $as_echo "$MAKEINFO" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4831 test -n "$MAKEINFO" && break
4834 if test -z "$MAKEINFO"; then
4837 # Found it, now check the version.
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
4839 $as_echo_n "checking version of $MAKEINFO... " >&6; }
4840 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4841 case $ac_prog_version in
4842 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4843 4.
[5-9]*|
4.
[1-9][0-9]*|
[5-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 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
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_SED+:} false
; then :
4862 $as_echo_n "(cached) " >&6
4864 if test -n "$SED"; then
4865 ac_cv_prog_SED
="$SED" # 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_SED
="$ac_prog"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 if test -n "$SED"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4887 $as_echo "$SED" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4894 test -n "$SED" && break
4897 if test -z "$SED"; then
4900 # Found it, now check the version.
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
4902 $as_echo_n "checking version of $SED... " >&6; }
4903 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^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.0[2-9]*|
3.
[1-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 SED
=: aux_missing
="$aux_missing sed"
4920 # Extract the first word of "$ac_prog", so it can be a program name with args.
4921 set dummy
$ac_prog; ac_word
=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if ${ac_cv_prog_AWK+:} false
; then :
4925 $as_echo_n "(cached) " >&6
4927 if test -n "$AWK"; then
4928 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4934 test -z "$as_dir" && as_dir
=.
4935 for ac_exec_ext
in '' $ac_executable_extensions; do
4936 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4937 ac_cv_prog_AWK
="$ac_prog"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 if test -n "$AWK"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4950 $as_echo "$AWK" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4957 test -n "$AWK" && break
4960 if test -z "$AWK"; then
4963 # Found it, now check the version.
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AWK" >&5
4965 $as_echo_n "checking version of $AWK... " >&6; }
4966 ac_prog_version
=`$AWK --version 2>&1 | sed -n 's/^.*GNU Awk[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4967 case $ac_prog_version in
4968 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4969 3.1.
[2-9]*|
3.
[2-9]*|
[4-9]*)
4970 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4971 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4975 $as_echo "$ac_prog_version" >&6; }
4977 if test $ac_verc_fail = yes; then
4978 critic_missing
="$critic_missing gawk"
4982 if test -n "$ac_tool_prefix"; then
4983 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
4984 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_NM+:} false
; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$NM"; then
4991 ac_cv_prog_NM
="$NM" # Let the user override the test.
4993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir
=.
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_NM
="${ac_tool_prefix}nm"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 if test -n "$NM"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
5013 $as_echo "$NM" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5021 if test -z "$ac_cv_prog_NM"; then
5023 # Extract the first word of "nm", so it can be a program name with args.
5024 set dummy nm
; ac_word
=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$ac_ct_NM"; then
5031 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir
=.
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_ac_ct_NM
="nm"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5051 if test -n "$ac_ct_NM"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
5053 $as_echo "$ac_ct_NM" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5059 if test "x$ac_ct_NM" = x
; then
5062 case $cross_compiling:$ac_tool_warned in
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5066 ac_tool_warned
=yes ;;
5075 if test "x$maintainer" = "xyes"; then
5076 for ac_prog
in autoconf
5078 # Extract the first word of "$ac_prog", so it can be a program name with args.
5079 set dummy
$ac_prog; ac_word
=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_AUTOCONF+:} false
; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$AUTOCONF"; then
5086 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_AUTOCONF
="$ac_prog"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 AUTOCONF
=$ac_cv_prog_AUTOCONF
5106 if test -n "$AUTOCONF"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5108 $as_echo "$AUTOCONF" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5115 test -n "$AUTOCONF" && break
5117 test -n "$AUTOCONF" || AUTOCONF
="no"
5119 case "x$AUTOCONF" in
5120 xno|x|x
:) AUTOCONF
=no
;;
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5123 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5124 if ${libc_cv_autoconf_works+:} false
; then :
5125 $as_echo_n "(cached) " >&6
5127 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.ac
> /dev
/null
2>&1); then
5128 libc_cv_autoconf_works
=yes
5130 libc_cv_autoconf_works
=no
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
5134 $as_echo "$libc_cv_autoconf_works" >&6; }
5135 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5138 if test "x$AUTOCONF" = xno
; then
5139 aux_missing
="$aux_missing autoconf"
5145 test -n "$critic_missing" && as_fn_error $?
"
5146 *** These critical programs are missing or too old:$critic_missing
5147 *** Check the INSTALL file for required versions." "$LINENO" 5
5149 test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
5150 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5151 *** some features will be disabled.
5152 *** Check the INSTALL file for required versions." >&5
5153 $as_echo "$as_me: WARNING:
5154 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5155 *** some features will be disabled.
5156 *** Check the INSTALL file for required versions." >&2;}
5158 # if using special system headers, find out the compiler's sekrit
5159 # header directory and add that to the list. NOTE: Only does the right
5160 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5161 if test -n "$sysheaders"; then
5162 SYSINCLUDES
=-nostdinc
5163 for d
in include include-fixed
; do
5164 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5165 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5167 SYSINCLUDES
="$SYSINCLUDES \
5168 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5169 if test -n "$CXX"; then
5171 for cxxheaders
in `$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
5172 | sed -n -e '1,/#include/d' -e 's/^ \(\/.*\/[cg]++\)/\1/p'`; do
5173 test "x$cxxheaders" != x
&&
5174 CXX_SYSINCLUDES
="$CXX_SYSINCLUDES -isystem $cxxheaders"
5181 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5182 # since this would lead to problems installing/building glibc.
5183 # LD_LIBRARY_PATH contains the current directory if one of the following
5185 # - one of the terminals (":" and ";") is the first or last sign
5186 # - two terminals occur directly after each other
5187 # - the path contains an element with a dot in it
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
5189 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5190 case ${LD_LIBRARY_PATH} in
5191 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5192 ld_library_path_setting
="contains current directory"
5195 ld_library_path_setting
="ok"
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
5199 $as_echo "$ld_library_path_setting" >&6; }
5200 if test "$ld_library_path_setting" != "ok"; then
5202 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5203 *** building glibc. Please change the environment variable
5204 *** and run configure again." "$LINENO" 5
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports -static-libgcc" >&5
5208 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5209 if ${libc_cv_gcc_static_libgcc+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 if $CC -v -static-libgcc 2>&1 |
grep 'unrecognized option.*static-libgcc' >/dev
/null
; then
5213 libc_cv_gcc_static_libgcc
=
5215 libc_cv_gcc_static_libgcc
=-static-libgcc
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_static_libgcc" >&5
5219 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5222 # Extract the first word of "bash", so it can be a program name with args.
5223 set dummy bash
; ac_word
=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_path_BASH_SHELL+:} false
; then :
5227 $as_echo_n "(cached) " >&6
5231 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5253 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5254 if test -n "$BASH_SHELL"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
5256 $as_echo "$BASH_SHELL" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5264 # Extract the first word of "perl", so it can be a program name with args.
5265 set dummy perl
; ac_word
=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if ${ac_cv_path_PERL+:} false
; then :
5269 $as_echo_n "(cached) " >&6
5273 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir
=.
5281 for ac_exec_ext
in '' $ac_executable_extensions; do
5282 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5283 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5295 PERL
=$ac_cv_path_PERL
5296 if test -n "$PERL"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5298 $as_echo "$PERL" >&6; }
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5305 if test "$PERL" != no
&&
5306 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5309 # Extract the first word of "install-info", so it can be a program name with args.
5310 set dummy install-info
; ac_word
=$2
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5312 $as_echo_n "checking for $ac_word... " >&6; }
5313 if ${ac_cv_path_INSTALL_INFO+:} false
; then :
5314 $as_echo_n "(cached) " >&6
5316 case $INSTALL_INFO in
5318 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5323 for as_dir
in $as_dummy
5326 test -z "$as_dir" && as_dir
=.
5327 for ac_exec_ext
in '' $ac_executable_extensions; do
5328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5329 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5337 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5341 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5342 if test -n "$INSTALL_INFO"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5344 $as_echo "$INSTALL_INFO" >&6; }
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5347 $as_echo "no" >&6; }
5351 # Extract the first word of "bison", so it can be a program name with args.
5352 set dummy bison
; ac_word
=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_path_BISON+:} false
; then :
5356 $as_echo_n "(cached) " >&6
5360 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
5363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5364 as_dummy
="$PATH:/usr/local/bin:/usr/bin:/bin"
5365 for as_dir
in $as_dummy
5368 test -z "$as_dir" && as_dir
=.
5369 for ac_exec_ext
in '' $ac_executable_extensions; do
5370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5371 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="no"
5383 BISON
=$ac_cv_path_BISON
5384 if test -n "$BISON"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5386 $as_echo "$BISON" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libc-friendly stddef.h" >&5
5395 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5396 if ${libc_cv_friendly_stddef+:} false
; then :
5397 $as_echo_n "(cached) " >&6
5399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5401 #define __need_size_t
5402 #define __need_wchar_t
5409 size_t size; wchar_t wchar;
5411 #error stddef.h ignored __need_*
5413 if (&size == NULL || &wchar == NULL) abort ();
5418 if ac_fn_c_try_compile
"$LINENO"; then :
5419 libc_cv_friendly_stddef
=yes
5421 libc_cv_friendly_stddef
=no
5423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_friendly_stddef" >&5
5426 $as_echo "$libc_cv_friendly_stddef" >&6; }
5427 if test $libc_cv_friendly_stddef = yes; then
5428 config_vars
="$config_vars
5429 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to use -P to assemble .S files" >&5
5433 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5434 if ${libc_cv_need_minus_P+:} false
; then :
5435 $as_echo_n "(cached) " >&6
5437 cat > conftest.S
<<EOF
5438 #include "confdefs.h"
5439 /* Nothing whatsoever. */
5441 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5442 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5446 test $ac_status = 0; }; }; then
5447 libc_cv_need_minus_P
=no
5449 libc_cv_need_minus_P
=yes
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_need_minus_P" >&5
5454 $as_echo "$libc_cv_need_minus_P" >&6; }
5455 if test $libc_cv_need_minus_P = yes; then
5456 config_vars
="$config_vars
5457 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
5461 $as_echo_n "checking for .set assembler directive... " >&6; }
5462 if ${libc_cv_asm_set_directive+:} false
; then :
5463 $as_echo_n "(cached) " >&6
5465 cat > conftest.s
<<EOF
5468 .set glibc_conftest_frobozz,foo
5469 .globl glibc_conftest_frobozz
5471 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5472 # (but it doesn't work), so we must do a linking check to be sure.
5473 cat > conftest1.c
<<\EOF
5474 extern int glibc_conftest_frobozz
;
5475 void _start
() { glibc_conftest_frobozz
= 1; }
5477 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5478 -nostartfiles -nostdlib \
5479 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5480 libc_cv_asm_set_directive
=yes
5482 libc_cv_asm_set_directive
=no
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
5487 $as_echo "$libc_cv_asm_set_directive" >&6; }
5488 if test $libc_cv_asm_set_directive = yes; then
5489 $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler gnu_unique_object symbol type" >&5
5494 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
5495 if ${libc_cv_asm_unique_object+:} false
; then :
5496 $as_echo_n "(cached) " >&6
5498 cat > conftest.s
<<EOF
5501 .type _sym, %gnu_unique_object
5503 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5504 libc_cv_asm_unique_object
=yes
5506 libc_cv_asm_unique_object
=no
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_unique_object" >&5
5511 $as_echo "$libc_cv_asm_unique_object" >&6; }
5512 if test $libc_cv_asm_unique_object = yes; then
5513 $as_echo "#define HAVE_ASM_UNIQUE_OBJECT 1" >>confdefs.h
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .previous assembler directive" >&5
5518 $as_echo_n "checking for .previous assembler directive... " >&6; }
5519 if ${libc_cv_asm_previous_directive+:} false
; then :
5520 $as_echo_n "(cached) " >&6
5522 cat > conftest.s
<<EOF
5523 .section foo_section
5526 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5527 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5531 test $ac_status = 0; }; }; then
5532 libc_cv_asm_previous_directive
=yes
5534 libc_cv_asm_previous_directive
=no
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_previous_directive" >&5
5539 $as_echo "$libc_cv_asm_previous_directive" >&6; }
5540 if test $libc_cv_asm_previous_directive = yes; then
5541 $as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .popsection assembler directive" >&5
5545 $as_echo_n "checking for .popsection assembler directive... " >&6; }
5546 if ${libc_cv_asm_popsection_directive+:} false
; then :
5547 $as_echo_n "(cached) " >&6
5549 cat > conftest.s
<<EOF
5550 .pushsection foo_section
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_popsection_directive
=yes
5561 libc_cv_asm_popsection_directive
=no
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_popsection_directive" >&5
5566 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
5567 if test $libc_cv_asm_popsection_directive = yes; then
5568 $as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .protected and .hidden assembler directive" >&5
5573 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
5574 if ${libc_cv_asm_protected_directive+:} false
; then :
5575 $as_echo_n "(cached) " >&6
5577 cat > conftest.s
<<EOF
5583 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5584 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5588 test $ac_status = 0; }; }; then
5589 libc_cv_asm_protected_directive
=yes
5591 as_fn_error $?
"assembler support for symbol visibility is required" "$LINENO" 5
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_protected_directive" >&5
5596 $as_echo "$libc_cv_asm_protected_directive" >&6; }
5598 if test $libc_cv_asm_protected_directive = yes; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((visibility())) is supported" >&5
5600 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
5601 if ${libc_cv_visibility_attribute+:} false
; then :
5602 $as_echo_n "(cached) " >&6
5604 cat > conftest.c
<<EOF
5605 int foo __attribute__ ((visibility ("hidden"))) = 1;
5606 int bar __attribute__ ((visibility ("protected"))) = 1;
5608 libc_cv_visibility_attribute
=no
5609 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5610 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5614 test $ac_status = 0; }; }; then
5615 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
5616 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
5617 libc_cv_visibility_attribute
=yes
5621 rm -f conftest.
{c
,s
}
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_visibility_attribute" >&5
5625 $as_echo "$libc_cv_visibility_attribute" >&6; }
5626 if test $libc_cv_visibility_attribute != yes; then
5627 as_fn_error $?
"compiler support for visibility attribute is required" "$LINENO" 5
5631 if test $libc_cv_visibility_attribute = yes; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((visibility()))" >&5
5633 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
5634 if ${libc_cv_broken_visibility_attribute+:} false
; then :
5635 $as_echo_n "(cached) " >&6
5637 cat > conftest.c
<<EOF
5639 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5640 int bar (int x) { return x; }
5642 libc_cv_broken_visibility_attribute
=yes
5643 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5644 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5648 test $ac_status = 0; }; }; then
5649 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
5650 libc_cv_broken_visibility_attribute
=no
5653 rm -f conftest.c conftest.s
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_visibility_attribute" >&5
5657 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
5658 if test $libc_cv_broken_visibility_attribute = yes; then
5659 as_fn_error $?
"working compiler support for visibility attribute is required" "$LINENO" 5
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
5664 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
5665 if ${libc_cv_broken_alias_attribute+:} false
; then :
5666 $as_echo_n "(cached) " >&6
5668 cat > conftest.c
<<EOF
5669 extern int foo (int x) __asm ("xyzzy");
5670 int bar (int x) { return x; }
5671 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5673 extern __typeof (dfoo) dfoo __asm ("abccb");
5676 libc_cv_broken_alias_attribute
=yes
5677 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5678 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5682 test $ac_status = 0; }; }; then
5683 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5684 grep 'abccb' conftest.s
>/dev
/null
; then
5685 libc_cv_broken_alias_attribute
=no
5688 rm -f conftest.c conftest.s
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
5692 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
5693 if test $libc_cv_broken_alias_attribute = yes; then
5694 as_fn_error $?
"working alias attribute support required" "$LINENO" 5
5697 if test $libc_cv_visibility_attribute = yes; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
5699 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
5700 if ${libc_cv_have_sdata_section+:} false
; then :
5701 $as_echo_n "(cached) " >&6
5703 echo "int i;" > conftest.c
5704 libc_cv_have_sdata_section
=no
5705 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5706 |
grep '\.sdata' >/dev
/null
; then
5707 libc_cv_have_sdata_section
=yes
5709 rm -f conftest.c conftest.so
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
5713 $as_echo "$libc_cv_have_sdata_section" >&6; }
5714 if test $libc_cv_have_sdata_section = yes; then
5715 $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
5721 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
5722 if ${libc_cv_initfini_array+:} false
; then :
5723 $as_echo_n "(cached) " >&6
5725 cat > conftest.c
<<EOF
5726 int _start (void) { return 0; }
5727 int __start (void) { return 0; }
5729 int foo (void) { return 1; }
5730 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
5733 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest
5734 conftest.c -static -nostartfiles -nostdlib
5736 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5740 test $ac_status = 0; }; }; then :
5741 if $READELF -S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
5742 libc_cv_initfini_array
=yes
5744 libc_cv_initfini_array
=no
5747 libc_cv_initfini_array
=no
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_initfini_array" >&5
5753 $as_echo "$libc_cv_initfini_array" >&6; }
5754 if test $libc_cv_initfini_array != yes; then
5755 as_fn_error $?
"Need linker with .init_array/.fini_array support." "$LINENO" 5
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use .ctors/.dtors header and trailer" >&5
5759 $as_echo_n "checking whether to use .ctors/.dtors header and trailer... " >&6; }
5760 if ${libc_cv_ctors_header+:} false
; then :
5761 $as_echo_n "(cached) " >&6
5763 libc_cv_ctors_header
=yes
5764 cat > conftest.c
<<EOF
5765 int _start (void) { return 0; }
5766 int __start (void) { return 0; }
5768 __attribute__ ((constructor)) void ctor (void) { asm (""); }
5769 __attribute__ ((destructor)) void dtor (void) { asm (""); }
5772 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest
5773 conftest.c -static -nostartfiles -nostdlib
5775 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5779 test $ac_status = 0; }; }; then :
5780 if $READELF -WS conftest
$ac_exeext |
$AWK '
5781 { gsub(/\[ */, "[") }
5782 $2 == ".ctors" || $2 == ".dtors" {
5783 size = strtonum("0x" $6)
5784 align = strtonum("0x" $NF)
5786 stub[$2] = size == align * 2
5789 ctors_ok = !seen[".ctors"] || stub[".ctors"]
5790 dtors_ok = !seen[".dtors"] || stub[".dtors"]
5791 exit ((ctors_ok && dtors_ok) ? 0 : 1)
5794 libc_cv_ctors_header
=no
5798 as_fn_error $?
"missing __attribute__ ((constructor)) support??" "$LINENO" 5
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ctors_header" >&5
5805 $as_echo "$libc_cv_ctors_header" >&6; }
5806 if test $libc_cv_ctors_header = no
; then
5807 $as_echo "#define NO_CTORS_DTORS_SECTIONS 1" >>confdefs.h
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
5812 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
5813 if ${libc_cv_cc_with_libunwind+:} false
; then :
5814 $as_echo_n "(cached) " >&6
5817 cat > conftest.c
<<EOF
5818 int main (void) { return 0; }
5820 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
5821 conftest.c
-v 2>&1 >/dev
/null |
grep ' -lunwind ' >/dev
/null
; then
5822 libc_cv_cc_with_libunwind
=yes
5824 libc_cv_cc_with_libunwind
=no
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
5829 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
5831 if test $libc_cv_cc_with_libunwind = yes; then
5832 $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z nodelete" >&5
5837 $as_echo_n "checking for linker that supports -z nodelete... " >&6; }
5838 libc_linker_feature
=no
5839 if test x
"$gnu_ld" = x
"yes"; then
5840 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z nodelete"`
5841 if test -n "$libc_linker_check"; then
5842 cat > conftest.c
<<EOF
5843 int _start (void) { return 42; }
5845 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5846 -Wl,--enable-new-dtags,-z,nodelete -nostdlib -nostartfiles
5847 -fPIC -shared -o conftest.so conftest.c
5849 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5853 test $ac_status = 0; }; }
5855 libc_linker_feature
=yes
5860 if test $libc_linker_feature = yes; then
5861 libc_cv_z_nodelete
=yes
5863 as_fn_error $?
"linker with -z nodelete support required" "$LINENO" 5
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5866 $as_echo "$libc_linker_feature" >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z nodlopen" >&5
5869 $as_echo_n "checking for linker that supports -z nodlopen... " >&6; }
5870 libc_linker_feature
=no
5871 if test x
"$gnu_ld" = x
"yes"; then
5872 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z nodlopen"`
5873 if test -n "$libc_linker_check"; then
5874 cat > conftest.c
<<EOF
5875 int _start (void) { return 42; }
5877 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5878 -Wl,--enable-new-dtags,-z,nodlopen -nostdlib -nostartfiles
5879 -fPIC -shared -o conftest.so conftest.c
5881 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5885 test $ac_status = 0; }; }
5887 libc_linker_feature
=yes
5892 if test $libc_linker_feature = yes; then
5893 libc_cv_z_nodlopen
=yes
5895 as_fn_error $?
"linker with -z nodlopen support required" "$LINENO" 5
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5898 $as_echo "$libc_linker_feature" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z initfirst" >&5
5901 $as_echo_n "checking for linker that supports -z initfirst... " >&6; }
5902 libc_linker_feature
=no
5903 if test x
"$gnu_ld" = x
"yes"; then
5904 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z initfirst"`
5905 if test -n "$libc_linker_check"; then
5906 cat > conftest.c
<<EOF
5907 int _start (void) { return 42; }
5909 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5910 -Wl,--enable-new-dtags,-z,initfirst -nostdlib -nostartfiles
5911 -fPIC -shared -o conftest.so conftest.c
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; }; }
5919 libc_linker_feature
=yes
5924 if test $libc_linker_feature = yes; then
5925 libc_cv_z_initfirst
=yes
5927 as_fn_error $?
"linker with -z initfirst support required" "$LINENO" 5
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
5930 $as_echo "$libc_linker_feature" >&6; }
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bgroup option" >&5
5933 $as_echo_n "checking for -Bgroup option... " >&6; }
5934 if ${libc_cv_Bgroup+:} false
; then :
5935 $as_echo_n "(cached) " >&6
5937 cat > conftest.c
<<EOF
5938 int _start (void) { return 42; }
5940 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
5941 -fPIC -shared -o conftest.so conftest.c
5942 -Wl,-Bgroup -nostdlib 1>&5'
5943 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5947 test $ac_status = 0; }; }
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_Bgroup" >&5
5956 $as_echo "$libc_cv_Bgroup" >&6; }
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
5961 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
5962 if ${libc_cv_as_noexecstack+:} false
; then :
5963 $as_echo_n "(cached) " >&6
5965 cat > conftest.c
<<EOF
5968 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
5969 -S -o conftest.s conftest.c 1>&5'
5970 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5974 test $ac_status = 0; }; } \
5975 && grep .note.GNU-stack conftest.s
>/dev
/null \
5976 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
5977 -c -o conftest.o conftest.s 1>&5'
5978 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5982 test $ac_status = 0; }; }
5984 libc_cv_as_noexecstack
=yes
5986 libc_cv_as_noexecstack
=no
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
5991 $as_echo "$libc_cv_as_noexecstack" >&6; }
5992 if test $libc_cv_as_noexecstack = yes; then
5993 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z combreloc" >&5
5998 $as_echo_n "checking for -z combreloc... " >&6; }
5999 if ${libc_cv_z_combreloc+:} false
; then :
6000 $as_echo_n "(cached) " >&6
6002 cat > conftest.c
<<EOF
6003 extern int bar (int);
6005 int foo (void) { return bar (mumble); }
6007 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6008 -fPIC -shared -o conftest.so conftest.c
6009 -nostdlib -nostartfiles
6010 -Wl,-z,combreloc 1>&5'
6011 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6015 test $ac_status = 0; }; }
6017 if $READELF -S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6018 libc_cv_z_combreloc
=yes
6020 libc_cv_z_combreloc
=no
6023 libc_cv_z_combreloc
=no
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_combreloc" >&5
6028 $as_echo "$libc_cv_z_combreloc" >&6; }
6029 if test "$libc_cv_z_combreloc" = yes; then
6030 $as_echo "#define HAVE_Z_COMBRELOC 1" >>confdefs.h
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z execstack" >&5
6036 $as_echo_n "checking for linker that supports -z execstack... " >&6; }
6037 libc_linker_feature
=no
6038 if test x
"$gnu_ld" = x
"yes"; then
6039 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z execstack"`
6040 if test -n "$libc_linker_check"; then
6041 cat > conftest.c
<<EOF
6042 int _start (void) { return 42; }
6044 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6045 -Wl,-z,execstack -nostdlib -nostartfiles
6046 -fPIC -shared -o conftest.so conftest.c
6048 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6052 test $ac_status = 0; }; }
6054 libc_linker_feature
=yes
6059 if test $libc_linker_feature = yes; then
6060 libc_cv_z_execstack
=yes
6062 libc_cv_z_execstack
=no
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
6065 $as_echo "$libc_linker_feature" >&6; }
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
6069 $as_echo_n "checking for -fpie... " >&6; }
6070 if ${libc_cv_fpie+:} false
; then :
6071 $as_echo_n "(cached) " >&6
6073 if { ac_try
='${CC-cc} -fpie -xc /dev/null -S -o /dev/null'
6074 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6078 test $ac_status = 0; }; }; then :
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
6086 $as_echo "$libc_cv_fpie" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style option" >&5
6091 $as_echo_n "checking for --hash-style option... " >&6; }
6092 if ${libc_cv_hashstyle+:} false
; then :
6093 $as_echo_n "(cached) " >&6
6095 cat > conftest.c
<<EOF
6096 int _start (void) { return 42; }
6098 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6099 -fPIC -shared -o conftest.so conftest.c
6100 -Wl,--hash-style=both -nostdlib 1>&5'
6101 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6105 test $ac_status = 0; }; }
6107 libc_cv_hashstyle
=yes
6109 libc_cv_hashstyle
=no
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hashstyle" >&5
6114 $as_echo "$libc_cv_hashstyle" >&6; }
6117 # The linker's default -shared behavior is good enough if it
6118 # does these things that our custom linker scripts ensure that
6119 # all allocated NOTE sections come first.
6120 if test "$use_default_link" = default
; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sufficient default -shared layout" >&5
6122 $as_echo_n "checking for sufficient default -shared layout... " >&6; }
6123 if ${libc_cv_use_default_link+:} false
; then :
6124 $as_echo_n "(cached) " >&6
6126 libc_cv_use_default_link
=no
6127 cat > conftest.s
<<\EOF
6128 .section .note.a
,"a",%note
6133 .section .note.b
,"a",%note
6139 if { ac_try
=' ${CC-cc} $ASFLAGS -shared -o conftest.so conftest.s 1>&5'
6140 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6144 test $ac_status = 0; }; } &&
6145 ac_try
=`$READELF -S conftest.so | sed -n \
6147 s/^ *\[ *[1-9][0-9]*\] *\([^ ][^ ]*\) *\([^ ][^ ]*\) .*$/\2 \1/
6153 libc_seen_a
=no libc_seen_b
=no
6155 while test $# -ge 2 -a "$1" = NOTE
; do
6157 .note.a
) libc_seen_a
=yes ;;
6158 .note.b
) libc_seen_b
=yes ;;
6162 case "$libc_seen_a$libc_seen_b" in
6164 libc_cv_use_default_link
=yes
6168 $libc_seen_a$libc_seen_b from:
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_use_default_link" >&5
6176 $as_echo "$libc_cv_use_default_link" >&6; }
6177 use_default_link
=$libc_cv_use_default_link
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker output format" >&5
6181 $as_echo_n "checking linker output format... " >&6; }
6182 if ${libc_cv_output_format+:} false
; then :
6183 $as_echo_n "(cached) " >&6
6185 if libc_cv_output_format
=`
6186 ${CC-cc} -nostartfiles -nostdlib -Wl,--print-output-format 2>&5`
6190 libc_cv_output_format
=
6192 test -n "$libc_cv_output_format" || libc_cv_output_format
=unknown
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_output_format" >&5
6195 $as_echo "$libc_cv_output_format" >&6; }
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6199 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6200 if ${libc_cv_fno_toplevel_reorder+:} false
; then :
6201 $as_echo_n "(cached) " >&6
6203 cat > conftest.c
<<EOF
6206 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6208 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6212 test $ac_status = 0; }; }
6214 libc_cv_fno_toplevel_reorder
=yes
6216 libc_cv_fno_toplevel_reorder
=no
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fno_toplevel_reorder" >&5
6221 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6222 if test $libc_cv_fno_toplevel_reorder = yes; then
6223 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6225 fno_unit_at_a_time
=-fno-unit-at-a-time
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
6230 $as_echo_n "checking for -fstack-protector... " >&6; }
6231 if ${libc_cv_ssp+:} false
; then :
6232 $as_echo_n "(cached) " >&6
6234 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector -xc /dev/null -S -o /dev/null'
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; }; }; then :
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
6247 $as_echo "$libc_cv_ssp" >&6; }
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fgnu89-inline" >&5
6251 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6252 if ${libc_cv_gnu89_inline+:} false
; then :
6253 $as_echo_n "(cached) " >&6
6255 cat > conftest.c
<<EOF
6257 #ifdef __GNUC_GNU_INLINE__
6258 main () { return 0;}
6263 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6264 -o conftest.s conftest.c 1>&5'
6265 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6269 test $ac_status = 0; }; }
6271 libc_cv_gnu89_inline
=yes
6273 libc_cv_gnu89_inline
=no
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gnu89_inline" >&5
6278 $as_echo "$libc_cv_gnu89_inline" >&6; }
6279 if test $libc_cv_gnu89_inline = yes; then
6280 gnu89_inline
=-fgnu89-inline
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
6287 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6288 if ${libc_cv_have_section_quotes+:} false
; then :
6289 $as_echo_n "(cached) " >&6
6291 cat > conftest.c
<<EOF
6292 static const int foo
6293 __attribute__ ((section ("bar"))) = 1;
6295 if ${CC-cc} -S conftest.c
-o conftest.s
; then
6296 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
6297 libc_cv_have_section_quotes
=yes
6299 libc_cv_have_section_quotes
=no
6302 libc_cv_have_section_quotes
=unknown
6304 rm -f conftest.
{c
,s
}
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
6308 $as_echo "$libc_cv_have_section_quotes" >&6; }
6309 if test $libc_cv_have_section_quotes = yes; then
6310 $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weak directive" >&5
6315 $as_echo_n "checking for assembler .weak directive... " >&6; }
6316 if ${libc_cv_asm_weak_directive+:} false
; then :
6317 $as_echo_n "(cached) " >&6
6319 cat > conftest.s
<<EOF
6324 .weak bar; bar = foo
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_weak_directive
=yes
6334 libc_cv_asm_weak_directive
=no
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weak_directive" >&5
6339 $as_echo "$libc_cv_asm_weak_directive" >&6; }
6341 if test $libc_cv_asm_weak_directive = no
; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weakext directive" >&5
6343 $as_echo_n "checking for assembler .weakext directive... " >&6; }
6344 if ${libc_cv_asm_weakext_directive+:} false
; then :
6345 $as_echo_n "(cached) " >&6
6347 cat > conftest.s
<<EOF
6356 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6357 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6361 test $ac_status = 0; }; }; then
6362 libc_cv_asm_weakext_directive
=yes
6364 libc_cv_asm_weakext_directive
=no
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weakext_directive" >&5
6369 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
6373 if test $libc_cv_asm_weak_directive = yes; then
6374 $as_echo "#define HAVE_ASM_WEAK_DIRECTIVE 1" >>confdefs.h
6376 elif test $libc_cv_asm_weakext_directive = yes; then
6377 $as_echo "#define HAVE_ASM_WEAKEXT_DIRECTIVE 1" >>confdefs.h
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --no-whole-archive" >&5
6382 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
6383 if ${libc_cv_ld_no_whole_archive+:} 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 -Wl,--no-whole-archive
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_ld_no_whole_archive
=yes
6401 libc_cv_ld_no_whole_archive
=no
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_no_whole_archive" >&5
6406 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
6407 if test $libc_cv_ld_no_whole_archive = no
; then
6408 as_fn_error $?
"support for --no-whole-archive is needed" "$LINENO" 5
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc -fexceptions" >&5
6412 $as_echo_n "checking for gcc -fexceptions... " >&6; }
6413 if ${libc_cv_gcc_exceptions+:} false
; then :
6414 $as_echo_n "(cached) " >&6
6416 cat > conftest.c
<<\EOF
6421 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6422 -nostdlib -nostartfiles -fexceptions
6423 -o conftest conftest.c 1>&5'
6424 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6428 test $ac_status = 0; }; }; then
6429 libc_cv_gcc_exceptions
=yes
6431 libc_cv_gcc_exceptions
=no
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_exceptions" >&5
6436 $as_echo "$libc_cv_gcc_exceptions" >&6; }
6437 if test $libc_cv_gcc_exceptions = yes; then
6438 exceptions
=-fexceptions
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
6442 $as_echo_n "checking for __builtin_memset... " >&6; }
6443 if ${libc_cv_gcc_builtin_memset+:} false
; then :
6444 $as_echo_n "(cached) " >&6
6446 cat > conftest.c
<<\EOF
6449 __builtin_memset
(x
, 0, 1000);
6452 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
6453 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6457 test $ac_status = 0; }; };
6459 libc_cv_gcc_builtin_memset
=no
6461 libc_cv_gcc_builtin_memset
=yes
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
6466 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
6467 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6468 $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
6473 $as_echo_n "checking for redirection of built-in functions... " >&6; }
6474 if ${libc_cv_gcc_builtin_redirection+:} false
; then :
6475 $as_echo_n "(cached) " >&6
6477 cat > conftest.c
<<\EOF
6478 extern char
*strstr
(const char
*, const char
*) __asm
("my_strstr");
6479 char
*foo
(const char
*a
, const char
*b
)
6481 return __builtin_strstr
(a
, b
);
6484 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
6485 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6489 test $ac_status = 0; }; };
6491 libc_cv_gcc_builtin_redirection
=yes
6493 libc_cv_gcc_builtin_redirection
=no
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
6498 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
6499 if test "$libc_cv_gcc_builtin_redirection" = no
; then
6500 as_fn_error $?
"support for the symbol redirection needed" "$LINENO" 5
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
6504 $as_echo_n "checking for __thread... " >&6; }
6505 if ${libc_cv_gcc___thread+:} false
; then :
6506 $as_echo_n "(cached) " >&6
6508 cat > conftest.c
<<\EOF
6509 __thread int a
= 42;
6511 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
6512 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6516 test $ac_status = 0; }; }; then
6517 libc_cv_gcc___thread
=yes
6519 libc_cv_gcc___thread
=no
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc___thread" >&5
6524 $as_echo "$libc_cv_gcc___thread" >&6; }
6525 if test "$libc_cv_gcc___thread" = no
; then
6526 as_fn_error $?
"support for the __thread keyword is required" "$LINENO" 5
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tls_model attribute" >&5
6530 $as_echo_n "checking for tls_model attribute... " >&6; }
6531 if ${libc_cv_gcc_tls_model_attr+:} false
; then :
6532 $as_echo_n "(cached) " >&6
6534 cat > conftest.c
<<\EOF
6535 extern __thread int a __attribute__
((tls_model
("initial-exec")));
6537 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
6538 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6542 test $ac_status = 0; }; }; then
6543 libc_cv_gcc_tls_model_attr
=yes
6545 libc_cv_gcc_tls_model_attr
=no
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_tls_model_attr" >&5
6550 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
6551 if test "$libc_cv_gcc_tls_model_attr" = no
; then
6552 as_fn_error $?
"support for the tls_model attribute is required" "$LINENO" 5
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to disable generation of FMA instructions" >&5
6556 $as_echo_n "checking for compiler option to disable generation of FMA instructions... " >&6; }
6557 if ${libc_cv_cc_nofma+:} false
; then :
6558 $as_echo_n "(cached) " >&6
6561 for opt
in -ffp-contract=off
-mno-fused-madd; do
6562 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6563 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6567 test $ac_status = 0; }; }; then :
6568 libc_cv_cc_nofma
=$opt; break
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_nofma" >&5
6573 $as_echo "$libc_cv_cc_nofma" >&6; }
6576 if test -n "$submachine"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
6578 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
6579 if ${libc_cv_cc_submachine+:} false
; then :
6580 $as_echo_n "(cached) " >&6
6582 libc_cv_cc_submachine
=no
6583 for opt
in "-march=$submachine" "-mcpu=$submachine"; do
6584 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6585 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6589 test $ac_status = 0; }; }; then :
6591 libc_cv_cc_submachine
="$opt"
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
6597 $as_echo "$libc_cv_cc_submachine" >&6; }
6598 if test "x$libc_cv_cc_submachine" = xno
; then
6599 as_fn_error $?
"${CC-cc} does not support $submachine" "$LINENO" 5
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6605 __attribute__ ((__optimize__))" >&5
6606 $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6607 __attribute__ ((__optimize__))... " >&6; }
6608 if ${libc_cv_cc_loop_to_function+:} false
; then :
6609 $as_echo_n "(cached) " >&6
6611 cat > conftest.c
<<EOF
6613 __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
6616 libc_cv_cc_loop_to_function
=no
6617 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c'
6618 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6622 test $ac_status = 0; }; }
6624 libc_cv_cc_loop_to_function
=yes
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_loop_to_function" >&5
6629 $as_echo "$libc_cv_cc_loop_to_function" >&6; }
6630 if test $libc_cv_cc_loop_to_function = yes; then
6631 $as_echo "#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
6637 $as_echo_n "checking for libgd... " >&6; }
6638 if test "$with_gd" != "no"; then
6639 old_CFLAGS
="$CFLAGS"
6640 CFLAGS
="$CFLAGS $libgd_include"
6641 old_LDFLAGS
="$LDFLAGS"
6642 LDFLAGS
="$LDFLAGS $libgd_ldflags"
6644 LIBS
="$LIBS -lgd -lpng -lz -lm"
6645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6656 if ac_fn_c_try_link
"$LINENO"; then :
6661 rm -f core conftest.err conftest.
$ac_objext \
6662 conftest
$ac_exeext conftest.
$ac_ext
6663 CFLAGS
="$old_CFLAGS"
6664 LDFLAGS
="$old_LDFLAGS"
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
6670 $as_echo "$LIBGD" >&6; }
6674 if test x
$with_selinux = xno
; then
6677 # See if we have the SELinux library
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
6679 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
6680 if ${ac_cv_lib_selinux_is_selinux_enabled+:} false
; then :
6681 $as_echo_n "(cached) " >&6
6683 ac_check_lib_save_LIBS
=$LIBS
6684 LIBS
="-lselinux $LIBS"
6685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6686 /* end confdefs.h. */
6688 /* Override any GCC internal prototype to avoid an error.
6689 Use char because int might match the return type of a GCC
6690 builtin and then its argument prototype would still apply. */
6694 char is_selinux_enabled ();
6698 return is_selinux_enabled ();
6703 if ac_fn_c_try_link
"$LINENO"; then :
6704 ac_cv_lib_selinux_is_selinux_enabled
=yes
6706 ac_cv_lib_selinux_is_selinux_enabled
=no
6708 rm -f core conftest.err conftest.
$ac_objext \
6709 conftest
$ac_exeext conftest.
$ac_ext
6710 LIBS
=$ac_check_lib_save_LIBS
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
6713 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
6714 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes
; then :
6720 if test x
$with_selinux = xyes
; then
6721 if test x
$have_selinux = xno
; then
6722 as_fn_error $?
"SELinux explicitly required, but SELinux library not found" "$LINENO" 5
6726 # Check if we're building with SELinux support.
6727 if test "x$have_selinux" = xyes
; then
6729 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
6732 # See if we have the libaudit library
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
6734 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
6735 if ${ac_cv_lib_audit_audit_log_user_avc_message+:} false
; then :
6736 $as_echo_n "(cached) " >&6
6738 ac_check_lib_save_LIBS
=$LIBS
6739 LIBS
="-laudit $LIBS"
6740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6743 /* Override any GCC internal prototype to avoid an error.
6744 Use char because int might match the return type of a GCC
6745 builtin and then its argument prototype would still apply. */
6749 char audit_log_user_avc_message ();
6753 return audit_log_user_avc_message ();
6758 if ac_fn_c_try_link
"$LINENO"; then :
6759 ac_cv_lib_audit_audit_log_user_avc_message
=yes
6761 ac_cv_lib_audit_audit_log_user_avc_message
=no
6763 rm -f core conftest.err conftest.
$ac_objext \
6764 conftest
$ac_exeext conftest.
$ac_ext
6765 LIBS
=$ac_check_lib_save_LIBS
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
6768 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
6769 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = xyes
; then :
6775 if test "x$have_libaudit" = xyes
; then
6777 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
6782 # See if we have the libcap library
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
6784 $as_echo_n "checking for cap_init in -lcap... " >&6; }
6785 if ${ac_cv_lib_cap_cap_init+:} false
; then :
6786 $as_echo_n "(cached) " >&6
6788 ac_check_lib_save_LIBS
=$LIBS
6790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6791 /* end confdefs.h. */
6793 /* Override any GCC internal prototype to avoid an error.
6794 Use char because int might match the return type of a GCC
6795 builtin and then its argument prototype would still apply. */
6808 if ac_fn_c_try_link
"$LINENO"; then :
6809 ac_cv_lib_cap_cap_init
=yes
6811 ac_cv_lib_cap_cap_init
=no
6813 rm -f core conftest.err conftest.
$ac_objext \
6814 conftest
$ac_exeext conftest.
$ac_ext
6815 LIBS
=$ac_check_lib_save_LIBS
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
6818 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
6819 if test "x$ac_cv_lib_cap_cap_init" = xyes
; then :
6825 if test "x$have_libcap" = xyes
; then
6827 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
6835 # The cast to long int works around a bug in the HP C Compiler
6836 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6837 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6838 # This bug is HP SR number 8606223364.
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
6840 $as_echo_n "checking size of long double... " >&6; }
6841 if ${ac_cv_sizeof_long_double+:} false
; then :
6842 $as_echo_n "(cached) " >&6
6844 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
6847 if test "$ac_cv_type_long_double" = yes; then
6848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6850 as_fn_error
77 "cannot compute sizeof (long double)
6851 See \`config.log' for more details" "$LINENO" 5; }
6853 ac_cv_sizeof_long_double
=0
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
6859 $as_echo "$ac_cv_sizeof_long_double" >&6; }
6863 cat >>confdefs.h
<<_ACEOF
6864 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
6868 sizeof_long_double
=$ac_cv_sizeof_long_double
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FORTIFY_SOURCE predefine" >&5
6873 $as_echo_n "checking for _FORTIFY_SOURCE predefine... " >&6; }
6874 if ${libc_cv_predef_fortify_source+:} false
; then :
6875 $as_echo_n "(cached) " >&6
6877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h. */
6884 #ifdef _FORTIFY_SOURCE
6891 if ac_fn_c_try_compile
"$LINENO"; then :
6892 libc_cv_predef_fortify_source
=no
6894 libc_cv_predef_fortify_source
=yes
6896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_fortify_source" >&5
6899 $as_echo "$libc_cv_predef_fortify_source" >&6; }
6900 if test $libc_cv_predef_fortify_source = yes; then
6901 CPPUNDEFS
="${CPPUNDEFS:+$CPPUNDEFS }-U_FORTIFY_SOURCE"
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implicitly enables -fstack-protector" >&5
6906 $as_echo_n "checking whether $CC implicitly enables -fstack-protector... " >&6; }
6907 if ${libc_cv_predef_stack_protector+:} false
; then :
6908 $as_echo_n "(cached) " >&6
6911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6913 extern void foobar (char *);
6917 char large_array[2048]; foobar (large_array);
6922 if ac_fn_c_try_compile
"$LINENO"; then :
6924 libc_undefs
=`$NM -u conftest.o |
6925 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
6927 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
6929 echo >&5 "libc_undefs='$libc_undefs'"
6930 # On some architectures, there are architecture-specific undefined
6931 # symbols (resolved by the linker), so filter out unknown symbols.
6932 # This will fail to produce the correct result if the compiler
6933 # defaults to -fstack-protector but this produces an undefined symbol
6934 # other than __stack_chk_fail. However, compilers like that have not
6935 # been encountered in practice.
6936 libc_undefs
=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail)$'`
6937 case "$libc_undefs" in
6938 foobar
) libc_cv_predef_stack_protector
=no
;;
6940 foobar') libc_cv_predef_stack_protector
=yes ;;
6941 *) as_fn_error $?
"unexpected symbols in test: $libc_undefs" "$LINENO" 5 ;;
6944 as_fn_error $?
"test compilation failed" "$LINENO" 5
6946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_stack_protector" >&5
6950 $as_echo "$libc_cv_predef_stack_protector" >&6; }
6952 if test $libc_cv_predef_stack_protector = yes; then
6953 libc_extra_cflags
="$libc_extra_cflags -fno-stack-protector"
6955 libc_extra_cppflags
=
6957 # Some linkers on some architectures support __ehdr_start but with
6958 # bugs. Make sure usage of it does not create relocations in the
6959 # output (as the linker should resolve them all for us).
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker provides working __ehdr_start" >&5
6961 $as_echo_n "checking whether the linker provides working __ehdr_start... " >&6; }
6962 if ${libc_cv_ehdr_start+:} false
; then :
6963 $as_echo_n "(cached) " >&6
6966 old_CFLAGS
="$CFLAGS"
6967 old_LDFLAGS
="$LDFLAGS"
6969 CFLAGS
="$CFLAGS -fPIC"
6970 LDFLAGS
="$LDFLAGS -nostdlib -nostartfiles -shared"
6972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6979 extern const Ehdr __ehdr_start __attribute__ ((visibility ("hidden")));
6980 long ehdr (void) { return __ehdr_start.val; }
6983 if ac_fn_c_try_link
"$LINENO"; then :
6984 if $READELF -r conftest | fgrep __ehdr_start
>/dev
/null
; then
6985 libc_cv_ehdr_start
=broken
6987 libc_cv_ehdr_start
=yes
6990 libc_cv_ehdr_start
=no
6992 rm -f core conftest.err conftest.
$ac_objext \
6993 conftest
$ac_exeext conftest.
$ac_ext
6994 CFLAGS
="$old_CFLAGS"
6995 LDFLAGS
="$old_LDFLAGS"
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ehdr_start" >&5
7000 $as_echo "$libc_cv_ehdr_start" >&6; }
7001 if test "$libc_cv_ehdr_start" = yes; then
7002 $as_echo "#define HAVE_EHDR_START 1" >>confdefs.h
7004 elif test "$libc_cv_ehdr_start" = broken
; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linker is broken -- you should upgrade" >&5
7006 $as_echo "$as_me: WARNING: linker is broken -- you should upgrade" >&2;}
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_trap with no external dependencies" >&5
7010 $as_echo_n "checking for __builtin_trap with no external dependencies... " >&6; }
7011 if ${libc_cv_builtin_trap+:} false
; then :
7012 $as_echo_n "(cached) " >&6
7014 libc_cv_builtin_trap
=no
7015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7016 /* end confdefs.h. */
7026 if ac_fn_c_try_compile
"$LINENO"; then :
7028 libc_undefs
=`$NM -u conftest.o |
7029 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
7031 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
7033 echo >&5 "libc_undefs='$libc_undefs'"
7034 if test -z "$libc_undefs"; then
7035 libc_cv_builtin_trap
=yes
7038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_builtin_trap" >&5
7041 $as_echo "$libc_cv_builtin_trap" >&6; }
7042 if test $libc_cv_builtin_trap = yes; then
7043 $as_echo "#define HAVE_BUILTIN_TRAP 1" >>confdefs.h
7047 ### End of automated tests.
7048 ### Now run sysdeps configure fragments.
7050 # They also can set these variables.
7052 ldd_rewrite_script
=no
7053 libc_cv_sysconfdir
=$sysconfdir
7054 libc_cv_localstatedir
=$localstatedir
7055 libc_cv_gcc_unwind_find_fde
=no
7058 # Iterate over all the sysdep directories we will use, running their
7059 # configure fragments.
7060 for dir
in $sysnames; do
7063 *) dest
=$srcdir/$dir ;;
7065 if test -r $dest/configure
; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
7067 $as_echo "running configure fragment for $dir" >&6; }
7075 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
7076 $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
7081 # A sysdeps configure fragment can reset this if IFUNC is not actually
7082 # usable even though the assembler knows how to generate the symbol type.
7083 if test x
"$libc_cv_ld_gnu_indirect_function" = xyes
; then
7084 $as_echo "#define HAVE_IFUNC 1" >>confdefs.h
7088 # This is far from the AC_ARG_ENABLE that sets it so that a sysdeps
7089 # configure fragment can override the value to prevent this AC_DEFINE.
7091 if test "x$use_nscd" != xno
; then
7092 $as_echo "#define USE_NSCD 1" >>confdefs.h
7095 if test "x$build_nscd" = xdefault
; then
7096 build_nscd
=$use_nscd
7099 # Test for old glibc 2.0.x headers so that they can be removed properly
7100 # Search only in includedir.
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old glibc 2.0.x headers" >&5
7102 $as_echo_n "checking for old glibc 2.0.x headers... " >&6; }
7103 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
7105 old_glibc_headers
=yes
7107 old_glibc_headers
=no
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $old_glibc_headers" >&5
7110 $as_echo "$old_glibc_headers" >&6; }
7111 if test ${old_glibc_headers} = yes; then
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
7113 $as_echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** be removed." >&5
7115 $as_echo "$as_me: WARNING: *** be removed." >&2;}
7127 if test x
$use_ldconfig = xyes
; then
7128 $as_echo "#define USE_LDCONFIG 1" >>confdefs.h
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
7138 $as_echo_n "checking whether -fPIC is default... " >&6; }
7139 if ${libc_cv_pic_default+:} false
; then :
7140 $as_echo_n "(cached) " >&6
7142 libc_cv_pic_default
=yes
7143 cat > conftest.c
<<EOF
7144 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
7145 # error PIC is default.
7148 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7149 libc_cv_pic_default
=no
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
7154 $as_echo "$libc_cv_pic_default" >&6; }
7164 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
7165 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
7169 ac_config_files
="$ac_config_files config.make Makefile"
7171 ac_config_commands
="$ac_config_commands default"
7173 cat >confcache
<<\_ACEOF
7174 # This file is a shell script that caches the results of configure
7175 # tests run on this system so they can be shared between configure
7176 # scripts and configure runs, see configure's option --config-cache.
7177 # It is not useful on other systems. If it contains results you don't
7178 # want to keep, you may remove or edit it.
7180 # config.status only pays attention to the cache file if you give it
7181 # the --recheck option to rerun configure.
7183 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7184 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7189 # The following way of writing the cache mishandles newlines in values,
7190 # but we know of no workaround that is simple, portable, and efficient.
7191 # So, we kill variables containing newlines.
7192 # Ultrix sh set writes to stderr and can't be redirected directly,
7193 # and sets the high bit in the cache file unless we assign to the vars.
7195 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7196 eval ac_val
=\$
$ac_var
7200 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7201 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7204 _ | IFS | as_nl
) ;; #(
7205 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7206 *) { eval $ac_var=; unset $ac_var;} ;;
7212 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7213 *${as_nl}ac_space
=\
*)
7214 # `set' does not quote correctly, so add quotes: double-quote
7215 # substitution turns \\\\ into \\, and sed turns \\ into \.
7218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7221 # `set' quotes correctly as required by POSIX, so do not add quotes.
7222 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7231 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7233 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7235 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7236 if test -w "$cache_file"; then
7237 if test "x$cache_file" != "x/dev/null"; then
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7239 $as_echo "$as_me: updating cache $cache_file" >&6;}
7240 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7241 cat confcache
>"$cache_file"
7243 case $cache_file in #(
7245 mv -f confcache
"$cache_file"$$
&&
7246 mv -f "$cache_file"$$
"$cache_file" ;; #(
7248 mv -f confcache
"$cache_file" ;;
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7254 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7259 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7260 # Let make expand exec_prefix.
7261 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7263 DEFS
=-DHAVE_CONFIG_H
7268 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7269 # 1. Remove the extension, and $U if already installed.
7270 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7271 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7272 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7273 # will be set to the directory where LIBOBJS objects are built.
7274 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7275 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7279 LTLIBOBJS
=$ac_ltlibobjs
7283 : "${CONFIG_STATUS=./config.status}"
7285 ac_clean_files_save
=$ac_clean_files
7286 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7288 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7290 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7292 # Generated by $as_me.
7293 # Run this file to recreate the current configuration.
7294 # Compiler output produced by configure, useful for debugging
7295 # configure, is in config.log if it exists.
7301 SHELL=\${CONFIG_SHELL-$SHELL}
7304 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7305 ## -------------------- ##
7306 ## M4sh Initialization. ##
7307 ## -------------------- ##
7309 # Be more Bourne compatible
7310 DUALCASE
=1; export DUALCASE
# for MKS sh
7311 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7314 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7315 # is contrary to our usage. Disable this feature.
7316 alias -g '${1+"$@"}'='"$@"'
7317 setopt NO_GLOB_SUBST
7319 case `(set -o) 2>/dev/null` in #(
7331 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7332 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7333 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7334 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7335 # Prefer a ksh shell builtin over an external printf program on Solaris,
7336 # but without wasting forks for bash or zsh.
7337 if test -z "$BASH_VERSION$ZSH_VERSION" \
7338 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7339 as_echo='print
-r --'
7340 as_echo_n='print
-rn --'
7341 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7342 as_echo='printf %s
\n'
7343 as_echo_n='printf %s
'
7345 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7346 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7347 as_echo_n='/usr
/ucb
/echo -n'
7349 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7350 as_echo_n_body='eval
7354 expr "X$arg" : "X\\(.*\\)$as_nl";
7355 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7357 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7359 export as_echo_n_body
7360 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7363 as_echo='sh
-c $as_echo_body as_echo
'
7366 # The user is always right.
7367 if test "${PATH_SEPARATOR+set}" != set; then
7369 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7370 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7377 # We need space, tab and new line, in precisely that order. Quoting is
7378 # there to prevent editors from complaining about space-tab.
7379 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7380 # splitting by setting IFS to empty value.)
7383 # Find who we are. Look in the path if we contain no directory separator.
7386 *[\\/]* ) as_myself=$0 ;;
7387 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 test -z "$as_dir" && as_dir=.
7392 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7398 # We did not find ourselves, most probably we were run as `sh COMMAND'
7399 # in which case we are not to be found in the path.
7400 if test "x$as_myself" = x
; then
7403 if test ! -f "$as_myself"; then
7404 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7408 # Unset variables that we do not need and which cause bugs (e.g. in
7409 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7410 # suppresses any "Segmentation fault" message there. '((' could
7411 # trigger a bug in pdksh 5.2.14.
7412 for as_var
in BASH_ENV ENV MAIL MAILPATH
7413 do eval test x\
${$as_var+set} = xset \
7414 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7427 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7430 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7431 # ----------------------------------------
7432 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7433 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7434 # script with STATUS, using 1 if that was 0.
7437 as_status
=$1; test $as_status -eq 0 && as_status
=1
7439 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7440 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7442 $as_echo "$as_me: error: $2" >&2
7443 as_fn_exit
$as_status
7447 # as_fn_set_status STATUS
7448 # -----------------------
7449 # Set $? to STATUS, without forking.
7453 } # as_fn_set_status
7457 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7467 # Portably unset VAR.
7470 { eval $1=; unset $1;}
7472 as_unset
=as_fn_unset
7473 # as_fn_append VAR VALUE
7474 # ----------------------
7475 # Append the text in VALUE to the end of the definition contained in VAR. Take
7476 # advantage of any shell optimizations that allow amortized linear growth over
7477 # repeated appends, instead of the typical quadratic growth present in naive
7479 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7480 eval 'as_fn_append ()
7491 # as_fn_arith ARG...
7492 # ------------------
7493 # Perform arithmetic evaluation on the ARGs, and store the result in the
7494 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7495 # must be portable across $(()) and expr.
7496 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7497 eval 'as_fn_arith ()
7504 as_val
=`expr "$@" || test $? -eq 1`
7509 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7510 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7516 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7517 as_basename
=basename
7522 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7528 as_me
=`$as_basename -- "$0" ||
7529 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7530 X"$0" : 'X\(//\)$' \| \
7531 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7533 sed '/^.*\/\([^/][^/]*\)\/*$/{
7547 # Avoid depending upon Character Ranges.
7548 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7549 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7550 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7551 as_cr_digits
='0123456789'
7552 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7554 ECHO_C
= ECHO_N
= ECHO_T
=
7555 case `echo -n x` in #(((((
7557 case `echo 'xy\c'` in
7558 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7560 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7567 rm -f conf$$ conf$$.exe conf$$.
file
7568 if test -d conf$$.dir
; then
7569 rm -f conf$$.dir
/conf$$.
file
7572 mkdir conf$$.dir
2>/dev
/null
7574 if (echo >conf$$.
file) 2>/dev
/null
; then
7575 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7577 # ... but there are two gotchas:
7578 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7579 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7580 # In both cases, we have to default to `cp -pR'.
7581 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7583 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7591 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7592 rmdir conf$$.dir
2>/dev
/null
7597 # Create "$as_dir" as a directory, including parents if necessary.
7602 -*) as_dir
=.
/$as_dir;;
7604 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7608 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7609 *) as_qdir
=$as_dir;;
7611 as_dirs
="'$as_qdir' $as_dirs"
7612 as_dir
=`$as_dirname -- "$as_dir" ||
7613 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7614 X"$as_dir" : 'X\(//\)[^/]' \| \
7615 X"$as_dir" : 'X\(//\)$' \| \
7616 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7617 $as_echo X"$as_dir" |
7618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7635 test -d "$as_dir" && break
7637 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7638 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7642 if mkdir
-p .
2>/dev
/null
; then
7643 as_mkdir_p
='mkdir -p "$as_dir"'
7645 test -d .
/-p && rmdir .
/-p
7650 # as_fn_executable_p FILE
7651 # -----------------------
7652 # Test if FILE is an executable regular file.
7653 as_fn_executable_p
()
7655 test -f "$1" && test -x "$1"
7656 } # as_fn_executable_p
7658 as_executable_p
=as_fn_executable_p
7660 # Sed expression to map a string onto a valid CPP name.
7661 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7663 # Sed expression to map a string onto a valid variable name.
7664 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7668 ## ----------------------------------- ##
7669 ## Main body of $CONFIG_STATUS script. ##
7670 ## ----------------------------------- ##
7672 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7675 # Save the log message, to keep $0 and so on meaningful, and to
7676 # report actual input values of CONFIG_FILES etc. instead of their
7677 # values after options handling.
7679 This file was extended by GNU C Library $as_me (see version.h), which was
7680 generated by GNU Autoconf 2.69. Invocation command line was
7682 CONFIG_FILES = $CONFIG_FILES
7683 CONFIG_HEADERS = $CONFIG_HEADERS
7684 CONFIG_LINKS = $CONFIG_LINKS
7685 CONFIG_COMMANDS = $CONFIG_COMMANDS
7688 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7693 case $ac_config_files in *"
7694 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7697 case $ac_config_headers in *"
7698 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7703 # Files that config.status was made for.
7704 config_files="$ac_config_files"
7705 config_headers="$ac_config_headers"
7706 config_commands="$ac_config_commands"
7710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7712 \`$as_me' instantiates files and other configuration actions
7713 from templates according to the current configuration. Unless the files
7714 and actions are specified as TAGs, all are instantiated by default.
7716 Usage: $0 [OPTION]... [TAG]...
7718 -h, --help print this help, then exit
7719 -V, --version print version number and configuration settings, then exit
7720 --config print configuration, then exit
7721 -q, --quiet, --silent
7722 do not print progress messages
7723 -d, --debug don't remove temporary files
7724 --recheck update $as_me by reconfiguring in the same conditions
7725 --file=FILE[:TEMPLATE]
7726 instantiate the configuration file FILE
7727 --header=FILE[:TEMPLATE]
7728 instantiate the configuration header FILE
7730 Configuration files:
7733 Configuration headers:
7736 Configuration commands:
7739 Report bugs to <http://sourceware.org/bugzilla/>.
7740 GNU C Library home page: <http://www.gnu.org/software/glibc/>.
7741 General help using GNU software: <http://www.gnu.org/gethelp/>."
7744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7745 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7747 GNU C Library config.status (see version.h)
7748 configured by $0, generated by GNU Autoconf 2.69,
7749 with options \\"\$ac_cs_config\\"
7751 Copyright (C) 2012 Free Software Foundation, Inc.
7752 This config.status script is free software; the Free Software Foundation
7753 gives unlimited permission to copy, distribute and modify it."
7758 test -n "\$AWK" || AWK=awk
7761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7762 # The default lists apply if the user does not specify any file.
7768 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7769 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7773 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7785 # Handling of the options.
7786 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7788 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7789 $as_echo "$ac_cs_version"; exit ;;
7790 --config |
--confi |
--conf |
--con |
--co |
--c )
7791 $as_echo "$ac_cs_config"; exit ;;
7792 --debug |
--debu |
--deb |
--de |
--d |
-d )
7794 --file |
--fil |
--fi |
--f )
7797 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7798 '') as_fn_error $?
"missing file argument" ;;
7800 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7801 ac_need_defaults
=false
;;
7802 --header |
--heade |
--head |
--hea )
7805 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7807 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7808 ac_need_defaults
=false
;;
7810 # Conflict between --help and --header
7811 as_fn_error $?
"ambiguous option: \`$1'
7812 Try \`$0 --help' for more information.";;
7813 --help |
--hel |
-h )
7814 $as_echo "$ac_cs_usage"; exit ;;
7815 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7816 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7820 -*) as_fn_error $?
"unrecognized option: \`$1'
7821 Try \`$0 --help' for more information." ;;
7823 *) as_fn_append ac_config_targets
" $1"
7824 ac_need_defaults
=false
;;
7830 ac_configure_extra_args
=
7832 if $ac_cs_silent; then
7834 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7839 if \$ac_cs_recheck; then
7840 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7842 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7843 CONFIG_SHELL='$SHELL'
7849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7853 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7854 ## Running $as_me. ##
7860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7864 config_vars='$config_vars'
7868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7870 # Handling of arguments.
7871 for ac_config_target
in $ac_config_targets
7873 case $ac_config_target in
7874 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7875 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
7876 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7877 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
7879 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7884 # If the user did not use the arguments to specify the items to instantiate,
7885 # then the envvar interface is used. Set only those that are not.
7886 # We use the long form for the default assignment because of an extremely
7887 # bizarre bug on SunOS 4.1.3.
7888 if $ac_need_defaults; then
7889 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7890 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7891 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7894 # Have a temporary directory for convenience. Make it in the build tree
7895 # simply because there is no reason against having it here, and in addition,
7896 # creating and moving files from /tmp can sometimes cause problems.
7897 # Hook for its removal unless debugging.
7898 # Note that there is a small window in which the directory will not be cleaned:
7899 # after its creation but before its name has been assigned to `$tmp'.
7903 trap 'exit_status=$?
7905 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7907 trap 'as_fn_exit 1' 1 2 13 15
7909 # Create a (secure) tmp directory for tmp files.
7912 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7916 tmp
=.
/conf$$
-$RANDOM
7917 (umask 077 && mkdir
"$tmp")
7918 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7921 # Set up the scripts for CONFIG_FILES section.
7922 # No need to generate them if there are no CONFIG_FILES.
7923 # This happens for instance with `./config.status config.h'.
7924 if test -n "$CONFIG_FILES"; then
7927 ac_cr
=`echo X | tr X '\015'`
7928 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7929 # But we know of no other shell where ac_cr would be empty at this
7930 # point, so we can use a bashism as a fallback.
7931 if test "x$ac_cr" = x
; then
7932 eval ac_cr
=\$
\'\\r
\'
7934 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7935 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7941 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7946 echo "cat >conf$$subs.awk <<_ACEOF" &&
7947 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7950 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7951 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7953 for ac_last_try in false false false false false :; do
7954 . ./conf$$subs.sh ||
7955 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7957 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7958 if test $ac_delim_n = $ac_delim_num; then
7960 elif $ac_last_try; then
7961 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7963 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7969 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7973 s/^/S["/; s
/!.
*/"]=/
7983 s/\(.\{148\}\)..*/\1/
7985 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7990 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7997 s/\(.\{148\}\)..*/\1/
7999 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8003 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8008 ' <conf$$subs.awk | sed '
8013 ' >>$CONFIG_STATUS || ac_write_fail=1
8014 rm -f conf$$subs.awk
8015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8017 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8018 for (key in S) S_is_set[key] = 1
8024 nfields = split(line, field, "@
")
8026 len = length(field[1])
8027 for (i = 2; i < nfields; i++) {
8029 keylen = length(key)
8030 if (S_is_set[key]) {
8032 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8033 len += length(value) + length(field[++i])
8044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8045 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8046 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8049 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8050 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8053 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8054 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8055 # trailing colons and then remove the whole line if VPATH becomes empty
8056 # (actually we leave an empty line to preserve line numbers).
8057 if test "x
$srcdir" = x.; then
8058 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8077 fi # test -n "$CONFIG_FILES"
8079 # Set up the scripts for CONFIG_HEADERS section.
8080 # No need to generate them if there are no CONFIG_HEADERS.
8081 # This happens for instance with `./config.status Makefile'.
8082 if test -n "$CONFIG_HEADERS"; then
8083 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8087 # Transform confdefs.h into an awk script `defines.awk', embedded as
8088 # here-document in config.status, that substitutes the proper values into
8089 # config.h.in to produce config.h.
8091 # Create a delimiter string that does not exist in confdefs.h, to ease
8092 # handling of long lines.
8094 for ac_last_try in false false :; do
8095 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8096 if test -z "$ac_tt"; then
8098 elif $ac_last_try; then
8099 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8101 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8105 # For the awk script, D is an array of macro values keyed by name,
8106 # likewise P contains macro parameters if any. Preserve backslash
8107 # newline sequences.
8109 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8111 s/.\{148\}/&'"$ac_delim"'/g
8114 s/^[ ]*#[ ]*define[ ][ ]*/ /
8121 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8123 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8127 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8128 D["\
1"]=" \
3\\\\\\n
"\\/p
8130 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8135 s/.\{148\}/&'"$ac_delim"'/g
8140 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8143 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8145 ' <confdefs.h | sed '
8146 s/'"$ac_delim"'/"\\\
8147 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8150 for (key in D) D_is_set[key] = 1
8153 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8155 split(line, arg, " ")
8156 if (arg[1] == "#") {
8160 defundef
= substr
(arg
[1], 2)
8163 split(mac1
, mac2
, "(") #)
8165 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8166 if (D_is_set
[macro
]) {
8167 # Preserve the white space surrounding the "#".
8168 print prefix
"define", macro P
[macro
] D
[macro
]
8171 # Replace #undef with comments. This is necessary, for example,
8172 # in the case of _POSIX_SOURCE, which is predefined and required
8173 # on some systems where configure will not decide to define it.
8174 if (defundef
== "undef") {
8175 print
"/*", prefix defundef
, macro
, "*/"
8183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8184 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8185 fi # test -n "$CONFIG_HEADERS"
8188 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8193 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8195 case $ac_mode$ac_tag in
8197 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8198 :[FH
]-) ac_tag
=-:-;;
8199 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8216 -) ac_f
="$ac_tmp/stdin";;
8217 *) # Look for the file first in the build tree, then in the source tree
8218 # (if the path is not absolute). The absolute path cannot be DOS-style,
8219 # because $ac_f cannot contain `:'.
8223 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8225 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8227 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8228 as_fn_append ac_file_inputs
" '$ac_f'"
8231 # Let's still pretend it is `configure' which instantiates (i.e., don't
8232 # use $as_me), people would be surprised to read:
8233 # /* config.h. Generated by config.status. */
8234 configure_input
='Generated from '`
8235 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8237 if test x
"$ac_file" != x-
; then
8238 configure_input
="$ac_file. $configure_input"
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8240 $as_echo "$as_me: creating $ac_file" >&6;}
8242 # Neutralize special characters interpreted by sed in replacement strings.
8243 case $configure_input in #(
8244 *\
&* |
*\|
* |
*\\* )
8245 ac_sed_conf_input
=`$as_echo "$configure_input" |
8246 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8247 *) ac_sed_conf_input
=$configure_input;;
8251 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8252 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8257 ac_dir
=`$as_dirname -- "$ac_file" ||
8258 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8259 X"$ac_file" : 'X\(//\)[^/]' \| \
8260 X"$ac_file" : 'X\(//\)$' \| \
8261 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8262 $as_echo X"$ac_file" |
8263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8280 as_dir
="$ac_dir"; as_fn_mkdir_p
8284 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8286 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8287 # A ".." for each directory in $ac_dir_suffix.
8288 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8289 case $ac_top_builddir_sub in
8290 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8291 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8294 ac_abs_top_builddir
=$ac_pwd
8295 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8296 # for backward compatibility:
8297 ac_top_builddir
=$ac_top_build_prefix
8300 .
) # We are building in place.
8302 ac_top_srcdir
=$ac_top_builddir_sub
8303 ac_abs_top_srcdir
=$ac_pwd ;;
8304 [\\/]* | ?
:[\\/]* ) # Absolute name.
8305 ac_srcdir
=$srcdir$ac_dir_suffix;
8306 ac_top_srcdir
=$srcdir
8307 ac_abs_top_srcdir
=$srcdir ;;
8309 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8310 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8311 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8313 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8323 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8324 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8329 # If the template does not know about datarootdir, expand it.
8330 # FIXME: This hack should be removed a few years after 2.60.
8331 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8342 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8343 *datarootdir
*) ac_datarootdir_seen
=yes;;
8344 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8346 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8349 ac_datarootdir_hack='
8350 s&@datadir@&$datadir&g
8351 s&@docdir@&$docdir&g
8352 s&@infodir@&$infodir&g
8353 s&@localedir@&$localedir&g
8354 s&@mandir@&$mandir&g
8355 s&\\\${datarootdir}&$datarootdir&g' ;;
8359 # Neutralize VPATH when `$srcdir' = `.'.
8360 # Shell code in configure.ac might set extrasub.
8361 # FIXME: do we really want to maintain this feature?
8362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8363 ac_sed_extra="$ac_vpsub
8366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8368 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8369 s|@configure_input@|
$ac_sed_conf_input|
;t t
8370 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8371 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8372 s
&@srcdir@
&$ac_srcdir&;t t
8373 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8374 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8375 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8376 s
&@builddir@
&$ac_builddir&;t t
8377 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8378 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8379 s
&@INSTALL@
&$ac_INSTALL&;t t
8380 $ac_datarootdir_hack
8382 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8383 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8385 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8386 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8387 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8388 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8390 which seems to be undefined. Please make sure it is defined" >&5
8391 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8392 which seems to be undefined. Please make sure it is defined" >&2;}
8394 rm -f "$ac_tmp/stdin"
8396 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8397 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8399 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8405 if test x"$ac_file" != x-; then
8407 $as_echo "/* $configure_input */" \
8408 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8409 } >"$ac_tmp/config.h" \
8410 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8411 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8413 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8416 mv "$ac_tmp/config.h" "$ac_file" \
8417 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8420 $as_echo "/* $configure_input */" \
8421 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8422 || as_fn_error $? "could not create -" "$LINENO" 5
8426 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8427 $as_echo "$as_me: executing $ac_file commands" >&6;}
8432 case $ac_file$ac_mode in
8434 case $CONFIG_FILES in *config.make*)
8435 echo "$config_vars" >> config.make;;
8437 test -d bits || mkdir bits ;;
8445 ac_clean_files=$ac_clean_files_save
8447 test $ac_write_fail = 0 ||
8448 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8451 # configure is writing to config.log, and then calls config.status.
8452 # config.status does its own redirection, appending to config.log.
8453 # Unfortunately, on DOS this fails, as config.log is still kept open
8454 # by configure, so config.status won't be able to
write to it
; its
8455 # output is simply discarded. So we exec the FD to /dev/null,
8456 # effectively closing config.log, so it can be properly (re)opened and
8457 # appended to by config.status. When coming back to configure, we
8458 # need to make the FD available again.
8459 if test "$no_create" != yes; then
8461 ac_config_status_args
=
8462 test "$silent" = yes &&
8463 ac_config_status_args
="$ac_config_status_args --quiet"
8465 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8467 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8468 # would make configure fail if this is the last instruction.
8469 $ac_cs_success || as_fn_exit
1
8473 # CONFIG_SUBDIRS section.
8475 if test "$no_recursion" != yes; then
8477 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8478 # so they do not pile up.
8479 ac_sub_configure_args
=
8481 eval "set x $ac_configure_args"
8485 if test -n "$ac_prev"; then
8490 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8491 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8492 ac_prev
=cache_file
;;
8493 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8494 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8497 --config-cache |
-C)
8499 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8501 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8507 --disable-option-checking)
8511 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8513 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
8517 # Always prepend --prefix to ensure using the same prefix
8518 # in subdir configurations.
8519 ac_arg
="--prefix=$prefix"
8521 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8523 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8526 if test "$silent" = yes; then
8527 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8530 # Always prepend --disable-option-checking to silence warnings, since
8531 # different subdirs can have different --enable and --with options.
8532 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
8535 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8537 # Do not complain, so a configure script can configure whichever
8538 # parts of a large source tree are present.
8539 test -d "$srcdir/$ac_dir" ||
continue
8541 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8542 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8543 $as_echo "$ac_msg" >&6
8544 as_dir
="$ac_dir"; as_fn_mkdir_p
8548 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8550 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8551 # A ".." for each directory in $ac_dir_suffix.
8552 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8553 case $ac_top_builddir_sub in
8554 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8555 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8558 ac_abs_top_builddir
=$ac_pwd
8559 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8560 # for backward compatibility:
8561 ac_top_builddir
=$ac_top_build_prefix
8564 .
) # We are building in place.
8566 ac_top_srcdir
=$ac_top_builddir_sub
8567 ac_abs_top_srcdir
=$ac_pwd ;;
8568 [\\/]* | ?
:[\\/]* ) # Absolute name.
8569 ac_srcdir
=$srcdir$ac_dir_suffix;
8570 ac_top_srcdir
=$srcdir
8571 ac_abs_top_srcdir
=$srcdir ;;
8573 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8574 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8575 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8577 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8582 # Check for guested configure; otherwise get Cygnus style configure.
8583 if test -f "$ac_srcdir/configure.gnu"; then
8584 ac_sub_configure
=$ac_srcdir/configure.gnu
8585 elif test -f "$ac_srcdir/configure"; then
8586 ac_sub_configure
=$ac_srcdir/configure
8587 elif test -f "$ac_srcdir/configure.in"; then
8588 # This should be Cygnus configure.
8589 ac_sub_configure
=$ac_aux_dir/configure
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8592 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8596 # The recursion is here.
8597 if test -n "$ac_sub_configure"; then
8598 # Make the cache file name correct relative to the subdirectory.
8600 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8602 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8605 { $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
8606 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8607 # The eval makes quoting arguments work.
8608 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8609 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8610 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8616 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8618 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}