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
637 libc_cv_protected_data
642 libc_cv_gcc_static_libgcc
677 hardcoded_path_in_tests
734 program_transform_name
747 enable_option_checking
761 enable_hardcoded_path_in_tests
762 enable_stackguard_randomization
769 enable_maintainer_mode
783 ac_precious_vars
='build_alias
798 # Initialize some variables set by options.
800 ac_init_version
=false
801 ac_unrecognized_opts
=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
812 program_transform_name
=s
,x
,x
,
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir
='${exec_prefix}/bin'
827 sbindir
='${exec_prefix}/sbin'
828 libexecdir
='${exec_prefix}/libexec'
829 datarootdir
='${prefix}/share'
830 datadir
='${datarootdir}'
831 sysconfdir
='${prefix}/etc'
832 sharedstatedir
='${prefix}/com'
833 localstatedir
='${prefix}/var'
834 includedir
='${prefix}/include'
835 oldincludedir
='/usr/include'
836 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
837 infodir
='${datarootdir}/info'
842 libdir
='${exec_prefix}/lib'
843 localedir
='${datarootdir}/locale'
844 mandir
='${datarootdir}/man'
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\
$ac_option
858 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
863 # Accept the important Cygnus configure options, so we can diagnose typos.
865 case $ac_dashdash$ac_option in
869 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
871 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
874 -build |
--build |
--buil |
--bui |
--bu)
875 ac_prev
=build_alias
;;
876 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
877 build_alias
=$ac_optarg ;;
879 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
880 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
881 ac_prev
=cache_file
;;
882 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
883 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
884 cache_file
=$ac_optarg ;;
887 cache_file
=config.cache
;;
889 -datadir |
--datadir |
--datadi |
--datad)
891 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
892 datadir
=$ac_optarg ;;
894 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
895 |
--dataroo |
--dataro |
--datar)
896 ac_prev
=datarootdir
;;
897 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
898 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
899 datarootdir
=$ac_optarg ;;
901 -disable-* |
--disable-*)
902 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
905 as_fn_error $?
"invalid feature name: $ac_useropt"
906 ac_useropt_orig
=$ac_useropt
907 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908 case $ac_user_opts in
912 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
913 ac_unrecognized_sep
=', ';;
915 eval enable_
$ac_useropt=no
;;
917 -docdir |
--docdir |
--docdi |
--doc |
--do)
919 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
922 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
924 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
927 -enable-* |
--enable-*)
928 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
929 # Reject names that are not valid shell variable names.
930 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
931 as_fn_error $?
"invalid feature name: $ac_useropt"
932 ac_useropt_orig
=$ac_useropt
933 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
934 case $ac_user_opts in
938 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
939 ac_unrecognized_sep
=', ';;
941 eval enable_
$ac_useropt=\
$ac_optarg ;;
943 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
944 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
945 |
--exec |
--exe |
--ex)
946 ac_prev
=exec_prefix
;;
947 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
948 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
949 |
--exec=* |
--exe=* |
--ex=*)
950 exec_prefix
=$ac_optarg ;;
952 -gas |
--gas |
--ga |
--g)
953 # Obsolete; use --with-gas.
956 -help |
--help |
--hel |
--he |
-h)
958 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
959 ac_init_help
=recursive
;;
960 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
961 ac_init_help
=short
;;
963 -host |
--host |
--hos |
--ho)
964 ac_prev
=host_alias
;;
965 -host=* |
--host=* |
--hos=* |
--ho=*)
966 host_alias
=$ac_optarg ;;
968 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
970 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
972 htmldir
=$ac_optarg ;;
974 -includedir |
--includedir |
--includedi |
--included |
--include \
975 |
--includ |
--inclu |
--incl |
--inc)
976 ac_prev
=includedir
;;
977 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
978 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
979 includedir
=$ac_optarg ;;
981 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
983 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
984 infodir
=$ac_optarg ;;
986 -libdir |
--libdir |
--libdi |
--libd)
988 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
991 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
992 |
--libexe |
--libex |
--libe)
993 ac_prev
=libexecdir
;;
994 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
995 |
--libexe=* |
--libex=* |
--libe=*)
996 libexecdir
=$ac_optarg ;;
998 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1000 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1001 localedir
=$ac_optarg ;;
1003 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1004 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1005 ac_prev
=localstatedir
;;
1006 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1007 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1008 localstatedir
=$ac_optarg ;;
1010 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1012 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1013 mandir
=$ac_optarg ;;
1015 -nfp |
--nfp |
--nf)
1016 # Obsolete; use --without-fp.
1019 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1020 |
--no-cr |
--no-c |
-n)
1023 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1024 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1027 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1028 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1029 |
--oldin |
--oldi |
--old |
--ol |
--o)
1030 ac_prev
=oldincludedir
;;
1031 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1032 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1033 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1034 oldincludedir
=$ac_optarg ;;
1036 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1038 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1039 prefix
=$ac_optarg ;;
1041 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1042 |
--program-pre |
--program-pr |
--program-p)
1043 ac_prev
=program_prefix
;;
1044 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1045 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1046 program_prefix
=$ac_optarg ;;
1048 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1049 |
--program-suf |
--program-su |
--program-s)
1050 ac_prev
=program_suffix
;;
1051 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1052 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1053 program_suffix
=$ac_optarg ;;
1055 -program-transform-name |
--program-transform-name \
1056 |
--program-transform-nam |
--program-transform-na \
1057 |
--program-transform-n |
--program-transform- \
1058 |
--program-transform |
--program-transfor \
1059 |
--program-transfo |
--program-transf \
1060 |
--program-trans |
--program-tran \
1061 |
--progr-tra |
--program-tr |
--program-t)
1062 ac_prev
=program_transform_name
;;
1063 -program-transform-name=* |
--program-transform-name=* \
1064 |
--program-transform-nam=* |
--program-transform-na=* \
1065 |
--program-transform-n=* |
--program-transform-=* \
1066 |
--program-transform=* |
--program-transfor=* \
1067 |
--program-transfo=* |
--program-transf=* \
1068 |
--program-trans=* |
--program-tran=* \
1069 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1070 program_transform_name
=$ac_optarg ;;
1072 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1074 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1075 pdfdir
=$ac_optarg ;;
1077 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1079 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1082 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1083 |
-silent |
--silent |
--silen |
--sile |
--sil)
1086 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1088 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1090 sbindir
=$ac_optarg ;;
1092 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1093 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1094 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1096 ac_prev
=sharedstatedir
;;
1097 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1098 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1099 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1101 sharedstatedir
=$ac_optarg ;;
1103 -site |
--site |
--sit)
1105 -site=* |
--site=* |
--sit=*)
1108 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1110 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1111 srcdir
=$ac_optarg ;;
1113 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1114 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1115 ac_prev
=sysconfdir
;;
1116 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1117 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1118 sysconfdir
=$ac_optarg ;;
1120 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1121 ac_prev
=target_alias
;;
1122 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1123 target_alias
=$ac_optarg ;;
1125 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1128 -version |
--version |
--versio |
--versi |
--vers |
-V)
1129 ac_init_version
=: ;;
1132 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1135 as_fn_error $?
"invalid package name: $ac_useropt"
1136 ac_useropt_orig
=$ac_useropt
1137 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1143 ac_unrecognized_sep
=', ';;
1145 eval with_
$ac_useropt=\
$ac_optarg ;;
1147 -without-* |
--without-*)
1148 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1151 as_fn_error $?
"invalid package name: $ac_useropt"
1152 ac_useropt_orig
=$ac_useropt
1153 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1158 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1159 ac_unrecognized_sep
=', ';;
1161 eval with_
$ac_useropt=no
;;
1164 # Obsolete; use --with-x.
1167 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1168 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1169 ac_prev
=x_includes
;;
1170 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1171 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1172 x_includes
=$ac_optarg ;;
1174 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1175 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1176 ac_prev
=x_libraries
;;
1177 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1178 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1179 x_libraries
=$ac_optarg ;;
1181 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1182 Try \`$0 --help' for more information"
1186 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1187 # Reject names that are not valid shell variable names.
1188 case $ac_envvar in #(
1189 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1190 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1192 eval $ac_envvar=\
$ac_optarg
1193 export $ac_envvar ;;
1196 # FIXME: should be removed in autoconf 3.0.
1197 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1198 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1199 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1200 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1206 if test -n "$ac_prev"; then
1207 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1208 as_fn_error $?
"missing argument to $ac_option"
1211 if test -n "$ac_unrecognized_opts"; then
1212 case $enable_option_checking in
1214 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1215 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219 # Check all directory arguments for consistency.
1220 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1221 datadir sysconfdir sharedstatedir localstatedir includedir \
1222 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1223 libdir localedir mandir
1225 eval ac_val
=\$
$ac_var
1226 # Remove trailing slashes.
1229 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1230 eval $ac_var=\
$ac_val;;
1232 # Be sure to have absolute directory names.
1234 [\\/$
]* | ?
:[\\/]* ) continue;;
1235 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1237 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1240 # There might be people who depend on the old broken behavior: `$host'
1241 # used to hold the argument of --host etc.
1242 # FIXME: To remove some day.
1245 target
=$target_alias
1247 # FIXME: To remove some day.
1248 if test "x$host_alias" != x
; then
1249 if test "x$build_alias" = x
; then
1250 cross_compiling
=maybe
1251 elif test "x$build_alias" != "x$host_alias"; then
1257 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1259 test "$silent" = yes && exec 6>/dev
/null
1262 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di
=`ls -di .` &&
1264 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1265 as_fn_error $?
"working directory cannot be determined"
1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267 as_fn_error $?
"pwd does not report name of working directory"
1270 # Find the source files, if location was not specified.
1271 if test -z "$srcdir"; then
1272 ac_srcdir_defaulted
=yes
1273 # Try the directory containing this script, then the parent directory.
1274 ac_confdir
=`$as_dirname -- "$as_myself" ||
1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276 X"$as_myself" : 'X\(//\)[^/]' \| \
1277 X"$as_myself" : 'X\(//\)$' \| \
1278 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279 $as_echo X"$as_myself" |
1280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1302 ac_srcdir_defaulted
=no
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1306 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1308 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1310 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1312 # When building in place, set srcdir=.
1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
1316 # Remove unnecessary trailing slashes from srcdir.
1317 # Double slashes in file names in object file debugging info
1318 # mess up M-x gdb in Emacs.
1320 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1322 for ac_var
in $ac_precious_vars; do
1323 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1324 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1325 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1326 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1330 # Report the --help message.
1332 if test "$ac_init_help" = "long"; then
1333 # Omit some internal or obsolete options to make the list less imposing.
1334 # This message is too long to be a string in the A/UX 3.1 sh.
1336 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1338 Usage: $0 [OPTION]... [VAR=VALUE]...
1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341 VAR=VALUE. See below for descriptions of some of the useful variables.
1343 Defaults for the options are specified in brackets.
1346 -h, --help display this help and exit
1347 --help=short display options specific to this package
1348 --help=recursive display the short help of all the included packages
1349 -V, --version display version information and exit
1350 -q, --quiet, --silent do not print \`checking ...' messages
1351 --cache-file=FILE cache test results in FILE [disabled]
1352 -C, --config-cache alias for \`--cache-file=config.cache'
1353 -n, --no-create do not create output files
1354 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1356 Installation directories:
1357 --prefix=PREFIX install architecture-independent files in PREFIX
1358 [$ac_default_prefix]
1359 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1362 By default, \`make install' will install all the files in
1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365 for instance \`--prefix=\$HOME'.
1367 For better control, use the options below.
1369 Fine tuning of the installation directories:
1370 --bindir=DIR user executables [EPREFIX/bin]
1371 --sbindir=DIR system admin executables [EPREFIX/sbin]
1372 --libexecdir=DIR program executables [EPREFIX/libexec]
1373 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1374 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1375 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1376 --libdir=DIR object code libraries [EPREFIX/lib]
1377 --includedir=DIR C header files [PREFIX/include]
1378 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1379 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1380 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1381 --infodir=DIR info documentation [DATAROOTDIR/info]
1382 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1383 --mandir=DIR man documentation [DATAROOTDIR/man]
1384 --docdir=DIR documentation root [DATAROOTDIR/doc/glibc]
1385 --htmldir=DIR html documentation [DOCDIR]
1386 --dvidir=DIR dvi documentation [DOCDIR]
1387 --pdfdir=DIR pdf documentation [DOCDIR]
1388 --psdir=DIR ps documentation [DOCDIR]
1394 --build=BUILD configure
for building on BUILD
[guessed
]
1395 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1399 if test -n "$ac_init_help"; then
1400 case $ac_init_help in
1401 short | recursive
) echo "Configuration of GNU C Library (see version.h):";;
1406 --disable-option-checking ignore unrecognized
--enable/--with options
1407 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1408 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1409 --disable-sanity-checks really
do not use threads
(should not be used except
1410 in special situations
) [default
=yes]
1411 --enable-shared build shared library
[default
=yes if GNU ld
]
1412 --enable-profile build profiled library
[default
=no
]
1413 --enable-hardcoded-path-in-tests
1414 hardcode newly built glibc path
in tests
1416 --enable-stackguard-randomization
1417 initialize __stack_chk_guard canary with a random
1418 number
at program start
1419 --enable-lock-elision=yes
/no
1420 Enable lock elision
for pthread mutexes by default
1421 --enable-add-ons[=DIRS...
]
1422 configure and build add-ons
in DIR1
,DIR2
,... search
1423 for add-ons
if no parameter given
1424 --disable-hidden-plt do not hide internal
function calls to avoid PLT
1425 --enable-bind-now disable lazy relocations
in DSOs
1426 --enable-static-nss build static NSS modules
[default
=no
]
1427 --disable-force-install don
't force installation of files from this package,
1428 even if they are older than the installed files
1429 --enable-maintainer-mode
1430 enable make rules and dependencies not useful (and
1431 sometimes confusing) to the casual installer
1432 --enable-kernel=VERSION compile for compatibility with kernel not older than
1434 --enable-all-warnings enable all useful warnings gcc can issue
1435 --disable-werror do not build with -Werror
1436 --enable-multi-arch enable single DSO with optimizations for multiple
1438 --enable-nss-crypt enable libcrypt to use nss
1439 --enable-obsolete-rpc build and install the obsolete RPC code for
1441 --enable-systemtap enable systemtap static probe points [default=no]
1442 --disable-build-nscd disable building and installing the nscd daemon
1443 --disable-nscd library functions will not contact the nscd daemon
1444 --enable-pt_chown Enable building and installing pt_chown
1445 --enable-mathvec Enable building and installing mathvec [default
1446 depends on architecture]
1449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1451 --with-pkgversion=PKG Use PKG in the version string in place of "GNU libc"
1452 --with-bugurl=URL Direct users to URL to report a bug
1453 --with-gd=DIR find libgd include dir and library with prefix DIR
1454 --with-gd-include=DIR find libgd include files in DIR
1455 --with-gd-lib=DIR find libgd library files in DIR
1456 --with-fp if using floating-point hardware [default=yes]
1457 --with-binutils=PATH specify location of binutils (as and ld)
1458 --with-selinux if building with SELinux support
1459 --with-headers=PATH location of system headers to use (for example
1460 /usr/src/linux/include) [default=compiler default]
1461 --with-default-link do not use explicit linker scripts
1462 --with-cpu=CPU select code for CPU variant
1464 Some influential environment variables:
1465 CC C compiler command
1466 CFLAGS C compiler flags
1467 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1468 nonstandard directory <lib dir>
1469 LIBS libraries to pass to the linker, e.g. -l<library>
1470 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1471 you have headers in a nonstandard directory <include dir>
1473 CXX C++ compiler command
1474 CXXFLAGS C++ compiler flags
1476 Use these variables to override the choices made by `configure' or to
help
1477 it to
find libraries and programs with nonstandard names
/locations.
1479 Report bugs to
<http
://sourceware.org
/bugzilla
/>.
1480 GNU C Library home page
: <http
://www.gnu.org
/software
/glibc
/>.
1481 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1486 if test "$ac_init_help" = "recursive"; then
1487 # If there are subdirs, report their specific --help.
1488 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1489 test -d "$ac_dir" ||
1490 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1495 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1497 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1498 # A ".." for each directory in $ac_dir_suffix.
1499 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1500 case $ac_top_builddir_sub in
1501 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1502 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1505 ac_abs_top_builddir
=$ac_pwd
1506 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1507 # for backward compatibility:
1508 ac_top_builddir
=$ac_top_build_prefix
1511 .
) # We are building in place.
1513 ac_top_srcdir
=$ac_top_builddir_sub
1514 ac_abs_top_srcdir
=$ac_pwd ;;
1515 [\\/]* | ?
:[\\/]* ) # Absolute name.
1516 ac_srcdir
=$srcdir$ac_dir_suffix;
1517 ac_top_srcdir
=$srcdir
1518 ac_abs_top_srcdir
=$srcdir ;;
1520 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1521 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1522 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1524 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1526 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1527 # Check for guested configure.
1528 if test -f "$ac_srcdir/configure.gnu"; then
1530 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1531 elif test -f "$ac_srcdir/configure"; then
1533 $SHELL "$ac_srcdir/configure" --help=recursive
1535 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1537 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1541 test -n "$ac_init_help" && exit $ac_status
1542 if $ac_init_version; then
1544 GNU C Library configure
(see version.h
)
1545 generated by GNU Autoconf
2.69
1547 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1548 This configure
script is free software
; the Free Software Foundation
1549 gives unlimited permission to copy
, distribute and modify it.
1554 ## ------------------------ ##
1555 ## Autoconf initialization. ##
1556 ## ------------------------ ##
1558 # ac_fn_c_try_compile LINENO
1559 # --------------------------
1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_c_try_compile
()
1563 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1564 rm -f conftest.
$ac_objext
1565 if { { ac_try
="$ac_compile"
1567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_compile") 2>conftest.err
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest.$ac_objext; then :
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1594 } # ac_fn_c_try_compile
1596 # ac_fn_cxx_try_compile LINENO
1597 # ----------------------------
1598 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_cxx_try_compile ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext
1603 if { { ac_try="$ac_compile"
1605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1606 *) ac_try_echo
=$ac_try;;
1608 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_compile") 2>conftest.err
1612 if test -s conftest.err
; then
1613 grep -v '^ *+' conftest.err
>conftest.er1
1614 cat conftest.er1
>&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_cxx_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest.
$ac_objext; then :
1624 $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.
$ac_ext >&5
1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630 as_fn_set_status
$ac_retval
1632 } # ac_fn_cxx_try_compile
1634 # ac_fn_cxx_try_link LINENO
1635 # -------------------------
1636 # Try to link conftest.$ac_ext, and return whether this succeeded.
1637 ac_fn_cxx_try_link
()
1639 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1640 rm -f conftest.
$ac_objext conftest
$ac_exeext
1641 if { { ac_try
="$ac_link"
1643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1644 *) ac_try_echo=$ac_try;;
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_link") 2>conftest.err
1650 if test -s conftest.err; then
1651 grep -v '^ *+' conftest.err >conftest.er1
1652 cat conftest.er1 >&5
1653 mv -f conftest.er1 conftest.err
1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656 test $ac_status = 0; } && {
1657 test -z "$ac_cxx_werror_flag" ||
1658 test ! -s conftest.err
1659 } && test -s conftest$ac_exeext && {
1660 test "$cross_compiling" = yes ||
1661 test -x conftest$ac_exeext
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1670 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1671 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1672 # interfere with the next link command; also delete a directory that is
1673 # left behind by Apple's compiler. We do this before executing the actions.
1674 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 as_fn_set_status $ac_retval
1678 } # ac_fn_cxx_try_link
1680 # ac_fn_c_try_link LINENO
1681 # -----------------------
1682 # Try to link conftest.$ac_ext, and return whether this succeeded.
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 rm -f conftest.$ac_objext conftest$ac_exeext
1687 if { { ac_try="$ac_link"
1689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1690 *) ac_try_echo
=$ac_try;;
1692 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_link") 2>conftest.err
1696 if test -s conftest.err
; then
1697 grep -v '^ *+' conftest.err
>conftest.er1
1698 cat conftest.er1
>&5
1699 mv -f conftest.er1 conftest.err
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; } && {
1703 test -z "$ac_c_werror_flag" ||
1704 test ! -s conftest.err
1705 } && test -s conftest
$ac_exeext && {
1706 test "$cross_compiling" = yes ||
1707 test -x conftest
$ac_exeext
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.
$ac_ext >&5
1716 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1717 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1718 # interfere with the next link command; also delete a directory that is
1719 # left behind by Apple's compiler. We do this before executing the actions.
1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722 as_fn_set_status
$ac_retval
1724 } # ac_fn_c_try_link
1726 # ac_fn_c_try_run LINENO
1727 # ----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1729 # that executables *can* be run.
1732 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1733 if { { ac_try
="$ac_link"
1735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_link") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1744 { { case "(($ac_try" in
1745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1746 *) ac_try_echo
=$ac_try;;
1748 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_try") 2>&5
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; }; }; then :
1756 $as_echo "$as_me: program exited with status $ac_status" >&5
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.
$ac_ext >&5
1760 ac_retval
=$ac_status
1762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 as_fn_set_status
$ac_retval
1768 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1769 # --------------------------------------------
1770 # Tries to find the compile-time value of EXPR in a program that includes
1771 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1773 ac_fn_c_compute_int
()
1775 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1776 if test "$cross_compiling" = yes; then
1777 # Depending upon the size, compute the lo and hi bounds.
1778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1784 static int test_array [1 - 2 * !(($2) >= 0)];
1786 return test_array [0];
1792 if ac_fn_c_try_compile
"$LINENO"; then :
1795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1796 /* end confdefs.h. */
1801 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1803 return test_array [0];
1809 if ac_fn_c_try_compile
"$LINENO"; then :
1810 ac_hi
=$ac_mid; break
1812 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1813 if test $ac_lo -le $ac_mid; then
1817 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1828 static int test_array [1 - 2 * !(($2) < 0)];
1830 return test_array [0];
1836 if ac_fn_c_try_compile
"$LINENO"; then :
1839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1840 /* end confdefs.h. */
1845 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1847 return test_array [0];
1853 if ac_fn_c_try_compile
"$LINENO"; then :
1854 ac_lo
=$ac_mid; break
1856 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1857 if test $ac_mid -le $ac_hi; then
1861 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1871 # Binary search between lo and hi bounds.
1872 while test "x$ac_lo" != "x$ac_hi"; do
1873 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1880 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1882 return test_array [0];
1888 if ac_fn_c_try_compile
"$LINENO"; then :
1891 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1896 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1903 static long int longval () { return $2; }
1904 static unsigned long int ulongval () { return $2; }
1911 FILE *f = fopen ("conftest.val", "w");
1916 long int i = longval ();
1919 fprintf (f, "%ld", i);
1923 unsigned long int i = ulongval ();
1926 fprintf (f, "%lu", i);
1928 /* Do not output a trailing newline, as this causes \r\n confusion
1929 on some platforms. */
1930 return ferror (f) || fclose (f) != 0;
1936 if ac_fn_c_try_run
"$LINENO"; then :
1937 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1941 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1942 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947 as_fn_set_status
$ac_retval
1949 } # ac_fn_c_compute_int
1950 cat >config.log
<<_ACEOF
1951 This file contains any messages produced by compilers while
1952 running configure, to aid debugging if configure makes a mistake.
1954 It was created by GNU C Library $as_me (see version.h), which was
1955 generated by GNU Autoconf 2.69. Invocation command line was
1967 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1968 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1969 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1970 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1971 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1973 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1974 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1976 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1977 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1978 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1979 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1980 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1981 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1982 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir
=.
1991 $as_echo "PATH: $as_dir"
2007 # Keep a trace of the command line.
2008 # Strip out --no-create and --no-recursion so they do not pile up.
2009 # Strip out --silent because we don't want to record it for future runs.
2010 # Also quote any args containing shell meta-characters.
2011 # Make two passes to allow for proper duplicate-argument suppression.
2015 ac_must_keep_next
=false
2021 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2022 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2023 |
-silent |
--silent |
--silen |
--sile |
--sil)
2026 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2029 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2031 as_fn_append ac_configure_args1
" '$ac_arg'"
2032 if test $ac_must_keep_next = true
; then
2033 ac_must_keep_next
=false
# Got value, back to normal.
2036 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2037 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2038 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2039 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2040 case "$ac_configure_args0 " in
2041 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2044 -* ) ac_must_keep_next
=true
;;
2047 as_fn_append ac_configure_args
" '$ac_arg'"
2052 { ac_configure_args0
=; unset ac_configure_args0
;}
2053 { ac_configure_args1
=; unset ac_configure_args1
;}
2055 # When interrupted or exit'd, cleanup temporary files, and complete
2056 # config.log. We remove comments because anyway the quotes in there
2057 # would cause problems or look ugly.
2058 # WARNING: Use '\'' to represent an apostrophe within the trap.
2059 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2060 trap 'exit_status=$?
2061 # Save into config.log some information that might help in debugging.
2065 $as_echo "## ---------------- ##
2066 ## Cache variables. ##
2067 ## ---------------- ##"
2069 # The following way of writing the cache mishandles newlines in values,
2071 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2072 eval ac_val=\$$ac_var
2076 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2077 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2080 _ | IFS | as_nl) ;; #(
2081 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2082 *) { eval $ac_var=; unset $ac_var;} ;;
2087 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2088 *${as_nl}ac_space=\ *)
2090 "s/'\''/'\''\\\\'\'''\''/g;
2091 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2101 $as_echo "## ----------------- ##
2102 ## Output variables. ##
2103 ## ----------------- ##"
2105 for ac_var in $ac_subst_vars
2107 eval ac_val=\$$ac_var
2109 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2111 $as_echo "$ac_var='\''$ac_val'\''"
2115 if test -n "$ac_subst_files"; then
2116 $as_echo "## ------------------- ##
2117 ## File substitutions. ##
2118 ## ------------------- ##"
2120 for ac_var
in $ac_subst_files
2122 eval ac_val
=\$
$ac_var
2124 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2126 $as_echo "$ac_var='\''$ac_val'\''"
2131 if test -s confdefs.h; then
2132 $as_echo "## ----------- ##
2139 test "$ac_signal" != 0 &&
2140 $as_echo "$as_me: caught signal $ac_signal"
2141 $as_echo "$as_me: exit $exit_status"
2143 rm -f core *.core core.conftest.* &&
2144 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2147 for ac_signal
in 1 2 13 15; do
2148 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2153 rm -f -r conftest
* confdefs.h
2155 $as_echo "/* confdefs.h */" > confdefs.h
2157 # Predefined preprocessor variables.
2159 cat >>confdefs.h
<<_ACEOF
2160 #define PACKAGE_NAME "$PACKAGE_NAME"
2163 cat >>confdefs.h
<<_ACEOF
2164 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2167 cat >>confdefs.h
<<_ACEOF
2168 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2171 cat >>confdefs.h
<<_ACEOF
2172 #define PACKAGE_STRING "$PACKAGE_STRING"
2175 cat >>confdefs.h
<<_ACEOF
2176 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2179 cat >>confdefs.h
<<_ACEOF
2180 #define PACKAGE_URL "$PACKAGE_URL"
2184 # Let the site file select an alternate cache file if it wants to.
2185 # Prefer an explicitly selected file to automatically selected ones.
2188 if test -n "$CONFIG_SITE"; then
2189 # We do not want a PATH search for config.site.
2190 case $CONFIG_SITE in #((
2191 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2192 */*) ac_site_file1
=$CONFIG_SITE;;
2193 *) ac_site_file1
=.
/$CONFIG_SITE;;
2195 elif test "x$prefix" != xNONE
; then
2196 ac_site_file1
=$prefix/share
/config.site
2197 ac_site_file2
=$prefix/etc
/config.site
2199 ac_site_file1
=$ac_default_prefix/share
/config.site
2200 ac_site_file2
=$ac_default_prefix/etc
/config.site
2202 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2204 test "x$ac_site_file" = xNONE
&& continue
2205 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2207 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2208 sed 's/^/| /' "$ac_site_file" >&5
2210 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 as_fn_error $?
"failed to load site script $ac_site_file
2213 See \`config.log' for more details" "$LINENO" 5; }
2217 if test -r "$cache_file"; then
2218 # Some versions of bash will fail to source /dev/null (special files
2219 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2220 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2222 $as_echo "$as_me: loading cache $cache_file" >&6;}
2224 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2225 *) .
"./$cache_file";;
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2230 $as_echo "$as_me: creating cache $cache_file" >&6;}
2234 # Check that the precious variables saved in the cache have kept the same
2236 ac_cache_corrupted
=false
2237 for ac_var
in $ac_precious_vars; do
2238 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2239 eval ac_new_set
=\
$ac_env_${ac_var}_set
2240 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2241 eval ac_new_val
=\
$ac_env_${ac_var}_value
2242 case $ac_old_set,$ac_new_set in
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2245 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2246 ac_cache_corrupted
=: ;;
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2249 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2250 ac_cache_corrupted
=: ;;
2253 if test "x$ac_old_val" != "x$ac_new_val"; then
2254 # differences in whitespace do not lead to failure.
2255 ac_old_val_w
=`echo x $ac_old_val`
2256 ac_new_val_w
=`echo x $ac_new_val`
2257 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2259 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2260 ac_cache_corrupted
=:
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2263 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2264 eval $ac_var=\
$ac_old_val
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2267 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2269 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2272 # Pass precious variables to config.status.
2273 if test "$ac_new_set" = set; then
2275 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2276 *) ac_arg
=$ac_var=$ac_new_val ;;
2278 case " $ac_configure_args " in
2279 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2280 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2284 if $ac_cache_corrupted; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2288 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2289 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2291 ## -------------------- ##
2292 ## Main body of script. ##
2293 ## -------------------- ##
2296 ac_cpp
='$CPP $CPPFLAGS'
2297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2303 ac_config_headers
="$ac_config_headers config.h"
2306 for ac_dir
in scripts
"$srcdir"/scripts
; do
2307 if test -f "$ac_dir/install-sh"; then
2309 ac_install_sh
="$ac_aux_dir/install-sh -c"
2311 elif test -f "$ac_dir/install.sh"; then
2313 ac_install_sh
="$ac_aux_dir/install.sh -c"
2315 elif test -f "$ac_dir/shtool"; then
2317 ac_install_sh
="$ac_aux_dir/shtool install -c"
2321 if test -z "$ac_aux_dir"; then
2322 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
2325 # These three variables are undocumented and unsupported,
2326 # and are intended to be withdrawn in a future Autoconf release.
2327 # They can cause serious problems if a builder's source tree is in a directory
2328 # whose full name contains unusual characters.
2329 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2330 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2331 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2337 # Check whether --with-pkgversion was given.
2338 if test "${with_pkgversion+set}" = set; then :
2339 withval
=$with_pkgversion; case "$withval" in
2340 yes) as_fn_error $?
"package version not specified" "$LINENO" 5 ;;
2342 *) PKGVERSION
="($withval) " ;;
2345 PKGVERSION
="(GNU libc) "
2349 PKGVERSION_TEXI
=`echo "$PKGVERSION" | sed 's/@/@@/g'`
2355 # Check whether --with-bugurl was given.
2356 if test "${with_bugurl+set}" = set; then :
2357 withval
=$with_bugurl; case "$withval" in
2358 yes) as_fn_error $?
"bug URL not specified" "$LINENO" 5 ;;
2361 *) BUGURL
="$withval"
2365 BUGURL
="http://www.gnu.org/software/libc/bugs.html"
2375 REPORT_BUGS_TO
="<$BUGURL>"
2376 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PKGVERSION "$PKGVERSION"
2388 cat >>confdefs.h
<<_ACEOF
2389 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
2393 # Glibc should not depend on any header files
2396 # We require GCC, and by default use its preprocessor. Override AC_PROG_CPP
2397 # here to work around the Autoconf issue discussed in
2398 # <http://sourceware.org/ml/libc-alpha/2013-01/msg00721.html>.
2401 # We require GCC. Override _AC_PROG_CC_C89 here to work around the Autoconf
2402 # issue discussed in
2403 # <http://sourceware.org/ml/libc-alpha/2013-01/msg00757.html>.
2411 # Make sure we can run config.sub.
2412 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2413 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2416 $as_echo_n "checking build system type... " >&6; }
2417 if ${ac_cv_build+:} false
; then :
2418 $as_echo_n "(cached) " >&6
2420 ac_build_alias
=$build_alias
2421 test "x$ac_build_alias" = x
&&
2422 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2423 test "x$ac_build_alias" = x
&&
2424 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2425 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2426 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2430 $as_echo "$ac_cv_build" >&6; }
2431 case $ac_cv_build in
2433 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2436 ac_save_IFS
=$IFS; IFS
='-'
2442 # Remember, the first character of IFS is used to create $*,
2443 # except with old shells:
2446 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2450 $as_echo_n "checking host system type... " >&6; }
2451 if ${ac_cv_host+:} false
; then :
2452 $as_echo_n "(cached) " >&6
2454 if test "x$host_alias" = x
; then
2455 ac_cv_host
=$ac_cv_build
2457 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2458 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2463 $as_echo "$ac_cv_host" >&6; }
2466 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2469 ac_save_IFS
=$IFS; IFS
='-'
2475 # Remember, the first character of IFS is used to create $*,
2476 # except with old shells:
2479 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2484 ac_cpp
='$CPP $CPPFLAGS'
2485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2488 if test -n "$ac_tool_prefix"; then
2489 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2490 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2492 $as_echo_n "checking for $ac_word... " >&6; }
2493 if ${ac_cv_prog_CC+:} false
; then :
2494 $as_echo_n "(cached) " >&6
2496 if test -n "$CC"; then
2497 ac_cv_prog_CC
="$CC" # Let the user override the test.
2499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir
=.
2504 for ac_exec_ext
in '' $ac_executable_extensions; do
2505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2506 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 if test -n "$CC"; then
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2519 $as_echo "$CC" >&6; }
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2522 $as_echo "no" >&6; }
2527 if test -z "$ac_cv_prog_CC"; then
2529 # Extract the first word of "gcc", so it can be a program name with args.
2530 set dummy gcc
; 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_ac_ct_CC+:} false
; then :
2534 $as_echo_n "(cached) " >&6
2536 if test -n "$ac_ct_CC"; then
2537 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="gcc"
2547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2557 if test -n "$ac_ct_CC"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2559 $as_echo "$ac_ct_CC" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2562 $as_echo "no" >&6; }
2565 if test "x$ac_ct_CC" = x
; then
2568 case $cross_compiling:$ac_tool_warned in
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2572 ac_tool_warned
=yes ;;
2580 if test -z "$CC"; then
2581 if test -n "$ac_tool_prefix"; then
2582 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2583 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2585 $as_echo_n "checking for $ac_word... " >&6; }
2586 if ${ac_cv_prog_CC+:} false
; then :
2587 $as_echo_n "(cached) " >&6
2589 if test -n "$CC"; then
2590 ac_cv_prog_CC
="$CC" # Let the user override the test.
2592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2596 test -z "$as_dir" && as_dir
=.
2597 for ac_exec_ext
in '' $ac_executable_extensions; do
2598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2599 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2610 if test -n "$CC"; then
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2612 $as_echo "$CC" >&6; }
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2615 $as_echo "no" >&6; }
2621 if test -z "$CC"; then
2622 # Extract the first word of "cc", so it can be a program name with args.
2623 set dummy cc
; ac_word
=$2
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2625 $as_echo_n "checking for $ac_word... " >&6; }
2626 if ${ac_cv_prog_CC+:} false
; then :
2627 $as_echo_n "(cached) " >&6
2629 if test -n "$CC"; then
2630 ac_cv_prog_CC
="$CC" # Let the user override the test.
2633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir
=.
2638 for ac_exec_ext
in '' $ac_executable_extensions; do
2639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2640 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2641 ac_prog_rejected
=yes
2645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2652 if test $ac_prog_rejected = yes; then
2653 # We found a bogon in the path, so make sure we never use it.
2654 set dummy
$ac_cv_prog_CC
2656 if test $# != 0; then
2657 # We chose a different compiler from the bogus one.
2658 # However, it has the same basename, so the bogon will be chosen
2659 # first if we set CC to just the basename; use the full file name.
2661 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2667 if test -n "$CC"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2669 $as_echo "$CC" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672 $as_echo "no" >&6; }
2677 if test -z "$CC"; then
2678 if test -n "$ac_tool_prefix"; then
2679 for ac_prog
in cl.exe
2681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2682 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if ${ac_cv_prog_CC+:} false
; then :
2686 $as_echo_n "(cached) " >&6
2688 if test -n "$CC"; then
2689 ac_cv_prog_CC
="$CC" # Let the user override the test.
2691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir
=.
2696 for ac_exec_ext
in '' $ac_executable_extensions; do
2697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2698 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 if test -n "$CC"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2711 $as_echo "$CC" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2718 test -n "$CC" && break
2721 if test -z "$CC"; then
2723 for ac_prog
in cl.exe
2725 # Extract the first word of "$ac_prog", so it can be a program name with args.
2726 set dummy
$ac_prog; ac_word
=$2
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2728 $as_echo_n "checking for $ac_word... " >&6; }
2729 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2730 $as_echo_n "(cached) " >&6
2732 if test -n "$ac_ct_CC"; then
2733 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2739 test -z "$as_dir" && as_dir
=.
2740 for ac_exec_ext
in '' $ac_executable_extensions; do
2741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2742 ac_cv_prog_ac_ct_CC
="$ac_prog"
2743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2753 if test -n "$ac_ct_CC"; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2755 $as_echo "$ac_ct_CC" >&6; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2758 $as_echo "no" >&6; }
2762 test -n "$ac_ct_CC" && break
2765 if test "x$ac_ct_CC" = x
; then
2768 case $cross_compiling:$ac_tool_warned in
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2772 ac_tool_warned
=yes ;;
2781 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2783 as_fn_error $?
"no acceptable C compiler found in \$PATH
2784 See \`config.log' for more details" "$LINENO" 5; }
2786 # Provide some information about the compiler.
2787 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2790 for ac_option
in --version -v -V -qversion; do
2791 { { ac_try
="$ac_compiler $ac_option >&5"
2793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2800 if test -s conftest.err; then
2802 ... rest of stderr output deleted ...
2803 10q' conftest.err >conftest.er1
2804 cat conftest.er1 >&5
2806 rm -f conftest.er1 conftest.err
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2813 $as_echo_n "checking for suffix of object files... " >&6; }
2814 if ${ac_cv_objext+:} false; then :
2815 $as_echo_n "(cached) " >&6
2817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2818 /* end confdefs.h. */
2828 rm -f conftest.o conftest.obj
2829 if { { ac_try="$ac_compile"
2831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2832 *) ac_try_echo
=$ac_try;;
2834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2835 $as_echo "$ac_try_echo"; } >&5
2836 (eval "$ac_compile") 2>&5
2838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2839 test $ac_status = 0; }; then :
2840 for ac_file
in conftest.o conftest.obj conftest.
*; do
2841 test -f "$ac_file" ||
continue;
2843 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2844 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2849 $as_echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.
$ac_ext >&5
2852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2854 as_fn_error $?
"cannot compute suffix of object files: cannot compile
2855 See \`config.log' for more details" "$LINENO" 5; }
2857 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2860 $as_echo "$ac_cv_objext" >&6; }
2861 OBJEXT
=$ac_cv_objext
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2864 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2865 if ${ac_cv_c_compiler_gnu+:} false
; then :
2866 $as_echo_n "(cached) " >&6
2868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2882 if ac_fn_c_try_compile
"$LINENO"; then :
2887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2888 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2892 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2893 if test $ac_compiler_gnu = yes; then
2898 ac_test_CFLAGS
=${CFLAGS+set}
2899 ac_save_CFLAGS
=$CFLAGS
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2901 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2902 if ${ac_cv_prog_cc_g+:} false
; then :
2903 $as_echo_n "(cached) " >&6
2905 ac_save_c_werror_flag
=$ac_c_werror_flag
2906 ac_c_werror_flag
=yes
2909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2920 if ac_fn_c_try_compile
"$LINENO"; then :
2924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2935 if ac_fn_c_try_compile
"$LINENO"; then :
2938 ac_c_werror_flag
=$ac_save_c_werror_flag
2940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2941 /* end confdefs.h. */
2951 if ac_fn_c_try_compile
"$LINENO"; then :
2954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2959 ac_c_werror_flag
=$ac_save_c_werror_flag
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2962 $as_echo "$ac_cv_prog_cc_g" >&6; }
2963 if test "$ac_test_CFLAGS" = set; then
2964 CFLAGS
=$ac_save_CFLAGS
2965 elif test $ac_cv_prog_cc_g = yes; then
2966 if test "$GCC" = yes; then
2972 if test "$GCC" = yes; then
2980 ac_cpp
='$CPP $CPPFLAGS'
2981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2985 if test $host != $build; then
2986 for ac_prog
in gcc cc
2988 # Extract the first word of "$ac_prog", so it can be a program name with args.
2989 set dummy
$ac_prog; ac_word
=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if ${ac_cv_prog_BUILD_CC+:} false
; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$BUILD_CC"; then
2996 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
2998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir
=.
3003 for ac_exec_ext
in '' $ac_executable_extensions; do
3004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3005 ac_cv_prog_BUILD_CC
="$ac_prog"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 BUILD_CC
=$ac_cv_prog_BUILD_CC
3016 if test -n "$BUILD_CC"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
3018 $as_echo "$BUILD_CC" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3025 test -n "$BUILD_CC" && break
3030 # On Suns, sometimes $CPP names a directory.
3031 if test -n "$CPP" && test -d "$CPP"; then
3034 if test -z "$CPP"; then
3038 if test -n "$ac_tool_prefix"; then
3039 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3040 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042 $as_echo_n "checking for $ac_word... " >&6; }
3043 if ${ac_cv_prog_READELF+:} false
; then :
3044 $as_echo_n "(cached) " >&6
3046 if test -n "$READELF"; then
3047 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
3049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir
=.
3054 for ac_exec_ext
in '' $ac_executable_extensions; do
3055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 READELF
=$ac_cv_prog_READELF
3067 if test -n "$READELF"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
3069 $as_echo "$READELF" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3077 if test -z "$ac_cv_prog_READELF"; then
3078 ac_ct_READELF
=$READELF
3079 # Extract the first word of "readelf", so it can be a program name with args.
3080 set dummy readelf
; ac_word
=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$ac_ct_READELF"; then
3087 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
3089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir
=.
3094 for ac_exec_ext
in '' $ac_executable_extensions; do
3095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3096 ac_cv_prog_ac_ct_READELF
="readelf"
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
3107 if test -n "$ac_ct_READELF"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
3109 $as_echo "$ac_ct_READELF" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3115 if test "x$ac_ct_READELF" = x
; then
3118 case $cross_compiling:$ac_tool_warned in
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122 ac_tool_warned
=yes ;;
3124 READELF
=$ac_ct_READELF
3127 READELF
="$ac_cv_prog_READELF"
3131 # We need the C++ compiler only for testing.
3133 ac_cpp
='$CXXCPP $CPPFLAGS'
3134 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3135 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3136 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3137 if test -z "$CXX"; then
3138 if test -n "$CCC"; then
3141 if test -n "$ac_tool_prefix"; then
3142 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3145 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147 $as_echo_n "checking for $ac_word... " >&6; }
3148 if ${ac_cv_prog_CXX+:} false
; then :
3149 $as_echo_n "(cached) " >&6
3151 if test -n "$CXX"; then
3152 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir
=.
3159 for ac_exec_ext
in '' $ac_executable_extensions; do
3160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3161 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 if test -n "$CXX"; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3174 $as_echo "$CXX" >&6; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177 $as_echo "no" >&6; }
3181 test -n "$CXX" && break
3184 if test -z "$CXX"; then
3186 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3188 # Extract the first word of "$ac_prog", so it can be a program name with args.
3189 set dummy
$ac_prog; ac_word
=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3193 $as_echo_n "(cached) " >&6
3195 if test -n "$ac_ct_CXX"; then
3196 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3202 test -z "$as_dir" && as_dir
=.
3203 for ac_exec_ext
in '' $ac_executable_extensions; do
3204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3205 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3216 if test -n "$ac_ct_CXX"; then
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3218 $as_echo "$ac_ct_CXX" >&6; }
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3225 test -n "$ac_ct_CXX" && break
3228 if test "x$ac_ct_CXX" = x
; then
3231 case $cross_compiling:$ac_tool_warned in
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3235 ac_tool_warned
=yes ;;
3243 # Provide some information about the compiler.
3244 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3247 for ac_option
in --version -v -V -qversion; do
3248 { { ac_try
="$ac_compiler $ac_option >&5"
3250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254 $as_echo "$ac_try_echo"; } >&5
3255 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3257 if test -s conftest.err; then
3259 ... rest of stderr output deleted ...
3260 10q' conftest.err >conftest.er1
3261 cat conftest.er1 >&5
3263 rm -f conftest.er1 conftest.err
3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265 test $ac_status = 0; }
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3269 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3270 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3271 $as_echo_n "(cached) " >&6
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3287 if ac_fn_cxx_try_compile "$LINENO"; then :
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3297 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3298 if test $ac_compiler_gnu = yes; then
3303 ac_test_CXXFLAGS=${CXXFLAGS+set}
3304 ac_save_CXXFLAGS=$CXXFLAGS
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3306 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3307 if ${ac_cv_prog_cxx_g+:} false; then :
3308 $as_echo_n "(cached) " >&6
3310 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3311 ac_cxx_werror_flag=yes
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3325 if ac_fn_cxx_try_compile "$LINENO"; then :
3326 ac_cv_prog_cxx_g=yes
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3340 if ac_fn_cxx_try_compile "$LINENO"; then :
3343 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3356 if ac_fn_cxx_try_compile "$LINENO"; then :
3357 ac_cv_prog_cxx_g=yes
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3367 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3368 if test "$ac_test_CXXFLAGS" = set; then
3369 CXXFLAGS=$ac_save_CXXFLAGS
3370 elif test $ac_cv_prog_cxx_g = yes; then
3371 if test "$GXX" = yes; then
3377 if test "$GXX" = yes; then
3384 ac_cpp='$CPP $CPPFLAGS'
3385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3389 # It's useless to us if it can't link programs (e.g. missing -lstdc++).
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX can link programs" >&5
3392 $as_echo_n "checking whether $CXX can link programs... " >&6; }
3393 if ${libc_cv_cxx_link_ok+:} false; then :
3394 $as_echo_n "(cached) " >&6
3397 ac_cpp='$CXXCPP $CPPFLAGS'
3398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3413 if ac_fn_cxx_try_link "$LINENO"; then :
3414 libc_cv_cxx_link_ok=yes
3416 libc_cv_cxx_link_ok=no
3418 rm -f core conftest.err conftest.$ac_objext \
3419 conftest$ac_exeext conftest.$ac_ext
3421 ac_cpp='$CPP $CPPFLAGS'
3422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_link_ok" >&5
3428 $as_echo "$libc_cv_cxx_link_ok" >&6; }
3429 if test $libc_cv_cxx_link_ok != yes; then :
3433 if test "`cd $srcdir; /bin
/pwd`" = "`/bin
/pwd`"; then
3434 as_fn_error $? "you must configure in a separate build directory" "$LINENO" 5
3437 # This will get text that should go into config.make.
3440 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3442 # Check whether --with-gd was given.
3443 if test "${with_gd+set}" = set; then :
3444 withval=$with_gd; case "$with_gd" in
3446 *) libgd_include="-I$withval/include"
3447 libgd_ldflags="-L$withval/lib" ;;
3453 # Check whether --with-gd-include was given.
3454 if test "${with_gd_include+set}" = set; then :
3455 withval=$with_gd_include; case "$with_gd_include" in
3457 *) libgd_include="-I$withval" ;;
3463 # Check whether --with-gd-lib was given.
3464 if test "${with_gd_lib+set}" = set; then :
3465 withval=$with_gd_lib; case "$with_gd_lib" in
3467 *) libgd_ldflags="-L$withval" ;;
3473 if test -n "$libgd_include"; then
3474 config_vars="$config_vars
3475 CFLAGS-memusagestat.c = $libgd_include"
3477 if test -n "$libgd_ldflags"; then
3478 config_vars="$config_vars
3479 libgd-LDFLAGS = $libgd_ldflags"
3483 # Check whether --with-fp was given.
3484 if test "${with_fp+set}" = set; then :
3485 withval=$with_fp; with_fp=$withval
3492 # Check whether --with-binutils was given.
3493 if test "${with_binutils+set}" = set; then :
3494 withval=$with_binutils; path_binutils=$withval
3500 # Check whether --with-selinux was given.
3501 if test "${with_selinux+set}" = set; then :
3502 withval=$with_selinux; with_selinux=$withval
3509 # Check whether --with-headers was given.
3510 if test "${with_headers+set}" = set; then :
3511 withval=$with_headers; sysheaders=$withval
3520 # Check whether --with-default-link was given.
3521 if test "${with_default_link+set}" = set; then :
3522 withval=$with_default_link; use_default_link=$withval
3524 use_default_link=default
3528 # Check whether --enable-sanity-checks was given.
3529 if test "${enable_sanity_checks+set}" = set; then :
3530 enableval=$enable_sanity_checks; enable_sanity=$enableval
3536 # Check whether --enable-shared was given.
3537 if test "${enable_shared+set}" = set; then :
3538 enableval=$enable_shared; shared=$enableval
3543 # Check whether --enable-profile was given.
3544 if test "${enable_profile+set}" = set; then :
3545 enableval=$enable_profile; profile=$enableval
3551 # Check whether --enable-hardcoded-path-in-tests was given.
3552 if test "${enable_hardcoded_path_in_tests+set}" = set; then :
3553 enableval=$enable_hardcoded_path_in_tests; hardcoded_path_in_tests=$enableval
3555 hardcoded_path_in_tests=no
3560 # Check whether --enable-stackguard-randomization was given.
3561 if test "${enable_stackguard_randomization+set}" = set; then :
3562 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3564 enable_stackguard_randomize=no
3567 if test "$enable_stackguard_randomize" = yes; then
3568 $as_echo "#define ENABLE_STACKGUARD_RANDOMIZE 1" >>confdefs.h
3572 # Check whether --enable-lock-elision was given.
3573 if test "${enable_lock_elision+set}" = set; then :
3574 enableval=$enable_lock_elision; enable_lock_elision=$enableval
3576 enable_lock_elision=no
3580 if test "$enable_lock_elision" = yes ; then
3581 $as_echo "#define ENABLE_LOCK_ELISION 1" >>confdefs.h
3585 # Check whether --enable-add-ons was given.
3586 if test "${enable_add_ons+set}" = set; then :
3587 enableval=$enable_add_ons;
3593 # Check whether --enable-hidden-plt was given.
3594 if test "${enable_hidden_plt+set}" = set; then :
3595 enableval=$enable_hidden_plt; hidden=$enableval
3600 if test "x$hidden" = xno; then
3601 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
3605 # Check whether --enable-bind-now was given.
3606 if test "${enable_bind_now+set}" = set; then :
3607 enableval=$enable_bind_now; bindnow=$enableval
3614 # Check whether --enable-static-nss was given.
3615 if test "${enable_static_nss+set}" = set; then :
3616 enableval=$enable_static_nss; static_nss=$enableval
3621 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3623 $as_echo "#define DO_STATIC_NSS 1" >>confdefs.h
3627 # Check whether --enable-force-install was given.
3628 if test "${enable_force_install+set}" = set; then :
3629 enableval=$enable_force_install; force_install=$enableval
3636 # Check whether --enable-maintainer-mode was given.
3637 if test "${enable_maintainer_mode+set}" = set; then :
3638 enableval=$enable_maintainer_mode; maintainer=$enableval
3644 # Check whether --enable-kernel was given.
3645 if test "${enable_kernel+set}" = set; then :
3646 enableval=$enable_kernel; minimum_kernel=$enableval
3649 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3650 # Better nothing than this.
3653 if test "$minimum_kernel" = current; then
3654 minimum_kernel=`uname
-r 2>/dev
/null
` || minimum_kernel=
3658 # Check whether --enable-all-warnings was given.
3659 if test "${enable_all_warnings+set}" = set; then :
3660 enableval=$enable_all_warnings; all_warnings=$enableval
3665 # Check whether --enable-werror was given.
3666 if test "${enable_werror+set}" = set; then :
3667 enableval=$enable_werror; enable_werror=$enableval
3674 # Check whether --enable-multi-arch was given.
3675 if test "${enable_multi_arch+set}" = set; then :
3676 enableval=$enable_multi_arch; multi_arch=$enableval
3682 # Check whether --enable-nss-crypt was given.
3683 if test "${enable_nss_crypt+set}" = set; then :
3684 enableval=$enable_nss_crypt; nss_crypt=$enableval
3689 if test x$nss_crypt = xyes; then
3690 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3691 if test $? -ne 0; then
3692 as_fn_error $? "cannot find include directory with nss-config" "$LINENO" 5
3694 old_CFLAGS="$CFLAGS"
3695 CFLAGS="$CFLAGS $nss_includes"
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3701 #include <nsslowhash.h>
3702 void f (void) { NSSLOW_Init (); }
3711 if ac_fn_c_try_compile "$LINENO"; then :
3712 libc_cv_nss_crypt=yes
3715 cannot find NSS headers with lowlevel hash function interfaces" "$LINENO" 5
3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719 LIBS="$LIBS -lfreebl3"
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3724 #include <nsslowhash.h>
3733 if ac_fn_c_try_link "$LINENO"; then :
3734 libc_cv_nss_crypt=yes
3737 cannot link program using lowlevel NSS hash functions" "$LINENO" 5
3739 rm -f core conftest.err conftest.$ac_objext \
3740 conftest$ac_exeext conftest.$ac_ext
3741 CFLAGS="$old_CFLAGS"
3744 libc_cv_nss_crypt=no
3749 # Check whether --enable-obsolete-rpc was given.
3750 if test "${enable_obsolete_rpc+set}" = set; then :
3751 enableval=$enable_obsolete_rpc; link_obsolete_rpc=$enableval
3753 link_obsolete_rpc=no
3758 if test "$link_obsolete_rpc" = yes; then
3759 $as_echo "#define LINK_OBSOLETE_RPC 1" >>confdefs.h
3763 # Check whether --enable-systemtap was given.
3764 if test "${enable_systemtap+set}" = set; then :
3765 enableval=$enable_systemtap; systemtap=$enableval
3770 if test "x$systemtap" != xno; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemtap static probe support" >&5
3772 $as_echo_n "checking for systemtap static probe support... " >&6; }
3773 if ${libc_cv_sdt+:} false; then :
3774 $as_echo_n "(cached) " >&6
3776 old_CFLAGS="$CFLAGS"
3777 CFLAGS="-std=gnu99 $CFLAGS"
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3780 #include <sys/sdt.h>
3781 void foo (int i, void *p)
3783 asm ("" STAP_PROBE_ASM (foo, bar, STAP_PROBE_ASM_TEMPLATE (2)) ""
3784 :: STAP_PROBE_ASM_OPERANDS (2, i, p));
3787 if ac_fn_c_try_compile "$LINENO"; then :
3792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 CFLAGS="$old_CFLAGS"
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_sdt" >&5
3796 $as_echo "$libc_cv_sdt" >&6; }
3797 if test $libc_cv_sdt = yes; then
3798 $as_echo "#define USE_STAP_PROBE 1" >>confdefs.h
3800 elif test "x$systemtap" != xauto; then
3801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3803 as_fn_error $? "systemtap support needs sys
/sdt.h with asm support
3804 See \
`config.log' for more details" "$LINENO" 5; }
3808 # Check whether --enable-build-nscd was given.
3809 if test "${enable_build_nscd+set}" = set; then :
3810 enableval=$enable_build_nscd; build_nscd=$enableval
3817 # Note the use of $use_nscd is near the bottom of the file.
3818 # Check whether --enable-nscd was given.
3819 if test "${enable_nscd+set}" = set; then :
3820 enableval=$enable_nscd; use_nscd=$enableval
3826 # Check whether --enable-pt_chown was given.
3827 if test "${enable_pt_chown+set}" = set; then :
3828 enableval=$enable_pt_chown; build_pt_chown=$enableval
3834 if test "$build_pt_chown" = yes; then
3835 $as_echo "#define HAVE_PT_CHOWN 1" >>confdefs.h
3839 # The abi-tags file uses a fairly simplistic model for name recognition that
3840 # can't distinguish i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a
3841 # $host_os of `gnu
*' here to be `gnu-gnu*' just so that it can tell.
3842 # This doesn't get used much beyond that, so it's fairly safe.
3847 host_os
=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3851 # Check whether --enable-mathvec was given.
3852 if test "${enable_mathvec+set}" = set; then :
3853 enableval
=$enable_mathvec; build_mathvec
=$enableval
3855 build_mathvec
=notset
3859 # We keep the original values in `$config_*' and never modify them, so we
3860 # can write them unchanged into config.make. Everything else uses
3861 # $machine, $vendor, and $os, and changes them whenever convenient.
3862 config_machine
=$host_cpu config_vendor
=$host_vendor config_os
=$host_os
3864 # Don't allow vendor == "unknown"
3865 test "$config_vendor" = unknown
&& config_vendor
=
3866 config_os
="`echo $config_os | sed 's/^unknown-//'`"
3868 # Some configurations imply other options.
3871 # The configure fragment of an add-on port can modify these to supplement
3872 # or override the table in the case statement below. No fragment should
3873 # ever change the config_* variables, however.
3874 machine
=$config_machine
3875 vendor
=$config_vendor
3881 # Check whether --with-cpu was given.
3882 if test "${with_cpu+set}" = set; then :
3883 withval
=$with_cpu; case "$withval" in
3884 yes|
'') as_fn_error $?
"--with-cpu requires an argument" "$LINENO" 5 ;;
3886 *) submachine
="$withval" ;;
3892 # An preconfigure script can set this when it wants to disable the sanity
3896 if frags
=`ls -d $srcdir/sysdeps/*/preconfigure 2> /dev/null`
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysdeps preconfigure fragments" >&5
3899 $as_echo_n "checking for sysdeps preconfigure fragments... " >&6; }
3900 for frag
in $frags; do
3901 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
3902 echo $ECHO_N "$name $ECHO_C" >&6
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
3912 case "$enable_add_ons" in
3915 add_ons
=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
3916 sed 's@/[^/]*$@@' | sort | uniq`
3917 add_ons_automatic
=yes
3919 *) add_ons
=`echo "$enable_add_ons" | sed 's/,/ /g'`
3920 add_ons_automatic
=no
;;
3926 if test x
"$add_ons" != x
; then
3927 for f
in $add_ons; do
3928 # Some sanity checks
3932 *** It seems that you're using an old \`crypt' add-on. crypt is now
3933 *** part of glibc and using the old add-on will not work with this
3934 *** release. Start again with fresh sources and without the old
3935 *** \`crypt' add-on." "$LINENO" 5
3939 *** It seems that you're using an old \`localedata' add-on. localedata
3940 *** is now part of glibc and using the old add-on will not work with
3941 *** this release. Start again with fresh sources and without the old
3942 *** \`localedata' add-on." "$LINENO" 5
3947 # Now source each add-on's configure fragment.
3948 # The fragments can use $srcdir/$libc_add_on to find themselves,
3949 # and test $add_ons_automatic to see if they were explicitly requested.
3950 # A fragment can clear (or even change) $libc_add_on to affect
3951 # whether it goes into the list to be actually used in the build.
3953 for libc_add_on
in $add_ons; do
3954 # Test whether such a directory really exists.
3955 # It can be absolute, or relative to $srcdir, or relative to the build dir.
3956 case "$libc_add_on" in
3958 libc_add_on_srcdir
=$libc_add_on
3961 test -d "$srcdir/$libc_add_on" ||
{
3962 if test -d "$libc_add_on"; then
3963 libc_add_on
="`pwd`/$libc_add_on"
3965 as_fn_error $?
"add-on directory \"$libc_add_on\" does not exist" "$LINENO" 5
3968 libc_add_on_srcdir
=$srcdir/$libc_add_on
3972 libc_add_on_frag
=$libc_add_on_srcdir/configure
3973 libc_add_on_canonical
=
3974 libc_add_on_config_subdirs
=
3975 if test -r "$libc_add_on_frag"; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: running configure fragment for add-on $libc_add_on" >&5
3977 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
3978 libc_add_on_canonical
=unknown
3979 libc_add_on_subdirs
=
3980 .
"$libc_add_on_frag"
3981 test -z "$libc_add_on" ||
{
3982 configured_add_ons
="$configured_add_ons $libc_add_on"
3983 if test "x$libc_add_on_canonical" = xunknown
; then
3984 as_fn_error $?
"fragment must set \$libc_add_on_canonical" "$LINENO" 5
3986 for d
in $libc_add_on_subdirs; do
3987 case "$libc_add_on" in
3988 /*) subdir_srcdir
="$libc_add_on" ;;
3989 *) subdir_srcdir
="\$(..)$libc_add_on" ;;
3993 d
="${libc_add_on_canonical:-$libc_add_on}"
3999 subdir_srcdir
="$subdir_srcdir/$d"
4002 d
=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4003 add_on_subdirs
="$add_on_subdirs $d"
4004 test "$subdir_srcdir" = "\$(..)$d" || config_vars
="$config_vars
4005 $d-srcdir = $subdir_srcdir"
4007 for d
in $libc_add_on_config_subdirs; do
4009 /*) as_fn_error $?
"fragment uses absolute path in \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
4011 if test ! -d "$libc_add_on_srcdir/$d"; then
4012 as_fn_error $?
"fragment wants to configure missing directory $d" "$LINENO" 5
4014 case "$libc_add_on" in
4015 /*) as_fn_error $?
"relative path required for add-on using \$libc_add_on_config_subdirs" "$LINENO" 5 ;;
4017 subdirs
="$subdirs $libc_add_on/$d"
4021 if test -n "$libc_add_on"; then
4022 if frags
=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking add-on $libc_add_on for preconfigure fragments" >&5
4025 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4026 for frag
in $frags; do
4027 name
=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4028 echo $ECHO_N "$name $ECHO_C" >&6
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
4034 use_add_ons
="$use_add_ons $libc_add_on"
4035 add_ons_pfx
="$add_ons_pfx $libc_add_on/"
4036 test -z "$libc_add_on_canonical" ||
4037 add_ons_sfx
="$add_ons_sfx /$libc_add_on_canonical"
4040 # Use echo to strip excess whitespace.
4041 add_ons
="`echo $use_add_ons`"
4048 ### I put this here to prevent those annoying emails from people who cannot
4049 ### read and try to compile glibc on unsupported platforms. --drepper
4051 ### By using the undocumented --enable-hacker-mode option for configure
4052 ### one can skip this test to make the configuration not fail for unsupported
4055 if test -z "$enable_hacker_mode" && test x
"$libc_config_ok" != xyes
; then
4056 case "$machine-$host_os" in
4060 echo "*** The GNU C library is currently not available for this platform."
4061 echo "*** So far nobody cared to port it and if there is no volunteer it"
4062 echo "*** might never happen. So, if you have interest to see glibc on"
4063 echo "*** this platform visit"
4064 echo "*** http://www.gnu.org/software/libc/porting.html"
4065 echo "*** and join the group of porters"
4071 # Set base_machine if not set by a preconfigure fragment.
4072 test -n "$base_machine" || base_machine
=$machine
4075 # For the multi-arch option we need support in the assembler & linker.
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler and linker STT_GNU_IFUNC support" >&5
4077 $as_echo_n "checking for assembler and linker STT_GNU_IFUNC support... " >&6; }
4078 if ${libc_cv_ld_gnu_indirect_function+:} false
; then :
4079 $as_echo_n "(cached) " >&6
4081 cat > conftest.S
<<EOF
4082 .type foo,%gnu_indirect_function
4095 libc_cv_ld_gnu_indirect_function
=no
4096 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
4097 -nostartfiles -nostdlib \
4098 -o conftest conftest.S
1>&5 2>&5; then
4099 # Do a link to see if the backend supports IFUNC relocs.
4100 $READELF -r conftest
1>&5
4101 LC_ALL
=C
$READELF -r conftest |
grep 'no relocations' >/dev
/null ||
{
4102 libc_cv_ld_gnu_indirect_function
=yes
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_gnu_indirect_function" >&5
4108 $as_echo "$libc_cv_ld_gnu_indirect_function" >&6; }
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .text pseudo-op must be used" >&5
4111 $as_echo_n "checking whether .text pseudo-op must be used... " >&6; }
4112 if ${libc_cv_dot_text+:} false
; then :
4113 $as_echo_n "(cached) " >&6
4115 cat > conftest.s
<<EOF
4119 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
4120 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4124 test $ac_status = 0; }; }; then
4125 libc_cv_dot_text
=.text
4130 if test -z "$libc_cv_dot_text"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 $as_echo "no" >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4135 $as_echo "yes" >&6; }
4138 if test x
"$libc_cv_ld_gnu_indirect_function" != xyes
; then
4139 if test x
"$multi_arch" = xyes
; then
4140 as_fn_error $?
"--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
4146 if test x
"$multi_arch" != xno
; then
4147 multi_arch_d
=/multiarch
4150 # Compute the list of sysdep directories for this configuration.
4151 # This can take a while to compute.
4152 sysdep_dir
=$srcdir/sysdeps
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysdep dirs" >&5
4154 $as_echo_n "checking sysdep dirs... " >&6; }
4155 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4156 os
="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4158 test "x$base_os" != x ||
case "$os" in
4160 base_os
=mach
/hurd
;;
4162 base_os
=unix
/sysv
;;
4165 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4168 while o
=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4172 o
=`echo $tail | sed 's/[0-9]*$//'`
4173 if test $o != $tail; then
4176 # For linux-gnu, try linux-gnu, then linux.
4177 o
=`echo $tail | sed 's/-.*$//'`
4178 if test $o != $tail; then
4182 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4185 while b
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4191 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4193 tail=$machine${submachine:+/$submachine}
4194 while m
=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4196 # Prepend the machine's FPU directory unless --without-fp.
4197 if test "$with_fp" = yes; then
4202 # For each machine term, try it with and then without /multiarch.
4203 for try_fpu
in $maybe_fpu ''; do
4204 for try_multi
in $multi_arch_d ''; do
4205 mach
="$mach /$1$try_fpu$try_multi"
4212 # Find what sysdep directories exist.
4215 for b
in $base ''; do
4216 for m0
in $mach ''; do
4217 for v
in /$vendor ''; do
4218 test "$v" = / && continue
4219 for o
in /$ostry ''; do
4220 test "$o" = / && continue
4221 for m
in $mach ''; do
4222 for d
in $add_ons_pfx ''; do
4223 for a
in $add_ons_sfx ''; do
4224 try_suffix
="$m0$b$v$o$m"
4225 if test -n "$try_suffix"; then
4226 try_srcdir
="${srcdir}/"
4230 try
="${d}sysdeps$try_suffix$a"
4231 test -n "$enable_debug_configure" &&
4232 echo "$0 DEBUG: try $try" >&2
4233 if test -d "$try_srcdir$try"; then
4234 sysnames
="$sysnames $try"
4235 { test -n "$o" ||
test -n "$b"; } && os_used
=t
4236 { test -n "$m" ||
test -n "$m0"; } && machine_used
=t
4238 x
*/$submachine) submachine_used
=t
;;
4240 if test -n "$d"; then
4241 case "$sysnames_add_ons" in
4243 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4256 # If the assembler supports gnu_indirect_function symbol type and the
4257 # architecture supports multi-arch, we enable multi-arch by default.
4258 case $sysnames_add_ons$sysnames in
4262 test x
"$multi_arch" = xdefault
&& multi_arch
=no
4265 if test x
"$multi_arch" != xno
; then
4266 $as_echo "#define USE_MULTIARCH 1" >>confdefs.h
4271 if test -z "$os_used" && test "$os" != none
; then
4272 as_fn_error $?
"Operating system $os is not supported." "$LINENO" 5
4274 if test -z "$machine_used" && test "$machine" != none
; then
4275 as_fn_error $?
"The $machine is not supported." "$LINENO" 5
4277 if test -z "$submachine_used" && test -n "$submachine"; then
4278 as_fn_error $?
"The $submachine subspecies of $host_cpu is not supported." "$LINENO" 5
4282 # We have now validated the configuration.
4284 # Expand the list of system names into a full list of directories
4285 # from each element's parent name and Implies file (if present).
4288 while test $# -gt 0; do
4292 case " $names " in *" $name "*)
4293 # Already in the list.
4297 # Report each name as we discover it, so there is no long pause in output.
4298 echo $ECHO_N "$name $ECHO_C" >&6
4300 name_base
=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
4304 *) xsrcdir
=$srcdir/ ;;
4306 test -n "$enable_debug_configure" &&
4307 echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
4309 for implies_file
in Implies Implies-before Implies-after
; do
4310 implies_type
=`echo $implies_file | sed s/-/_/`
4311 eval ${implies_type}=
4312 if test -f $xsrcdir$name/$implies_file; then
4313 # Collect more names from the `Implies' file (removing comments).
4314 implied_candidate
="`sed 's/#.*$//' < $xsrcdir$name/$implies_file`"
4315 for x
in $implied_candidate; do
4317 if test -d $xsrcdir$name_base/$x; then
4318 eval "${implies_type}=\"\$${implies_type} \$name_base/\$x\""
4321 for d
in $add_ons_pfx ''; do
4322 try
="${d}sysdeps/$x"
4325 *) try_srcdir
=$srcdir/ ;;
4327 test -n "$enable_debug_configure" &&
4328 echo "DEBUG: $name $implies_file $x try($d) {$try_srcdir}$try" >&2
4329 if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
4331 eval "${implies_type}=\"\$${implies_type} \$try\""
4333 case "$sysnames_add_ons" in
4335 *|
'') sysnames_add_ons
="$sysnames_add_ons $d" ;;
4339 if test $found = no
; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/$implies_file specifies nonexistent $x" >&5
4341 $as_echo "$as_me: WARNING: $name/$implies_file specifies nonexistent $x" >&2;}
4347 # Add NAME to the list of names.
4348 names
="$names $name"
4350 # Find the parent of NAME, using the empty string if it has none.
4351 parent
="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
4353 test -n "$enable_debug_configure" &&
4354 echo "DEBUG: $name Implies='$Implies' rest='$*' parent='$parent' \
4355 Implies_before='$Implies_before' Implies_after='$Implies_after'" >&2
4357 # Add the names implied by NAME, and NAME's parent (if it has one), to
4358 # the list of names to be processed (the argument list). We prepend the
4359 # implied names to the list and append the parent. We want implied
4360 # directories to come before further directories inferred from the
4361 # configuration components; this ensures that for sysv4, unix/common
4362 # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
4364 sysnames
="`echo $Implies $* $Implies_before $parent $Implies_after`"
4365 test -n "$sysnames" && set $sysnames
4368 # Add the default directories.
4369 default_sysnames
="sysdeps/generic"
4370 sysnames
="$names $default_sysnames"
4372 # The other names were emitted during the scan.
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_sysnames" >&5
4374 $as_echo "$default_sysnames" >&6; }
4376 # Collect the list of add-ons that supply partial sysdeps trees.
4378 for add_on
in $add_ons; do
4381 *) xsrcdir
="$srcdir/" ;;
4384 test -d "$xsrcdir$add_on/sysdeps" ||
{
4385 case "$configured_add_ons " in
4388 as_fn_error $?
"add-on $add_on has no configure fragment or sysdeps tree" "$LINENO" 5
4394 sysdeps_add_ons
="$sysdeps_add_ons $add_on"
4395 case "$sysnames_add_ons" in
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no sysdeps directories" >&5
4399 $as_echo "$as_me: WARNING: add-on $add_on contributed no sysdeps directories" >&2;}
4404 for d
in $sysnames; do
4406 $add_on/sysdeps
/*) ;;
4409 (cd "$xsrcdir$d" && for f
in *[!~
]; do
4412 for ff
in $f/*.h
; do
4413 test -d "$ff" ||
{ test -e "$ff" && exit 88; }
4417 test -d "$f" ||
{ test -e "$f" && exit 88; }
4421 if test $?
-eq 88; then
4426 if test $found = no
; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add-on $add_on contributed no useful sysdeps directories" >&5
4428 $as_echo "$as_me: WARNING: add-on $add_on contributed no useful sysdeps directories" >&2;}
4436 # Find a good install program. We prefer a C program (faster),
4437 # so one script is as good as another. But avoid the broken or
4438 # incompatible versions:
4439 # SysV /etc/install, /usr/sbin/install
4440 # SunOS /usr/etc/install
4441 # IRIX /sbin/install
4443 # AmigaOS /C/install, which installs bootblocks on floppy discs
4444 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4445 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4446 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4447 # OS/2's system install, which has a completely different semantic
4448 # ./install, which can be erroneously created by make from ./install.sh.
4449 # Reject install programs that cannot install multiple files.
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4451 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4452 if test -z "$INSTALL"; then
4453 if ${ac_cv_path_install+:} false
; then :
4454 $as_echo_n "(cached) " >&6
4456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4460 test -z "$as_dir" && as_dir
=.
4461 # Account for people who put trailing slashes in PATH elements.
4462 case $as_dir/ in #((
4463 .
/ | .
// |
/[cC
]/* | \
4464 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4465 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4468 # OSF1 and SCO ODT 3.0 have their own names for install.
4469 # Don't use installbsd from OSF since it installs stuff as root
4471 for ac_prog
in ginstall scoinst
install; do
4472 for ac_exec_ext
in '' $ac_executable_extensions; do
4473 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4474 if test $ac_prog = install &&
4475 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4476 # AIX install. It has an incompatible calling convention.
4478 elif test $ac_prog = install &&
4479 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4480 # program-specific install script used by HP pwplus--don't use.
4483 rm -rf conftest.one conftest.two conftest.dir
4484 echo one
> conftest.one
4485 echo two
> conftest.two
4487 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4488 test -s conftest.one
&& test -s conftest.two
&&
4489 test -s conftest.dir
/conftest.one
&&
4490 test -s conftest.dir
/conftest.two
4492 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4505 rm -rf conftest.one conftest.two conftest.dir
4508 if test "${ac_cv_path_install+set}" = set; then
4509 INSTALL
=$ac_cv_path_install
4511 # As a last resort, use the slow shell script. Don't cache a
4512 # value for INSTALL within a source directory, because that will
4513 # break other packages using the cache if that directory is
4514 # removed, or if the value is a relative name.
4515 INSTALL
=$ac_install_sh
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4519 $as_echo "$INSTALL" >&6; }
4521 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4522 # It thinks the first close brace ends the variable substitution.
4523 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4525 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4527 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4529 if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
4530 # The makefiles need to use a different form to find it in $srcdir.
4531 INSTALL
='\$(..)./scripts/install-sh -c'
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4534 $as_echo_n "checking whether ln -s works... " >&6; }
4536 if test "$LN_S" = "ln -s"; then
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4538 $as_echo "yes" >&6; }
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4541 $as_echo "no, using $LN_S" >&6; }
4545 # Was a --with-binutils option given?
4546 if test -n "$path_binutils"; then
4547 # Make absolute; ensure a single trailing slash.
4548 path_binutils
=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
4549 CC
="$CC -B$path_binutils"
4551 AS
=`$CC -print-prog-name=as`
4552 LD
=`$CC -print-prog-name=ld`
4553 AR
=`$CC -print-prog-name=ar`
4555 OBJDUMP
=`$CC -print-prog-name=objdump`
4557 OBJCOPY
=`$CC -print-prog-name=objcopy`
4560 # Determine whether we are using GNU binutils.
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AS is GNU as" >&5
4562 $as_echo_n "checking whether $AS is GNU as... " >&6; }
4563 if ${libc_cv_prog_as_gnu+:} false
; then :
4564 $as_echo_n "(cached) " >&6
4566 # Most GNU programs take a -v and spit out some text including
4567 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4568 if $AS -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4569 libc_cv_prog_as_gnu
=yes
4571 libc_cv_prog_as_gnu
=no
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_as_gnu" >&5
4576 $as_echo "$libc_cv_prog_as_gnu" >&6; }
4578 gnu_as
=$libc_cv_prog_as_gnu
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD is GNU ld" >&5
4581 $as_echo_n "checking whether $LD is GNU ld... " >&6; }
4582 if ${libc_cv_prog_ld_gnu+:} false
; then :
4583 $as_echo_n "(cached) " >&6
4585 # Most GNU programs take a -v and spit out some text including
4586 # the word 'GNU'. Some try to read stdin, so give them /dev/null.
4587 if $LD -o conftest
-v </dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
4588 libc_cv_prog_ld_gnu
=yes
4590 libc_cv_prog_ld_gnu
=no
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_prog_ld_gnu" >&5
4595 $as_echo "$libc_cv_prog_ld_gnu" >&6; }
4596 gnu_ld
=$libc_cv_prog_ld_gnu
4599 # Accept binutils 2.22 or newer.
4602 # Extract the first word of "$ac_prog", so it can be a program name with args.
4603 set dummy
$ac_prog; ac_word
=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_AS+:} false
; then :
4607 $as_echo_n "(cached) " >&6
4609 if test -n "$AS"; then
4610 ac_cv_prog_AS
="$AS" # Let the user override the test.
4612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir
=.
4617 for ac_exec_ext
in '' $ac_executable_extensions; do
4618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_AS
="$ac_prog"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4630 if test -n "$AS"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4632 $as_echo "$AS" >&6; }
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4639 test -n "$AS" && break
4642 if test -z "$AS"; then
4645 # Found it, now check the version.
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AS" >&5
4647 $as_echo_n "checking version of $AS... " >&6; }
4648 ac_prog_version
=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4649 case $ac_prog_version in
4650 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4651 2.1[0-9][0-9]*|
2.2[2-9]*|
2.
[3-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4652 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4653 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4657 $as_echo "$ac_prog_version" >&6; }
4659 if test $ac_verc_fail = yes; then
4660 AS
=: critic_missing
="$critic_missing as"
4665 # Extract the first word of "$ac_prog", so it can be a program name with args.
4666 set dummy
$ac_prog; ac_word
=$2
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 $as_echo_n "checking for $ac_word... " >&6; }
4669 if ${ac_cv_prog_LD+:} false
; then :
4670 $as_echo_n "(cached) " >&6
4672 if test -n "$LD"; then
4673 ac_cv_prog_LD
="$LD" # Let the user override the test.
4675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4679 test -z "$as_dir" && as_dir
=.
4680 for ac_exec_ext
in '' $ac_executable_extensions; do
4681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_LD
="$ac_prog"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4693 if test -n "$LD"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4695 $as_echo "$LD" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4702 test -n "$LD" && break
4705 if test -z "$LD"; then
4708 # Found it, now check the version.
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
4710 $as_echo_n "checking version of $LD... " >&6; }
4711 ac_prog_version
=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
4712 case $ac_prog_version in
4713 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4714 2.1[0-9][0-9]*|
2.2[2-9]*|
2.
[3-9][0-9]*|
[3-9].
*|
[1-9][0-9]*)
4715 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4716 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4720 $as_echo "$ac_prog_version" >&6; }
4722 if test $ac_verc_fail = yes; then
4723 LD
=: critic_missing
="$critic_missing ld"
4727 # These programs are version sensitive.
4729 for ac_prog
in gnumake gmake
make
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_MAKE+:} false
; then :
4736 $as_echo_n "(cached) " >&6
4738 if test -n "$MAKE"; then
4739 ac_cv_prog_MAKE
="$MAKE" # 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_MAKE
="$ac_prog"
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 MAKE
=$ac_cv_prog_MAKE
4759 if test -n "$MAKE"; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4761 $as_echo "$MAKE" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764 $as_echo "no" >&6; }
4768 test -n "$MAKE" && break
4771 if test -z "$MAKE"; then
4774 # Found it, now check the version.
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
4776 $as_echo_n "checking version of $MAKE... " >&6; }
4777 ac_prog_version
=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
4778 case $ac_prog_version in
4779 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4780 3.79* |
3.
[89]* |
[4-9].
* |
[1-9][0-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 critic_missing
="$critic_missing make"
4793 for ac_prog
in gnumsgfmt gmsgfmt msgfmt
4795 # Extract the first word of "$ac_prog", so it can be a program name with args.
4796 set dummy
$ac_prog; ac_word
=$2
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4798 $as_echo_n "checking for $ac_word... " >&6; }
4799 if ${ac_cv_prog_MSGFMT+:} false
; then :
4800 $as_echo_n "(cached) " >&6
4802 if test -n "$MSGFMT"; then
4803 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
4805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4809 test -z "$as_dir" && as_dir
=.
4810 for ac_exec_ext
in '' $ac_executable_extensions; do
4811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4812 ac_cv_prog_MSGFMT
="$ac_prog"
4813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4822 MSGFMT
=$ac_cv_prog_MSGFMT
4823 if test -n "$MSGFMT"; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4825 $as_echo "$MSGFMT" >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4832 test -n "$MSGFMT" && break
4835 if test -z "$MSGFMT"; then
4838 # Found it, now check the version.
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
4840 $as_echo_n "checking version of $MSGFMT... " >&6; }
4841 ac_prog_version
=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4842 case $ac_prog_version in
4843 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4844 0.10.3[6-9]* |
0.10.
[4-9][0-9]* |
0.1[1-9]* |
0.
[2-9][0-9]* |
[1-9].
*)
4845 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4846 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4850 $as_echo "$ac_prog_version" >&6; }
4852 if test $ac_verc_fail = yes; then
4853 MSGFMT
=: aux_missing
="$aux_missing msgfmt"
4856 for ac_prog
in makeinfo
4858 # Extract the first word of "$ac_prog", so it can be a program name with args.
4859 set dummy
$ac_prog; ac_word
=$2
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 $as_echo_n "checking for $ac_word... " >&6; }
4862 if ${ac_cv_prog_MAKEINFO+:} false
; then :
4863 $as_echo_n "(cached) " >&6
4865 if test -n "$MAKEINFO"; then
4866 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_exec_ext
in '' $ac_executable_extensions; do
4874 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4875 ac_cv_prog_MAKEINFO
="$ac_prog"
4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 MAKEINFO
=$ac_cv_prog_MAKEINFO
4886 if test -n "$MAKEINFO"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4888 $as_echo "$MAKEINFO" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4895 test -n "$MAKEINFO" && break
4898 if test -z "$MAKEINFO"; then
4901 # Found it, now check the version.
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
4903 $as_echo_n "checking version of $MAKEINFO... " >&6; }
4904 ac_prog_version
=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4905 case $ac_prog_version in
4906 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4907 4.
[7-9]*|
4.
[1-9][0-9]*|
[5-9].
*)
4908 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4909 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4913 $as_echo "$ac_prog_version" >&6; }
4915 if test $ac_verc_fail = yes; then
4916 MAKEINFO
=: aux_missing
="$aux_missing makeinfo"
4921 # Extract the first word of "$ac_prog", so it can be a program name with args.
4922 set dummy
$ac_prog; ac_word
=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_SED+:} false
; then :
4926 $as_echo_n "(cached) " >&6
4928 if test -n "$SED"; then
4929 ac_cv_prog_SED
="$SED" # Let the user override the test.
4931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4935 test -z "$as_dir" && as_dir
=.
4936 for ac_exec_ext
in '' $ac_executable_extensions; do
4937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_SED
="$ac_prog"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4949 if test -n "$SED"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4951 $as_echo "$SED" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4958 test -n "$SED" && break
4961 if test -z "$SED"; then
4964 # Found it, now check the version.
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
4966 $as_echo_n "checking version of $SED... " >&6; }
4967 ac_prog_version
=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4968 case $ac_prog_version in
4969 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
4970 3.0[2-9]*|
3.
[1-9]*|
[4-9]*)
4971 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
4972 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
4976 $as_echo "$ac_prog_version" >&6; }
4978 if test $ac_verc_fail = yes; then
4979 SED
=: aux_missing
="$aux_missing sed"
4984 # Extract the first word of "$ac_prog", so it can be a program name with args.
4985 set dummy
$ac_prog; ac_word
=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_AWK+:} false
; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -n "$AWK"; then
4992 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_AWK
="$ac_prog"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 if test -n "$AWK"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5014 $as_echo "$AWK" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5021 test -n "$AWK" && break
5024 if test -z "$AWK"; then
5027 # Found it, now check the version.
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AWK" >&5
5029 $as_echo_n "checking version of $AWK... " >&6; }
5030 ac_prog_version
=`$AWK --version 2>&1 | sed -n 's/^.*GNU Awk[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
5031 case $ac_prog_version in
5032 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5033 3.1.
[2-9]*|
3.
[2-9]*|
[4-9]*)
5034 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5035 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5039 $as_echo "$ac_prog_version" >&6; }
5041 if test $ac_verc_fail = yes; then
5042 critic_missing
="$critic_missing gawk"
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC is sufficient to build libc" >&5
5047 $as_echo_n "checking if $CC is sufficient to build libc... " >&6; }
5048 if ${libc_cv_compiler_ok+:} false
; then :
5049 $as_echo_n "(cached) " >&6
5052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5053 /* end confdefs.h. */
5059 #if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)
5060 #error insufficient compiler
5066 if ac_fn_c_try_compile
"$LINENO"; then :
5067 libc_cv_compiler_ok
=yes
5069 libc_cv_compiler_ok
=no
5071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_compiler_ok" >&5
5074 $as_echo "$libc_cv_compiler_ok" >&6; }
5075 if test $libc_cv_compiler_ok != yes; then :
5076 critic_missing
="$critic_missing compiler"
5079 if test -n "$ac_tool_prefix"; then
5080 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
5081 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_NM+:} false
; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$NM"; then
5088 ac_cv_prog_NM
="$NM" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_NM
="${ac_tool_prefix}nm"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 if test -n "$NM"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
5110 $as_echo "$NM" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5118 if test -z "$ac_cv_prog_NM"; then
5120 # Extract the first word of "nm", so it can be a program name with args.
5121 set dummy nm
; ac_word
=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -n "$ac_ct_NM"; then
5128 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5134 test -z "$as_dir" && as_dir
=.
5135 for ac_exec_ext
in '' $ac_executable_extensions; do
5136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5137 ac_cv_prog_ac_ct_NM
="nm"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5148 if test -n "$ac_ct_NM"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
5150 $as_echo "$ac_ct_NM" >&6; }
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5156 if test "x$ac_ct_NM" = x
; then
5159 case $cross_compiling:$ac_tool_warned in
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5163 ac_tool_warned
=yes ;;
5172 if test "x$maintainer" = "xyes"; then
5173 for ac_prog
in autoconf
5175 # Extract the first word of "$ac_prog", so it can be a program name with args.
5176 set dummy
$ac_prog; ac_word
=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_AUTOCONF+:} false
; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$AUTOCONF"; then
5183 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
5185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir
=.
5190 for ac_exec_ext
in '' $ac_executable_extensions; do
5191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_AUTOCONF
="$ac_prog"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 AUTOCONF
=$ac_cv_prog_AUTOCONF
5203 if test -n "$AUTOCONF"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5205 $as_echo "$AUTOCONF" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 test -n "$AUTOCONF" && break
5214 test -n "$AUTOCONF" || AUTOCONF
="no"
5216 case "x$AUTOCONF" in
5217 xno|x|x
:) AUTOCONF
=no
;;
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
5220 $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
5221 if ${libc_cv_autoconf_works+:} false
; then :
5222 $as_echo_n "(cached) " >&6
5224 if (cd $srcdir; $AUTOCONF $ACFLAGS configure.ac
> /dev
/null
2>&1); then
5225 libc_cv_autoconf_works
=yes
5227 libc_cv_autoconf_works
=no
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
5231 $as_echo "$libc_cv_autoconf_works" >&6; }
5232 test $libc_cv_autoconf_works = yes || AUTOCONF
=no
5235 if test "x$AUTOCONF" = xno
; then
5236 aux_missing
="$aux_missing autoconf"
5242 test -n "$critic_missing" && as_fn_error $?
"
5243 *** These critical programs are missing or too old:$critic_missing
5244 *** Check the INSTALL file for required versions." "$LINENO" 5
5246 test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
5247 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5248 *** some features will be disabled.
5249 *** Check the INSTALL file for required versions." >&5
5250 $as_echo "$as_me: WARNING:
5251 *** These auxiliary programs are missing or incompatible versions:$aux_missing
5252 *** some features will be disabled.
5253 *** Check the INSTALL file for required versions." >&2;}
5255 # if using special system headers, find out the compiler's sekrit
5256 # header directory and add that to the list. NOTE: Only does the right
5257 # thing on a system that doesn't need fixincludes. (Not presently a problem.)
5258 if test -n "$sysheaders"; then
5259 SYSINCLUDES
=-nostdinc
5260 for d
in include include-fixed
; do
5261 i
=`$CC -print-file-name="$d"` && test "x$i" != x
&& test "x$i" != "x$d" &&
5262 SYSINCLUDES
="$SYSINCLUDES -isystem $i"
5264 SYSINCLUDES
="$SYSINCLUDES \
5265 -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
5266 if test -n "$CXX"; then
5268 for cxxheaders
in `$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
5269 | sed -n -e '1,/#include/d' -e 's/^ \(\/.*\/[cg]++\)/\1/p'`; do
5270 test "x$cxxheaders" != x
&&
5271 CXX_SYSINCLUDES
="$CXX_SYSINCLUDES -isystem $cxxheaders"
5278 # Test if LD_LIBRARY_PATH contains the notation for the current directory
5279 # since this would lead to problems installing/building glibc.
5280 # LD_LIBRARY_PATH contains the current directory if one of the following
5282 # - one of the terminals (":" and ";") is the first or last sign
5283 # - two terminals occur directly after each other
5284 # - the path contains an element with a dot in it
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
5286 $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
5287 case ${LD_LIBRARY_PATH} in
5288 [:\
;]* |
*[:\
;] |
*[:\
;][:\
;]* |
*[:\
;]. | .
[:\
;]*| . |
*[:\
;].
[:\
;]* )
5289 ld_library_path_setting
="contains current directory"
5292 ld_library_path_setting
="ok"
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
5296 $as_echo "$ld_library_path_setting" >&6; }
5297 if test "$ld_library_path_setting" != "ok"; then
5299 *** LD_LIBRARY_PATH shouldn't contain the current directory when
5300 *** building glibc. Please change the environment variable
5301 *** and run configure again." "$LINENO" 5
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports -static-libgcc" >&5
5305 $as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
5306 if ${libc_cv_gcc_static_libgcc+:} false
; then :
5307 $as_echo_n "(cached) " >&6
5309 if $CC -v -static-libgcc 2>&1 |
grep 'unrecognized option.*static-libgcc' >/dev
/null
; then
5310 libc_cv_gcc_static_libgcc
=
5312 libc_cv_gcc_static_libgcc
=-static-libgcc
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_static_libgcc" >&5
5316 $as_echo "$libc_cv_gcc_static_libgcc" >&6; }
5319 # Extract the first word of "bash", so it can be a program name with args.
5320 set dummy bash
; ac_word
=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_path_BASH_SHELL+:} false
; then :
5324 $as_echo_n "(cached) " >&6
5328 ac_cv_path_BASH_SHELL
="$BASH_SHELL" # Let the user override the test with a path.
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir
=.
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_path_BASH_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5346 test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL
="no"
5350 BASH_SHELL
=$ac_cv_path_BASH_SHELL
5351 if test -n "$BASH_SHELL"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
5353 $as_echo "$BASH_SHELL" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5361 # Extract the first word of "perl", so it can be a program name with args.
5362 set dummy perl
; ac_word
=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_path_PERL+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5370 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir
=.
5378 for ac_exec_ext
in '' $ac_executable_extensions; do
5379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5380 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
5392 PERL
=$ac_cv_path_PERL
5393 if test -n "$PERL"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5395 $as_echo "$PERL" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5402 if test "$PERL" != no
&&
5403 (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
5406 # Extract the first word of "install-info", so it can be a program name with args.
5407 set dummy install-info
; ac_word
=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_path_INSTALL_INFO+:} false
; then :
5411 $as_echo_n "(cached) " >&6
5413 case $INSTALL_INFO in
5415 ac_cv_path_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test with a path.
5418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 as_dummy
="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
5420 for as_dir
in $as_dummy
5423 test -z "$as_dir" && as_dir
=.
5424 for ac_exec_ext
in '' $ac_executable_extensions; do
5425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_path_INSTALL_INFO
="$as_dir/$ac_word$ac_exec_ext"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO
="no"
5438 INSTALL_INFO
=$ac_cv_path_INSTALL_INFO
5439 if test -n "$INSTALL_INFO"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
5441 $as_echo "$INSTALL_INFO" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5448 for ac_prog
in bison
5450 # Extract the first word of "$ac_prog", so it can be a program name with args.
5451 set dummy
$ac_prog; ac_word
=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_prog_BISON+:} false
; then :
5455 $as_echo_n "(cached) " >&6
5457 if test -n "$BISON"; then
5458 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5464 test -z "$as_dir" && as_dir
=.
5465 for ac_exec_ext
in '' $ac_executable_extensions; do
5466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5467 ac_cv_prog_BISON
="$ac_prog"
5468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 BISON
=$ac_cv_prog_BISON
5478 if test -n "$BISON"; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5480 $as_echo "$BISON" >&6; }
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5487 test -n "$BISON" && break
5490 if test -z "$BISON"; then
5493 # Found it, now check the version.
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $BISON" >&5
5495 $as_echo_n "checking version of $BISON... " >&6; }
5496 ac_prog_version
=`$BISON --version 2>&1 | sed -n 's/^.*bison (GNU Bison) \([0-9]*\.[0-9.]*\).*$/\1/p'`
5497 case $ac_prog_version in
5498 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5499 2.7*|
[3-9].
*|
[1-9][0-9]*)
5500 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5501 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5505 $as_echo "$ac_prog_version" >&6; }
5507 if test $ac_verc_fail = yes; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libc-friendly stddef.h" >&5
5513 $as_echo_n "checking for libc-friendly stddef.h... " >&6; }
5514 if ${libc_cv_friendly_stddef+:} false
; then :
5515 $as_echo_n "(cached) " >&6
5517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5518 /* end confdefs.h. */
5519 #define __need_size_t
5520 #define __need_wchar_t
5527 size_t size; wchar_t wchar;
5529 #error stddef.h ignored __need_*
5531 if (&size == NULL || &wchar == NULL) abort ();
5536 if ac_fn_c_try_compile
"$LINENO"; then :
5537 libc_cv_friendly_stddef
=yes
5539 libc_cv_friendly_stddef
=no
5541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_friendly_stddef" >&5
5544 $as_echo "$libc_cv_friendly_stddef" >&6; }
5545 if test $libc_cv_friendly_stddef = yes; then
5546 config_vars
="$config_vars
5547 override stddef.h = # The installed <stddef.h> seems to be libc-friendly."
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to use -P to assemble .S files" >&5
5551 $as_echo_n "checking whether we need to use -P to assemble .S files... " >&6; }
5552 if ${libc_cv_need_minus_P+:} false
; then :
5553 $as_echo_n "(cached) " >&6
5555 cat > conftest.S
<<EOF
5556 #include "confdefs.h"
5557 /* Nothing whatsoever. */
5559 if { ac_try
='${CC-cc} $CPPFLAGS $ASFLAGS -c conftest.S 1>&5'
5560 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5564 test $ac_status = 0; }; }; then
5565 libc_cv_need_minus_P
=no
5567 libc_cv_need_minus_P
=yes
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_need_minus_P" >&5
5572 $as_echo "$libc_cv_need_minus_P" >&6; }
5573 if test $libc_cv_need_minus_P = yes; then
5574 config_vars
="$config_vars
5575 asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
5579 $as_echo_n "checking for .set assembler directive... " >&6; }
5580 if ${libc_cv_asm_set_directive+:} false
; then :
5581 $as_echo_n "(cached) " >&6
5583 cat > conftest.s
<<EOF
5586 .set glibc_conftest_frobozz,foo
5587 .globl glibc_conftest_frobozz
5589 # The alpha-dec-osf1 assembler gives only a warning for `.set'
5590 # (but it doesn't work), so we must do a linking check to be sure.
5591 cat > conftest1.c
<<\EOF
5592 extern int glibc_conftest_frobozz
;
5593 void _start
() { glibc_conftest_frobozz
= 1; }
5595 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
5596 -nostartfiles -nostdlib \
5597 -o conftest conftest.s conftest1.c
1>&5 2>&5; then
5598 libc_cv_asm_set_directive
=yes
5600 libc_cv_asm_set_directive
=no
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
5605 $as_echo "$libc_cv_asm_set_directive" >&6; }
5606 if test $libc_cv_asm_set_directive = yes; then
5607 $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler gnu_unique_object symbol type" >&5
5612 $as_echo_n "checking for assembler gnu_unique_object symbol type... " >&6; }
5613 if ${libc_cv_asm_unique_object+:} false
; then :
5614 $as_echo_n "(cached) " >&6
5616 cat > conftest.s
<<EOF
5619 .type _sym, %gnu_unique_object
5621 if ${CC-cc} -c $ASFLAGS conftest.s
1>&5 2>&5; then
5622 libc_cv_asm_unique_object
=yes
5624 libc_cv_asm_unique_object
=no
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_unique_object" >&5
5629 $as_echo "$libc_cv_asm_unique_object" >&6; }
5630 if test $libc_cv_asm_unique_object = yes; then
5631 $as_echo "#define HAVE_ASM_UNIQUE_OBJECT 1" >>confdefs.h
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .previous assembler directive" >&5
5636 $as_echo_n "checking for .previous assembler directive... " >&6; }
5637 if ${libc_cv_asm_previous_directive+:} false
; then :
5638 $as_echo_n "(cached) " >&6
5640 cat > conftest.s
<<EOF
5641 .section foo_section
5644 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5645 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5649 test $ac_status = 0; }; }; then
5650 libc_cv_asm_previous_directive
=yes
5652 libc_cv_asm_previous_directive
=no
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_previous_directive" >&5
5657 $as_echo "$libc_cv_asm_previous_directive" >&6; }
5658 if test $libc_cv_asm_previous_directive = yes; then
5659 $as_echo "#define HAVE_ASM_PREVIOUS_DIRECTIVE 1" >>confdefs.h
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .popsection assembler directive" >&5
5663 $as_echo_n "checking for .popsection assembler directive... " >&6; }
5664 if ${libc_cv_asm_popsection_directive+:} false
; then :
5665 $as_echo_n "(cached) " >&6
5667 cat > conftest.s
<<EOF
5668 .pushsection foo_section
5671 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5672 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5676 test $ac_status = 0; }; }; then
5677 libc_cv_asm_popsection_directive
=yes
5679 libc_cv_asm_popsection_directive
=no
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_popsection_directive" >&5
5684 $as_echo "$libc_cv_asm_popsection_directive" >&6; }
5685 if test $libc_cv_asm_popsection_directive = yes; then
5686 $as_echo "#define HAVE_ASM_POPSECTION_DIRECTIVE 1" >>confdefs.h
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .protected and .hidden assembler directive" >&5
5691 $as_echo_n "checking for .protected and .hidden assembler directive... " >&6; }
5692 if ${libc_cv_asm_protected_directive+:} false
; then :
5693 $as_echo_n "(cached) " >&6
5695 cat > conftest.s
<<EOF
5701 if { ac_try
='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
5702 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5706 test $ac_status = 0; }; }; then
5707 libc_cv_asm_protected_directive
=yes
5709 as_fn_error $?
"assembler support for symbol visibility is required" "$LINENO" 5
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_protected_directive" >&5
5714 $as_echo "$libc_cv_asm_protected_directive" >&6; }
5716 if test $libc_cv_asm_protected_directive = yes; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((visibility())) is supported" >&5
5718 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
5719 if ${libc_cv_visibility_attribute+:} false
; then :
5720 $as_echo_n "(cached) " >&6
5722 cat > conftest.c
<<EOF
5723 int foo __attribute__ ((visibility ("hidden"))) = 1;
5724 int bar __attribute__ ((visibility ("protected"))) = 1;
5726 libc_cv_visibility_attribute
=no
5727 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5728 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5732 test $ac_status = 0; }; }; then
5733 if grep '\.hidden.*foo' conftest.s
>/dev
/null
; then
5734 if grep '\.protected.*bar' conftest.s
>/dev
/null
; then
5735 libc_cv_visibility_attribute
=yes
5739 rm -f conftest.
{c
,s
}
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_visibility_attribute" >&5
5743 $as_echo "$libc_cv_visibility_attribute" >&6; }
5744 if test $libc_cv_visibility_attribute != yes; then
5745 as_fn_error $?
"compiler support for visibility attribute is required" "$LINENO" 5
5749 if test $libc_cv_visibility_attribute = yes; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for protected data symbol" >&5
5751 $as_echo_n "checking linker support for protected data symbol... " >&6; }
5752 if ${libc_cv_protected_data+:} false
; then :
5753 $as_echo_n "(cached) " >&6
5755 cat > conftest.c
<<EOF
5756 int bar __attribute__ ((visibility ("protected"))) = 1;
5758 libc_cv_protected_data
=no
5759 if { ac_try
='${CC-cc} -nostdlib -nostartfiles -fPIC -shared conftest.c -o conftest.so'
5760 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5764 test $ac_status = 0; }; }; then
5765 cat > conftest.c
<<EOF
5767 int main (void) { return bar; }
5769 if { ac_try
='${CC-cc} -nostdlib -nostartfiles conftest.c -o conftest conftest.so'
5770 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5774 test $ac_status = 0; }; }; then
5775 libc_cv_protected_data
=yes
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_protected_data" >&5
5782 $as_echo "$libc_cv_protected_data" >&6; }
5784 libc_cv_protected_data
=no
5788 if test $libc_cv_visibility_attribute = yes; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((visibility()))" >&5
5790 $as_echo_n "checking for broken __attribute__((visibility()))... " >&6; }
5791 if ${libc_cv_broken_visibility_attribute+:} false
; then :
5792 $as_echo_n "(cached) " >&6
5794 cat > conftest.c
<<EOF
5796 int bar (int x) __asm__ ("foo") __attribute__ ((visibility ("hidden")));
5797 int bar (int x) { return x; }
5799 libc_cv_broken_visibility_attribute
=yes
5800 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5801 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5805 test $ac_status = 0; }; }; then
5806 if grep '\.hidden[ _]foo' conftest.s
>/dev
/null
; then
5807 libc_cv_broken_visibility_attribute
=no
5810 rm -f conftest.c conftest.s
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_visibility_attribute" >&5
5814 $as_echo "$libc_cv_broken_visibility_attribute" >&6; }
5815 if test $libc_cv_broken_visibility_attribute = yes; then
5816 as_fn_error $?
"working compiler support for visibility attribute is required" "$LINENO" 5
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
5821 $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
5822 if ${libc_cv_broken_alias_attribute+:} false
; then :
5823 $as_echo_n "(cached) " >&6
5825 cat > conftest.c
<<EOF
5826 extern int foo (int x) __asm ("xyzzy");
5827 int bar (int x) { return x; }
5828 extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
5830 extern __typeof (dfoo) dfoo __asm ("abccb");
5833 libc_cv_broken_alias_attribute
=yes
5834 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5835 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5839 test $ac_status = 0; }; }; then
5840 if grep 'xyzzy' conftest.s
>/dev
/null
&&
5841 grep 'abccb' conftest.s
>/dev
/null
; then
5842 libc_cv_broken_alias_attribute
=no
5845 rm -f conftest.c conftest.s
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
5849 $as_echo "$libc_cv_broken_alias_attribute" >&6; }
5850 if test $libc_cv_broken_alias_attribute = yes; then
5851 as_fn_error $?
"working alias attribute support required" "$LINENO" 5
5854 if test $libc_cv_visibility_attribute = yes; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
5856 $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
5857 if ${libc_cv_have_sdata_section+:} false
; then :
5858 $as_echo_n "(cached) " >&6
5860 echo "int i;" > conftest.c
5861 libc_cv_have_sdata_section
=no
5862 if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c
-o conftest.so
2>&1 \
5863 |
grep '\.sdata' >/dev
/null
; then
5864 libc_cv_have_sdata_section
=yes
5866 rm -f conftest.c conftest.so
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
5870 $as_echo "$libc_cv_have_sdata_section" >&6; }
5871 if test $libc_cv_have_sdata_section = yes; then
5872 $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init_array/.fini_array support" >&5
5878 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support... " >&6; }
5879 if ${libc_cv_initfini_array+:} false
; then :
5880 $as_echo_n "(cached) " >&6
5882 cat > conftest.c
<<EOF
5883 int _start (void) { return 0; }
5884 int __start (void) { return 0; }
5886 int foo (void) { return 1; }
5887 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
5890 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest
5891 conftest.c -static -nostartfiles -nostdlib
5893 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5897 test $ac_status = 0; }; }; then :
5898 if $READELF -S conftest | fgrep INIT_ARRAY
> /dev
/null
; then
5899 libc_cv_initfini_array
=yes
5901 libc_cv_initfini_array
=no
5904 libc_cv_initfini_array
=no
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_initfini_array" >&5
5910 $as_echo "$libc_cv_initfini_array" >&6; }
5911 if test $libc_cv_initfini_array != yes; then
5912 as_fn_error $?
"Need linker with .init_array/.fini_array support." "$LINENO" 5
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use .ctors/.dtors header and trailer" >&5
5916 $as_echo_n "checking whether to use .ctors/.dtors header and trailer... " >&6; }
5917 if ${libc_cv_ctors_header+:} false
; then :
5918 $as_echo_n "(cached) " >&6
5920 libc_cv_ctors_header
=yes
5921 cat > conftest.c
<<EOF
5922 int _start (void) { return 0; }
5923 int __start (void) { return 0; }
5925 __attribute__ ((constructor)) void ctor (void) { asm (""); }
5926 __attribute__ ((destructor)) void dtor (void) { asm (""); }
5929 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest
5930 conftest.c -static -nostartfiles -nostdlib
5932 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5936 test $ac_status = 0; }; }; then :
5937 if $READELF -WS conftest
$ac_exeext |
$AWK '
5938 { gsub(/\[ */, "[") }
5939 $2 == ".ctors" || $2 == ".dtors" {
5940 size = strtonum("0x" $6)
5941 align = strtonum("0x" $NF)
5943 stub[$2] = size == align * 2
5946 ctors_ok = !seen[".ctors"] || stub[".ctors"]
5947 dtors_ok = !seen[".dtors"] || stub[".dtors"]
5948 exit ((ctors_ok && dtors_ok) ? 0 : 1)
5951 libc_cv_ctors_header
=no
5955 as_fn_error $?
"missing __attribute__ ((constructor)) support??" "$LINENO" 5
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ctors_header" >&5
5962 $as_echo "$libc_cv_ctors_header" >&6; }
5963 if test $libc_cv_ctors_header = no
; then
5964 $as_echo "#define NO_CTORS_DTORS_SECTIONS 1" >>confdefs.h
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
5969 $as_echo_n "checking for libunwind-support in compiler... " >&6; }
5970 if ${libc_cv_cc_with_libunwind+:} false
; then :
5971 $as_echo_n "(cached) " >&6
5974 cat > conftest.c
<<EOF
5975 int main (void) { return 0; }
5977 if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
5978 conftest.c
-v 2>&1 >/dev
/null |
grep ' -lunwind ' >/dev
/null
; then
5979 libc_cv_cc_with_libunwind
=yes
5981 libc_cv_cc_with_libunwind
=no
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
5986 $as_echo "$libc_cv_cc_with_libunwind" >&6; }
5988 if test $libc_cv_cc_with_libunwind = yes; then
5989 $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z nodelete" >&5
5994 $as_echo_n "checking for linker that supports -z nodelete... " >&6; }
5995 libc_linker_feature
=no
5996 if test x
"$gnu_ld" = x
"yes"; then
5997 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z nodelete"`
5998 if test -n "$libc_linker_check"; then
5999 cat > conftest.c
<<EOF
6000 int _start (void) { return 42; }
6002 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6003 -Wl,--enable-new-dtags,-z,nodelete -nostdlib -nostartfiles
6004 -fPIC -shared -o conftest.so conftest.c
6006 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6010 test $ac_status = 0; }; }
6012 libc_linker_feature
=yes
6017 if test $libc_linker_feature = yes; then
6018 libc_cv_z_nodelete
=yes
6020 as_fn_error $?
"linker with -z nodelete support required" "$LINENO" 5
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
6023 $as_echo "$libc_linker_feature" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z nodlopen" >&5
6026 $as_echo_n "checking for linker that supports -z nodlopen... " >&6; }
6027 libc_linker_feature
=no
6028 if test x
"$gnu_ld" = x
"yes"; then
6029 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z nodlopen"`
6030 if test -n "$libc_linker_check"; then
6031 cat > conftest.c
<<EOF
6032 int _start (void) { return 42; }
6034 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6035 -Wl,--enable-new-dtags,-z,nodlopen -nostdlib -nostartfiles
6036 -fPIC -shared -o conftest.so conftest.c
6038 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6042 test $ac_status = 0; }; }
6044 libc_linker_feature
=yes
6049 if test $libc_linker_feature = yes; then
6050 libc_cv_z_nodlopen
=yes
6052 as_fn_error $?
"linker with -z nodlopen support required" "$LINENO" 5
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
6055 $as_echo "$libc_linker_feature" >&6; }
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z initfirst" >&5
6058 $as_echo_n "checking for linker that supports -z initfirst... " >&6; }
6059 libc_linker_feature
=no
6060 if test x
"$gnu_ld" = x
"yes"; then
6061 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z initfirst"`
6062 if test -n "$libc_linker_check"; then
6063 cat > conftest.c
<<EOF
6064 int _start (void) { return 42; }
6066 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6067 -Wl,--enable-new-dtags,-z,initfirst -nostdlib -nostartfiles
6068 -fPIC -shared -o conftest.so conftest.c
6070 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6074 test $ac_status = 0; }; }
6076 libc_linker_feature
=yes
6081 if test $libc_linker_feature = yes; then
6082 libc_cv_z_initfirst
=yes
6084 as_fn_error $?
"linker with -z initfirst support required" "$LINENO" 5
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
6087 $as_echo "$libc_linker_feature" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bgroup option" >&5
6090 $as_echo_n "checking for -Bgroup option... " >&6; }
6091 if ${libc_cv_Bgroup+:} false
; then :
6092 $as_echo_n "(cached) " >&6
6094 cat > conftest.c
<<EOF
6095 int _start (void) { return 42; }
6097 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6098 -fPIC -shared -o conftest.so conftest.c
6099 -Wl,-Bgroup -nostdlib 1>&5'
6100 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6104 test $ac_status = 0; }; }
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_Bgroup" >&5
6113 $as_echo "$libc_cv_Bgroup" >&6; }
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
6118 $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
6119 if ${libc_cv_as_noexecstack+:} false
; then :
6120 $as_echo_n "(cached) " >&6
6122 cat > conftest.c
<<EOF
6125 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS
6126 -S -o conftest.s conftest.c 1>&5'
6127 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6131 test $ac_status = 0; }; } \
6132 && grep .note.GNU-stack conftest.s
>/dev
/null \
6133 && { ac_try
='${CC-cc} $ASFLAGS -Wa,--noexecstack
6134 -c -o conftest.o conftest.s 1>&5'
6135 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6139 test $ac_status = 0; }; }
6141 libc_cv_as_noexecstack
=yes
6143 libc_cv_as_noexecstack
=no
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
6148 $as_echo "$libc_cv_as_noexecstack" >&6; }
6149 if test $libc_cv_as_noexecstack = yes; then
6150 ASFLAGS_config
="$ASFLAGS_config -Wa,--noexecstack"
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -z combreloc" >&5
6155 $as_echo_n "checking for -z combreloc... " >&6; }
6156 if ${libc_cv_z_combreloc+:} false
; then :
6157 $as_echo_n "(cached) " >&6
6159 cat > conftest.c
<<EOF
6160 extern int bar (int);
6162 int foo (void) { return bar (mumble); }
6164 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6165 -fPIC -shared -o conftest.so conftest.c
6166 -nostdlib -nostartfiles
6167 -Wl,-z,combreloc 1>&5'
6168 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6172 test $ac_status = 0; }; }
6174 if $READELF -S conftest.so |
grep '\.rel\(a\|\)\.dyn' > /dev
/null
; then
6175 libc_cv_z_combreloc
=yes
6177 libc_cv_z_combreloc
=no
6180 libc_cv_z_combreloc
=no
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_z_combreloc" >&5
6185 $as_echo "$libc_cv_z_combreloc" >&6; }
6186 if test "$libc_cv_z_combreloc" = yes; then
6187 $as_echo "#define HAVE_Z_COMBRELOC 1" >>confdefs.h
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z execstack" >&5
6193 $as_echo_n "checking for linker that supports -z execstack... " >&6; }
6194 libc_linker_feature
=no
6195 if test x
"$gnu_ld" = x
"yes"; then
6196 libc_linker_check
=`$LD -v --help 2>/dev/null | grep "\-z execstack"`
6197 if test -n "$libc_linker_check"; then
6198 cat > conftest.c
<<EOF
6199 int _start (void) { return 42; }
6201 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6202 -Wl,-z,execstack -nostdlib -nostartfiles
6203 -fPIC -shared -o conftest.so conftest.c
6205 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6209 test $ac_status = 0; }; }
6211 libc_linker_feature
=yes
6216 if test $libc_linker_feature = yes; then
6217 libc_cv_z_execstack
=yes
6219 libc_cv_z_execstack
=no
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
6222 $as_echo "$libc_linker_feature" >&6; }
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
6226 $as_echo_n "checking for -fpie... " >&6; }
6227 if ${libc_cv_fpie+:} false
; then :
6228 $as_echo_n "(cached) " >&6
6230 if { ac_try
='${CC-cc} -fpie -xc /dev/null -S -o /dev/null'
6231 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6235 test $ac_status = 0; }; }; then :
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
6243 $as_echo "$libc_cv_fpie" >&6; }
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style option" >&5
6248 $as_echo_n "checking for --hash-style option... " >&6; }
6249 if ${libc_cv_hashstyle+:} false
; then :
6250 $as_echo_n "(cached) " >&6
6252 cat > conftest.c
<<EOF
6253 int _start (void) { return 42; }
6255 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6256 -fPIC -shared -o conftest.so conftest.c
6257 -Wl,--hash-style=both -nostdlib 1>&5'
6258 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6262 test $ac_status = 0; }; }
6264 libc_cv_hashstyle
=yes
6266 libc_cv_hashstyle
=no
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hashstyle" >&5
6271 $as_echo "$libc_cv_hashstyle" >&6; }
6274 # The linker's default -shared behavior is good enough if it
6275 # does these things that our custom linker scripts ensure that
6276 # all allocated NOTE sections come first.
6277 if test "$use_default_link" = default
; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sufficient default -shared layout" >&5
6279 $as_echo_n "checking for sufficient default -shared layout... " >&6; }
6280 if ${libc_cv_use_default_link+:} false
; then :
6281 $as_echo_n "(cached) " >&6
6283 libc_cv_use_default_link
=no
6284 cat > conftest.s
<<\EOF
6285 .section .note.a
,"a",%note
6290 .section .note.b
,"a",%note
6296 if { ac_try
=' ${CC-cc} $ASFLAGS -shared -o conftest.so conftest.s 1>&5'
6297 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6301 test $ac_status = 0; }; } &&
6302 ac_try
=`$READELF -S conftest.so | sed -n \
6304 s/^ *\[ *[1-9][0-9]*\] *\([^ ][^ ]*\) *\([^ ][^ ]*\) .*$/\2 \1/
6310 libc_seen_a
=no libc_seen_b
=no
6312 while test $# -ge 2 -a "$1" = NOTE
; do
6314 .note.a
) libc_seen_a
=yes ;;
6315 .note.b
) libc_seen_b
=yes ;;
6319 case "$libc_seen_a$libc_seen_b" in
6321 libc_cv_use_default_link
=yes
6325 $libc_seen_a$libc_seen_b from:
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_use_default_link" >&5
6333 $as_echo "$libc_cv_use_default_link" >&6; }
6334 use_default_link
=$libc_cv_use_default_link
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker output format" >&5
6338 $as_echo_n "checking linker output format... " >&6; }
6339 if ${libc_cv_output_format+:} false
; then :
6340 $as_echo_n "(cached) " >&6
6342 if libc_cv_output_format
=`
6343 ${CC-cc} -nostartfiles -nostdlib -Wl,--print-output-format 2>&5`
6347 libc_cv_output_format
=
6349 test -n "$libc_cv_output_format" || libc_cv_output_format
=unknown
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_output_format" >&5
6352 $as_echo "$libc_cv_output_format" >&6; }
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fno-toplevel-reorder -fno-section-anchors" >&5
6356 $as_echo_n "checking for -fno-toplevel-reorder -fno-section-anchors... " >&6; }
6357 if ${libc_cv_fno_toplevel_reorder+:} false
; then :
6358 $as_echo_n "(cached) " >&6
6360 cat > conftest.c
<<EOF
6363 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors
6365 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6369 test $ac_status = 0; }; }
6371 libc_cv_fno_toplevel_reorder
=yes
6373 libc_cv_fno_toplevel_reorder
=no
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fno_toplevel_reorder" >&5
6378 $as_echo "$libc_cv_fno_toplevel_reorder" >&6; }
6379 if test $libc_cv_fno_toplevel_reorder = yes; then
6380 fno_unit_at_a_time
="-fno-toplevel-reorder -fno-section-anchors"
6382 fno_unit_at_a_time
=-fno-unit-at-a-time
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
6387 $as_echo_n "checking for -fstack-protector... " >&6; }
6388 if ${libc_cv_ssp+:} false
; then :
6389 $as_echo_n "(cached) " >&6
6391 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector -xc /dev/null -S -o /dev/null'
6392 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6396 test $ac_status = 0; }; }; then :
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
6404 $as_echo "$libc_cv_ssp" >&6; }
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fgnu89-inline" >&5
6408 $as_echo_n "checking for -fgnu89-inline... " >&6; }
6409 if ${libc_cv_gnu89_inline+:} false
; then :
6410 $as_echo_n "(cached) " >&6
6412 cat > conftest.c
<<EOF
6414 #ifdef __GNUC_GNU_INLINE__
6415 main () { return 0;}
6420 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -std=gnu99 -fgnu89-inline
6421 -o conftest.s conftest.c 1>&5'
6422 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6426 test $ac_status = 0; }; }
6428 libc_cv_gnu89_inline
=yes
6430 libc_cv_gnu89_inline
=no
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gnu89_inline" >&5
6435 $as_echo "$libc_cv_gnu89_inline" >&6; }
6436 if test $libc_cv_gnu89_inline = yes; then
6437 gnu89_inline
=-fgnu89-inline
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
6444 $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
6445 if ${libc_cv_have_section_quotes+:} false
; then :
6446 $as_echo_n "(cached) " >&6
6448 cat > conftest.c
<<EOF
6449 static const int foo
6450 __attribute__ ((section ("bar"))) = 1;
6452 if ${CC-cc} -S conftest.c
-o conftest.s
; then
6453 if grep '\.section.*"bar"' conftest.s
>/dev
/null
; then
6454 libc_cv_have_section_quotes
=yes
6456 libc_cv_have_section_quotes
=no
6459 libc_cv_have_section_quotes
=unknown
6461 rm -f conftest.
{c
,s
}
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
6465 $as_echo "$libc_cv_have_section_quotes" >&6; }
6466 if test $libc_cv_have_section_quotes = yes; then
6467 $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weak directive" >&5
6472 $as_echo_n "checking for assembler .weak directive... " >&6; }
6473 if ${libc_cv_asm_weak_directive+:} false
; then :
6474 $as_echo_n "(cached) " >&6
6476 cat > conftest.s
<<EOF
6481 .weak bar; bar = foo
6483 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6484 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6488 test $ac_status = 0; }; }; then
6489 libc_cv_asm_weak_directive
=yes
6491 libc_cv_asm_weak_directive
=no
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weak_directive" >&5
6496 $as_echo "$libc_cv_asm_weak_directive" >&6; }
6498 if test $libc_cv_asm_weak_directive = no
; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .weakext directive" >&5
6500 $as_echo_n "checking for assembler .weakext directive... " >&6; }
6501 if ${libc_cv_asm_weakext_directive+:} false
; then :
6502 $as_echo_n "(cached) " >&6
6504 cat > conftest.s
<<EOF
6513 if { ac_try
='${CC-cc} $ASFLAGS -c conftest.s 1>&5'
6514 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6518 test $ac_status = 0; }; }; then
6519 libc_cv_asm_weakext_directive
=yes
6521 libc_cv_asm_weakext_directive
=no
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_weakext_directive" >&5
6526 $as_echo "$libc_cv_asm_weakext_directive" >&6; }
6530 if test $libc_cv_asm_weak_directive = yes; then
6531 $as_echo "#define HAVE_ASM_WEAK_DIRECTIVE 1" >>confdefs.h
6533 elif test $libc_cv_asm_weakext_directive = yes; then
6534 $as_echo "#define HAVE_ASM_WEAKEXT_DIRECTIVE 1" >>confdefs.h
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --no-whole-archive" >&5
6539 $as_echo_n "checking for ld --no-whole-archive... " >&6; }
6540 if ${libc_cv_ld_no_whole_archive+:} false
; then :
6541 $as_echo_n "(cached) " >&6
6543 cat > conftest.c
<<\EOF
6548 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6549 -nostdlib -nostartfiles -Wl,--no-whole-archive
6550 -o conftest conftest.c 1>&5'
6551 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6555 test $ac_status = 0; }; }; then
6556 libc_cv_ld_no_whole_archive
=yes
6558 libc_cv_ld_no_whole_archive
=no
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_no_whole_archive" >&5
6563 $as_echo "$libc_cv_ld_no_whole_archive" >&6; }
6564 if test $libc_cv_ld_no_whole_archive = no
; then
6565 as_fn_error $?
"support for --no-whole-archive is needed" "$LINENO" 5
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc -fexceptions" >&5
6569 $as_echo_n "checking for gcc -fexceptions... " >&6; }
6570 if ${libc_cv_gcc_exceptions+:} false
; then :
6571 $as_echo_n "(cached) " >&6
6573 cat > conftest.c
<<\EOF
6578 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
6579 -nostdlib -nostartfiles -fexceptions
6580 -o conftest conftest.c 1>&5'
6581 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6585 test $ac_status = 0; }; }; then
6586 libc_cv_gcc_exceptions
=yes
6588 libc_cv_gcc_exceptions
=no
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_exceptions" >&5
6593 $as_echo "$libc_cv_gcc_exceptions" >&6; }
6594 if test $libc_cv_gcc_exceptions = yes; then
6595 exceptions
=-fexceptions
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
6599 $as_echo_n "checking for __builtin_memset... " >&6; }
6600 if ${libc_cv_gcc_builtin_memset+:} false
; then :
6601 $as_echo_n "(cached) " >&6
6603 cat > conftest.c
<<\EOF
6606 __builtin_memset
(x
, 0, 1000);
6609 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "memset" > /dev/null'
6610 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6614 test $ac_status = 0; }; };
6616 libc_cv_gcc_builtin_memset
=no
6618 libc_cv_gcc_builtin_memset
=yes
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
6623 $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
6624 if test "$libc_cv_gcc_builtin_memset" = yes ; then
6625 $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
6630 $as_echo_n "checking for redirection of built-in functions... " >&6; }
6631 if ${libc_cv_gcc_builtin_redirection+:} false
; then :
6632 $as_echo_n "(cached) " >&6
6634 cat > conftest.c
<<\EOF
6635 extern char
*strstr
(const char
*, const char
*) __asm
("my_strstr");
6636 char
*foo
(const char
*a
, const char
*b
)
6638 return __builtin_strstr
(a
, b
);
6641 if { ac_try
='${CC-cc} -O3 -S conftest.c -o - | fgrep "my_strstr" > /dev/null'
6642 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6646 test $ac_status = 0; }; };
6648 libc_cv_gcc_builtin_redirection
=yes
6650 libc_cv_gcc_builtin_redirection
=no
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
6655 $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
6656 if test "$libc_cv_gcc_builtin_redirection" = no
; then
6657 as_fn_error $?
"support for the symbol redirection needed" "$LINENO" 5
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
6661 $as_echo_n "checking for __thread... " >&6; }
6662 if ${libc_cv_gcc___thread+:} false
; then :
6663 $as_echo_n "(cached) " >&6
6665 cat > conftest.c
<<\EOF
6666 __thread int a
= 42;
6668 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c >&5'
6669 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6673 test $ac_status = 0; }; }; then
6674 libc_cv_gcc___thread
=yes
6676 libc_cv_gcc___thread
=no
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc___thread" >&5
6681 $as_echo "$libc_cv_gcc___thread" >&6; }
6682 if test "$libc_cv_gcc___thread" = no
; then
6683 as_fn_error $?
"support for the __thread keyword is required" "$LINENO" 5
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tls_model attribute" >&5
6687 $as_echo_n "checking for tls_model attribute... " >&6; }
6688 if ${libc_cv_gcc_tls_model_attr+:} false
; then :
6689 $as_echo_n "(cached) " >&6
6691 cat > conftest.c
<<\EOF
6692 extern __thread int a __attribute__
((tls_model
("initial-exec")));
6694 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S -Werror conftest.c >&5'
6695 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6699 test $ac_status = 0; }; }; then
6700 libc_cv_gcc_tls_model_attr
=yes
6702 libc_cv_gcc_tls_model_attr
=no
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_tls_model_attr" >&5
6707 $as_echo "$libc_cv_gcc_tls_model_attr" >&6; }
6708 if test "$libc_cv_gcc_tls_model_attr" = no
; then
6709 as_fn_error $?
"support for the tls_model attribute is required" "$LINENO" 5
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to disable generation of FMA instructions" >&5
6713 $as_echo_n "checking for compiler option to disable generation of FMA instructions... " >&6; }
6714 if ${libc_cv_cc_nofma+:} false
; then :
6715 $as_echo_n "(cached) " >&6
6718 for opt
in -ffp-contract=off
-mno-fused-madd; do
6719 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6720 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6724 test $ac_status = 0; }; }; then :
6725 libc_cv_cc_nofma
=$opt; break
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_nofma" >&5
6730 $as_echo "$libc_cv_cc_nofma" >&6; }
6733 if test -n "$submachine"; then
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
6735 $as_echo_n "checking for compiler option for CPU variant... " >&6; }
6736 if ${libc_cv_cc_submachine+:} false
; then :
6737 $as_echo_n "(cached) " >&6
6739 libc_cv_cc_submachine
=no
6740 for opt
in "-march=$submachine" "-mcpu=$submachine"; do
6741 if { ac_try
='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
6742 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6746 test $ac_status = 0; }; }; then :
6748 libc_cv_cc_submachine
="$opt"
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
6754 $as_echo "$libc_cv_cc_submachine" >&6; }
6755 if test "x$libc_cv_cc_submachine" = xno
; then
6756 as_fn_error $?
"${CC-cc} does not support $submachine" "$LINENO" 5
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6762 __attribute__ ((__optimize__))" >&5
6763 $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns with \
6764 __attribute__ ((__optimize__))... " >&6; }
6765 if ${libc_cv_cc_loop_to_function+:} false
; then :
6766 $as_echo_n "(cached) " >&6
6768 cat > conftest.c
<<EOF
6770 __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
6773 libc_cv_cc_loop_to_function
=no
6774 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c'
6775 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
6778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6779 test $ac_status = 0; }; }
6781 libc_cv_cc_loop_to_function
=yes
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_loop_to_function" >&5
6786 $as_echo "$libc_cv_cc_loop_to_function" >&6; }
6787 if test $libc_cv_cc_loop_to_function = yes; then
6788 $as_echo "#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
6794 $as_echo_n "checking for libgd... " >&6; }
6795 if test "$with_gd" != "no"; then
6796 old_CFLAGS
="$CFLAGS"
6797 CFLAGS
="$CFLAGS $libgd_include"
6798 old_LDFLAGS
="$LDFLAGS"
6799 LDFLAGS
="$LDFLAGS $libgd_ldflags"
6801 LIBS
="$LIBS -lgd -lpng -lz -lm"
6802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6803 /* end confdefs.h. */
6813 if ac_fn_c_try_link
"$LINENO"; then :
6818 rm -f core conftest.err conftest.
$ac_objext \
6819 conftest
$ac_exeext conftest.
$ac_ext
6820 CFLAGS
="$old_CFLAGS"
6821 LDFLAGS
="$old_LDFLAGS"
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
6827 $as_echo "$LIBGD" >&6; }
6831 if test x
$with_selinux = xno
; then
6834 # See if we have the SELinux library
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
6836 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
6837 if ${ac_cv_lib_selinux_is_selinux_enabled+:} false
; then :
6838 $as_echo_n "(cached) " >&6
6840 ac_check_lib_save_LIBS
=$LIBS
6841 LIBS
="-lselinux $LIBS"
6842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6845 /* Override any GCC internal prototype to avoid an error.
6846 Use char because int might match the return type of a GCC
6847 builtin and then its argument prototype would still apply. */
6851 char is_selinux_enabled ();
6855 return is_selinux_enabled ();
6860 if ac_fn_c_try_link
"$LINENO"; then :
6861 ac_cv_lib_selinux_is_selinux_enabled
=yes
6863 ac_cv_lib_selinux_is_selinux_enabled
=no
6865 rm -f core conftest.err conftest.
$ac_objext \
6866 conftest
$ac_exeext conftest.
$ac_ext
6867 LIBS
=$ac_check_lib_save_LIBS
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
6870 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
6871 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes
; then :
6877 if test x
$with_selinux = xyes
; then
6878 if test x
$have_selinux = xno
; then
6879 as_fn_error $?
"SELinux explicitly required, but SELinux library not found" "$LINENO" 5
6883 # Check if we're building with SELinux support.
6884 if test "x$have_selinux" = xyes
; then
6886 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
6889 # See if we have the libaudit library
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
6891 $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
6892 if ${ac_cv_lib_audit_audit_log_user_avc_message+:} false
; then :
6893 $as_echo_n "(cached) " >&6
6895 ac_check_lib_save_LIBS
=$LIBS
6896 LIBS
="-laudit $LIBS"
6897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6900 /* Override any GCC internal prototype to avoid an error.
6901 Use char because int might match the return type of a GCC
6902 builtin and then its argument prototype would still apply. */
6906 char audit_log_user_avc_message ();
6910 return audit_log_user_avc_message ();
6915 if ac_fn_c_try_link
"$LINENO"; then :
6916 ac_cv_lib_audit_audit_log_user_avc_message
=yes
6918 ac_cv_lib_audit_audit_log_user_avc_message
=no
6920 rm -f core conftest.err conftest.
$ac_objext \
6921 conftest
$ac_exeext conftest.
$ac_ext
6922 LIBS
=$ac_check_lib_save_LIBS
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
6925 $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
6926 if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = xyes
; then :
6932 if test "x$have_libaudit" = xyes
; then
6934 $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
6939 # See if we have the libcap library
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
6941 $as_echo_n "checking for cap_init in -lcap... " >&6; }
6942 if ${ac_cv_lib_cap_cap_init+:} false
; then :
6943 $as_echo_n "(cached) " >&6
6945 ac_check_lib_save_LIBS
=$LIBS
6947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6950 /* Override any GCC internal prototype to avoid an error.
6951 Use char because int might match the return type of a GCC
6952 builtin and then its argument prototype would still apply. */
6965 if ac_fn_c_try_link
"$LINENO"; then :
6966 ac_cv_lib_cap_cap_init
=yes
6968 ac_cv_lib_cap_cap_init
=no
6970 rm -f core conftest.err conftest.
$ac_objext \
6971 conftest
$ac_exeext conftest.
$ac_ext
6972 LIBS
=$ac_check_lib_save_LIBS
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
6975 $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
6976 if test "x$ac_cv_lib_cap_cap_init" = xyes
; then :
6982 if test "x$have_libcap" = xyes
; then
6984 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
6992 # The cast to long int works around a bug in the HP C Compiler
6993 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6994 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6995 # This bug is HP SR number 8606223364.
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
6997 $as_echo_n "checking size of long double... " >&6; }
6998 if ${ac_cv_sizeof_long_double+:} false
; then :
6999 $as_echo_n "(cached) " >&6
7001 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
7004 if test "$ac_cv_type_long_double" = yes; then
7005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7007 as_fn_error
77 "cannot compute sizeof (long double)
7008 See \`config.log' for more details" "$LINENO" 5; }
7010 ac_cv_sizeof_long_double
=0
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
7016 $as_echo "$ac_cv_sizeof_long_double" >&6; }
7020 cat >>confdefs.h
<<_ACEOF
7021 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
7025 sizeof_long_double
=$ac_cv_sizeof_long_double
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FORTIFY_SOURCE predefine" >&5
7030 $as_echo_n "checking for _FORTIFY_SOURCE predefine... " >&6; }
7031 if ${libc_cv_predef_fortify_source+:} false
; then :
7032 $as_echo_n "(cached) " >&6
7034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7041 #ifdef _FORTIFY_SOURCE
7048 if ac_fn_c_try_compile
"$LINENO"; then :
7049 libc_cv_predef_fortify_source
=no
7051 libc_cv_predef_fortify_source
=yes
7053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_fortify_source" >&5
7056 $as_echo "$libc_cv_predef_fortify_source" >&6; }
7057 if test $libc_cv_predef_fortify_source = yes; then
7058 CPPUNDEFS
="${CPPUNDEFS:+$CPPUNDEFS }-U_FORTIFY_SOURCE"
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implicitly enables -fstack-protector" >&5
7063 $as_echo_n "checking whether $CC implicitly enables -fstack-protector... " >&6; }
7064 if ${libc_cv_predef_stack_protector+:} false
; then :
7065 $as_echo_n "(cached) " >&6
7068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h. */
7070 extern void foobar (char *);
7074 char large_array[2048]; foobar (large_array);
7079 if ac_fn_c_try_compile
"$LINENO"; then :
7081 libc_undefs
=`$NM -u conftest.o |
7082 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
7084 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
7086 echo >&5 "libc_undefs='$libc_undefs'"
7087 # On some architectures, there are architecture-specific undefined
7088 # symbols (resolved by the linker), so filter out unknown symbols.
7089 # This will fail to produce the correct result if the compiler
7090 # defaults to -fstack-protector but this produces an undefined symbol
7091 # other than __stack_chk_fail. However, compilers like that have not
7092 # been encountered in practice.
7093 libc_undefs
=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail)$'`
7094 case "$libc_undefs" in
7095 foobar
) libc_cv_predef_stack_protector
=no
;;
7097 foobar') libc_cv_predef_stack_protector
=yes ;;
7098 *) as_fn_error $?
"unexpected symbols in test: $libc_undefs" "$LINENO" 5 ;;
7101 as_fn_error $?
"test compilation failed" "$LINENO" 5
7103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_stack_protector" >&5
7107 $as_echo "$libc_cv_predef_stack_protector" >&6; }
7109 if test $libc_cv_predef_stack_protector = yes; then
7110 libc_extra_cflags
="$libc_extra_cflags -fno-stack-protector"
7112 libc_extra_cppflags
=
7114 # Some linkers on some architectures support __ehdr_start but with
7115 # bugs. Make sure usage of it does not create relocations in the
7116 # output (as the linker should resolve them all for us).
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker provides working __ehdr_start" >&5
7118 $as_echo_n "checking whether the linker provides working __ehdr_start... " >&6; }
7119 if ${libc_cv_ehdr_start+:} false
; then :
7120 $as_echo_n "(cached) " >&6
7123 old_CFLAGS
="$CFLAGS"
7124 old_LDFLAGS
="$LDFLAGS"
7126 CFLAGS
="$CFLAGS -fPIC"
7127 LDFLAGS
="$LDFLAGS -nostdlib -nostartfiles -shared"
7129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7130 /* end confdefs.h. */
7136 extern const Ehdr __ehdr_start __attribute__ ((visibility ("hidden")));
7137 long ehdr (void) { return __ehdr_start.val; }
7140 if ac_fn_c_try_link
"$LINENO"; then :
7141 if $READELF -r conftest | fgrep __ehdr_start
>/dev
/null
; then
7142 libc_cv_ehdr_start
=broken
7144 libc_cv_ehdr_start
=yes
7147 libc_cv_ehdr_start
=no
7149 rm -f core conftest.err conftest.
$ac_objext \
7150 conftest
$ac_exeext conftest.
$ac_ext
7151 CFLAGS
="$old_CFLAGS"
7152 LDFLAGS
="$old_LDFLAGS"
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ehdr_start" >&5
7157 $as_echo "$libc_cv_ehdr_start" >&6; }
7158 if test "$libc_cv_ehdr_start" = yes; then
7159 $as_echo "#define HAVE_EHDR_START 1" >>confdefs.h
7161 elif test "$libc_cv_ehdr_start" = broken
; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linker is broken -- you should upgrade" >&5
7163 $as_echo "$as_me: WARNING: linker is broken -- you should upgrade" >&2;}
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_trap with no external dependencies" >&5
7167 $as_echo_n "checking for __builtin_trap with no external dependencies... " >&6; }
7168 if ${libc_cv_builtin_trap+:} false
; then :
7169 $as_echo_n "(cached) " >&6
7171 libc_cv_builtin_trap
=no
7172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h. */
7183 if ac_fn_c_try_compile
"$LINENO"; then :
7185 libc_undefs
=`$NM -u conftest.o |
7186 LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
7188 as_fn_error $?
"confusing output from $NM -u" "$LINENO" 5
7190 echo >&5 "libc_undefs='$libc_undefs'"
7191 if test -z "$libc_undefs"; then
7192 libc_cv_builtin_trap
=yes
7195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_builtin_trap" >&5
7198 $as_echo "$libc_cv_builtin_trap" >&6; }
7199 if test $libc_cv_builtin_trap = yes; then
7200 $as_echo "#define HAVE_BUILTIN_TRAP 1" >>confdefs.h
7204 ### End of automated tests.
7205 ### Now run sysdeps configure fragments.
7207 # They also can set these variables.
7209 ldd_rewrite_script
=no
7210 libc_cv_sysconfdir
=$sysconfdir
7211 libc_cv_localstatedir
=$localstatedir
7212 libc_cv_gcc_unwind_find_fde
=no
7215 # Iterate over all the sysdep directories we will use, running their
7216 # configure fragments.
7217 for dir
in $sysnames; do
7220 *) dest
=$srcdir/$dir ;;
7222 if test -r $dest/configure
; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
7224 $as_echo "running configure fragment for $dir" >&6; }
7229 if test x
"$build_mathvec" = xnotset
; then
7232 config_vars
="$config_vars
7233 build-mathvec = $build_mathvec"
7238 if test x
$libc_cv_gcc_unwind_find_fde = xyes
; then
7239 $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
7244 # A sysdeps configure fragment can reset this if IFUNC is not actually
7245 # usable even though the assembler knows how to generate the symbol type.
7246 if test x
"$libc_cv_ld_gnu_indirect_function" = xyes
; then
7247 $as_echo "#define HAVE_IFUNC 1" >>confdefs.h
7251 # This is far from the AC_ARG_ENABLE that sets it so that a sysdeps
7252 # configure fragment can override the value to prevent this AC_DEFINE.
7254 if test "x$use_nscd" != xno
; then
7255 $as_echo "#define USE_NSCD 1" >>confdefs.h
7258 if test "x$build_nscd" = xdefault
; then
7259 build_nscd
=$use_nscd
7262 # Test for old glibc 2.0.x headers so that they can be removed properly
7263 # Search only in includedir.
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old glibc 2.0.x headers" >&5
7265 $as_echo_n "checking for old glibc 2.0.x headers... " >&6; }
7266 if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h"
7268 old_glibc_headers
=yes
7270 old_glibc_headers
=no
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $old_glibc_headers" >&5
7273 $as_echo "$old_glibc_headers" >&6; }
7274 if test ${old_glibc_headers} = yes; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&5
7276 $as_echo "$as_me: WARNING: *** During \"make install\" old headers from glibc 2.0.x will" >&2;}
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** be removed." >&5
7278 $as_echo "$as_me: WARNING: *** be removed." >&2;}
7290 if test x
$use_ldconfig = xyes
; then
7291 $as_echo "#define USE_LDCONFIG 1" >>confdefs.h
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
7301 $as_echo_n "checking whether -fPIC is default... " >&6; }
7302 if ${libc_cv_pic_default+:} false
; then :
7303 $as_echo_n "(cached) " >&6
7305 libc_cv_pic_default
=yes
7306 cat > conftest.c
<<EOF
7307 #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
7308 # error PIC is default.
7311 if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
7312 libc_cv_pic_default
=no
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
7317 $as_echo "$libc_cv_pic_default" >&6; }
7327 VERSION
=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
7328 RELEASE
=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
7332 ac_config_files
="$ac_config_files config.make Makefile"
7334 ac_config_commands
="$ac_config_commands default"
7336 cat >confcache
<<\_ACEOF
7337 # This file is a shell script that caches the results of configure
7338 # tests run on this system so they can be shared between configure
7339 # scripts and configure runs, see configure's option --config-cache.
7340 # It is not useful on other systems. If it contains results you don't
7341 # want to keep, you may remove or edit it.
7343 # config.status only pays attention to the cache file if you give it
7344 # the --recheck option to rerun configure.
7346 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7347 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7352 # The following way of writing the cache mishandles newlines in values,
7353 # but we know of no workaround that is simple, portable, and efficient.
7354 # So, we kill variables containing newlines.
7355 # Ultrix sh set writes to stderr and can't be redirected directly,
7356 # and sets the high bit in the cache file unless we assign to the vars.
7358 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7359 eval ac_val
=\$
$ac_var
7363 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7364 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7367 _ | IFS | as_nl
) ;; #(
7368 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7369 *) { eval $ac_var=; unset $ac_var;} ;;
7375 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7376 *${as_nl}ac_space
=\
*)
7377 # `set' does not quote correctly, so add quotes: double-quote
7378 # substitution turns \\\\ into \\, and sed turns \\ into \.
7381 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7384 # `set' quotes correctly as required by POSIX, so do not add quotes.
7385 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7394 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7396 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7398 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7399 if test -w "$cache_file"; then
7400 if test "x$cache_file" != "x/dev/null"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7402 $as_echo "$as_me: updating cache $cache_file" >&6;}
7403 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7404 cat confcache
>"$cache_file"
7406 case $cache_file in #(
7408 mv -f confcache
"$cache_file"$$
&&
7409 mv -f "$cache_file"$$
"$cache_file" ;; #(
7411 mv -f confcache
"$cache_file" ;;
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7417 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7422 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7423 # Let make expand exec_prefix.
7424 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7426 DEFS
=-DHAVE_CONFIG_H
7431 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7432 # 1. Remove the extension, and $U if already installed.
7433 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7434 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7435 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7436 # will be set to the directory where LIBOBJS objects are built.
7437 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7438 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7442 LTLIBOBJS
=$ac_ltlibobjs
7446 : "${CONFIG_STATUS=./config.status}"
7448 ac_clean_files_save
=$ac_clean_files
7449 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7451 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7453 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7455 # Generated by $as_me.
7456 # Run this file to recreate the current configuration.
7457 # Compiler output produced by configure, useful for debugging
7458 # configure, is in config.log if it exists.
7464 SHELL=\${CONFIG_SHELL-$SHELL}
7467 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7468 ## -------------------- ##
7469 ## M4sh Initialization. ##
7470 ## -------------------- ##
7472 # Be more Bourne compatible
7473 DUALCASE
=1; export DUALCASE
# for MKS sh
7474 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7477 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7478 # is contrary to our usage. Disable this feature.
7479 alias -g '${1+"$@"}'='"$@"'
7480 setopt NO_GLOB_SUBST
7482 case `(set -o) 2>/dev/null` in #(
7494 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7495 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7496 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7497 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7498 # Prefer a ksh shell builtin over an external printf program on Solaris,
7499 # but without wasting forks for bash or zsh.
7500 if test -z "$BASH_VERSION$ZSH_VERSION" \
7501 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7502 as_echo='print
-r --'
7503 as_echo_n='print
-rn --'
7504 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7505 as_echo='printf %s
\n'
7506 as_echo_n='printf %s
'
7508 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7509 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7510 as_echo_n='/usr
/ucb
/echo -n'
7512 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7513 as_echo_n_body='eval
7517 expr "X$arg" : "X\\(.*\\)$as_nl";
7518 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7520 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7522 export as_echo_n_body
7523 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7526 as_echo='sh
-c $as_echo_body as_echo
'
7529 # The user is always right.
7530 if test "${PATH_SEPARATOR+set}" != set; then
7532 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7533 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7540 # We need space, tab and new line, in precisely that order. Quoting is
7541 # there to prevent editors from complaining about space-tab.
7542 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7543 # splitting by setting IFS to empty value.)
7546 # Find who we are. Look in the path if we contain no directory separator.
7549 *[\\/]* ) as_myself=$0 ;;
7550 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554 test -z "$as_dir" && as_dir=.
7555 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7561 # We did not find ourselves, most probably we were run as `sh COMMAND'
7562 # in which case we are not to be found in the path.
7563 if test "x$as_myself" = x
; then
7566 if test ! -f "$as_myself"; then
7567 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7571 # Unset variables that we do not need and which cause bugs (e.g. in
7572 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7573 # suppresses any "Segmentation fault" message there. '((' could
7574 # trigger a bug in pdksh 5.2.14.
7575 for as_var
in BASH_ENV ENV MAIL MAILPATH
7576 do eval test x\
${$as_var+set} = xset \
7577 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7590 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7593 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7594 # ----------------------------------------
7595 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7596 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7597 # script with STATUS, using 1 if that was 0.
7600 as_status
=$1; test $as_status -eq 0 && as_status
=1
7602 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7603 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7605 $as_echo "$as_me: error: $2" >&2
7606 as_fn_exit
$as_status
7610 # as_fn_set_status STATUS
7611 # -----------------------
7612 # Set $? to STATUS, without forking.
7616 } # as_fn_set_status
7620 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7630 # Portably unset VAR.
7633 { eval $1=; unset $1;}
7635 as_unset
=as_fn_unset
7636 # as_fn_append VAR VALUE
7637 # ----------------------
7638 # Append the text in VALUE to the end of the definition contained in VAR. Take
7639 # advantage of any shell optimizations that allow amortized linear growth over
7640 # repeated appends, instead of the typical quadratic growth present in naive
7642 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7643 eval 'as_fn_append ()
7654 # as_fn_arith ARG...
7655 # ------------------
7656 # Perform arithmetic evaluation on the ARGs, and store the result in the
7657 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7658 # must be portable across $(()) and expr.
7659 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7660 eval 'as_fn_arith ()
7667 as_val
=`expr "$@" || test $? -eq 1`
7672 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7673 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7679 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7680 as_basename
=basename
7685 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7691 as_me
=`$as_basename -- "$0" ||
7692 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7693 X"$0" : 'X\(//\)$' \| \
7694 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7696 sed '/^.*\/\([^/][^/]*\)\/*$/{
7710 # Avoid depending upon Character Ranges.
7711 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7712 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7713 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7714 as_cr_digits
='0123456789'
7715 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7717 ECHO_C
= ECHO_N
= ECHO_T
=
7718 case `echo -n x` in #(((((
7720 case `echo 'xy\c'` in
7721 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7723 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7730 rm -f conf$$ conf$$.exe conf$$.
file
7731 if test -d conf$$.dir
; then
7732 rm -f conf$$.dir
/conf$$.
file
7735 mkdir conf$$.dir
2>/dev
/null
7737 if (echo >conf$$.
file) 2>/dev
/null
; then
7738 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7740 # ... but there are two gotchas:
7741 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7742 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7743 # In both cases, we have to default to `cp -pR'.
7744 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7746 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7754 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7755 rmdir conf$$.dir
2>/dev
/null
7760 # Create "$as_dir" as a directory, including parents if necessary.
7765 -*) as_dir
=.
/$as_dir;;
7767 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7771 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7772 *) as_qdir
=$as_dir;;
7774 as_dirs
="'$as_qdir' $as_dirs"
7775 as_dir
=`$as_dirname -- "$as_dir" ||
7776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7777 X"$as_dir" : 'X\(//\)[^/]' \| \
7778 X"$as_dir" : 'X\(//\)$' \| \
7779 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7780 $as_echo X"$as_dir" |
7781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7798 test -d "$as_dir" && break
7800 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7801 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7805 if mkdir
-p .
2>/dev
/null
; then
7806 as_mkdir_p
='mkdir -p "$as_dir"'
7808 test -d .
/-p && rmdir .
/-p
7813 # as_fn_executable_p FILE
7814 # -----------------------
7815 # Test if FILE is an executable regular file.
7816 as_fn_executable_p
()
7818 test -f "$1" && test -x "$1"
7819 } # as_fn_executable_p
7821 as_executable_p
=as_fn_executable_p
7823 # Sed expression to map a string onto a valid CPP name.
7824 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7826 # Sed expression to map a string onto a valid variable name.
7827 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7831 ## ----------------------------------- ##
7832 ## Main body of $CONFIG_STATUS script. ##
7833 ## ----------------------------------- ##
7835 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7838 # Save the log message, to keep $0 and so on meaningful, and to
7839 # report actual input values of CONFIG_FILES etc. instead of their
7840 # values after options handling.
7842 This file was extended by GNU C Library $as_me (see version.h), which was
7843 generated by GNU Autoconf 2.69. Invocation command line was
7845 CONFIG_FILES = $CONFIG_FILES
7846 CONFIG_HEADERS = $CONFIG_HEADERS
7847 CONFIG_LINKS = $CONFIG_LINKS
7848 CONFIG_COMMANDS = $CONFIG_COMMANDS
7851 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7856 case $ac_config_files in *"
7857 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7860 case $ac_config_headers in *"
7861 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7866 # Files that config.status was made for.
7867 config_files="$ac_config_files"
7868 config_headers="$ac_config_headers"
7869 config_commands="$ac_config_commands"
7873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7875 \`$as_me' instantiates files and other configuration actions
7876 from templates according to the current configuration. Unless the files
7877 and actions are specified as TAGs, all are instantiated by default.
7879 Usage: $0 [OPTION]... [TAG]...
7881 -h, --help print this help, then exit
7882 -V, --version print version number and configuration settings, then exit
7883 --config print configuration, then exit
7884 -q, --quiet, --silent
7885 do not print progress messages
7886 -d, --debug don't remove temporary files
7887 --recheck update $as_me by reconfiguring in the same conditions
7888 --file=FILE[:TEMPLATE]
7889 instantiate the configuration file FILE
7890 --header=FILE[:TEMPLATE]
7891 instantiate the configuration header FILE
7893 Configuration files:
7896 Configuration headers:
7899 Configuration commands:
7902 Report bugs to <http://sourceware.org/bugzilla/>.
7903 GNU C Library home page: <http://www.gnu.org/software/glibc/>.
7904 General help using GNU software: <http://www.gnu.org/gethelp/>."
7907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7908 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7910 GNU C Library config.status (see version.h)
7911 configured by $0, generated by GNU Autoconf 2.69,
7912 with options \\"\$ac_cs_config\\"
7914 Copyright (C) 2012 Free Software Foundation, Inc.
7915 This config.status script is free software; the Free Software Foundation
7916 gives unlimited permission to copy, distribute and modify it."
7921 test -n "\$AWK" || AWK=awk
7924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7925 # The default lists apply if the user does not specify any file.
7931 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7932 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7936 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7948 # Handling of the options.
7949 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7951 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7952 $as_echo "$ac_cs_version"; exit ;;
7953 --config |
--confi |
--conf |
--con |
--co |
--c )
7954 $as_echo "$ac_cs_config"; exit ;;
7955 --debug |
--debu |
--deb |
--de |
--d |
-d )
7957 --file |
--fil |
--fi |
--f )
7960 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7961 '') as_fn_error $?
"missing file argument" ;;
7963 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7964 ac_need_defaults
=false
;;
7965 --header |
--heade |
--head |
--hea )
7968 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7970 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7971 ac_need_defaults
=false
;;
7973 # Conflict between --help and --header
7974 as_fn_error $?
"ambiguous option: \`$1'
7975 Try \`$0 --help' for more information.";;
7976 --help |
--hel |
-h )
7977 $as_echo "$ac_cs_usage"; exit ;;
7978 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7979 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7983 -*) as_fn_error $?
"unrecognized option: \`$1'
7984 Try \`$0 --help' for more information." ;;
7986 *) as_fn_append ac_config_targets
" $1"
7987 ac_need_defaults
=false
;;
7993 ac_configure_extra_args
=
7995 if $ac_cs_silent; then
7997 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8002 if \$ac_cs_recheck; then
8003 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8005 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8006 CONFIG_SHELL='$SHELL'
8012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8016 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8017 ## Running $as_me. ##
8023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8027 config_vars='$config_vars'
8031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8033 # Handling of arguments.
8034 for ac_config_target
in $ac_config_targets
8036 case $ac_config_target in
8037 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8038 "config.make") CONFIG_FILES
="$CONFIG_FILES config.make" ;;
8039 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8040 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8042 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8047 # If the user did not use the arguments to specify the items to instantiate,
8048 # then the envvar interface is used. Set only those that are not.
8049 # We use the long form for the default assignment because of an extremely
8050 # bizarre bug on SunOS 4.1.3.
8051 if $ac_need_defaults; then
8052 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8053 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8054 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8057 # Have a temporary directory for convenience. Make it in the build tree
8058 # simply because there is no reason against having it here, and in addition,
8059 # creating and moving files from /tmp can sometimes cause problems.
8060 # Hook for its removal unless debugging.
8061 # Note that there is a small window in which the directory will not be cleaned:
8062 # after its creation but before its name has been assigned to `$tmp'.
8066 trap 'exit_status=$?
8068 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8070 trap 'as_fn_exit 1' 1 2 13 15
8072 # Create a (secure) tmp directory for tmp files.
8075 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8079 tmp
=.
/conf$$
-$RANDOM
8080 (umask 077 && mkdir
"$tmp")
8081 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8084 # Set up the scripts for CONFIG_FILES section.
8085 # No need to generate them if there are no CONFIG_FILES.
8086 # This happens for instance with `./config.status config.h'.
8087 if test -n "$CONFIG_FILES"; then
8090 ac_cr
=`echo X | tr X '\015'`
8091 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8092 # But we know of no other shell where ac_cr would be empty at this
8093 # point, so we can use a bashism as a fallback.
8094 if test "x$ac_cr" = x
; then
8095 eval ac_cr
=\$
\'\\r
\'
8097 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8098 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8104 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8109 echo "cat >conf$$subs.awk <<_ACEOF" &&
8110 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8113 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8114 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8116 for ac_last_try in false false false false false :; do
8117 . ./conf$$subs.sh ||
8118 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8120 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8121 if test $ac_delim_n = $ac_delim_num; then
8123 elif $ac_last_try; then
8124 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8126 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8132 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8136 s/^/S["/; s
/!.
*/"]=/
8146 s/\(.\{148\}\)..*/\1/
8148 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8153 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8160 s/\(.\{148\}\)..*/\1/
8162 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8166 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8171 ' <conf$$subs.awk | sed '
8176 ' >>$CONFIG_STATUS || ac_write_fail=1
8177 rm -f conf$$subs.awk
8178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8180 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8181 for (key in S) S_is_set[key] = 1
8187 nfields = split(line, field, "@
")
8189 len = length(field[1])
8190 for (i = 2; i < nfields; i++) {
8192 keylen = length(key)
8193 if (S_is_set[key]) {
8195 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8196 len += length(value) + length(field[++i])
8207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8208 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8209 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8212 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8213 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8216 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8217 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8218 # trailing colons and then remove the whole line if VPATH becomes empty
8219 # (actually we leave an empty line to preserve line numbers).
8220 if test "x
$srcdir" = x.; then
8221 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8240 fi # test -n "$CONFIG_FILES"
8242 # Set up the scripts for CONFIG_HEADERS section.
8243 # No need to generate them if there are no CONFIG_HEADERS.
8244 # This happens for instance with `./config.status Makefile'.
8245 if test -n "$CONFIG_HEADERS"; then
8246 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8250 # Transform confdefs.h into an awk script `defines.awk', embedded as
8251 # here-document in config.status, that substitutes the proper values into
8252 # config.h.in to produce config.h.
8254 # Create a delimiter string that does not exist in confdefs.h, to ease
8255 # handling of long lines.
8257 for ac_last_try in false false :; do
8258 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8259 if test -z "$ac_tt"; then
8261 elif $ac_last_try; then
8262 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8264 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8268 # For the awk script, D is an array of macro values keyed by name,
8269 # likewise P contains macro parameters if any. Preserve backslash
8270 # newline sequences.
8272 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8274 s/.\{148\}/&'"$ac_delim"'/g
8277 s/^[ ]*#[ ]*define[ ][ ]*/ /
8284 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8286 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8290 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8291 D["\
1"]=" \
3\\\\\\n
"\\/p
8293 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8298 s/.\{148\}/&'"$ac_delim"'/g
8303 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8306 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8308 ' <confdefs.h | sed '
8309 s/'"$ac_delim"'/"\\\
8310 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8313 for (key in D) D_is_set[key] = 1
8316 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8318 split(line, arg, " ")
8319 if (arg[1] == "#") {
8323 defundef
= substr
(arg
[1], 2)
8326 split(mac1
, mac2
, "(") #)
8328 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8329 if (D_is_set
[macro
]) {
8330 # Preserve the white space surrounding the "#".
8331 print prefix
"define", macro P
[macro
] D
[macro
]
8334 # Replace #undef with comments. This is necessary, for example,
8335 # in the case of _POSIX_SOURCE, which is predefined and required
8336 # on some systems where configure will not decide to define it.
8337 if (defundef
== "undef") {
8338 print
"/*", prefix defundef
, macro
, "*/"
8346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8347 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8348 fi # test -n "$CONFIG_HEADERS"
8351 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8356 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8358 case $ac_mode$ac_tag in
8360 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8361 :[FH
]-) ac_tag
=-:-;;
8362 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8379 -) ac_f
="$ac_tmp/stdin";;
8380 *) # Look for the file first in the build tree, then in the source tree
8381 # (if the path is not absolute). The absolute path cannot be DOS-style,
8382 # because $ac_f cannot contain `:'.
8386 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8388 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8390 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8391 as_fn_append ac_file_inputs
" '$ac_f'"
8394 # Let's still pretend it is `configure' which instantiates (i.e., don't
8395 # use $as_me), people would be surprised to read:
8396 # /* config.h. Generated by config.status. */
8397 configure_input
='Generated from '`
8398 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8400 if test x
"$ac_file" != x-
; then
8401 configure_input
="$ac_file. $configure_input"
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8403 $as_echo "$as_me: creating $ac_file" >&6;}
8405 # Neutralize special characters interpreted by sed in replacement strings.
8406 case $configure_input in #(
8407 *\
&* |
*\|
* |
*\\* )
8408 ac_sed_conf_input
=`$as_echo "$configure_input" |
8409 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8410 *) ac_sed_conf_input
=$configure_input;;
8414 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8415 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8420 ac_dir
=`$as_dirname -- "$ac_file" ||
8421 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8422 X"$ac_file" : 'X\(//\)[^/]' \| \
8423 X"$ac_file" : 'X\(//\)$' \| \
8424 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8425 $as_echo X"$ac_file" |
8426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8443 as_dir
="$ac_dir"; as_fn_mkdir_p
8447 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8449 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8450 # A ".." for each directory in $ac_dir_suffix.
8451 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8452 case $ac_top_builddir_sub in
8453 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8454 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8457 ac_abs_top_builddir
=$ac_pwd
8458 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8459 # for backward compatibility:
8460 ac_top_builddir
=$ac_top_build_prefix
8463 .
) # We are building in place.
8465 ac_top_srcdir
=$ac_top_builddir_sub
8466 ac_abs_top_srcdir
=$ac_pwd ;;
8467 [\\/]* | ?
:[\\/]* ) # Absolute name.
8468 ac_srcdir
=$srcdir$ac_dir_suffix;
8469 ac_top_srcdir
=$srcdir
8470 ac_abs_top_srcdir
=$srcdir ;;
8472 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8473 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8474 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8476 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8486 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8487 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8492 # If the template does not know about datarootdir, expand it.
8493 # FIXME: This hack should be removed a few years after 2.60.
8494 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8505 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8506 *datarootdir
*) ac_datarootdir_seen
=yes;;
8507 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8509 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8512 ac_datarootdir_hack='
8513 s&@datadir@&$datadir&g
8514 s&@docdir@&$docdir&g
8515 s&@infodir@&$infodir&g
8516 s&@localedir@&$localedir&g
8517 s&@mandir@&$mandir&g
8518 s&\\\${datarootdir}&$datarootdir&g' ;;
8522 # Neutralize VPATH when `$srcdir' = `.'.
8523 # Shell code in configure.ac might set extrasub.
8524 # FIXME: do we really want to maintain this feature?
8525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8526 ac_sed_extra="$ac_vpsub
8529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8531 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8532 s|@configure_input@|
$ac_sed_conf_input|
;t t
8533 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8534 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8535 s
&@srcdir@
&$ac_srcdir&;t t
8536 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8537 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8538 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8539 s
&@builddir@
&$ac_builddir&;t t
8540 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8541 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8542 s
&@INSTALL@
&$ac_INSTALL&;t t
8543 $ac_datarootdir_hack
8545 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8546 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8548 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8549 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8550 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8551 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8553 which seems to be undefined. Please make sure it is defined" >&5
8554 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8555 which seems to be undefined. Please make sure it is defined" >&2;}
8557 rm -f "$ac_tmp/stdin"
8559 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8560 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8562 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8568 if test x"$ac_file" != x-; then
8570 $as_echo "/* $configure_input */" \
8571 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8572 } >"$ac_tmp/config.h" \
8573 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8574 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8576 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8579 mv "$ac_tmp/config.h" "$ac_file" \
8580 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8583 $as_echo "/* $configure_input */" \
8584 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8585 || as_fn_error $? "could not create -" "$LINENO" 5
8589 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8590 $as_echo "$as_me: executing $ac_file commands" >&6;}
8595 case $ac_file$ac_mode in
8597 case $CONFIG_FILES in *config.make*)
8598 echo "$config_vars" >> config.make;;
8600 test -d bits || mkdir bits ;;
8608 ac_clean_files=$ac_clean_files_save
8610 test $ac_write_fail = 0 ||
8611 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8614 # configure is writing to config.log, and then calls config.status.
8615 # config.status does its own redirection, appending to config.log.
8616 # Unfortunately, on DOS this fails, as config.log is still kept open
8617 # by configure, so config.status won't be able to
write to it
; its
8618 # output is simply discarded. So we exec the FD to /dev/null,
8619 # effectively closing config.log, so it can be properly (re)opened and
8620 # appended to by config.status. When coming back to configure, we
8621 # need to make the FD available again.
8622 if test "$no_create" != yes; then
8624 ac_config_status_args
=
8625 test "$silent" = yes &&
8626 ac_config_status_args
="$ac_config_status_args --quiet"
8628 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8630 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8631 # would make configure fail if this is the last instruction.
8632 $ac_cs_success || as_fn_exit
1
8636 # CONFIG_SUBDIRS section.
8638 if test "$no_recursion" != yes; then
8640 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8641 # so they do not pile up.
8642 ac_sub_configure_args
=
8644 eval "set x $ac_configure_args"
8648 if test -n "$ac_prev"; then
8653 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
8654 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
8655 ac_prev
=cache_file
;;
8656 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
8657 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
8660 --config-cache |
-C)
8662 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
8664 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
8666 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
8668 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
8670 --disable-option-checking)
8674 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8676 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
8680 # Always prepend --prefix to ensure using the same prefix
8681 # in subdir configurations.
8682 ac_arg
="--prefix=$prefix"
8684 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8686 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
8689 if test "$silent" = yes; then
8690 ac_sub_configure_args
="--silent $ac_sub_configure_args"
8693 # Always prepend --disable-option-checking to silence warnings, since
8694 # different subdirs can have different --enable and --with options.
8695 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
8698 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
8700 # Do not complain, so a configure script can configure whichever
8701 # parts of a large source tree are present.
8702 test -d "$srcdir/$ac_dir" ||
continue
8704 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8705 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8706 $as_echo "$ac_msg" >&6
8707 as_dir
="$ac_dir"; as_fn_mkdir_p
8711 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8713 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8714 # A ".." for each directory in $ac_dir_suffix.
8715 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8716 case $ac_top_builddir_sub in
8717 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8718 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8721 ac_abs_top_builddir
=$ac_pwd
8722 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8723 # for backward compatibility:
8724 ac_top_builddir
=$ac_top_build_prefix
8727 .
) # We are building in place.
8729 ac_top_srcdir
=$ac_top_builddir_sub
8730 ac_abs_top_srcdir
=$ac_pwd ;;
8731 [\\/]* | ?
:[\\/]* ) # Absolute name.
8732 ac_srcdir
=$srcdir$ac_dir_suffix;
8733 ac_top_srcdir
=$srcdir
8734 ac_abs_top_srcdir
=$srcdir ;;
8736 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8737 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8738 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8740 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8745 # Check for guested configure; otherwise get Cygnus style configure.
8746 if test -f "$ac_srcdir/configure.gnu"; then
8747 ac_sub_configure
=$ac_srcdir/configure.gnu
8748 elif test -f "$ac_srcdir/configure"; then
8749 ac_sub_configure
=$ac_srcdir/configure
8750 elif test -f "$ac_srcdir/configure.in"; then
8751 # This should be Cygnus configure.
8752 ac_sub_configure
=$ac_aux_dir/configure
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
8755 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
8759 # The recursion is here.
8760 if test -n "$ac_sub_configure"; then
8761 # Make the cache file name correct relative to the subdirectory.
8763 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
8765 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
8768 { $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
8769 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
8770 # The eval makes quoting arguments work.
8771 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
8772 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
8773 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
8779 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8781 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}