11 kx #! /bin/sh
11 kx # Guess values for system-dependent variables and create Makefiles.
11 kx # Generated by GNU Autoconf 2.69 for GNU C Library (see version.h).
11 kx #
11 kx # Report bugs to <https://sourceware.org/bugzilla/>.
11 kx #
11 kx #
11 kx # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 kx #
11 kx #
11 kx # This configure script is free software; the Free Software Foundation
11 kx # gives unlimited permission to copy, distribute and modify it.
11 kx ## -------------------- ##
11 kx ## M4sh Initialization. ##
11 kx ## -------------------- ##
11 kx
11 kx # Be more Bourne compatible
11 kx DUALCASE=1; export DUALCASE # for MKS sh
11 kx if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11 kx emulate sh
11 kx NULLCMD=:
11 kx # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11 kx # is contrary to our usage. Disable this feature.
11 kx alias -g '${1+"$@"}'='"$@"'
11 kx setopt NO_GLOB_SUBST
11 kx else
11 kx case `(set -o) 2>/dev/null` in #(
11 kx *posix*) :
11 kx set -o posix ;; #(
11 kx *) :
11 kx ;;
11 kx esac
11 kx fi
11 kx
11 kx
11 kx as_nl='
11 kx '
11 kx export as_nl
11 kx # Printing a long string crashes Solaris 7 /usr/bin/printf.
11 kx as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11 kx as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11 kx as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11 kx # Prefer a ksh shell builtin over an external printf program on Solaris,
11 kx # but without wasting forks for bash or zsh.
11 kx if test -z "$BASH_VERSION$ZSH_VERSION" \
11 kx && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11 kx as_echo='print -r --'
11 kx as_echo_n='print -rn --'
11 kx elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11 kx as_echo='printf %s\n'
11 kx as_echo_n='printf %s'
11 kx else
11 kx if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11 kx as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11 kx as_echo_n='/usr/ucb/echo -n'
11 kx else
11 kx as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11 kx as_echo_n_body='eval
11 kx arg=$1;
11 kx case $arg in #(
11 kx *"$as_nl"*)
11 kx expr "X$arg" : "X\\(.*\\)$as_nl";
11 kx arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11 kx esac;
11 kx expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11 kx '
11 kx export as_echo_n_body
11 kx as_echo_n='sh -c $as_echo_n_body as_echo'
11 kx fi
11 kx export as_echo_body
11 kx as_echo='sh -c $as_echo_body as_echo'
11 kx fi
11 kx
11 kx # The user is always right.
11 kx if test "${PATH_SEPARATOR+set}" != set; then
11 kx PATH_SEPARATOR=:
11 kx (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11 kx (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11 kx PATH_SEPARATOR=';'
11 kx }
11 kx fi
11 kx
11 kx
11 kx # IFS
11 kx # We need space, tab and new line, in precisely that order. Quoting is
11 kx # there to prevent editors from complaining about space-tab.
11 kx # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11 kx # splitting by setting IFS to empty value.)
11 kx IFS=" "" $as_nl"
11 kx
11 kx # Find who we are. Look in the path if we contain no directory separator.
11 kx as_myself=
11 kx case $0 in #((
11 kx *[\\/]* ) as_myself=$0 ;;
11 kx *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx ;;
11 kx esac
11 kx # We did not find ourselves, most probably we were run as `sh COMMAND'
11 kx # in which case we are not to be found in the path.
11 kx if test "x$as_myself" = x; then
11 kx as_myself=$0
11 kx fi
11 kx if test ! -f "$as_myself"; then
11 kx $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11 kx exit 1
11 kx fi
11 kx
11 kx # Unset variables that we do not need and which cause bugs (e.g. in
11 kx # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11 kx # suppresses any "Segmentation fault" message there. '((' could
11 kx # trigger a bug in pdksh 5.2.14.
11 kx for as_var in BASH_ENV ENV MAIL MAILPATH
11 kx do eval test x\${$as_var+set} = xset \
11 kx && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11 kx done
11 kx PS1='$ '
11 kx PS2='> '
11 kx PS4='+ '
11 kx
11 kx # NLS nuisances.
11 kx LC_ALL=C
11 kx export LC_ALL
11 kx LANGUAGE=C
11 kx export LANGUAGE
11 kx
11 kx # CDPATH.
11 kx (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11 kx
11 kx # Use a proper internal environment variable to ensure we don't fall
11 kx # into an infinite loop, continuously re-executing ourselves.
11 kx if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
11 kx _as_can_reexec=no; export _as_can_reexec;
11 kx # We cannot yet assume a decent shell, so we have to provide a
11 kx # neutralization value for shells without unset; and this also
11 kx # works around shells that cannot unset nonexistent variables.
11 kx # Preserve -v and -x to the replacement shell.
11 kx BASH_ENV=/dev/null
11 kx ENV=/dev/null
11 kx (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
11 kx case $- in # ((((
11 kx *v*x* | *x*v* ) as_opts=-vx ;;
11 kx *v* ) as_opts=-v ;;
11 kx *x* ) as_opts=-x ;;
11 kx * ) as_opts= ;;
11 kx esac
11 kx exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
11 kx # Admittedly, this is quite paranoid, since all the known shells bail
11 kx # out after a failed `exec'.
11 kx $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
11 kx as_fn_exit 255
11 kx fi
11 kx # We don't want this to propagate to other subprocesses.
11 kx { _as_can_reexec=; unset _as_can_reexec;}
11 kx if test "x$CONFIG_SHELL" = x; then
11 kx as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
11 kx emulate sh
11 kx NULLCMD=:
11 kx # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
11 kx # is contrary to our usage. Disable this feature.
11 kx alias -g '\${1+\"\$@\"}'='\"\$@\"'
11 kx setopt NO_GLOB_SUBST
11 kx else
11 kx case \`(set -o) 2>/dev/null\` in #(
11 kx *posix*) :
11 kx set -o posix ;; #(
11 kx *) :
11 kx ;;
11 kx esac
11 kx fi
11 kx "
11 kx as_required="as_fn_return () { (exit \$1); }
11 kx as_fn_success () { as_fn_return 0; }
11 kx as_fn_failure () { as_fn_return 1; }
11 kx as_fn_ret_success () { return 0; }
11 kx as_fn_ret_failure () { return 1; }
11 kx
11 kx exitcode=0
11 kx as_fn_success || { exitcode=1; echo as_fn_success failed.; }
11 kx as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
11 kx as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
11 kx as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
11 kx if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
11 kx
11 kx else
11 kx exitcode=1; echo positional parameters were not saved.
11 kx fi
11 kx test x\$exitcode = x0 || exit 1
11 kx test -x / || exit 1"
11 kx as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
11 kx as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
11 kx eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
11 kx test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
11 kx if (eval "$as_required") 2>/dev/null; then :
11 kx as_have_required=yes
11 kx else
11 kx as_have_required=no
11 kx fi
11 kx if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
11 kx
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx as_found=false
11 kx for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx as_found=:
11 kx case $as_dir in #(
11 kx /*)
11 kx for as_base in sh bash ksh sh5; do
11 kx # Try only shells that exist, to save several forks.
11 kx as_shell=$as_dir/$as_base
11 kx if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
11 kx { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
11 kx CONFIG_SHELL=$as_shell as_have_required=yes
11 kx if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
11 kx break 2
11 kx fi
11 kx fi
11 kx done;;
11 kx esac
11 kx as_found=false
11 kx done
11 kx $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
11 kx { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
11 kx CONFIG_SHELL=$SHELL as_have_required=yes
11 kx fi; }
11 kx IFS=$as_save_IFS
11 kx
11 kx
11 kx if test "x$CONFIG_SHELL" != x; then :
11 kx export CONFIG_SHELL
11 kx # We cannot yet assume a decent shell, so we have to provide a
11 kx # neutralization value for shells without unset; and this also
11 kx # works around shells that cannot unset nonexistent variables.
11 kx # Preserve -v and -x to the replacement shell.
11 kx BASH_ENV=/dev/null
11 kx ENV=/dev/null
11 kx (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
11 kx case $- in # ((((
11 kx *v*x* | *x*v* ) as_opts=-vx ;;
11 kx *v* ) as_opts=-v ;;
11 kx *x* ) as_opts=-x ;;
11 kx * ) as_opts= ;;
11 kx esac
11 kx exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
11 kx # Admittedly, this is quite paranoid, since all the known shells bail
11 kx # out after a failed `exec'.
11 kx $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
11 kx exit 255
11 kx fi
11 kx
11 kx if test x$as_have_required = xno; then :
11 kx $as_echo "$0: This script requires a shell more modern than all"
11 kx $as_echo "$0: the shells that I found on your system."
11 kx if test x${ZSH_VERSION+set} = xset ; then
11 kx $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
11 kx $as_echo "$0: be upgraded to zsh 4.3.4 or later."
11 kx else
11 kx $as_echo "$0: Please tell bug-autoconf@gnu.org and
11 kx $0: https://sourceware.org/bugzilla/ about your system,
11 kx $0: including any error possibly output before this
11 kx $0: message. Then install a modern shell, or manually run
11 kx $0: the script under such a shell if you do have one."
11 kx fi
11 kx exit 1
11 kx fi
11 kx fi
11 kx fi
11 kx SHELL=${CONFIG_SHELL-/bin/sh}
11 kx export SHELL
11 kx # Unset more variables known to interfere with behavior of common tools.
11 kx CLICOLOR_FORCE= GREP_OPTIONS=
11 kx unset CLICOLOR_FORCE GREP_OPTIONS
11 kx
11 kx ## --------------------- ##
11 kx ## M4sh Shell Functions. ##
11 kx ## --------------------- ##
11 kx # as_fn_unset VAR
11 kx # ---------------
11 kx # Portably unset VAR.
11 kx as_fn_unset ()
11 kx {
11 kx { eval $1=; unset $1;}
11 kx }
11 kx as_unset=as_fn_unset
11 kx
11 kx # as_fn_set_status STATUS
11 kx # -----------------------
11 kx # Set $? to STATUS, without forking.
11 kx as_fn_set_status ()
11 kx {
11 kx return $1
11 kx } # as_fn_set_status
11 kx
11 kx # as_fn_exit STATUS
11 kx # -----------------
11 kx # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11 kx as_fn_exit ()
11 kx {
11 kx set +e
11 kx as_fn_set_status $1
11 kx exit $1
11 kx } # as_fn_exit
11 kx
11 kx # as_fn_mkdir_p
11 kx # -------------
11 kx # Create "$as_dir" as a directory, including parents if necessary.
11 kx as_fn_mkdir_p ()
11 kx {
11 kx
11 kx case $as_dir in #(
11 kx -*) as_dir=./$as_dir;;
11 kx esac
11 kx test -d "$as_dir" || eval $as_mkdir_p || {
11 kx as_dirs=
11 kx while :; do
11 kx case $as_dir in #(
11 kx *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11 kx *) as_qdir=$as_dir;;
11 kx esac
11 kx as_dirs="'$as_qdir' $as_dirs"
11 kx as_dir=`$as_dirname -- "$as_dir" ||
11 kx $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11 kx X"$as_dir" : 'X\(//\)[^/]' \| \
11 kx X"$as_dir" : 'X\(//\)$' \| \
11 kx X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11 kx $as_echo X"$as_dir" |
11 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\/\)[^/].*/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\/\)$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\).*/{
11 kx s//\1/
11 kx q
11 kx }
11 kx s/.*/./; q'`
11 kx test -d "$as_dir" && break
11 kx done
11 kx test -z "$as_dirs" || eval "mkdir $as_dirs"
11 kx } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11 kx
11 kx
11 kx } # as_fn_mkdir_p
11 kx
11 kx # as_fn_executable_p FILE
11 kx # -----------------------
11 kx # Test if FILE is an executable regular file.
11 kx as_fn_executable_p ()
11 kx {
11 kx test -f "$1" && test -x "$1"
11 kx } # as_fn_executable_p
11 kx # as_fn_append VAR VALUE
11 kx # ----------------------
11 kx # Append the text in VALUE to the end of the definition contained in VAR. Take
11 kx # advantage of any shell optimizations that allow amortized linear growth over
11 kx # repeated appends, instead of the typical quadratic growth present in naive
11 kx # implementations.
11 kx if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11 kx eval 'as_fn_append ()
11 kx {
11 kx eval $1+=\$2
11 kx }'
11 kx else
11 kx as_fn_append ()
11 kx {
11 kx eval $1=\$$1\$2
11 kx }
11 kx fi # as_fn_append
11 kx
11 kx # as_fn_arith ARG...
11 kx # ------------------
11 kx # Perform arithmetic evaluation on the ARGs, and store the result in the
11 kx # global $as_val. Take advantage of shells that can avoid forks. The arguments
11 kx # must be portable across $(()) and expr.
11 kx if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11 kx eval 'as_fn_arith ()
11 kx {
11 kx as_val=$(( $* ))
11 kx }'
11 kx else
11 kx as_fn_arith ()
11 kx {
11 kx as_val=`expr "$@" || test $? -eq 1`
11 kx }
11 kx fi # as_fn_arith
11 kx
11 kx
11 kx # as_fn_error STATUS ERROR [LINENO LOG_FD]
11 kx # ----------------------------------------
11 kx # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11 kx # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11 kx # script with STATUS, using 1 if that was 0.
11 kx as_fn_error ()
11 kx {
11 kx as_status=$1; test $as_status -eq 0 && as_status=1
11 kx if test "$4"; then
11 kx as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11 kx fi
11 kx $as_echo "$as_me: error: $2" >&2
11 kx as_fn_exit $as_status
11 kx } # as_fn_error
11 kx
11 kx if expr a : '\(a\)' >/dev/null 2>&1 &&
11 kx test "X`expr 00001 : '.*\(...\)'`" = X001; then
11 kx as_expr=expr
11 kx else
11 kx as_expr=false
11 kx fi
11 kx
11 kx if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11 kx as_basename=basename
11 kx else
11 kx as_basename=false
11 kx fi
11 kx
11 kx if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11 kx as_dirname=dirname
11 kx else
11 kx as_dirname=false
11 kx fi
11 kx
11 kx as_me=`$as_basename -- "$0" ||
11 kx $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11 kx X"$0" : 'X\(//\)$' \| \
11 kx X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11 kx $as_echo X/"$0" |
11 kx sed '/^.*\/\([^/][^/]*\)\/*$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\/\(\/\/\)$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\/\(\/\).*/{
11 kx s//\1/
11 kx q
11 kx }
11 kx s/.*/./; q'`
11 kx
11 kx # Avoid depending upon Character Ranges.
11 kx as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11 kx as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11 kx as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11 kx as_cr_digits='0123456789'
11 kx as_cr_alnum=$as_cr_Letters$as_cr_digits
11 kx
11 kx
11 kx as_lineno_1=$LINENO as_lineno_1a=$LINENO
11 kx as_lineno_2=$LINENO as_lineno_2a=$LINENO
11 kx eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
11 kx test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
11 kx # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
11 kx sed -n '
11 kx p
11 kx /[$]LINENO/=
11 kx ' <$as_myself |
11 kx sed '
11 kx s/[$]LINENO.*/&-/
11 kx t lineno
11 kx b
11 kx :lineno
11 kx N
11 kx :loop
11 kx s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11 kx t loop
11 kx s/-\n.*//
11 kx ' >$as_me.lineno &&
11 kx chmod +x "$as_me.lineno" ||
11 kx { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
11 kx
11 kx # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
11 kx # already done that, so ensure we don't try to do so again and fall
11 kx # in an infinite loop. This has already happened in practice.
11 kx _as_can_reexec=no; export _as_can_reexec
11 kx # Don't try to exec as it changes $[0], causing all sort of problems
11 kx # (the dirname of $[0] is not the place where we might find the
11 kx # original and so on. Autoconf is especially sensitive to this).
11 kx . "./$as_me.lineno"
11 kx # Exit status is that of the last command.
11 kx exit
11 kx }
11 kx
11 kx ECHO_C= ECHO_N= ECHO_T=
11 kx case `echo -n x` in #(((((
11 kx -n*)
11 kx case `echo 'xy\c'` in
11 kx *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11 kx xy) ECHO_C='\c';;
11 kx *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11 kx ECHO_T=' ';;
11 kx esac;;
11 kx *)
11 kx ECHO_N='-n';;
11 kx esac
11 kx
11 kx rm -f conf$$ conf$$.exe conf$$.file
11 kx if test -d conf$$.dir; then
11 kx rm -f conf$$.dir/conf$$.file
11 kx else
11 kx rm -f conf$$.dir
11 kx mkdir conf$$.dir 2>/dev/null
11 kx fi
11 kx if (echo >conf$$.file) 2>/dev/null; then
11 kx if ln -s conf$$.file conf$$ 2>/dev/null; then
11 kx as_ln_s='ln -s'
11 kx # ... but there are two gotchas:
11 kx # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11 kx # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11 kx # In both cases, we have to default to `cp -pR'.
11 kx ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11 kx as_ln_s='cp -pR'
11 kx elif ln conf$$.file conf$$ 2>/dev/null; then
11 kx as_ln_s=ln
11 kx else
11 kx as_ln_s='cp -pR'
11 kx fi
11 kx else
11 kx as_ln_s='cp -pR'
11 kx fi
11 kx rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11 kx rmdir conf$$.dir 2>/dev/null
11 kx
11 kx if mkdir -p . 2>/dev/null; then
11 kx as_mkdir_p='mkdir -p "$as_dir"'
11 kx else
11 kx test -d ./-p && rmdir ./-p
11 kx as_mkdir_p=false
11 kx fi
11 kx
11 kx as_test_x='test -x'
11 kx as_executable_p=as_fn_executable_p
11 kx
11 kx # Sed expression to map a string onto a valid CPP name.
11 kx as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11 kx
11 kx # Sed expression to map a string onto a valid variable name.
11 kx as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11 kx
11 kx
11 kx test -n "$DJDIR" || exec 7<&0 </dev/null
11 kx exec 6>&1
11 kx
11 kx # Name of the host.
11 kx # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
11 kx # so uname gets run too.
11 kx ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
11 kx
11 kx #
11 kx # Initializations.
11 kx #
11 kx ac_default_prefix=/usr/local
11 kx ac_clean_files=
11 kx ac_config_libobj_dir=.
11 kx LIBOBJS=
11 kx cross_compiling=no
11 kx subdirs=
11 kx MFLAGS=
11 kx MAKEFLAGS=
11 kx
11 kx # Identity of this package.
11 kx PACKAGE_NAME='GNU C Library'
11 kx PACKAGE_TARNAME='glibc'
11 kx PACKAGE_VERSION='(see version.h)'
11 kx PACKAGE_STRING='GNU C Library (see version.h)'
11 kx PACKAGE_BUGREPORT='https://sourceware.org/bugzilla/'
11 kx PACKAGE_URL='https://www.gnu.org/software/glibc/'
11 kx
11 kx ac_unique_file="include/features.h"
11 kx enable_option_checking=no
11 kx ac_subst_vars='LTLIBOBJS
11 kx LIBOBJS
11 kx pthread_in_libc
11 kx RELEASE
11 kx VERSION
11 kx mach_interface_list
11 kx DEFINES
11 kx static_nss
11 kx profile
11 kx libc_cv_multidir
11 kx shared
11 kx static
11 kx ldd_rewrite_script
11 kx use_ldconfig
11 kx libc_cv_rootsbindir
11 kx libc_cv_localstatedir
11 kx libc_cv_sysconfdir
11 kx libc_cv_complocaledir
11 kx libc_cv_rtlddir
11 kx libc_cv_slibdir
11 kx use_nscd
11 kx libc_cv_gcc_unwind_find_fde
11 kx libc_extra_cppflags
11 kx libc_extra_cflags
11 kx libc_cv_cxx_thread_local
11 kx CPPUNDEFS
11 kx have_selinux
11 kx have_libcap
11 kx have_libaudit
11 kx LIBGD
11 kx libc_cv_cc_loop_to_function
11 kx libc_cv_cc_submachine
11 kx libc_cv_cc_nofma
11 kx libc_cv_mtls_dialect_gnu2
11 kx libc_cv_has_glob_dat
11 kx libc_cv_hashstyle
11 kx libc_cv_fpie
11 kx libc_cv_z_execstack
11 kx ASFLAGS_config
11 kx libc_cv_cc_with_libunwind
11 kx libc_cv_insert
11 kx libc_cv_protected_data
11 kx INSTALL_INFO
11 kx PERL
11 kx BASH_SHELL
11 kx CXX_BITS_STD_ABS_H
11 kx CXX_CMATH_HEADER
11 kx CXX_CSTDLIB_HEADER
11 kx CXX_SYSINCLUDES
11 kx SYSINCLUDES
11 kx sysnames
11 kx submachine
11 kx multi_arch
11 kx libc_cv_textrel_ifunc
11 kx no_stack_protector
11 kx stack_protector
11 kx libc_cv_ssp
11 kx libc_cv_with_fp
11 kx PYTHON
11 kx PYTHON_PROG
11 kx AUTOCONF
11 kx BISON
11 kx AWK
11 kx SED
11 kx MAKEINFO
11 kx MSGFMT
11 kx MAKE
11 kx LD
11 kx NM
11 kx OBJDUMP
11 kx READELF
11 kx GPROF
11 kx OBJCOPY
11 kx AR
11 kx LN_S
11 kx INSTALL_DATA
11 kx INSTALL_SCRIPT
11 kx INSTALL_PROGRAM
11 kx base_machine
11 kx have_tunables
11 kx build_pt_chown
11 kx build_nscd
11 kx libc_cv_static_nss_crypt
11 kx libc_cv_nss_crypt
11 kx build_crypt
11 kx memory_tagging
11 kx experimental_malloc
11 kx enable_werror
11 kx all_warnings
11 kx force_install
11 kx bindnow
11 kx hardcoded_path_in_tests
11 kx enable_timezone_tools
11 kx rtld_early_cflags
11 kx extra_nonshared_cflags
11 kx use_default_link
11 kx sysheaders
11 kx ac_ct_CXX
11 kx CXXFLAGS
11 kx CXX
11 kx CPP
11 kx cross_compiling
11 kx BUILD_CC
11 kx OBJEXT
11 kx ac_ct_CC
11 kx CPPFLAGS
11 kx LDFLAGS
11 kx CFLAGS
11 kx CC
11 kx host_os
11 kx host_vendor
11 kx host_cpu
11 kx host
11 kx build_os
11 kx build_vendor
11 kx build_cpu
11 kx build
11 kx subdirs
11 kx REPORT_BUGS_TEXI
11 kx REPORT_BUGS_TO
11 kx PKGVERSION_TEXI
11 kx PKGVERSION
11 kx target_alias
11 kx host_alias
11 kx build_alias
11 kx LIBS
11 kx ECHO_T
11 kx ECHO_N
11 kx ECHO_C
11 kx DEFS
11 kx mandir
11 kx localedir
11 kx libdir
11 kx psdir
11 kx pdfdir
11 kx dvidir
11 kx htmldir
11 kx infodir
11 kx docdir
11 kx oldincludedir
11 kx includedir
11 kx localstatedir
11 kx sharedstatedir
11 kx sysconfdir
11 kx datadir
11 kx datarootdir
11 kx libexecdir
11 kx sbindir
11 kx bindir
11 kx program_transform_name
11 kx prefix
11 kx exec_prefix
11 kx PACKAGE_URL
11 kx PACKAGE_BUGREPORT
11 kx PACKAGE_STRING
11 kx PACKAGE_VERSION
11 kx PACKAGE_TARNAME
11 kx PACKAGE_NAME
11 kx PATH_SEPARATOR
11 kx SHELL'
11 kx ac_subst_files=''
11 kx ac_user_opts='
11 kx enable_option_checking
11 kx with_pkgversion
11 kx with_bugurl
11 kx with_gd
11 kx with_gd_include
11 kx with_gd_lib
11 kx with_binutils
11 kx with_selinux
11 kx with_headers
11 kx with_default_link
11 kx with_nonshared_cflags
11 kx with_rtld_early_cflags
11 kx with_timeoutfactor
11 kx enable_sanity_checks
11 kx enable_shared
11 kx enable_profile
11 kx enable_default_pie
11 kx enable_timezone_tools
11 kx enable_hardcoded_path_in_tests
11 kx enable_hidden_plt
11 kx enable_bind_now
11 kx enable_stack_protector
11 kx enable_static_nss
11 kx enable_force_install
11 kx enable_maintainer_mode
11 kx enable_kernel
11 kx enable_all_warnings
11 kx enable_werror
11 kx enable_multi_arch
11 kx enable_experimental_malloc
11 kx enable_memory_tagging
11 kx enable_crypt
11 kx enable_nss_crypt
11 kx enable_systemtap
11 kx enable_build_nscd
11 kx enable_nscd
11 kx enable_pt_chown
11 kx enable_tunables
11 kx enable_mathvec
11 kx enable_cet
11 kx enable_scv
11 kx with_cpu
11 kx '
11 kx ac_precious_vars='build_alias
11 kx host_alias
11 kx target_alias
11 kx CC
11 kx CFLAGS
11 kx LDFLAGS
11 kx LIBS
11 kx CPPFLAGS
11 kx CPP
11 kx CXX
11 kx CXXFLAGS
11 kx CCC'
11 kx ac_subdirs_all=''
11 kx
11 kx # Initialize some variables set by options.
11 kx ac_init_help=
11 kx ac_init_version=false
11 kx ac_unrecognized_opts=
11 kx ac_unrecognized_sep=
11 kx # The variables have the same names as the options, with
11 kx # dashes changed to underlines.
11 kx cache_file=/dev/null
11 kx exec_prefix=NONE
11 kx no_create=
11 kx no_recursion=
11 kx prefix=NONE
11 kx program_prefix=NONE
11 kx program_suffix=NONE
11 kx program_transform_name=s,x,x,
11 kx silent=
11 kx site=
11 kx srcdir=
11 kx verbose=
11 kx x_includes=NONE
11 kx x_libraries=NONE
11 kx
11 kx # Installation directory options.
11 kx # These are left unexpanded so users can "make install exec_prefix=/foo"
11 kx # and all the variables that are supposed to be based on exec_prefix
11 kx # by default will actually change.
11 kx # Use braces instead of parens because sh, perl, etc. also accept them.
11 kx # (The list follows the same order as the GNU Coding Standards.)
11 kx bindir='${exec_prefix}/bin'
11 kx sbindir='${exec_prefix}/sbin'
11 kx libexecdir='${exec_prefix}/libexec'
11 kx datarootdir='${prefix}/share'
11 kx datadir='${datarootdir}'
11 kx sysconfdir='${prefix}/etc'
11 kx sharedstatedir='${prefix}/com'
11 kx localstatedir='${prefix}/var'
11 kx includedir='${prefix}/include'
11 kx oldincludedir='/usr/include'
11 kx docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
11 kx infodir='${datarootdir}/info'
11 kx htmldir='${docdir}'
11 kx dvidir='${docdir}'
11 kx pdfdir='${docdir}'
11 kx psdir='${docdir}'
11 kx libdir='${exec_prefix}/lib'
11 kx localedir='${datarootdir}/locale'
11 kx mandir='${datarootdir}/man'
11 kx
11 kx ac_prev=
11 kx ac_dashdash=
11 kx for ac_option
11 kx do
11 kx # If the previous option needs an argument, assign it.
11 kx if test -n "$ac_prev"; then
11 kx eval $ac_prev=\$ac_option
11 kx ac_prev=
11 kx continue
11 kx fi
11 kx
11 kx case $ac_option in
11 kx *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
11 kx *=) ac_optarg= ;;
11 kx *) ac_optarg=yes ;;
11 kx esac
11 kx
11 kx # Accept the important Cygnus configure options, so we can diagnose typos.
11 kx
11 kx case $ac_dashdash$ac_option in
11 kx --)
11 kx ac_dashdash=yes ;;
11 kx
11 kx -bindir | --bindir | --bindi | --bind | --bin | --bi)
11 kx ac_prev=bindir ;;
11 kx -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
11 kx bindir=$ac_optarg ;;
11 kx
11 kx -build | --build | --buil | --bui | --bu)
11 kx ac_prev=build_alias ;;
11 kx -build=* | --build=* | --buil=* | --bui=* | --bu=*)
11 kx build_alias=$ac_optarg ;;
11 kx
11 kx -cache-file | --cache-file | --cache-fil | --cache-fi \
11 kx | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
11 kx ac_prev=cache_file ;;
11 kx -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
11 kx | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
11 kx cache_file=$ac_optarg ;;
11 kx
11 kx --config-cache | -C)
11 kx cache_file=config.cache ;;
11 kx
11 kx -datadir | --datadir | --datadi | --datad)
11 kx ac_prev=datadir ;;
11 kx -datadir=* | --datadir=* | --datadi=* | --datad=*)
11 kx datadir=$ac_optarg ;;
11 kx
11 kx -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
11 kx | --dataroo | --dataro | --datar)
11 kx ac_prev=datarootdir ;;
11 kx -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
11 kx | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
11 kx datarootdir=$ac_optarg ;;
11 kx
11 kx -disable-* | --disable-*)
11 kx ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
11 kx # Reject names that are not valid shell variable names.
11 kx expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11 kx as_fn_error $? "invalid feature name: $ac_useropt"
11 kx ac_useropt_orig=$ac_useropt
11 kx ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11 kx case $ac_user_opts in
11 kx *"
11 kx "enable_$ac_useropt"
11 kx "*) ;;
11 kx *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
11 kx ac_unrecognized_sep=', ';;
11 kx esac
11 kx eval enable_$ac_useropt=no ;;
11 kx
11 kx -docdir | --docdir | --docdi | --doc | --do)
11 kx ac_prev=docdir ;;
11 kx -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
11 kx docdir=$ac_optarg ;;
11 kx
11 kx -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
11 kx ac_prev=dvidir ;;
11 kx -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
11 kx dvidir=$ac_optarg ;;
11 kx
11 kx -enable-* | --enable-*)
11 kx ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
11 kx # Reject names that are not valid shell variable names.
11 kx expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11 kx as_fn_error $? "invalid feature name: $ac_useropt"
11 kx ac_useropt_orig=$ac_useropt
11 kx ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11 kx case $ac_user_opts in
11 kx *"
11 kx "enable_$ac_useropt"
11 kx "*) ;;
11 kx *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
11 kx ac_unrecognized_sep=', ';;
11 kx esac
11 kx eval enable_$ac_useropt=\$ac_optarg ;;
11 kx
11 kx -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
11 kx | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
11 kx | --exec | --exe | --ex)
11 kx ac_prev=exec_prefix ;;
11 kx -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
11 kx | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
11 kx | --exec=* | --exe=* | --ex=*)
11 kx exec_prefix=$ac_optarg ;;
11 kx
11 kx -gas | --gas | --ga | --g)
11 kx # Obsolete; use --with-gas.
11 kx with_gas=yes ;;
11 kx
11 kx -help | --help | --hel | --he | -h)
11 kx ac_init_help=long ;;
11 kx -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
11 kx ac_init_help=recursive ;;
11 kx -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
11 kx ac_init_help=short ;;
11 kx
11 kx -host | --host | --hos | --ho)
11 kx ac_prev=host_alias ;;
11 kx -host=* | --host=* | --hos=* | --ho=*)
11 kx host_alias=$ac_optarg ;;
11 kx
11 kx -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
11 kx ac_prev=htmldir ;;
11 kx -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
11 kx | --ht=*)
11 kx htmldir=$ac_optarg ;;
11 kx
11 kx -includedir | --includedir | --includedi | --included | --include \
11 kx | --includ | --inclu | --incl | --inc)
11 kx ac_prev=includedir ;;
11 kx -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
11 kx | --includ=* | --inclu=* | --incl=* | --inc=*)
11 kx includedir=$ac_optarg ;;
11 kx
11 kx -infodir | --infodir | --infodi | --infod | --info | --inf)
11 kx ac_prev=infodir ;;
11 kx -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
11 kx infodir=$ac_optarg ;;
11 kx
11 kx -libdir | --libdir | --libdi | --libd)
11 kx ac_prev=libdir ;;
11 kx -libdir=* | --libdir=* | --libdi=* | --libd=*)
11 kx libdir=$ac_optarg ;;
11 kx
11 kx -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
11 kx | --libexe | --libex | --libe)
11 kx ac_prev=libexecdir ;;
11 kx -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
11 kx | --libexe=* | --libex=* | --libe=*)
11 kx libexecdir=$ac_optarg ;;
11 kx
11 kx -localedir | --localedir | --localedi | --localed | --locale)
11 kx ac_prev=localedir ;;
11 kx -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
11 kx localedir=$ac_optarg ;;
11 kx
11 kx -localstatedir | --localstatedir | --localstatedi | --localstated \
11 kx | --localstate | --localstat | --localsta | --localst | --locals)
11 kx ac_prev=localstatedir ;;
11 kx -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
11 kx | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
11 kx localstatedir=$ac_optarg ;;
11 kx
11 kx -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
11 kx ac_prev=mandir ;;
11 kx -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
11 kx mandir=$ac_optarg ;;
11 kx
11 kx -nfp | --nfp | --nf)
11 kx # Obsolete; use --without-fp.
11 kx with_fp=no ;;
11 kx
11 kx -no-create | --no-create | --no-creat | --no-crea | --no-cre \
11 kx | --no-cr | --no-c | -n)
11 kx no_create=yes ;;
11 kx
11 kx -no-recursion | --no-recursion | --no-recursio | --no-recursi \
11 kx | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
11 kx no_recursion=yes ;;
11 kx
11 kx -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
11 kx | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
11 kx | --oldin | --oldi | --old | --ol | --o)
11 kx ac_prev=oldincludedir ;;
11 kx -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
11 kx | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
11 kx | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
11 kx oldincludedir=$ac_optarg ;;
11 kx
11 kx -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11 kx ac_prev=prefix ;;
11 kx -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11 kx prefix=$ac_optarg ;;
11 kx
11 kx -program-prefix | --program-prefix | --program-prefi | --program-pref \
11 kx | --program-pre | --program-pr | --program-p)
11 kx ac_prev=program_prefix ;;
11 kx -program-prefix=* | --program-prefix=* | --program-prefi=* \
11 kx | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
11 kx program_prefix=$ac_optarg ;;
11 kx
11 kx -program-suffix | --program-suffix | --program-suffi | --program-suff \
11 kx | --program-suf | --program-su | --program-s)
11 kx ac_prev=program_suffix ;;
11 kx -program-suffix=* | --program-suffix=* | --program-suffi=* \
11 kx | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
11 kx program_suffix=$ac_optarg ;;
11 kx
11 kx -program-transform-name | --program-transform-name \
11 kx | --program-transform-nam | --program-transform-na \
11 kx | --program-transform-n | --program-transform- \
11 kx | --program-transform | --program-transfor \
11 kx | --program-transfo | --program-transf \
11 kx | --program-trans | --program-tran \
11 kx | --progr-tra | --program-tr | --program-t)
11 kx ac_prev=program_transform_name ;;
11 kx -program-transform-name=* | --program-transform-name=* \
11 kx | --program-transform-nam=* | --program-transform-na=* \
11 kx | --program-transform-n=* | --program-transform-=* \
11 kx | --program-transform=* | --program-transfor=* \
11 kx | --program-transfo=* | --program-transf=* \
11 kx | --program-trans=* | --program-tran=* \
11 kx | --progr-tra=* | --program-tr=* | --program-t=*)
11 kx program_transform_name=$ac_optarg ;;
11 kx
11 kx -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
11 kx ac_prev=pdfdir ;;
11 kx -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
11 kx pdfdir=$ac_optarg ;;
11 kx
11 kx -psdir | --psdir | --psdi | --psd | --ps)
11 kx ac_prev=psdir ;;
11 kx -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
11 kx psdir=$ac_optarg ;;
11 kx
11 kx -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11 kx | -silent | --silent | --silen | --sile | --sil)
11 kx silent=yes ;;
11 kx
11 kx -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
11 kx ac_prev=sbindir ;;
11 kx -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
11 kx | --sbi=* | --sb=*)
11 kx sbindir=$ac_optarg ;;
11 kx
11 kx -sharedstatedir | --sharedstatedir | --sharedstatedi \
11 kx | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
11 kx | --sharedst | --shareds | --shared | --share | --shar \
11 kx | --sha | --sh)
11 kx ac_prev=sharedstatedir ;;
11 kx -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
11 kx | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
11 kx | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
11 kx | --sha=* | --sh=*)
11 kx sharedstatedir=$ac_optarg ;;
11 kx
11 kx -site | --site | --sit)
11 kx ac_prev=site ;;
11 kx -site=* | --site=* | --sit=*)
11 kx site=$ac_optarg ;;
11 kx
11 kx -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
11 kx ac_prev=srcdir ;;
11 kx -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11 kx srcdir=$ac_optarg ;;
11 kx
11 kx -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
11 kx | --syscon | --sysco | --sysc | --sys | --sy)
11 kx ac_prev=sysconfdir ;;
11 kx -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
11 kx | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
11 kx sysconfdir=$ac_optarg ;;
11 kx
11 kx -target | --target | --targe | --targ | --tar | --ta | --t)
11 kx ac_prev=target_alias ;;
11 kx -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
11 kx target_alias=$ac_optarg ;;
11 kx
11 kx -v | -verbose | --verbose | --verbos | --verbo | --verb)
11 kx verbose=yes ;;
11 kx
11 kx -version | --version | --versio | --versi | --vers | -V)
11 kx ac_init_version=: ;;
11 kx
11 kx -with-* | --with-*)
11 kx ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11 kx # Reject names that are not valid shell variable names.
11 kx expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11 kx as_fn_error $? "invalid package name: $ac_useropt"
11 kx ac_useropt_orig=$ac_useropt
11 kx ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11 kx case $ac_user_opts in
11 kx *"
11 kx "with_$ac_useropt"
11 kx "*) ;;
11 kx *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
11 kx ac_unrecognized_sep=', ';;
11 kx esac
11 kx eval with_$ac_useropt=\$ac_optarg ;;
11 kx
11 kx -without-* | --without-*)
11 kx ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11 kx # Reject names that are not valid shell variable names.
11 kx expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11 kx as_fn_error $? "invalid package name: $ac_useropt"
11 kx ac_useropt_orig=$ac_useropt
11 kx ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11 kx case $ac_user_opts in
11 kx *"
11 kx "with_$ac_useropt"
11 kx "*) ;;
11 kx *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
11 kx ac_unrecognized_sep=', ';;
11 kx esac
11 kx eval with_$ac_useropt=no ;;
11 kx
11 kx --x)
11 kx # Obsolete; use --with-x.
11 kx with_x=yes ;;
11 kx
11 kx -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
11 kx | --x-incl | --x-inc | --x-in | --x-i)
11 kx ac_prev=x_includes ;;
11 kx -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
11 kx | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
11 kx x_includes=$ac_optarg ;;
11 kx
11 kx -x-libraries | --x-libraries | --x-librarie | --x-librari \
11 kx | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
11 kx ac_prev=x_libraries ;;
11 kx -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
11 kx | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11 kx x_libraries=$ac_optarg ;;
11 kx
11 kx -*) as_fn_error $? "unrecognized option: \`$ac_option'
11 kx Try \`$0 --help' for more information"
11 kx ;;
11 kx
11 kx *=*)
11 kx ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11 kx # Reject names that are not valid shell variable names.
11 kx case $ac_envvar in #(
11 kx '' | [0-9]* | *[!_$as_cr_alnum]* )
11 kx as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
11 kx esac
11 kx eval $ac_envvar=\$ac_optarg
11 kx export $ac_envvar ;;
11 kx
11 kx *)
11 kx # FIXME: should be removed in autoconf 3.0.
11 kx $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11 kx expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11 kx $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11 kx : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11 kx ;;
11 kx
11 kx esac
11 kx done
11 kx
11 kx if test -n "$ac_prev"; then
11 kx ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11 kx as_fn_error $? "missing argument to $ac_option"
11 kx fi
11 kx
11 kx if test -n "$ac_unrecognized_opts"; then
11 kx case $enable_option_checking in
11 kx no) ;;
11 kx fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11 kx *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11 kx esac
11 kx fi
11 kx
11 kx # Check all directory arguments for consistency.
11 kx for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11 kx datadir sysconfdir sharedstatedir localstatedir includedir \
11 kx oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11 kx libdir localedir mandir
11 kx do
11 kx eval ac_val=\$$ac_var
11 kx # Remove trailing slashes.
11 kx case $ac_val in
11 kx */ )
11 kx ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
11 kx eval $ac_var=\$ac_val;;
11 kx esac
11 kx # Be sure to have absolute directory names.
11 kx case $ac_val in
11 kx [\\/$]* | ?:[\\/]* ) continue;;
11 kx NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11 kx esac
11 kx as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11 kx done
11 kx
11 kx # There might be people who depend on the old broken behavior: `$host'
11 kx # used to hold the argument of --host etc.
11 kx # FIXME: To remove some day.
11 kx build=$build_alias
11 kx host=$host_alias
11 kx target=$target_alias
11 kx
11 kx # FIXME: To remove some day.
11 kx if test "x$host_alias" != x; then
11 kx if test "x$build_alias" = x; then
11 kx cross_compiling=maybe
11 kx elif test "x$build_alias" != "x$host_alias"; then
11 kx cross_compiling=yes
11 kx fi
11 kx fi
11 kx
11 kx ac_tool_prefix=
11 kx test -n "$host_alias" && ac_tool_prefix=$host_alias-
11 kx
11 kx test "$silent" = yes && exec 6>/dev/null
11 kx
11 kx
11 kx ac_pwd=`pwd` && test -n "$ac_pwd" &&
11 kx ac_ls_di=`ls -di .` &&
11 kx ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
11 kx as_fn_error $? "working directory cannot be determined"
11 kx test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
11 kx as_fn_error $? "pwd does not report name of working directory"
11 kx
11 kx
11 kx # Find the source files, if location was not specified.
11 kx if test -z "$srcdir"; then
11 kx ac_srcdir_defaulted=yes
11 kx # Try the directory containing this script, then the parent directory.
11 kx ac_confdir=`$as_dirname -- "$as_myself" ||
11 kx $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11 kx X"$as_myself" : 'X\(//\)[^/]' \| \
11 kx X"$as_myself" : 'X\(//\)$' \| \
11 kx X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
11 kx $as_echo X"$as_myself" |
11 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\/\)[^/].*/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\/\)$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\).*/{
11 kx s//\1/
11 kx q
11 kx }
11 kx s/.*/./; q'`
11 kx srcdir=$ac_confdir
11 kx if test ! -r "$srcdir/$ac_unique_file"; then
11 kx srcdir=..
11 kx fi
11 kx else
11 kx ac_srcdir_defaulted=no
11 kx fi
11 kx if test ! -r "$srcdir/$ac_unique_file"; then
11 kx test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
11 kx as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
11 kx fi
11 kx ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11 kx ac_abs_confdir=`(
11 kx cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
11 kx pwd)`
11 kx # When building in place, set srcdir=.
11 kx if test "$ac_abs_confdir" = "$ac_pwd"; then
11 kx srcdir=.
11 kx fi
11 kx # Remove unnecessary trailing slashes from srcdir.
11 kx # Double slashes in file names in object file debugging info
11 kx # mess up M-x gdb in Emacs.
11 kx case $srcdir in
11 kx */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
11 kx esac
11 kx for ac_var in $ac_precious_vars; do
11 kx eval ac_env_${ac_var}_set=\${${ac_var}+set}
11 kx eval ac_env_${ac_var}_value=\$${ac_var}
11 kx eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
11 kx eval ac_cv_env_${ac_var}_value=\$${ac_var}
11 kx done
11 kx
11 kx #
11 kx # Report the --help message.
11 kx #
11 kx if test "$ac_init_help" = "long"; then
11 kx # Omit some internal or obsolete options to make the list less imposing.
11 kx # This message is too long to be a string in the A/UX 3.1 sh.
11 kx cat <<_ACEOF
11 kx \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
11 kx
11 kx Usage: $0 [OPTION]... [VAR=VALUE]...
11 kx
11 kx To assign environment variables (e.g., CC, CFLAGS...), specify them as
11 kx VAR=VALUE. See below for descriptions of some of the useful variables.
11 kx
11 kx Defaults for the options are specified in brackets.
11 kx
11 kx Configuration:
11 kx -h, --help display this help and exit
11 kx --help=short display options specific to this package
11 kx --help=recursive display the short help of all the included packages
11 kx -V, --version display version information and exit
11 kx -q, --quiet, --silent do not print \`checking ...' messages
11 kx --cache-file=FILE cache test results in FILE [disabled]
11 kx -C, --config-cache alias for \`--cache-file=config.cache'
11 kx -n, --no-create do not create output files
11 kx --srcdir=DIR find the sources in DIR [configure dir or \`..']
11 kx
11 kx Installation directories:
11 kx --prefix=PREFIX install architecture-independent files in PREFIX
11 kx [$ac_default_prefix]
11 kx --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
11 kx [PREFIX]
11 kx
11 kx By default, \`make install' will install all the files in
11 kx \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
11 kx an installation prefix other than \`$ac_default_prefix' using \`--prefix',
11 kx for instance \`--prefix=\$HOME'.
11 kx
11 kx For better control, use the options below.
11 kx
11 kx Fine tuning of the installation directories:
11 kx --bindir=DIR user executables [EPREFIX/bin]
11 kx --sbindir=DIR system admin executables [EPREFIX/sbin]
11 kx --libexecdir=DIR program executables [EPREFIX/libexec]
11 kx --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
11 kx --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
11 kx --localstatedir=DIR modifiable single-machine data [PREFIX/var]
11 kx --libdir=DIR object code libraries [EPREFIX/lib]
11 kx --includedir=DIR C header files [PREFIX/include]
11 kx --oldincludedir=DIR C header files for non-gcc [/usr/include]
11 kx --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
11 kx --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
11 kx --infodir=DIR info documentation [DATAROOTDIR/info]
11 kx --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
11 kx --mandir=DIR man documentation [DATAROOTDIR/man]
11 kx --docdir=DIR documentation root [DATAROOTDIR/doc/glibc]
11 kx --htmldir=DIR html documentation [DOCDIR]
11 kx --dvidir=DIR dvi documentation [DOCDIR]
11 kx --pdfdir=DIR pdf documentation [DOCDIR]
11 kx --psdir=DIR ps documentation [DOCDIR]
11 kx _ACEOF
11 kx
11 kx cat <<\_ACEOF
11 kx
11 kx System types:
11 kx --build=BUILD configure for building on BUILD [guessed]
11 kx --host=HOST cross-compile to build programs to run on HOST [BUILD]
11 kx _ACEOF
11 kx fi
11 kx
11 kx if test -n "$ac_init_help"; then
11 kx case $ac_init_help in
11 kx short | recursive ) echo "Configuration of GNU C Library (see version.h):";;
11 kx esac
11 kx cat <<\_ACEOF
11 kx
11 kx Optional Features:
11 kx --disable-option-checking ignore unrecognized --enable/--with options
11 kx --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
11 kx --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
11 kx --disable-sanity-checks really do not use threads (should not be used except
11 kx in special situations) [default=yes]
11 kx --enable-shared build shared library [default=yes if GNU ld]
11 kx --enable-profile build profiled library [default=no]
11 kx --disable-default-pie Do not build glibc programs and the testsuite as PIE
11 kx [default=no]
11 kx --disable-timezone-tools
11 kx do not install timezone tools [default=install]
11 kx --enable-hardcoded-path-in-tests
11 kx hardcode newly built glibc path in tests
11 kx [default=no]
11 kx --disable-hidden-plt do not hide internal function calls to avoid PLT
11 kx --enable-bind-now disable lazy relocations in DSOs
11 kx --enable-stack-protector=[yes|no|all|strong]
11 kx Use -fstack-protector[-all|-strong] to detect glibc
11 kx buffer overflows
11 kx --enable-static-nss build static NSS modules [default=no]
11 kx --disable-force-install don't force installation of files from this package,
11 kx even if they are older than the installed files
11 kx --enable-maintainer-mode
11 kx enable make rules and dependencies not useful (and
11 kx sometimes confusing) to the casual installer
11 kx --enable-kernel=VERSION compile for compatibility with kernel not older than
11 kx VERSION
11 kx --enable-all-warnings enable all useful warnings gcc can issue
11 kx --disable-werror do not build with -Werror
11 kx --enable-multi-arch enable single DSO with optimizations for multiple
11 kx architectures
11 kx --disable-experimental-malloc
11 kx disable experimental malloc features
11 kx --enable-memory-tagging enable memory tagging if supported by the
11 kx architecture [default=no]
11 kx --disable-crypt do not build nor install the passphrase hashing
11 kx library, libcrypt
11 kx --enable-nss-crypt enable libcrypt to use nss
11 kx --enable-systemtap enable systemtap static probe points [default=no]
11 kx --disable-build-nscd disable building and installing the nscd daemon
11 kx --disable-nscd library functions will not contact the nscd daemon
11 kx --enable-pt_chown Enable building and installing pt_chown
11 kx --enable-tunables Enable tunables support. Known values are 'yes',
11 kx 'no' and 'valstring'
11 kx --enable-mathvec Enable building and installing mathvec [default
11 kx depends on architecture]
11 kx --enable-cet enable Intel Control-flow Enforcement Technology
11 kx (CET), x86 only
11 kx --disable-scv syscalls will not use scv instruction, even if the
11 kx kernel supports it, powerpc only
11 kx
11 kx Optional Packages:
11 kx --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
11 kx --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
11 kx --with-pkgversion=PKG Use PKG in the version string in place of "GNU libc"
11 kx --with-bugurl=URL Direct users to URL to report a bug
11 kx --with-gd=DIR find libgd include dir and library with prefix DIR
11 kx --with-gd-include=DIR find libgd include files in DIR
11 kx --with-gd-lib=DIR find libgd library files in DIR
11 kx --with-binutils=PATH specify location of binutils (as and ld)
11 kx --with-selinux if building with SELinux support
11 kx --with-headers=PATH location of system headers to use (for example
11 kx /usr/src/linux/include) [default=compiler default]
11 kx --with-default-link do not use explicit linker scripts
11 kx --with-nonshared-cflags=CFLAGS
11 kx build nonshared libraries with additional CFLAGS
11 kx --with-rtld-early-cflags=CFLAGS
11 kx build early initialization with additional CFLAGS
11 kx --with-timeoutfactor=NUM
11 kx specify an integer to scale the timeout
11 kx --with-cpu=CPU select code for CPU variant
11 kx
11 kx Some influential environment variables:
11 kx CC C compiler command
11 kx CFLAGS C compiler flags
11 kx LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
11 kx nonstandard directory <lib dir>
11 kx LIBS libraries to pass to the linker, e.g. -l<library>
11 kx CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
11 kx you have headers in a nonstandard directory <include dir>
11 kx CPP C preprocessor
11 kx CXX C++ compiler command
11 kx CXXFLAGS C++ compiler flags
11 kx
11 kx Use these variables to override the choices made by `configure' or to help
11 kx it to find libraries and programs with nonstandard names/locations.
11 kx
11 kx Report bugs to <https://sourceware.org/bugzilla/>.
11 kx GNU C Library home page: <https://www.gnu.org/software/glibc/>.
11 kx General help using GNU software: <http://www.gnu.org/gethelp/>.
11 kx _ACEOF
11 kx ac_status=$?
11 kx fi
11 kx
11 kx if test "$ac_init_help" = "recursive"; then
11 kx # If there are subdirs, report their specific --help.
11 kx for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
11 kx test -d "$ac_dir" ||
11 kx { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
11 kx continue
11 kx ac_builddir=.
11 kx
11 kx case "$ac_dir" in
11 kx .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11 kx *)
11 kx ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11 kx # A ".." for each directory in $ac_dir_suffix.
11 kx ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11 kx case $ac_top_builddir_sub in
11 kx "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11 kx *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11 kx esac ;;
11 kx esac
11 kx ac_abs_top_builddir=$ac_pwd
11 kx ac_abs_builddir=$ac_pwd$ac_dir_suffix
11 kx # for backward compatibility:
11 kx ac_top_builddir=$ac_top_build_prefix
11 kx
11 kx case $srcdir in
11 kx .) # We are building in place.
11 kx ac_srcdir=.
11 kx ac_top_srcdir=$ac_top_builddir_sub
11 kx ac_abs_top_srcdir=$ac_pwd ;;
11 kx [\\/]* | ?:[\\/]* ) # Absolute name.
11 kx ac_srcdir=$srcdir$ac_dir_suffix;
11 kx ac_top_srcdir=$srcdir
11 kx ac_abs_top_srcdir=$srcdir ;;
11 kx *) # Relative name.
11 kx ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11 kx ac_top_srcdir=$ac_top_build_prefix$srcdir
11 kx ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11 kx esac
11 kx ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11 kx
11 kx cd "$ac_dir" || { ac_status=$?; continue; }
11 kx # Check for guested configure.
11 kx if test -f "$ac_srcdir/configure.gnu"; then
11 kx echo &&
11 kx $SHELL "$ac_srcdir/configure.gnu" --help=recursive
11 kx elif test -f "$ac_srcdir/configure"; then
11 kx echo &&
11 kx $SHELL "$ac_srcdir/configure" --help=recursive
11 kx else
11 kx $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
11 kx fi || ac_status=$?
11 kx cd "$ac_pwd" || { ac_status=$?; break; }
11 kx done
11 kx fi
11 kx
11 kx test -n "$ac_init_help" && exit $ac_status
11 kx if $ac_init_version; then
11 kx cat <<\_ACEOF
11 kx GNU C Library configure (see version.h)
11 kx generated by GNU Autoconf 2.69
11 kx
11 kx Copyright (C) 2012 Free Software Foundation, Inc.
11 kx This configure script is free software; the Free Software Foundation
11 kx gives unlimited permission to copy, distribute and modify it.
11 kx _ACEOF
11 kx exit
11 kx fi
11 kx
11 kx ## ------------------------ ##
11 kx ## Autoconf initialization. ##
11 kx ## ------------------------ ##
11 kx
11 kx # ac_fn_c_try_compile LINENO
11 kx # --------------------------
11 kx # Try to compile conftest.$ac_ext, and return whether this succeeded.
11 kx ac_fn_c_try_compile ()
11 kx {
11 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11 kx rm -f conftest.$ac_objext
11 kx if { { ac_try="$ac_compile"
11 kx case "(($ac_try" in
11 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11 kx *) ac_try_echo=$ac_try;;
11 kx esac
11 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11 kx $as_echo "$ac_try_echo"; } >&5
11 kx (eval "$ac_compile") 2>conftest.err
11 kx ac_status=$?
11 kx if test -s conftest.err; then
11 kx grep -v '^ *+' conftest.err >conftest.er1
11 kx cat conftest.er1 >&5
11 kx mv -f conftest.er1 conftest.err
11 kx fi
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; } && {
11 kx test -z "$ac_c_werror_flag" ||
11 kx test ! -s conftest.err
11 kx } && test -s conftest.$ac_objext; then :
11 kx ac_retval=0
11 kx else
11 kx $as_echo "$as_me: failed program was:" >&5
11 kx sed 's/^/| /' conftest.$ac_ext >&5
11 kx
11 kx ac_retval=1
11 kx fi
11 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
11 kx as_fn_set_status $ac_retval
11 kx
11 kx } # ac_fn_c_try_compile
11 kx
11 kx # ac_fn_cxx_try_compile LINENO
11 kx # ----------------------------
11 kx # Try to compile conftest.$ac_ext, and return whether this succeeded.
11 kx ac_fn_cxx_try_compile ()
11 kx {
11 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11 kx rm -f conftest.$ac_objext
11 kx if { { ac_try="$ac_compile"
11 kx case "(($ac_try" in
11 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11 kx *) ac_try_echo=$ac_try;;
11 kx esac
11 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11 kx $as_echo "$ac_try_echo"; } >&5
11 kx (eval "$ac_compile") 2>conftest.err
11 kx ac_status=$?
11 kx if test -s conftest.err; then
11 kx grep -v '^ *+' conftest.err >conftest.er1
11 kx cat conftest.er1 >&5
11 kx mv -f conftest.er1 conftest.err
11 kx fi
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; } && {
11 kx test -z "$ac_cxx_werror_flag" ||
11 kx test ! -s conftest.err
11 kx } && test -s conftest.$ac_objext; then :
11 kx ac_retval=0
11 kx else
11 kx $as_echo "$as_me: failed program was:" >&5
11 kx sed 's/^/| /' conftest.$ac_ext >&5
11 kx
11 kx ac_retval=1
11 kx fi
11 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
11 kx as_fn_set_status $ac_retval
11 kx
11 kx } # ac_fn_cxx_try_compile
11 kx
11 kx # ac_fn_cxx_try_link LINENO
11 kx # -------------------------
11 kx # Try to link conftest.$ac_ext, and return whether this succeeded.
11 kx ac_fn_cxx_try_link ()
11 kx {
11 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11 kx rm -f conftest.$ac_objext conftest$ac_exeext
11 kx if { { ac_try="$ac_link"
11 kx case "(($ac_try" in
11 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11 kx *) ac_try_echo=$ac_try;;
11 kx esac
11 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11 kx $as_echo "$ac_try_echo"; } >&5
11 kx (eval "$ac_link") 2>conftest.err
11 kx ac_status=$?
11 kx if test -s conftest.err; then
11 kx grep -v '^ *+' conftest.err >conftest.er1
11 kx cat conftest.er1 >&5
11 kx mv -f conftest.er1 conftest.err
11 kx fi
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; } && {
11 kx test -z "$ac_cxx_werror_flag" ||
11 kx test ! -s conftest.err
11 kx } && test -s conftest$ac_exeext && {
11 kx test "$cross_compiling" = yes ||
11 kx test -x conftest$ac_exeext
11 kx }; then :
11 kx ac_retval=0
11 kx else
11 kx $as_echo "$as_me: failed program was:" >&5
11 kx sed 's/^/| /' conftest.$ac_ext >&5
11 kx
11 kx ac_retval=1
11 kx fi
11 kx # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
11 kx # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
11 kx # interfere with the next link command; also delete a directory that is
11 kx # left behind by Apple's compiler. We do this before executing the actions.
11 kx rm -rf conftest.dSYM conftest_ipa8_conftest.oo
11 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
11 kx as_fn_set_status $ac_retval
11 kx
11 kx } # ac_fn_cxx_try_link
11 kx
11 kx # ac_fn_c_try_link LINENO
11 kx # -----------------------
11 kx # Try to link conftest.$ac_ext, and return whether this succeeded.
11 kx ac_fn_c_try_link ()
11 kx {
11 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11 kx rm -f conftest.$ac_objext conftest$ac_exeext
11 kx if { { ac_try="$ac_link"
11 kx case "(($ac_try" in
11 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11 kx *) ac_try_echo=$ac_try;;
11 kx esac
11 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11 kx $as_echo "$ac_try_echo"; } >&5
11 kx (eval "$ac_link") 2>conftest.err
11 kx ac_status=$?
11 kx if test -s conftest.err; then
11 kx grep -v '^ *+' conftest.err >conftest.er1
11 kx cat conftest.er1 >&5
11 kx mv -f conftest.er1 conftest.err
11 kx fi
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; } && {
11 kx test -z "$ac_c_werror_flag" ||
11 kx test ! -s conftest.err
11 kx } && test -s conftest$ac_exeext && {
11 kx test "$cross_compiling" = yes ||
11 kx test -x conftest$ac_exeext
11 kx }; then :
11 kx ac_retval=0
11 kx else
11 kx $as_echo "$as_me: failed program was:" >&5
11 kx sed 's/^/| /' conftest.$ac_ext >&5
11 kx
11 kx ac_retval=1
11 kx fi
11 kx # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
11 kx # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
11 kx # interfere with the next link command; also delete a directory that is
11 kx # left behind by Apple's compiler. We do this before executing the actions.
11 kx rm -rf conftest.dSYM conftest_ipa8_conftest.oo
11 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
11 kx as_fn_set_status $ac_retval
11 kx
11 kx } # ac_fn_c_try_link
11 kx
11 kx # ac_fn_c_try_cpp LINENO
11 kx # ----------------------
11 kx # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
11 kx ac_fn_c_try_cpp ()
11 kx {
11 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11 kx if { { ac_try="$ac_cpp conftest.$ac_ext"
11 kx case "(($ac_try" in
11 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11 kx *) ac_try_echo=$ac_try;;
11 kx esac
11 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11 kx $as_echo "$ac_try_echo"; } >&5
11 kx (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
11 kx ac_status=$?
11 kx if test -s conftest.err; then
11 kx grep -v '^ *+' conftest.err >conftest.er1
11 kx cat conftest.er1 >&5
11 kx mv -f conftest.er1 conftest.err
11 kx fi
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; } > conftest.i && {
11 kx test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11 kx test ! -s conftest.err
11 kx }; then :
11 kx ac_retval=0
11 kx else
11 kx $as_echo "$as_me: failed program was:" >&5
11 kx sed 's/^/| /' conftest.$ac_ext >&5
11 kx
11 kx ac_retval=1
11 kx fi
11 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
11 kx as_fn_set_status $ac_retval
11 kx
11 kx } # ac_fn_c_try_cpp
11 kx cat >config.log <<_ACEOF
11 kx This file contains any messages produced by compilers while
11 kx running configure, to aid debugging if configure makes a mistake.
11 kx
11 kx It was created by GNU C Library $as_me (see version.h), which was
11 kx generated by GNU Autoconf 2.69. Invocation command line was
11 kx
11 kx $ $0 $@
11 kx
11 kx _ACEOF
11 kx exec 5>>config.log
11 kx {
11 kx cat <<_ASUNAME
11 kx ## --------- ##
11 kx ## Platform. ##
11 kx ## --------- ##
11 kx
11 kx hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
11 kx uname -m = `(uname -m) 2>/dev/null || echo unknown`
11 kx uname -r = `(uname -r) 2>/dev/null || echo unknown`
11 kx uname -s = `(uname -s) 2>/dev/null || echo unknown`
11 kx uname -v = `(uname -v) 2>/dev/null || echo unknown`
11 kx
11 kx /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
11 kx /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
11 kx
11 kx /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
11 kx /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
11 kx /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
11 kx /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
11 kx /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
11 kx /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
11 kx /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
11 kx
11 kx _ASUNAME
11 kx
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx $as_echo "PATH: $as_dir"
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx } >&5
11 kx
11 kx cat >&5 <<_ACEOF
11 kx
11 kx
11 kx ## ----------- ##
11 kx ## Core tests. ##
11 kx ## ----------- ##
11 kx
11 kx _ACEOF
11 kx
11 kx
11 kx # Keep a trace of the command line.
11 kx # Strip out --no-create and --no-recursion so they do not pile up.
11 kx # Strip out --silent because we don't want to record it for future runs.
11 kx # Also quote any args containing shell meta-characters.
11 kx # Make two passes to allow for proper duplicate-argument suppression.
11 kx ac_configure_args=
11 kx ac_configure_args0=
11 kx ac_configure_args1=
11 kx ac_must_keep_next=false
11 kx for ac_pass in 1 2
11 kx do
11 kx for ac_arg
11 kx do
11 kx case $ac_arg in
11 kx -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
11 kx -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11 kx | -silent | --silent | --silen | --sile | --sil)
11 kx continue ;;
11 kx *\'*)
11 kx ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11 kx esac
11 kx case $ac_pass in
11 kx 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
11 kx 2)
11 kx as_fn_append ac_configure_args1 " '$ac_arg'"
11 kx if test $ac_must_keep_next = true; then
11 kx ac_must_keep_next=false # Got value, back to normal.
11 kx else
11 kx case $ac_arg in
11 kx *=* | --config-cache | -C | -disable-* | --disable-* \
11 kx | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
11 kx | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
11 kx | -with-* | --with-* | -without-* | --without-* | --x)
11 kx case "$ac_configure_args0 " in
11 kx "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
11 kx esac
11 kx ;;
11 kx -* ) ac_must_keep_next=true ;;
11 kx esac
11 kx fi
11 kx as_fn_append ac_configure_args " '$ac_arg'"
11 kx ;;
11 kx esac
11 kx done
11 kx done
11 kx { ac_configure_args0=; unset ac_configure_args0;}
11 kx { ac_configure_args1=; unset ac_configure_args1;}
11 kx
11 kx # When interrupted or exit'd, cleanup temporary files, and complete
11 kx # config.log. We remove comments because anyway the quotes in there
11 kx # would cause problems or look ugly.
11 kx # WARNING: Use '\'' to represent an apostrophe within the trap.
11 kx # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
11 kx trap 'exit_status=$?
11 kx # Save into config.log some information that might help in debugging.
11 kx {
11 kx echo
11 kx
11 kx $as_echo "## ---------------- ##
11 kx ## Cache variables. ##
11 kx ## ---------------- ##"
11 kx echo
11 kx # The following way of writing the cache mishandles newlines in values,
11 kx (
11 kx for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
11 kx eval ac_val=\$$ac_var
11 kx case $ac_val in #(
11 kx *${as_nl}*)
11 kx case $ac_var in #(
11 kx *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11 kx $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11 kx esac
11 kx case $ac_var in #(
11 kx _ | IFS | as_nl) ;; #(
11 kx BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11 kx *) { eval $ac_var=; unset $ac_var;} ;;
11 kx esac ;;
11 kx esac
11 kx done
11 kx (set) 2>&1 |
11 kx case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
11 kx *${as_nl}ac_space=\ *)
11 kx sed -n \
11 kx "s/'\''/'\''\\\\'\'''\''/g;
11 kx s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
11 kx ;; #(
11 kx *)
11 kx sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11 kx ;;
11 kx esac |
11 kx sort
11 kx )
11 kx echo
11 kx
11 kx $as_echo "## ----------------- ##
11 kx ## Output variables. ##
11 kx ## ----------------- ##"
11 kx echo
11 kx for ac_var in $ac_subst_vars
11 kx do
11 kx eval ac_val=\$$ac_var
11 kx case $ac_val in
11 kx *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11 kx esac
11 kx $as_echo "$ac_var='\''$ac_val'\''"
11 kx done | sort
11 kx echo
11 kx
11 kx if test -n "$ac_subst_files"; then
11 kx $as_echo "## ------------------- ##
11 kx ## File substitutions. ##
11 kx ## ------------------- ##"
11 kx echo
11 kx for ac_var in $ac_subst_files
11 kx do
11 kx eval ac_val=\$$ac_var
11 kx case $ac_val in
11 kx *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
11 kx esac
11 kx $as_echo "$ac_var='\''$ac_val'\''"
11 kx done | sort
11 kx echo
11 kx fi
11 kx
11 kx if test -s confdefs.h; then
11 kx $as_echo "## ----------- ##
11 kx ## confdefs.h. ##
11 kx ## ----------- ##"
11 kx echo
11 kx cat confdefs.h
11 kx echo
11 kx fi
11 kx test "$ac_signal" != 0 &&
11 kx $as_echo "$as_me: caught signal $ac_signal"
11 kx $as_echo "$as_me: exit $exit_status"
11 kx } >&5
11 kx rm -f core *.core core.conftest.* &&
11 kx rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11 kx exit $exit_status
11 kx ' 0
11 kx for ac_signal in 1 2 13 15; do
11 kx trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
11 kx done
11 kx ac_signal=0
11 kx
11 kx # confdefs.h avoids OS command line length limits that DEFS can exceed.
11 kx rm -f -r conftest* confdefs.h
11 kx
11 kx $as_echo "/* confdefs.h */" > confdefs.h
11 kx
11 kx # Predefined preprocessor variables.
11 kx
11 kx cat >>confdefs.h <<_ACEOF
11 kx #define PACKAGE_NAME "$PACKAGE_NAME"
11 kx _ACEOF
11 kx
11 kx cat >>confdefs.h <<_ACEOF
11 kx #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
11 kx _ACEOF
11 kx
11 kx cat >>confdefs.h <<_ACEOF
11 kx #define PACKAGE_VERSION "$PACKAGE_VERSION"
11 kx _ACEOF
11 kx
11 kx cat >>confdefs.h <<_ACEOF
11 kx #define PACKAGE_STRING "$PACKAGE_STRING"
11 kx _ACEOF
11 kx
11 kx cat >>confdefs.h <<_ACEOF
11 kx #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
11 kx _ACEOF
11 kx
11 kx cat >>confdefs.h <<_ACEOF
11 kx #define PACKAGE_URL "$PACKAGE_URL"
11 kx _ACEOF
11 kx
11 kx
11 kx # Let the site file select an alternate cache file if it wants to.
11 kx # Prefer an explicitly selected file to automatically selected ones.
11 kx ac_site_file1=NONE
11 kx ac_site_file2=NONE
11 kx if test -n "$CONFIG_SITE"; then
11 kx # We do not want a PATH search for config.site.
11 kx case $CONFIG_SITE in #((
11 kx -*) ac_site_file1=./$CONFIG_SITE;;
11 kx */*) ac_site_file1=$CONFIG_SITE;;
11 kx *) ac_site_file1=./$CONFIG_SITE;;
11 kx esac
11 kx elif test "x$prefix" != xNONE; then
11 kx ac_site_file1=$prefix/share/config.site
11 kx ac_site_file2=$prefix/etc/config.site
11 kx else
11 kx ac_site_file1=$ac_default_prefix/share/config.site
11 kx ac_site_file2=$ac_default_prefix/etc/config.site
11 kx fi
11 kx for ac_site_file in "$ac_site_file1" "$ac_site_file2"
11 kx do
11 kx test "x$ac_site_file" = xNONE && continue
11 kx if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
11 kx $as_echo "$as_me: loading site script $ac_site_file" >&6;}
11 kx sed 's/^/| /' "$ac_site_file" >&5
11 kx . "$ac_site_file" \
11 kx || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11 kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11 kx as_fn_error $? "failed to load site script $ac_site_file
11 kx See \`config.log' for more details" "$LINENO" 5; }
11 kx fi
11 kx done
11 kx
11 kx if test -r "$cache_file"; then
11 kx # Some versions of bash will fail to source /dev/null (special files
11 kx # actually), so we avoid doing that. DJGPP emulates it as a regular file.
11 kx if test /dev/null != "$cache_file" && test -f "$cache_file"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
11 kx $as_echo "$as_me: loading cache $cache_file" >&6;}
11 kx case $cache_file in
11 kx [\\/]* | ?:[\\/]* ) . "$cache_file";;
11 kx *) . "./$cache_file";;
11 kx esac
11 kx fi
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
11 kx $as_echo "$as_me: creating cache $cache_file" >&6;}
11 kx >$cache_file
11 kx fi
11 kx
11 kx # Check that the precious variables saved in the cache have kept the same
11 kx # value.
11 kx ac_cache_corrupted=false
11 kx for ac_var in $ac_precious_vars; do
11 kx eval ac_old_set=\$ac_cv_env_${ac_var}_set
11 kx eval ac_new_set=\$ac_env_${ac_var}_set
11 kx eval ac_old_val=\$ac_cv_env_${ac_var}_value
11 kx eval ac_new_val=\$ac_env_${ac_var}_value
11 kx case $ac_old_set,$ac_new_set in
11 kx set,)
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
11 kx $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
11 kx ac_cache_corrupted=: ;;
11 kx ,set)
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
11 kx $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
11 kx ac_cache_corrupted=: ;;
11 kx ,);;
11 kx *)
11 kx if test "x$ac_old_val" != "x$ac_new_val"; then
11 kx # differences in whitespace do not lead to failure.
11 kx ac_old_val_w=`echo x $ac_old_val`
11 kx ac_new_val_w=`echo x $ac_new_val`
11 kx if test "$ac_old_val_w" != "$ac_new_val_w"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
11 kx $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
11 kx ac_cache_corrupted=:
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
11 kx $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
11 kx eval $ac_var=\$ac_old_val
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
11 kx $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
11 kx $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
11 kx fi;;
11 kx esac
11 kx # Pass precious variables to config.status.
11 kx if test "$ac_new_set" = set; then
11 kx case $ac_new_val in
11 kx *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
11 kx *) ac_arg=$ac_var=$ac_new_val ;;
11 kx esac
11 kx case " $ac_configure_args " in
11 kx *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
11 kx *) as_fn_append ac_configure_args " '$ac_arg'" ;;
11 kx esac
11 kx fi
11 kx done
11 kx if $ac_cache_corrupted; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11 kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
11 kx $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
11 kx as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
11 kx fi
11 kx ## -------------------- ##
11 kx ## Main body of script. ##
11 kx ## -------------------- ##
11 kx
11 kx ac_ext=c
11 kx ac_cpp='$CPP $CPPFLAGS'
11 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
11 kx
11 kx
11 kx
11 kx ac_config_headers="$ac_config_headers config.h"
11 kx
11 kx ac_aux_dir=
11 kx for ac_dir in scripts "$srcdir"/scripts; do
11 kx if test -f "$ac_dir/install-sh"; then
11 kx ac_aux_dir=$ac_dir
11 kx ac_install_sh="$ac_aux_dir/install-sh -c"
11 kx break
11 kx elif test -f "$ac_dir/install.sh"; then
11 kx ac_aux_dir=$ac_dir
11 kx ac_install_sh="$ac_aux_dir/install.sh -c"
11 kx break
11 kx elif test -f "$ac_dir/shtool"; then
11 kx ac_aux_dir=$ac_dir
11 kx ac_install_sh="$ac_aux_dir/shtool install -c"
11 kx break
11 kx fi
11 kx done
11 kx if test -z "$ac_aux_dir"; then
11 kx as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts \"$srcdir\"/scripts" "$LINENO" 5
11 kx fi
11 kx
11 kx # These three variables are undocumented and unsupported,
11 kx # and are intended to be withdrawn in a future Autoconf release.
11 kx # They can cause serious problems if a builder's source tree is in a directory
11 kx # whose full name contains unusual characters.
11 kx ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
11 kx ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
11 kx ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx # Check whether --with-pkgversion was given.
11 kx if test "${with_pkgversion+set}" = set; then :
11 kx withval=$with_pkgversion; case "$withval" in
11 kx yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
11 kx no) PKGVERSION= ;;
11 kx *) PKGVERSION="($withval) " ;;
11 kx esac
11 kx else
11 kx PKGVERSION="(GNU libc) "
11 kx
11 kx fi
11 kx
11 kx PKGVERSION_TEXI=`echo "$PKGVERSION" | sed 's/@/@@/g'`
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx # Check whether --with-bugurl was given.
11 kx if test "${with_bugurl+set}" = set; then :
11 kx withval=$with_bugurl; case "$withval" in
11 kx yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
11 kx no) BUGURL=
11 kx ;;
11 kx *) BUGURL="$withval"
11 kx ;;
11 kx esac
11 kx else
11 kx BUGURL="https://www.gnu.org/software/libc/bugs.html"
11 kx
11 kx fi
11 kx
11 kx case ${BUGURL} in
11 kx "")
11 kx REPORT_BUGS_TO=
11 kx REPORT_BUGS_TEXI=
11 kx ;;
11 kx *)
11 kx REPORT_BUGS_TO="<$BUGURL>"
11 kx REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
11 kx ;;
11 kx esac;
11 kx
11 kx
11 kx
11 kx
11 kx cat >>confdefs.h <<_ACEOF
11 kx #define PKGVERSION "$PKGVERSION"
11 kx _ACEOF
11 kx
11 kx
11 kx cat >>confdefs.h <<_ACEOF
11 kx #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
11 kx _ACEOF
11 kx
11 kx
11 kx # Glibc should not depend on any header files
11 kx
11 kx
11 kx # We require GCC, and by default use its preprocessor. Override AC_PROG_CPP
11 kx # here to work around the Autoconf issue discussed in
11 kx # <https://sourceware.org/ml/libc-alpha/2013-01/msg00721.html>.
11 kx # AC_PROG_CPP
11 kx
11 kx # We require GCC. Override _AC_PROG_CC_C89 here to work around the Autoconf
11 kx # issue discussed in
11 kx # <https://sourceware.org/ml/libc-alpha/2013-01/msg00757.html>.
11 kx
11 kx
11 kx
11 kx
11 kx subdirs="$subdirs "
11 kx
11 kx
11 kx # Make sure we can run config.sub.
11 kx $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
11 kx as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
11 kx $as_echo_n "checking build system type... " >&6; }
11 kx if ${ac_cv_build+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx ac_build_alias=$build_alias
11 kx test "x$ac_build_alias" = x &&
11 kx ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
11 kx test "x$ac_build_alias" = x &&
11 kx as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
11 kx ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
11 kx as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
11 kx $as_echo "$ac_cv_build" >&6; }
11 kx case $ac_cv_build in
11 kx *-*-*) ;;
11 kx *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
11 kx esac
11 kx build=$ac_cv_build
11 kx ac_save_IFS=$IFS; IFS='-'
11 kx set x $ac_cv_build
11 kx shift
11 kx build_cpu=$1
11 kx build_vendor=$2
11 kx shift; shift
11 kx # Remember, the first character of IFS is used to create $*,
11 kx # except with old shells:
11 kx build_os=$*
11 kx IFS=$ac_save_IFS
11 kx case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
11 kx $as_echo_n "checking host system type... " >&6; }
11 kx if ${ac_cv_host+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test "x$host_alias" = x; then
11 kx ac_cv_host=$ac_cv_build
11 kx else
11 kx ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
11 kx as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
11 kx fi
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
11 kx $as_echo "$ac_cv_host" >&6; }
11 kx case $ac_cv_host in
11 kx *-*-*) ;;
11 kx *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
11 kx esac
11 kx host=$ac_cv_host
11 kx ac_save_IFS=$IFS; IFS='-'
11 kx set x $ac_cv_host
11 kx shift
11 kx host_cpu=$1
11 kx host_vendor=$2
11 kx shift; shift
11 kx # Remember, the first character of IFS is used to create $*,
11 kx # except with old shells:
11 kx host_os=$*
11 kx IFS=$ac_save_IFS
11 kx case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
11 kx
11 kx
11 kx
11 kx ac_ext=c
11 kx ac_cpp='$CPP $CPPFLAGS'
11 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
11 kx if test -n "$ac_tool_prefix"; then
11 kx # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11 kx set dummy ${ac_tool_prefix}gcc; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_CC+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$CC"; then
11 kx ac_cv_prog_CC="$CC" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_CC="${ac_tool_prefix}gcc"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx CC=$ac_cv_prog_CC
11 kx if test -n "$CC"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11 kx $as_echo "$CC" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx fi
11 kx if test -z "$ac_cv_prog_CC"; then
11 kx ac_ct_CC=$CC
11 kx # Extract the first word of "gcc", so it can be a program name with args.
11 kx set dummy gcc; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_ac_ct_CC+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$ac_ct_CC"; then
11 kx ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_ac_ct_CC="gcc"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx ac_ct_CC=$ac_cv_prog_ac_ct_CC
11 kx if test -n "$ac_ct_CC"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11 kx $as_echo "$ac_ct_CC" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx if test "x$ac_ct_CC" = x; then
11 kx CC=""
11 kx else
11 kx case $cross_compiling:$ac_tool_warned in
11 kx yes:)
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11 kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11 kx ac_tool_warned=yes ;;
11 kx esac
11 kx CC=$ac_ct_CC
11 kx fi
11 kx else
11 kx CC="$ac_cv_prog_CC"
11 kx fi
11 kx
11 kx if test -z "$CC"; then
11 kx if test -n "$ac_tool_prefix"; then
11 kx # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11 kx set dummy ${ac_tool_prefix}cc; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_CC+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$CC"; then
11 kx ac_cv_prog_CC="$CC" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_CC="${ac_tool_prefix}cc"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx CC=$ac_cv_prog_CC
11 kx if test -n "$CC"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11 kx $as_echo "$CC" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx fi
11 kx fi
11 kx if test -z "$CC"; then
11 kx # Extract the first word of "cc", so it can be a program name with args.
11 kx set dummy cc; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_CC+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$CC"; then
11 kx ac_cv_prog_CC="$CC" # Let the user override the test.
11 kx else
11 kx ac_prog_rejected=no
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11 kx ac_prog_rejected=yes
11 kx continue
11 kx fi
11 kx ac_cv_prog_CC="cc"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx if test $ac_prog_rejected = yes; then
11 kx # We found a bogon in the path, so make sure we never use it.
11 kx set dummy $ac_cv_prog_CC
11 kx shift
11 kx if test $# != 0; then
11 kx # We chose a different compiler from the bogus one.
11 kx # However, it has the same basename, so the bogon will be chosen
11 kx # first if we set CC to just the basename; use the full file name.
11 kx shift
11 kx ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11 kx fi
11 kx fi
11 kx fi
11 kx fi
11 kx CC=$ac_cv_prog_CC
11 kx if test -n "$CC"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11 kx $as_echo "$CC" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx fi
11 kx if test -z "$CC"; then
11 kx if test -n "$ac_tool_prefix"; then
11 kx for ac_prog in cl.exe
11 kx do
11 kx # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_CC+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$CC"; then
11 kx ac_cv_prog_CC="$CC" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx CC=$ac_cv_prog_CC
11 kx if test -n "$CC"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11 kx $as_echo "$CC" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$CC" && break
11 kx done
11 kx fi
11 kx if test -z "$CC"; then
11 kx ac_ct_CC=$CC
11 kx for ac_prog in cl.exe
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_ac_ct_CC+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$ac_ct_CC"; then
11 kx ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_ac_ct_CC="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx ac_ct_CC=$ac_cv_prog_ac_ct_CC
11 kx if test -n "$ac_ct_CC"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11 kx $as_echo "$ac_ct_CC" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$ac_ct_CC" && break
11 kx done
11 kx
11 kx if test "x$ac_ct_CC" = x; then
11 kx CC=""
11 kx else
11 kx case $cross_compiling:$ac_tool_warned in
11 kx yes:)
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11 kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11 kx ac_tool_warned=yes ;;
11 kx esac
11 kx CC=$ac_ct_CC
11 kx fi
11 kx fi
11 kx
11 kx fi
11 kx
11 kx
11 kx test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11 kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11 kx as_fn_error $? "no acceptable C compiler found in \$PATH
11 kx See \`config.log' for more details" "$LINENO" 5; }
11 kx
11 kx # Provide some information about the compiler.
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11 kx set X $ac_compile
11 kx ac_compiler=$2
11 kx for ac_option in --version -v -V -qversion; do
11 kx { { ac_try="$ac_compiler $ac_option >&5"
11 kx case "(($ac_try" in
11 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11 kx *) ac_try_echo=$ac_try;;
11 kx esac
11 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11 kx $as_echo "$ac_try_echo"; } >&5
11 kx (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11 kx ac_status=$?
11 kx if test -s conftest.err; then
11 kx sed '10a\
11 kx ... rest of stderr output deleted ...
11 kx 10q' conftest.err >conftest.er1
11 kx cat conftest.er1 >&5
11 kx fi
11 kx rm -f conftest.er1 conftest.err
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }
11 kx done
11 kx
11 kx EXEEXT=
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
11 kx $as_echo_n "checking for suffix of object files... " >&6; }
11 kx if ${ac_cv_objext+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx rm -f conftest.o conftest.obj
11 kx if { { ac_try="$ac_compile"
11 kx case "(($ac_try" in
11 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11 kx *) ac_try_echo=$ac_try;;
11 kx esac
11 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11 kx $as_echo "$ac_try_echo"; } >&5
11 kx (eval "$ac_compile") 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; then :
11 kx for ac_file in conftest.o conftest.obj conftest.*; do
11 kx test -f "$ac_file" || continue;
11 kx case $ac_file in
11 kx *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
11 kx *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11 kx break;;
11 kx esac
11 kx done
11 kx else
11 kx $as_echo "$as_me: failed program was:" >&5
11 kx sed 's/^/| /' conftest.$ac_ext >&5
11 kx
11 kx { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11 kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11 kx as_fn_error $? "cannot compute suffix of object files: cannot compile
11 kx See \`config.log' for more details" "$LINENO" 5; }
11 kx fi
11 kx rm -f conftest.$ac_cv_objext conftest.$ac_ext
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
11 kx $as_echo "$ac_cv_objext" >&6; }
11 kx OBJEXT=$ac_cv_objext
11 kx ac_objext=$OBJEXT
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11 kx $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11 kx if ${ac_cv_c_compiler_gnu+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx #ifndef __GNUC__
11 kx choke me
11 kx #endif
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_compile "$LINENO"; then :
11 kx ac_compiler_gnu=yes
11 kx else
11 kx ac_compiler_gnu=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx ac_cv_c_compiler_gnu=$ac_compiler_gnu
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11 kx $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11 kx if test $ac_compiler_gnu = yes; then
11 kx GCC=yes
11 kx else
11 kx GCC=
11 kx fi
11 kx ac_test_CFLAGS=${CFLAGS+set}
11 kx ac_save_CFLAGS=$CFLAGS
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11 kx $as_echo_n "checking whether $CC accepts -g... " >&6; }
11 kx if ${ac_cv_prog_cc_g+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx ac_save_c_werror_flag=$ac_c_werror_flag
11 kx ac_c_werror_flag=yes
11 kx ac_cv_prog_cc_g=no
11 kx CFLAGS="-g"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_compile "$LINENO"; then :
11 kx ac_cv_prog_cc_g=yes
11 kx else
11 kx CFLAGS=""
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_compile "$LINENO"; then :
11 kx
11 kx else
11 kx ac_c_werror_flag=$ac_save_c_werror_flag
11 kx CFLAGS="-g"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_compile "$LINENO"; then :
11 kx ac_cv_prog_cc_g=yes
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx ac_c_werror_flag=$ac_save_c_werror_flag
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11 kx $as_echo "$ac_cv_prog_cc_g" >&6; }
11 kx if test "$ac_test_CFLAGS" = set; then
11 kx CFLAGS=$ac_save_CFLAGS
11 kx elif test $ac_cv_prog_cc_g = yes; then
11 kx if test "$GCC" = yes; then
11 kx CFLAGS="-g -O2"
11 kx else
11 kx CFLAGS="-g"
11 kx fi
11 kx else
11 kx if test "$GCC" = yes; then
11 kx CFLAGS="-O2"
11 kx else
11 kx CFLAGS=
11 kx fi
11 kx fi
11 kx
11 kx ac_ext=c
11 kx ac_cpp='$CPP $CPPFLAGS'
11 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
11 kx
11 kx if test $host != $build; then
11 kx for ac_prog in gcc cc
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_BUILD_CC+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$BUILD_CC"; then
11 kx ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_BUILD_CC="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx BUILD_CC=$ac_cv_prog_BUILD_CC
11 kx if test -n "$BUILD_CC"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
11 kx $as_echo "$BUILD_CC" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$BUILD_CC" && break
11 kx done
11 kx
11 kx fi
11 kx
11 kx # On Suns, sometimes $CPP names a directory.
11 kx if test -n "$CPP" && test -d "$CPP"; then
11 kx CPP=
11 kx fi
11 kx if test -z "$CPP"; then
11 kx CPP="$CC -E"
11 kx fi
11 kx
11 kx
11 kx # We need the C++ compiler only for testing.
11 kx ac_ext=cpp
11 kx ac_cpp='$CXXCPP $CPPFLAGS'
11 kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11 kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11 kx if test -z "$CXX"; then
11 kx if test -n "$CCC"; then
11 kx CXX=$CCC
11 kx else
11 kx if test -n "$ac_tool_prefix"; then
11 kx for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11 kx do
11 kx # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_CXX+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$CXX"; then
11 kx ac_cv_prog_CXX="$CXX" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx CXX=$ac_cv_prog_CXX
11 kx if test -n "$CXX"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11 kx $as_echo "$CXX" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$CXX" && break
11 kx done
11 kx fi
11 kx if test -z "$CXX"; then
11 kx ac_ct_CXX=$CXX
11 kx for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_ac_ct_CXX+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$ac_ct_CXX"; then
11 kx ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_ac_ct_CXX="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11 kx if test -n "$ac_ct_CXX"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11 kx $as_echo "$ac_ct_CXX" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$ac_ct_CXX" && break
11 kx done
11 kx
11 kx if test "x$ac_ct_CXX" = x; then
11 kx CXX="g++"
11 kx else
11 kx case $cross_compiling:$ac_tool_warned in
11 kx yes:)
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11 kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11 kx ac_tool_warned=yes ;;
11 kx esac
11 kx CXX=$ac_ct_CXX
11 kx fi
11 kx fi
11 kx
11 kx fi
11 kx fi
11 kx # Provide some information about the compiler.
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11 kx set X $ac_compile
11 kx ac_compiler=$2
11 kx for ac_option in --version -v -V -qversion; do
11 kx { { ac_try="$ac_compiler $ac_option >&5"
11 kx case "(($ac_try" in
11 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11 kx *) ac_try_echo=$ac_try;;
11 kx esac
11 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11 kx $as_echo "$ac_try_echo"; } >&5
11 kx (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11 kx ac_status=$?
11 kx if test -s conftest.err; then
11 kx sed '10a\
11 kx ... rest of stderr output deleted ...
11 kx 10q' conftest.err >conftest.er1
11 kx cat conftest.er1 >&5
11 kx fi
11 kx rm -f conftest.er1 conftest.err
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }
11 kx done
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11 kx $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11 kx if ${ac_cv_cxx_compiler_gnu+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx #ifndef __GNUC__
11 kx choke me
11 kx #endif
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_cxx_try_compile "$LINENO"; then :
11 kx ac_compiler_gnu=yes
11 kx else
11 kx ac_compiler_gnu=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11 kx $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11 kx if test $ac_compiler_gnu = yes; then
11 kx GXX=yes
11 kx else
11 kx GXX=
11 kx fi
11 kx ac_test_CXXFLAGS=${CXXFLAGS+set}
11 kx ac_save_CXXFLAGS=$CXXFLAGS
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11 kx $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11 kx if ${ac_cv_prog_cxx_g+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11 kx ac_cxx_werror_flag=yes
11 kx ac_cv_prog_cxx_g=no
11 kx CXXFLAGS="-g"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_cxx_try_compile "$LINENO"; then :
11 kx ac_cv_prog_cxx_g=yes
11 kx else
11 kx CXXFLAGS=""
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_cxx_try_compile "$LINENO"; then :
11 kx
11 kx else
11 kx ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11 kx CXXFLAGS="-g"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_cxx_try_compile "$LINENO"; then :
11 kx ac_cv_prog_cxx_g=yes
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11 kx $as_echo "$ac_cv_prog_cxx_g" >&6; }
11 kx if test "$ac_test_CXXFLAGS" = set; then
11 kx CXXFLAGS=$ac_save_CXXFLAGS
11 kx elif test $ac_cv_prog_cxx_g = yes; then
11 kx if test "$GXX" = yes; then
11 kx CXXFLAGS="-g -O2"
11 kx else
11 kx CXXFLAGS="-g"
11 kx fi
11 kx else
11 kx if test "$GXX" = yes; then
11 kx CXXFLAGS="-O2"
11 kx else
11 kx CXXFLAGS=
11 kx fi
11 kx fi
11 kx ac_ext=c
11 kx ac_cpp='$CPP $CPPFLAGS'
11 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
11 kx
11 kx # It's useless to us if it can't link programs (e.g. missing -lstdc++).
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX can link programs" >&5
11 kx $as_echo_n "checking whether $CXX can link programs... " >&6; }
11 kx if ${libc_cv_cxx_link_ok+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx ac_ext=cpp
11 kx ac_cpp='$CXXCPP $CPPFLAGS'
11 kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11 kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11 kx
11 kx # Default, dynamic case.
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_cxx_try_link "$LINENO"; then :
11 kx libc_cv_cxx_link_ok=yes
11 kx else
11 kx libc_cv_cxx_link_ok=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext \
11 kx conftest$ac_exeext conftest.$ac_ext
11 kx # Static case.
11 kx old_LDFLAGS="$LDFLAGS"
11 kx LDFLAGS="$LDFLAGS -static"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx #include <iostream>
11 kx
11 kx int
11 kx main()
11 kx {
11 kx std::cout << "Hello, world!";
11 kx return 0;
11 kx }
11 kx
11 kx _ACEOF
11 kx if ac_fn_cxx_try_link "$LINENO"; then :
11 kx
11 kx else
11 kx libc_cv_cxx_link_ok=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext \
11 kx conftest$ac_exeext conftest.$ac_ext
11 kx LDFLAGS="$old_LDFLAGS"
11 kx ac_ext=c
11 kx ac_cpp='$CPP $CPPFLAGS'
11 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_link_ok" >&5
11 kx $as_echo "$libc_cv_cxx_link_ok" >&6; }
11 kx if test $libc_cv_cxx_link_ok != yes; then :
11 kx CXX=
11 kx fi
11 kx
11 kx if test "`cd $srcdir; pwd -P`" = "`pwd -P`"; then
11 kx as_fn_error $? "you must configure in a separate build directory" "$LINENO" 5
11 kx fi
11 kx
11 kx # This will get text that should go into config.make.
11 kx config_vars=
11 kx
11 kx # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
11 kx
11 kx # Check whether --with-gd was given.
11 kx if test "${with_gd+set}" = set; then :
11 kx withval=$with_gd; case "$with_gd" in
11 kx yes|''|no) ;;
11 kx *) libgd_include="-I$withval/include"
11 kx libgd_ldflags="-L$withval/lib" ;;
11 kx esac
11 kx
11 kx fi
11 kx
11 kx
11 kx # Check whether --with-gd-include was given.
11 kx if test "${with_gd_include+set}" = set; then :
11 kx withval=$with_gd_include; case "$with_gd_include" in
11 kx ''|no) ;;
11 kx *) libgd_include="-I$withval" ;;
11 kx esac
11 kx
11 kx fi
11 kx
11 kx
11 kx # Check whether --with-gd-lib was given.
11 kx if test "${with_gd_lib+set}" = set; then :
11 kx withval=$with_gd_lib; case "$with_gd_lib" in
11 kx ''|no) ;;
11 kx *) libgd_ldflags="-L$withval" ;;
11 kx esac
11 kx
11 kx fi
11 kx
11 kx
11 kx if test -n "$libgd_include"; then
11 kx config_vars="$config_vars
11 kx CFLAGS-memusagestat.c = $libgd_include"
11 kx fi
11 kx if test -n "$libgd_ldflags"; then
11 kx config_vars="$config_vars
11 kx libgd-LDFLAGS = $libgd_ldflags"
11 kx fi
11 kx
11 kx
11 kx # Check whether --with-binutils was given.
11 kx if test "${with_binutils+set}" = set; then :
11 kx withval=$with_binutils; path_binutils=$withval
11 kx else
11 kx path_binutils=''
11 kx fi
11 kx
11 kx
11 kx # Check whether --with-selinux was given.
11 kx if test "${with_selinux+set}" = set; then :
11 kx withval=$with_selinux; with_selinux=$withval
11 kx else
11 kx with_selinux=auto
11 kx fi
11 kx
11 kx
11 kx
11 kx # Check whether --with-headers was given.
11 kx if test "${with_headers+set}" = set; then :
11 kx withval=$with_headers; sysheaders=$withval
11 kx else
11 kx sysheaders=''
11 kx fi
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx # Check whether --with-default-link was given.
11 kx if test "${with_default_link+set}" = set; then :
11 kx withval=$with_default_link; use_default_link=$withval
11 kx else
11 kx use_default_link=no
11 kx fi
11 kx
11 kx
11 kx
11 kx # Check whether --with-nonshared-cflags was given.
11 kx if test "${with_nonshared_cflags+set}" = set; then :
11 kx withval=$with_nonshared_cflags; extra_nonshared_cflags=$withval
11 kx else
11 kx extra_nonshared_cflags=
11 kx fi
11 kx
11 kx
11 kx
11 kx # Check whether --with-rtld-early-cflags was given.
11 kx if test "${with_rtld_early_cflags+set}" = set; then :
11 kx withval=$with_rtld_early_cflags; rtld_early_cflags=$withval
11 kx else
11 kx rtld_early_cflags=
11 kx fi
11 kx
11 kx
11 kx
11 kx
11 kx # Check whether --with-timeoutfactor was given.
11 kx if test "${with_timeoutfactor+set}" = set; then :
11 kx withval=$with_timeoutfactor; timeoutfactor=$withval
11 kx else
11 kx timeoutfactor=1
11 kx fi
11 kx
11 kx cat >>confdefs.h <<_ACEOF
11 kx #define TIMEOUTFACTOR $timeoutfactor
11 kx _ACEOF
11 kx
11 kx
11 kx # Check whether --enable-sanity-checks was given.
11 kx if test "${enable_sanity_checks+set}" = set; then :
11 kx enableval=$enable_sanity_checks; enable_sanity=$enableval
11 kx else
11 kx enable_sanity=yes
11 kx fi
11 kx
11 kx
11 kx # Check whether --enable-shared was given.
11 kx if test "${enable_shared+set}" = set; then :
11 kx enableval=$enable_shared; shared=$enableval
11 kx else
11 kx shared=yes
11 kx fi
11 kx
11 kx # Check whether --enable-profile was given.
11 kx if test "${enable_profile+set}" = set; then :
11 kx enableval=$enable_profile; profile=$enableval
11 kx else
11 kx profile=no
11 kx fi
11 kx
11 kx # Check whether --enable-default-pie was given.
11 kx if test "${enable_default_pie+set}" = set; then :
11 kx enableval=$enable_default_pie; default_pie=$enableval
11 kx else
11 kx default_pie=yes
11 kx fi
11 kx
11 kx # Check whether --enable-timezone-tools was given.
11 kx if test "${enable_timezone_tools+set}" = set; then :
11 kx enableval=$enable_timezone_tools; enable_timezone_tools=$enableval
11 kx else
11 kx enable_timezone_tools=yes
11 kx fi
11 kx
11 kx
11 kx
11 kx # Check whether --enable-hardcoded-path-in-tests was given.
11 kx if test "${enable_hardcoded_path_in_tests+set}" = set; then :
11 kx enableval=$enable_hardcoded_path_in_tests; hardcoded_path_in_tests=$enableval
11 kx else
11 kx hardcoded_path_in_tests=no
11 kx fi
11 kx
11 kx
11 kx
11 kx # Check whether --enable-hidden-plt was given.
11 kx if test "${enable_hidden_plt+set}" = set; then :
11 kx enableval=$enable_hidden_plt; hidden=$enableval
11 kx else
11 kx hidden=yes
11 kx fi
11 kx
11 kx if test "x$hidden" = xno; then
11 kx $as_echo "#define NO_HIDDEN 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx # Check whether --enable-bind-now was given.
11 kx if test "${enable_bind_now+set}" = set; then :
11 kx enableval=$enable_bind_now; bindnow=$enableval
11 kx else
11 kx bindnow=no
11 kx fi
11 kx
11 kx
11 kx if test "x$bindnow" = xyes; then
11 kx $as_echo "#define BIND_NOW 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx # Check whether --enable-stack-protector was given.
11 kx if test "${enable_stack_protector+set}" = set; then :
11 kx enableval=$enable_stack_protector; enable_stack_protector=$enableval
11 kx else
11 kx enable_stack_protector=no
11 kx fi
11 kx
11 kx case "$enable_stack_protector" in
11 kx all|yes|no|strong) ;;
11 kx *) as_fn_error $? "Not a valid argument for --enable-stack-protector: \"$enable_stack_protector\"" "$LINENO" 5;;
11 kx esac
11 kx
11 kx # Check whether --enable-static-nss was given.
11 kx if test "${enable_static_nss+set}" = set; then :
11 kx enableval=$enable_static_nss; static_nss=$enableval
11 kx else
11 kx static_nss=no
11 kx fi
11 kx
11 kx if test x"$static_nss" = xyes || test x"$shared" = xno; then
11 kx static_nss=yes
11 kx $as_echo "#define DO_STATIC_NSS 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx # Check whether --enable-force-install was given.
11 kx if test "${enable_force_install+set}" = set; then :
11 kx enableval=$enable_force_install; force_install=$enableval
11 kx else
11 kx force_install=yes
11 kx fi
11 kx
11 kx
11 kx
11 kx # Check whether --enable-maintainer-mode was given.
11 kx if test "${enable_maintainer_mode+set}" = set; then :
11 kx enableval=$enable_maintainer_mode; maintainer=$enableval
11 kx else
11 kx maintainer=no
11 kx fi
11 kx
11 kx
11 kx # Check whether --enable-kernel was given.
11 kx if test "${enable_kernel+set}" = set; then :
11 kx enableval=$enable_kernel; minimum_kernel=$enableval
11 kx fi
11 kx
11 kx if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
11 kx # Better nothing than this.
11 kx minimum_kernel=""
11 kx else
11 kx if test "$minimum_kernel" = current; then
11 kx minimum_kernel=`uname -r 2>/dev/null` || minimum_kernel=
11 kx fi
11 kx fi
11 kx
11 kx # Check whether --enable-all-warnings was given.
11 kx if test "${enable_all_warnings+set}" = set; then :
11 kx enableval=$enable_all_warnings; all_warnings=$enableval
11 kx fi
11 kx
11 kx
11 kx
11 kx # Check whether --enable-werror was given.
11 kx if test "${enable_werror+set}" = set; then :
11 kx enableval=$enable_werror; enable_werror=$enableval
11 kx else
11 kx enable_werror=yes
11 kx fi
11 kx
11 kx
11 kx
11 kx # Check whether --enable-multi-arch was given.
11 kx if test "${enable_multi_arch+set}" = set; then :
11 kx enableval=$enable_multi_arch; multi_arch=$enableval
11 kx else
11 kx multi_arch=default
11 kx fi
11 kx
11 kx
11 kx # Check whether --enable-experimental-malloc was given.
11 kx if test "${enable_experimental_malloc+set}" = set; then :
11 kx enableval=$enable_experimental_malloc; experimental_malloc=$enableval
11 kx else
11 kx experimental_malloc=yes
11 kx fi
11 kx
11 kx
11 kx
11 kx # Check whether --enable-memory-tagging was given.
11 kx if test "${enable_memory_tagging+set}" = set; then :
11 kx enableval=$enable_memory_tagging; memory_tagging=$enableval
11 kx else
11 kx memory_tagging=no
11 kx fi
11 kx
11 kx if test "$memory_tagging" = yes; then
11 kx # Only enable this on architectures that support it.
11 kx case $host_cpu in
11 kx aarch64)
11 kx $as_echo "#define USE_MTAG 1" >>confdefs.h
11 kx
11 kx ;;
11 kx esac
11 kx fi
11 kx
11 kx
11 kx # Check whether --enable-crypt was given.
11 kx if test "${enable_crypt+set}" = set; then :
11 kx enableval=$enable_crypt; build_crypt=$enableval
11 kx else
11 kx build_crypt=yes
11 kx fi
11 kx
11 kx
11 kx
11 kx # Check whether --enable-nss-crypt was given.
11 kx if test "${enable_nss_crypt+set}" = set; then :
11 kx enableval=$enable_nss_crypt; nss_crypt=$enableval
11 kx else
11 kx nss_crypt=no
11 kx fi
11 kx
11 kx if test x$build_libcrypt = xno && test x$nss_crypt = xyes; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-nss-crypt has no effect when libcrypt is disabled" >&5
11 kx $as_echo "$as_me: WARNING: --enable-nss-crypt has no effect when libcrypt is disabled" >&2;}
11 kx nss_crypt=no
11 kx fi
11 kx if test x$nss_crypt = xyes; then
11 kx nss_includes=-I$(nss-config --includedir 2>/dev/null)
11 kx if test $? -ne 0; then
11 kx as_fn_error $? "cannot find include directory with nss-config" "$LINENO" 5
11 kx fi
11 kx nspr_includes=-I$(nspr-config --includedir 2>/dev/null)
11 kx if test $? -ne 0; then
11 kx as_fn_error $? "cannot find include directory with nspr-config" "$LINENO" 5
11 kx fi
11 kx old_CFLAGS="$CFLAGS"
11 kx CFLAGS="$CFLAGS $nss_includes $nspr_includes"
11 kx
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx typedef int PRBool;
11 kx #include <hasht.h>
11 kx #include <nsslowhash.h>
11 kx void f (void) { NSSLOW_Init (); }
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_compile "$LINENO"; then :
11 kx libc_cv_nss_crypt=yes
11 kx else
11 kx as_fn_error $? "
11 kx cannot find NSS headers with lowlevel hash function interfaces" "$LINENO" 5
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx old_LIBS="$LIBS"
11 kx old_LDFLAGS="$LDFLAGS"
11 kx LIBS="$LIBS -lfreebl3"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx typedef int PRBool;
11 kx #include <hasht.h>
11 kx #include <nsslowhash.h>
11 kx int
11 kx main ()
11 kx {
11 kx NSSLOW_Init();
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_link "$LINENO"; then :
11 kx libc_cv_nss_crypt=yes
11 kx else
11 kx as_fn_error $? "
11 kx cannot link program using lowlevel NSS hash functions" "$LINENO" 5
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext \
11 kx conftest$ac_exeext conftest.$ac_ext
11 kx # Check to see if there is a static NSS cryptographic library.
11 kx # If there isn't then we can't link anything with libcrypt.a,
11 kx # and that might mean disabling some static tests.
11 kx LDFLAGS="$LDFLAGS -static"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx typedef int PRBool;
11 kx #include <hasht.h>
11 kx #include <nsslowhash.h>
11 kx int
11 kx main ()
11 kx {
11 kx NSSLOW_Init();
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_link "$LINENO"; then :
11 kx libc_cv_static_nss_crypt=yes
11 kx else
11 kx libc_cv_static_nss_crypt=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext \
11 kx conftest$ac_exeext conftest.$ac_ext
11 kx LDFLAGS="$old_LDFLAGS"
11 kx CFLAGS="$old_CFLAGS"
11 kx LIBS="$old_LIBS"
11 kx else
11 kx libc_cv_nss_crypt=no
11 kx libc_cv_static_nss_crypt=no
11 kx fi
11 kx
11 kx
11 kx
11 kx
11 kx # Check whether --enable-systemtap was given.
11 kx if test "${enable_systemtap+set}" = set; then :
11 kx enableval=$enable_systemtap; systemtap=$enableval
11 kx else
11 kx systemtap=no
11 kx fi
11 kx
11 kx if test "x$systemtap" != xno; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemtap static probe support" >&5
11 kx $as_echo_n "checking for systemtap static probe support... " >&6; }
11 kx if ${libc_cv_sdt+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx old_CFLAGS="$CFLAGS"
11 kx CFLAGS="-std=gnu11 $CFLAGS"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx #include <sys/sdt.h>
11 kx void foo (int i, void *p)
11 kx {
11 kx asm ("" STAP_PROBE_ASM (foo, bar, STAP_PROBE_ASM_TEMPLATE (2)) ""
11 kx :: STAP_PROBE_ASM_OPERANDS (2, i, p));
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_compile "$LINENO"; then :
11 kx libc_cv_sdt=yes
11 kx else
11 kx libc_cv_sdt=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx CFLAGS="$old_CFLAGS"
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_sdt" >&5
11 kx $as_echo "$libc_cv_sdt" >&6; }
11 kx if test $libc_cv_sdt = yes; then
11 kx $as_echo "#define USE_STAP_PROBE 1" >>confdefs.h
11 kx
11 kx elif test "x$systemtap" != xauto; then
11 kx { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11 kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11 kx as_fn_error $? "systemtap support needs sys/sdt.h with asm support
11 kx See \`config.log' for more details" "$LINENO" 5; }
11 kx fi
11 kx fi
11 kx
11 kx # Check whether --enable-build-nscd was given.
11 kx if test "${enable_build_nscd+set}" = set; then :
11 kx enableval=$enable_build_nscd; build_nscd=$enableval
11 kx else
11 kx build_nscd=default
11 kx fi
11 kx
11 kx
11 kx
11 kx # Note the use of $use_nscd is near the bottom of the file.
11 kx # Check whether --enable-nscd was given.
11 kx if test "${enable_nscd+set}" = set; then :
11 kx enableval=$enable_nscd; use_nscd=$enableval
11 kx else
11 kx use_nscd=yes
11 kx fi
11 kx
11 kx
11 kx # Check whether --enable-pt_chown was given.
11 kx if test "${enable_pt_chown+set}" = set; then :
11 kx enableval=$enable_pt_chown; build_pt_chown=$enableval
11 kx else
11 kx build_pt_chown=no
11 kx fi
11 kx
11 kx
11 kx if test "$build_pt_chown" = yes; then
11 kx $as_echo "#define HAVE_PT_CHOWN 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx # Check whether --enable-tunables was given.
11 kx if test "${enable_tunables+set}" = set; then :
11 kx enableval=$enable_tunables; have_tunables=$enableval
11 kx else
11 kx have_tunables=yes
11 kx fi
11 kx
11 kx
11 kx if test "$have_tunables" = yes; then
11 kx $as_echo "#define HAVE_TUNABLES 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx # The abi-tags file uses a fairly simplistic model for name recognition that
11 kx # can't distinguish i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a
11 kx # $host_os of `gnu*' here to be `gnu-gnu*' just so that it can tell.
11 kx # This doesn't get used much beyond that, so it's fairly safe.
11 kx case "$host_os" in
11 kx linux*)
11 kx ;;
11 kx gnu*)
11 kx host_os=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
11 kx ;;
11 kx esac
11 kx
11 kx # Check whether --enable-mathvec was given.
11 kx if test "${enable_mathvec+set}" = set; then :
11 kx enableval=$enable_mathvec; build_mathvec=$enableval
11 kx else
11 kx build_mathvec=notset
11 kx fi
11 kx
11 kx
11 kx
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx #ifndef __CET__
11 kx # error no CET compiler support
11 kx #endif
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_cpp "$LINENO"; then :
11 kx libc_cv_compiler_default_cet=yes
11 kx else
11 kx libc_cv_compiler_default_cet=no
11 kx fi
11 kx rm -f conftest.err conftest.i conftest.$ac_ext
11 kx
11 kx # Check whether --enable-cet was given.
11 kx if test "${enable_cet+set}" = set; then :
11 kx enableval=$enable_cet; enable_cet=$enableval
11 kx else
11 kx enable_cet=$libc_cv_compiler_default_cet
11 kx fi
11 kx
11 kx
11 kx # Check whether --enable-scv was given.
11 kx if test "${enable_scv+set}" = set; then :
11 kx enableval=$enable_scv; use_scv=$enableval
11 kx else
11 kx use_scv=yes
11 kx fi
11 kx
11 kx
11 kx if test "$use_scv" != "no"; then :
11 kx $as_echo "#define USE_PPC_SCV 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx # We keep the original values in `$config_*' and never modify them, so we
11 kx # can write them unchanged into config.make. Everything else uses
11 kx # $machine, $vendor, and $os, and changes them whenever convenient.
11 kx config_machine=$host_cpu config_vendor=$host_vendor config_os=$host_os
11 kx
11 kx # Don't allow vendor == "unknown"
11 kx test "$config_vendor" = unknown && config_vendor=
11 kx config_os="`echo $config_os | sed 's/^unknown-//'`"
11 kx
11 kx # Some configurations imply other options.
11 kx elf=yes
11 kx
11 kx # The configure fragment of a port can modify these to supplement
11 kx # or override the table in the case statement below. No fragment should
11 kx # ever change the config_* variables, however.
11 kx machine=$config_machine
11 kx vendor=$config_vendor
11 kx os=$config_os
11 kx base_os=''
11 kx
11 kx submachine=
11 kx
11 kx # Check whether --with-cpu was given.
11 kx if test "${with_cpu+set}" = set; then :
11 kx withval=$with_cpu; case "$withval" in
11 kx yes|'') as_fn_error $? "--with-cpu requires an argument" "$LINENO" 5 ;;
11 kx no) ;;
11 kx *) submachine="$withval" ;;
11 kx esac
11 kx
11 kx fi
11 kx
11 kx
11 kx # An preconfigure script can set this when it wants to disable the sanity
11 kx # check below.
11 kx libc_config_ok=no
11 kx
11 kx # A preconfigure script for a system that may or may not use fpu
11 kx # sysdeps directories sets this to a preprocessor conditional for
11 kx # whether to use such directories.
11 kx with_fp_cond=1
11 kx
11 kx if frags=`ls -d $srcdir/sysdeps/*/preconfigure 2> /dev/null`
11 kx then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysdeps preconfigure fragments" >&5
11 kx $as_echo_n "checking for sysdeps preconfigure fragments... " >&6; }
11 kx for frag in $frags; do
11 kx name=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
11 kx echo $ECHO_N "$name $ECHO_C" >&6
11 kx . "$frag"
11 kx done
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
11 kx $as_echo "" >&6; }
11 kx fi
11 kx
11 kx
11 kx ###
11 kx ### By using the undocumented --enable-hacker-mode option for configure
11 kx ### one can skip this test to make the configuration not fail for unsupported
11 kx ### platforms.
11 kx ###
11 kx if test -z "$enable_hacker_mode" && test x"$libc_config_ok" != xyes; then
11 kx case "$machine-$host_os" in
11 kx *-linux* | *-gnu*)
11 kx ;;
11 kx *)
11 kx as_fn_error $? "
11 kx *** The GNU C library is currently unavailable for this platform.
11 kx *** If you are interested in seeing glibc on this platform visit
11 kx *** the \"How to submit a new port\" in the wiki:
11 kx *** https://sourceware.org/glibc/wiki/#Development
11 kx *** and join the community!" "$LINENO" 5
11 kx ;;
11 kx esac
11 kx fi
11 kx
11 kx # Set base_machine if not set by a preconfigure fragment.
11 kx test -n "$base_machine" || base_machine=$machine
11 kx
11 kx
11 kx ### Locate tools.
11 kx
11 kx # Find a good install program. We prefer a C program (faster),
11 kx # so one script is as good as another. But avoid the broken or
11 kx # incompatible versions:
11 kx # SysV /etc/install, /usr/sbin/install
11 kx # SunOS /usr/etc/install
11 kx # IRIX /sbin/install
11 kx # AIX /bin/install
11 kx # AmigaOS /C/install, which installs bootblocks on floppy discs
11 kx # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11 kx # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11 kx # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11 kx # OS/2's system install, which has a completely different semantic
11 kx # ./install, which can be erroneously created by make from ./install.sh.
11 kx # Reject install programs that cannot install multiple files.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11 kx $as_echo_n "checking for a BSD-compatible install... " >&6; }
11 kx if test -z "$INSTALL"; then
11 kx if ${ac_cv_path_install+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx # Account for people who put trailing slashes in PATH elements.
11 kx case $as_dir/ in #((
11 kx ./ | .// | /[cC]/* | \
11 kx /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11 kx ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
11 kx /usr/ucb/* ) ;;
11 kx *)
11 kx # OSF1 and SCO ODT 3.0 have their own names for install.
11 kx # Don't use installbsd from OSF since it installs stuff as root
11 kx # by default.
11 kx for ac_prog in ginstall scoinst install; do
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11 kx if test $ac_prog = install &&
11 kx grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11 kx # AIX install. It has an incompatible calling convention.
11 kx :
11 kx elif test $ac_prog = install &&
11 kx grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11 kx # program-specific install script used by HP pwplus--don't use.
11 kx :
11 kx else
11 kx rm -rf conftest.one conftest.two conftest.dir
11 kx echo one > conftest.one
11 kx echo two > conftest.two
11 kx mkdir conftest.dir
11 kx if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11 kx test -s conftest.one && test -s conftest.two &&
11 kx test -s conftest.dir/conftest.one &&
11 kx test -s conftest.dir/conftest.two
11 kx then
11 kx ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11 kx break 3
11 kx fi
11 kx fi
11 kx fi
11 kx done
11 kx done
11 kx ;;
11 kx esac
11 kx
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx rm -rf conftest.one conftest.two conftest.dir
11 kx
11 kx fi
11 kx if test "${ac_cv_path_install+set}" = set; then
11 kx INSTALL=$ac_cv_path_install
11 kx else
11 kx # As a last resort, use the slow shell script. Don't cache a
11 kx # value for INSTALL within a source directory, because that will
11 kx # break other packages using the cache if that directory is
11 kx # removed, or if the value is a relative name.
11 kx INSTALL=$ac_install_sh
11 kx fi
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11 kx $as_echo "$INSTALL" >&6; }
11 kx
11 kx # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11 kx # It thinks the first close brace ends the variable substitution.
11 kx test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11 kx
11 kx test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11 kx
11 kx test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11 kx
11 kx if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
11 kx # The makefiles need to use a different form to find it in $srcdir.
11 kx INSTALL='\$(..)./scripts/install-sh -c'
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
11 kx $as_echo_n "checking whether ln -s works... " >&6; }
11 kx LN_S=$as_ln_s
11 kx if test "$LN_S" = "ln -s"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11 kx $as_echo "yes" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
11 kx $as_echo "no, using $LN_S" >&6; }
11 kx fi
11 kx
11 kx
11 kx # Was a --with-binutils option given?
11 kx if test -n "$path_binutils"; then
11 kx # Make absolute; ensure a single trailing slash.
11 kx path_binutils=`(cd $path_binutils; pwd) | sed 's%/*$%/%'`
11 kx CC="$CC -B$path_binutils"
11 kx fi
11 kx case "$CC" in
11 kx *fuse-ld=lld*) LDNAME=ld.lld;;
11 kx *) LDNAME=ld;;
11 kx esac
11 kx if test -z "$LD"; then
11 kx LD=`$CC -print-prog-name=$LDNAME`
11 kx fi
11 kx if test -z "$AR"; then
11 kx AR=`$CC -print-prog-name=ar`
11 kx fi
11 kx
11 kx if test -z "$OBJCOPY"; then
11 kx OBJCOPY=`$CC -print-prog-name=objcopy`
11 kx fi
11 kx
11 kx if test -z "$GPROF"; then
11 kx GPROF=`$CC -print-prog-name=gprof`
11 kx fi
11 kx
11 kx if test -z "$READELF"; then
11 kx READELF=`$CC -print-prog-name=readelf`
11 kx fi
11 kx
11 kx if test -z "$OBJDUMP"; then
11 kx OBJDUMP=`$CC -print-prog-name=objdump`
11 kx fi
11 kx
11 kx if test -z "$NM"; then
11 kx NM=`$CC -print-prog-name=nm`
11 kx fi
11 kx
11 kx
11 kx
11 kx # Accept binutils 2.25 or newer.
11 kx libc_cv_with_lld=no
11 kx case $($LD --version) in
11 kx "GNU gold"*)
11 kx # Accept gold 1.14 or higher
11 kx for ac_prog in $LD
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_LD+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$LD"; then
11 kx ac_cv_prog_LD="$LD" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_LD="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx LD=$ac_cv_prog_LD
11 kx if test -n "$LD"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11 kx $as_echo "$LD" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$LD" && break
11 kx done
11 kx
11 kx if test -z "$LD"; then
11 kx ac_verc_fail=yes
11 kx else
11 kx # Found it, now check the version.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
11 kx $as_echo_n "checking version of $LD... " >&6; }
11 kx ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU gold.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
11 kx case $ac_prog_version in
11 kx '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
11 kx 1.1[4-9]*|1.[2-9][0-9]*|1.1[0-9][0-9]*|[2-9].*|[1-9][0-9]*)
11 kx ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 kx *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
11 kx
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
11 kx $as_echo "$ac_prog_version" >&6; }
11 kx fi
11 kx if test $ac_verc_fail = yes; then
11 kx LD=: critic_missing="$critic_missing GNU gold"
11 kx fi
11 kx
11 kx ;;
11 kx "LLD"*)
11 kx # Accept LLD 13.0.0 or higher
11 kx for ac_prog in $LD
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_LD+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$LD"; then
11 kx ac_cv_prog_LD="$LD" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_LD="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx LD=$ac_cv_prog_LD
11 kx if test -n "$LD"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11 kx $as_echo "$LD" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$LD" && break
11 kx done
11 kx
11 kx if test -z "$LD"; then
11 kx ac_verc_fail=yes
11 kx else
11 kx # Found it, now check the version.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
11 kx $as_echo_n "checking version of $LD... " >&6; }
11 kx ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*LLD.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
11 kx case $ac_prog_version in
11 kx '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
11 kx 1[3-9].*|[2-9][0-9].*)
11 kx ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 kx *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
11 kx
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
11 kx $as_echo "$ac_prog_version" >&6; }
11 kx fi
11 kx if test $ac_verc_fail = yes; then
11 kx LD=: critic_missing="$critic_missing LLD"
11 kx fi
11 kx
11 kx libc_cv_with_lld=yes
11 kx ;;
11 kx *)
11 kx for ac_prog in $LD
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_LD+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$LD"; then
11 kx ac_cv_prog_LD="$LD" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_LD="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx LD=$ac_cv_prog_LD
11 kx if test -n "$LD"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11 kx $as_echo "$LD" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$LD" && break
11 kx done
11 kx
11 kx if test -z "$LD"; then
11 kx ac_verc_fail=yes
11 kx else
11 kx # Found it, now check the version.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
11 kx $as_echo_n "checking version of $LD... " >&6; }
11 kx ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
11 kx case $ac_prog_version in
11 kx '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
11 kx 2.1[0-9][0-9]*|2.2[5-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*)
11 kx ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 kx *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
11 kx
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
11 kx $as_echo "$ac_prog_version" >&6; }
11 kx fi
11 kx if test $ac_verc_fail = yes; then
11 kx LD=: critic_missing="$critic_missing GNU ld"
11 kx fi
11 kx
11 kx ;;
11 kx esac
11 kx config_vars="$config_vars
11 kx with-lld = $libc_cv_with_lld"
11 kx
11 kx # These programs are version sensitive.
11 kx for ac_prog in gnumake gmake make
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_MAKE+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$MAKE"; then
11 kx ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_MAKE="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx MAKE=$ac_cv_prog_MAKE
11 kx if test -n "$MAKE"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
11 kx $as_echo "$MAKE" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$MAKE" && break
11 kx done
11 kx
11 kx if test -z "$MAKE"; then
11 kx ac_verc_fail=yes
11 kx else
11 kx # Found it, now check the version.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKE" >&5
11 kx $as_echo_n "checking version of $MAKE... " >&6; }
11 kx ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
11 kx case $ac_prog_version in
11 kx '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
11 kx [4-9].* | [1-9][0-9]*)
11 kx ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 kx *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
11 kx
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
11 kx $as_echo "$ac_prog_version" >&6; }
11 kx fi
11 kx if test $ac_verc_fail = yes; then
11 kx critic_missing="$critic_missing make"
11 kx fi
11 kx
11 kx
11 kx for ac_prog in gnumsgfmt gmsgfmt msgfmt
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_MSGFMT+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$MSGFMT"; then
11 kx ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_MSGFMT="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx MSGFMT=$ac_cv_prog_MSGFMT
11 kx if test -n "$MSGFMT"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11 kx $as_echo "$MSGFMT" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$MSGFMT" && break
11 kx done
11 kx
11 kx if test -z "$MSGFMT"; then
11 kx ac_verc_fail=yes
11 kx else
11 kx # Found it, now check the version.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MSGFMT" >&5
11 kx $as_echo_n "checking version of $MSGFMT... " >&6; }
11 kx ac_prog_version=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
11 kx case $ac_prog_version in
11 kx '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
11 kx 0.10.3[6-9]* | 0.10.[4-9][0-9]* | 0.1[1-9]* | 0.[2-9][0-9]* | [1-9].*)
11 kx ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 kx *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
11 kx
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
11 kx $as_echo "$ac_prog_version" >&6; }
11 kx fi
11 kx if test $ac_verc_fail = yes; then
11 kx MSGFMT=: aux_missing="$aux_missing msgfmt"
11 kx fi
11 kx
11 kx for ac_prog in makeinfo
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_MAKEINFO+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$MAKEINFO"; then
11 kx ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_MAKEINFO="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx MAKEINFO=$ac_cv_prog_MAKEINFO
11 kx if test -n "$MAKEINFO"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
11 kx $as_echo "$MAKEINFO" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$MAKEINFO" && break
11 kx done
11 kx
11 kx if test -z "$MAKEINFO"; then
11 kx ac_verc_fail=yes
11 kx else
11 kx # Found it, now check the version.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $MAKEINFO" >&5
11 kx $as_echo_n "checking version of $MAKEINFO... " >&6; }
11 kx ac_prog_version=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
11 kx case $ac_prog_version in
11 kx '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
11 kx 4.[7-9]*|4.[1-9][0-9]*|[5-9].*)
11 kx ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 kx *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
11 kx
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
11 kx $as_echo "$ac_prog_version" >&6; }
11 kx fi
11 kx if test $ac_verc_fail = yes; then
11 kx MAKEINFO=: aux_missing="$aux_missing makeinfo"
11 kx fi
11 kx
11 kx for ac_prog in sed
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_SED+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$SED"; then
11 kx ac_cv_prog_SED="$SED" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_SED="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx SED=$ac_cv_prog_SED
11 kx if test -n "$SED"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
11 kx $as_echo "$SED" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$SED" && break
11 kx done
11 kx
11 kx if test -z "$SED"; then
11 kx ac_verc_fail=yes
11 kx else
11 kx # Found it, now check the version.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
11 kx $as_echo_n "checking version of $SED... " >&6; }
11 kx ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
11 kx case $ac_prog_version in
11 kx '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
11 kx 3.0[2-9]*|3.[1-9]*|[4-9]*)
11 kx ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 kx *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
11 kx
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
11 kx $as_echo "$ac_prog_version" >&6; }
11 kx fi
11 kx if test $ac_verc_fail = yes; then
11 kx SED=: aux_missing="$aux_missing sed"
11 kx fi
11 kx
11 kx for ac_prog in gawk
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_AWK+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$AWK"; then
11 kx ac_cv_prog_AWK="$AWK" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_AWK="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx AWK=$ac_cv_prog_AWK
11 kx if test -n "$AWK"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11 kx $as_echo "$AWK" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$AWK" && break
11 kx done
11 kx
11 kx if test -z "$AWK"; then
11 kx ac_verc_fail=yes
11 kx else
11 kx # Found it, now check the version.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $AWK" >&5
11 kx $as_echo_n "checking version of $AWK... " >&6; }
11 kx ac_prog_version=`$AWK --version 2>&1 | sed -n 's/^.*GNU Awk[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
11 kx case $ac_prog_version in
11 kx '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
11 kx 3.1.[2-9]*|3.[2-9]*|[4-9]*)
11 kx ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 kx *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
11 kx
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
11 kx $as_echo "$ac_prog_version" >&6; }
11 kx fi
11 kx if test $ac_verc_fail = yes; then
11 kx critic_missing="$critic_missing gawk"
11 kx fi
11 kx
11 kx for ac_prog in bison
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_BISON+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$BISON"; then
11 kx ac_cv_prog_BISON="$BISON" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_BISON="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx BISON=$ac_cv_prog_BISON
11 kx if test -n "$BISON"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
11 kx $as_echo "$BISON" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$BISON" && break
11 kx done
11 kx
11 kx if test -z "$BISON"; then
11 kx ac_verc_fail=yes
11 kx else
11 kx # Found it, now check the version.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $BISON" >&5
11 kx $as_echo_n "checking version of $BISON... " >&6; }
11 kx ac_prog_version=`$BISON --version 2>&1 | sed -n 's/^.*bison (GNU Bison) \([0-9]*\.[0-9.]*\).*$/\1/p'`
11 kx case $ac_prog_version in
11 kx '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
11 kx 2.7*|[3-9].*|[1-9][0-9]*)
11 kx ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 kx *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
11 kx
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
11 kx $as_echo "$ac_prog_version" >&6; }
11 kx fi
11 kx if test $ac_verc_fail = yes; then
11 kx critic_missing="$critic_missing bison"
11 kx fi
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC is sufficient to build libc" >&5
11 kx $as_echo_n "checking if $CC is sufficient to build libc... " >&6; }
11 kx if ${libc_cv_compiler_ok+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx #if !defined __GNUC__ || __GNUC__ < 6 || (__GNUC__ == 6 && __GNUC_MINOR__ < 2)
11 kx #error insufficient compiler
11 kx #endif
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_cpp "$LINENO"; then :
11 kx libc_cv_compiler_ok=yes
11 kx else
11 kx libc_cv_compiler_ok=no
11 kx fi
11 kx rm -f conftest.err conftest.i conftest.$ac_ext
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_compiler_ok" >&5
11 kx $as_echo "$libc_cv_compiler_ok" >&6; }
11 kx if test $libc_cv_compiler_ok != yes; then :
11 kx critic_missing="$critic_missing compiler"
11 kx fi
11 kx
11 kx if test "x$maintainer" = "xyes"; then
11 kx for ac_prog in autoconf
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_AUTOCONF+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$AUTOCONF"; then
11 kx ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_AUTOCONF="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx AUTOCONF=$ac_cv_prog_AUTOCONF
11 kx if test -n "$AUTOCONF"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
11 kx $as_echo "$AUTOCONF" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$AUTOCONF" && break
11 kx done
11 kx test -n "$AUTOCONF" || AUTOCONF="no"
11 kx
11 kx case "x$AUTOCONF" in
11 kx xno|x|x:) AUTOCONF=no ;;
11 kx *)
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works" >&5
11 kx $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; }
11 kx if ${libc_cv_autoconf_works+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if (cd $srcdir; $AUTOCONF $ACFLAGS configure.ac > /dev/null 2>&1); then
11 kx libc_cv_autoconf_works=yes
11 kx else
11 kx libc_cv_autoconf_works=no
11 kx fi
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_autoconf_works" >&5
11 kx $as_echo "$libc_cv_autoconf_works" >&6; }
11 kx test $libc_cv_autoconf_works = yes || AUTOCONF=no
11 kx ;;
11 kx esac
11 kx if test "x$AUTOCONF" = xno; then
11 kx aux_missing="$aux_missing autoconf"
11 kx fi
11 kx else
11 kx AUTOCONF=no
11 kx fi
11 kx
11 kx # Check for python3 if available, or else python.
11 kx for ac_prog in python3 python
11 kx do
11 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
11 kx set dummy $ac_prog; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_prog_PYTHON_PROG+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if test -n "$PYTHON_PROG"; then
11 kx ac_cv_prog_PYTHON_PROG="$PYTHON_PROG" # Let the user override the test.
11 kx else
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_prog_PYTHON_PROG="$ac_prog"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx fi
11 kx fi
11 kx PYTHON_PROG=$ac_cv_prog_PYTHON_PROG
11 kx if test -n "$PYTHON_PROG"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_PROG" >&5
11 kx $as_echo "$PYTHON_PROG" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx test -n "$PYTHON_PROG" && break
11 kx done
11 kx
11 kx if test -z "$PYTHON_PROG"; then
11 kx ac_verc_fail=yes
11 kx else
11 kx # Found it, now check the version.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $PYTHON_PROG" >&5
11 kx $as_echo_n "checking version of $PYTHON_PROG... " >&6; }
11 kx ac_prog_version=`$PYTHON_PROG --version 2>&1 | sed -n 's/^.*Python \([0-9][0-9.]*\).*$/\1/p'`
11 kx case $ac_prog_version in
11 kx '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
11 kx 3.[4-9]*|3.[1-9][0-9]*|[4-9].*|[1-9][0-9]*)
11 kx ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 kx *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
11 kx
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
11 kx $as_echo "$ac_prog_version" >&6; }
11 kx fi
11 kx if test $ac_verc_fail = yes; then
11 kx critic_missing="$critic_missing python"
11 kx fi
11 kx
11 kx PYTHON="$PYTHON_PROG -B"
11 kx
11 kx
11 kx test -n "$critic_missing" && as_fn_error $? "
11 kx *** These critical programs are missing or too old:$critic_missing
11 kx *** Check the INSTALL file for required versions." "$LINENO" 5
11 kx
11 kx test -n "$aux_missing" && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11 kx *** These auxiliary programs are missing or incompatible versions:$aux_missing
11 kx *** some features or tests will be disabled.
11 kx *** Check the INSTALL file for required versions." >&5
11 kx $as_echo "$as_me: WARNING:
11 kx *** These auxiliary programs are missing or incompatible versions:$aux_missing
11 kx *** some features or tests will be disabled.
11 kx *** Check the INSTALL file for required versions." >&2;}
11 kx
11 kx
11 kx # Determine whether to use fpu or nofpu sysdeps directories.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use of fpu sysdeps directories" >&5
11 kx $as_echo_n "checking for use of fpu sysdeps directories... " >&6; }
11 kx if ${libc_cv_with_fp+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx #if $with_fp_cond
11 kx int dummy;
11 kx #else
11 kx # error "no hardware floating point"
11 kx #endif
11 kx EOF
11 kx libc_cv_with_fp=no
11 kx if ${CC-cc} $CFLAGS $CPPFLAGS -S conftest.c -o conftest.s \
11 kx 1>&5 2>&5 ; then
11 kx libc_cv_with_fp=yes
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_with_fp" >&5
11 kx $as_echo "$libc_cv_with_fp" >&6; }
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector" >&5
11 kx $as_echo_n "checking for -fstack-protector... " >&6; }
11 kx if ${libc_cv_ssp+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector -xc /dev/null -S -o /dev/null'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then :
11 kx libc_cv_ssp=yes
11 kx else
11 kx libc_cv_ssp=no
11 kx fi
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp" >&5
11 kx $as_echo "$libc_cv_ssp" >&6; }
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector-strong" >&5
11 kx $as_echo_n "checking for -fstack-protector-strong... " >&6; }
11 kx if ${libc_cv_ssp_strong+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then :
11 kx libc_cv_ssp_strong=yes
11 kx else
11 kx libc_cv_ssp_strong=no
11 kx fi
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp_strong" >&5
11 kx $as_echo "$libc_cv_ssp_strong" >&6; }
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fstack-protector-all" >&5
11 kx $as_echo_n "checking for -fstack-protector-all... " >&6; }
11 kx if ${libc_cv_ssp_all+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then :
11 kx libc_cv_ssp_all=yes
11 kx else
11 kx libc_cv_ssp_all=no
11 kx fi
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ssp_all" >&5
11 kx $as_echo "$libc_cv_ssp_all" >&6; }
11 kx
11 kx stack_protector=
11 kx no_stack_protector=
11 kx if test "$libc_cv_ssp" = yes; then
11 kx no_stack_protector="-fno-stack-protector -DSTACK_PROTECTOR_LEVEL=0"
11 kx $as_echo "#define HAVE_CC_NO_STACK_PROTECTOR 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx if test "$enable_stack_protector" = yes && test "$libc_cv_ssp" = yes; then
11 kx stack_protector="-fstack-protector"
11 kx $as_echo "#define STACK_PROTECTOR_LEVEL 1" >>confdefs.h
11 kx
11 kx elif test "$enable_stack_protector" = all && test "$libc_cv_ssp_all" = yes; then
11 kx stack_protector="-fstack-protector-all"
11 kx $as_echo "#define STACK_PROTECTOR_LEVEL 2" >>confdefs.h
11 kx
11 kx elif test "$enable_stack_protector" = strong && test "$libc_cv_ssp_strong" = yes; then
11 kx stack_protector="-fstack-protector-strong"
11 kx $as_echo "#define STACK_PROTECTOR_LEVEL 3" >>confdefs.h
11 kx
11 kx else
11 kx stack_protector="-fno-stack-protector"
11 kx $as_echo "#define STACK_PROTECTOR_LEVEL 0" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx
11 kx
11 kx
11 kx if test -n "$stack_protector"; then
11 kx no_ssp=-fno-stack-protector
11 kx else
11 kx no_ssp=
11 kx
11 kx if test "$enable_stack_protector" != no; then
11 kx as_fn_error $? "--enable-stack-protector=$enable_stack_protector specified, but specified level of stack protection is not supported by the compiler." "$LINENO" 5
11 kx fi
11 kx fi
11 kx
11 kx # For the multi-arch option we need support in the assembler & linker.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler and linker STT_GNU_IFUNC support" >&5
11 kx $as_echo_n "checking for assembler and linker STT_GNU_IFUNC support... " >&6; }
11 kx if ${libc_cv_ld_gnu_indirect_function+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.S <<EOF
11 kx .type foo,%gnu_indirect_function
11 kx foo:
11 kx .globl _start
11 kx _start:
11 kx .globl __start
11 kx __start:
11 kx .data
11 kx #ifdef _LP64
11 kx .quad foo
11 kx #else
11 kx .long foo
11 kx #endif
11 kx EOF
11 kx libc_cv_ld_gnu_indirect_function=no
11 kx if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
11 kx -nostartfiles -nostdlib $no_ssp \
11 kx -o conftest conftest.S 1>&5 2>&5; then
11 kx # Do a link to see if the backend supports IFUNC relocs.
11 kx $READELF -r conftest 1>&5
11 kx LC_ALL=C $READELF -Wr conftest | grep -q 'IRELATIVE\|R_SPARC_JMP_IREL' && {
11 kx libc_cv_ld_gnu_indirect_function=yes
11 kx }
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_gnu_indirect_function" >&5
11 kx $as_echo "$libc_cv_ld_gnu_indirect_function" >&6; }
11 kx
11 kx # Check if gcc supports attribute ifunc as it is used in libc_ifunc macro.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc attribute ifunc support" >&5
11 kx $as_echo_n "checking for gcc attribute ifunc support... " >&6; }
11 kx if ${libc_cv_gcc_indirect_function+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx extern int func (int);
11 kx int used_func (int a)
11 kx {
11 kx return a;
11 kx }
11 kx static void *resolver ()
11 kx {
11 kx return &used_func;
11 kx }
11 kx extern __typeof (func) func __attribute__ ((ifunc ("resolver")));
11 kx EOF
11 kx libc_cv_gcc_indirect_function=no
11 kx if ${CC-cc} -c conftest.c -o conftest.o 1>&5 \
11 kx 2>&5 ; then
11 kx if $READELF -s conftest.o | grep IFUNC >/dev/null 2>&5; then
11 kx libc_cv_gcc_indirect_function=yes
11 kx fi
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_indirect_function" >&5
11 kx $as_echo "$libc_cv_gcc_indirect_function" >&6; }
11 kx
11 kx # Check if linker supports textrel relocation with ifunc (used on elf/tests).
11 kx # Note that it relies on libc_cv_ld_gnu_indirect_function test above.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker supports textrels along with ifunc" >&5
11 kx $as_echo_n "checking whether the linker supports textrels along with ifunc... " >&6; }
11 kx if ${libc_cv_textrel_ifunc+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.S <<EOF
11 kx .type foo,%gnu_indirect_function
11 kx foo:
11 kx .globl _start
11 kx _start:
11 kx .globl __start
11 kx __start:
11 kx .data
11 kx #ifdef _LP64
11 kx .quad foo
11 kx #else
11 kx .long foo
11 kx #endif
11 kx .text
11 kx .globl address
11 kx address:
11 kx #ifdef _LP64
11 kx .quad address
11 kx #else
11 kx .long address
11 kx #endif
11 kx EOF
11 kx libc_cv_textrel_ifunc=no
11 kx if test $libc_cv_ld_gnu_indirect_function = yes; then
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostartfiles -nostdlib $no_ssp -pie -o conftest conftest.S'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then
11 kx libc_cv_textrel_ifunc=yes
11 kx fi
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_textrel_ifunc" >&5
11 kx $as_echo "$libc_cv_textrel_ifunc" >&6; }
11 kx
11 kx
11 kx # Check if CC supports attribute retain as it is used in attribute_used_retain macro.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU attribute retain support" >&5
11 kx $as_echo_n "checking for GNU attribute retain support... " >&6; }
11 kx if ${libc_cv_gnu_retain+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx static int var __attribute__ ((used, retain, section ("__libc_atexit")));
11 kx EOF
11 kx libc_cv_gnu_retain=no
11 kx if ${CC-cc} -Werror -c conftest.c -o /dev/null 1>&5 \
11 kx 2>&5 ; then
11 kx libc_cv_gnu_retain=yes
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gnu_retain" >&5
11 kx $as_echo "$libc_cv_gnu_retain" >&6; }
11 kx if test $libc_cv_gnu_retain = yes; then
11 kx $as_echo "#define HAVE_GNU_RETAIN 1" >>confdefs.h
11 kx
11 kx fi
11 kx config_vars="$config_vars
11 kx have-gnu-retain = $libc_cv_gnu_retain"
11 kx
11 kx # Check if gcc warns about alias for function with incompatible types.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler warns about alias for function with incompatible types" >&5
11 kx $as_echo_n "checking if compiler warns about alias for function with incompatible types... " >&6; }
11 kx if ${libc_cv_gcc_incompatible_alias+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx int __redirect_foo (const void *s, int c);
11 kx
11 kx __typeof (__redirect_foo) *foo_impl (void) __asm__ ("foo");
11 kx __typeof (__redirect_foo) *foo_impl (void)
11 kx {
11 kx return 0;
11 kx }
11 kx
11 kx extern __typeof (__redirect_foo) foo_alias __attribute__ ((alias ("foo")));
11 kx EOF
11 kx libc_cv_gcc_incompatible_alias=yes
11 kx if ${CC-cc} -Werror -c conftest.c -o conftest.o 1>&5 2>&5 ; then
11 kx libc_cv_gcc_incompatible_alias=no
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_incompatible_alias" >&5
11 kx $as_echo "$libc_cv_gcc_incompatible_alias" >&6; }
11 kx
11 kx if test x"$libc_cv_ld_gnu_indirect_function" != xyes; then
11 kx if test x"$multi_arch" = xyes; then
11 kx as_fn_error $? "--enable-multi-arch support requires assembler and linker support" "$LINENO" 5
11 kx else
11 kx multi_arch=no
11 kx fi
11 kx fi
11 kx if test x"$libc_cv_gcc_indirect_function" != xyes; then
11 kx # GCC 8+ emits a warning for alias with incompatible types and it might
11 kx # fail to build ifunc resolvers aliases to either weak or internal
11 kx # symbols. Disables multiarch build in this case.
11 kx if test x"$libc_cv_gcc_incompatible_alias" = xyes; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc emits a warning for alias between functions of incompatible types" >&5
11 kx $as_echo "$as_me: WARNING: gcc emits a warning for alias between functions of incompatible types" >&2;}
11 kx if test x"$multi_arch" = xyes; then
11 kx as_fn_error $? "--enable-multi-arch support requires a gcc with gnu-indirect-function support" "$LINENO" 5
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Multi-arch is disabled." >&5
11 kx $as_echo "$as_me: WARNING: Multi-arch is disabled." >&2;}
11 kx multi_arch=no
11 kx elif test x"$multi_arch" = xyes; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-multi-arch support recommends a gcc with gnu-indirect-function support.
11 kx Please use a gcc which supports it by default or configure gcc with --enable-gnu-indirect-function" >&5
11 kx $as_echo "$as_me: WARNING: --enable-multi-arch support recommends a gcc with gnu-indirect-function support.
11 kx Please use a gcc which supports it by default or configure gcc with --enable-gnu-indirect-function" >&2;}
11 kx fi
11 kx fi
11 kx multi_arch_d=
11 kx if test x"$multi_arch" != xno; then
11 kx multi_arch_d=/multiarch
11 kx fi
11 kx
11 kx # Compute the list of sysdep directories for this configuration.
11 kx # This can take a while to compute.
11 kx sysdep_dir=$srcdir/sysdeps
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysdep dirs" >&5
11 kx $as_echo_n "checking sysdep dirs... " >&6; }
11 kx # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
11 kx os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
11 kx
11 kx test "x$base_os" != x || case "$os" in
11 kx gnu*)
11 kx base_os=mach/hurd ;;
11 kx linux*)
11 kx base_os=unix/sysv ;;
11 kx esac
11 kx
11 kx # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
11 kx tail=$os
11 kx ostry=$os
11 kx while o=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
11 kx ostry="$ostry /$o"
11 kx tail=$o
11 kx done
11 kx o=`echo $tail | sed 's/[0-9]*$//'`
11 kx if test $o != $tail; then
11 kx ostry="$ostry /$o"
11 kx fi
11 kx # For linux-gnu, try linux-gnu, then linux.
11 kx o=`echo $tail | sed 's/-.*$//'`
11 kx if test $o != $tail; then
11 kx ostry="$ostry /$o"
11 kx fi
11 kx
11 kx # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
11 kx base=
11 kx tail=$base_os
11 kx while b=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
11 kx set $b
11 kx base="$base /$1"
11 kx tail="$2"
11 kx done
11 kx
11 kx # For sparc/sparc32, try sparc/sparc32 and then sparc.
11 kx mach=
11 kx tail=$machine${submachine:+/$submachine}
11 kx while m=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
11 kx set $m
11 kx # Prepend the machine's FPU directory unless the architecture specific
11 kx # preconfigure disables it.
11 kx if test "$libc_cv_with_fp" = yes; then
11 kx maybe_fpu=/fpu
11 kx else
11 kx maybe_fpu=/nofpu
11 kx fi
11 kx # For each machine term, try it with and then without /multiarch.
11 kx for try_fpu in $maybe_fpu ''; do
11 kx for try_multi in $multi_arch_d ''; do
11 kx mach="$mach /$1$try_fpu$try_multi"
11 kx done
11 kx done
11 kx tail="$2"
11 kx done
11 kx
11 kx
11 kx # Find what sysdep directories exist.
11 kx sysnames=
11 kx for b in $base ''; do
11 kx for m0 in $mach ''; do
11 kx for v in /$vendor ''; do
11 kx test "$v" = / && continue
11 kx for o in /$ostry ''; do
11 kx test "$o" = / && continue
11 kx for m in $mach ''; do
11 kx try_suffix="$m0$b$v$o$m"
11 kx if test -n "$try_suffix"; then
11 kx try_srcdir="${srcdir}/"
11 kx try="sysdeps$try_suffix"
11 kx test -n "$enable_debug_configure" &&
11 kx echo "$0 DEBUG: try $try" >&2
11 kx if test -d "$try_srcdir$try"; then
11 kx sysnames="$sysnames $try"
11 kx { test -n "$o" || test -n "$b"; } && os_used=t
11 kx { test -n "$m" || test -n "$m0"; } && machine_used=t
11 kx case x${m0:-$m} in
11 kx x*/$submachine) submachine_used=t ;;
11 kx esac
11 kx fi
11 kx fi
11 kx done
11 kx done
11 kx done
11 kx done
11 kx done
11 kx
11 kx # If the assembler supports gnu_indirect_function symbol type and the
11 kx # architecture supports multi-arch, we enable multi-arch by default.
11 kx case $sysnames in
11 kx *"$multi_arch_d"*)
11 kx ;;
11 kx *)
11 kx test x"$multi_arch" = xdefault && multi_arch=no
11 kx ;;
11 kx esac
11 kx if test x"$multi_arch" != xno; then
11 kx $as_echo "#define USE_MULTIARCH 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx
11 kx if test -z "$os_used" && test "$os" != none; then
11 kx as_fn_error $? "Operating system $os is not supported." "$LINENO" 5
11 kx fi
11 kx if test -z "$machine_used" && test "$machine" != none; then
11 kx as_fn_error $? "The $machine is not supported." "$LINENO" 5
11 kx fi
11 kx if test -z "$submachine_used" && test -n "$submachine"; then
11 kx as_fn_error $? "The $submachine subspecies of $host_cpu is not supported." "$LINENO" 5
11 kx fi
11 kx
11 kx
11 kx # We have now validated the configuration.
11 kx
11 kx # Expand the list of system names into a full list of directories
11 kx # from each element's parent name and Implies file (if present).
11 kx set $sysnames
11 kx names=
11 kx while test $# -gt 0; do
11 kx name=$1
11 kx shift
11 kx
11 kx case " $names " in *" $name "*)
11 kx # Already in the list.
11 kx continue
11 kx esac
11 kx
11 kx # Report each name as we discover it, so there is no long pause in output.
11 kx echo $ECHO_N "$name $ECHO_C" >&6
11 kx
11 kx name_base=`echo $name | sed -e 's@\(.*sysdeps\)/.*@\1@'`
11 kx
11 kx case $name in
11 kx /*) xsrcdir= ;;
11 kx *) xsrcdir=$srcdir/ ;;
11 kx esac
11 kx test -n "$enable_debug_configure" &&
11 kx echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
11 kx
11 kx for implies_file in Implies Implies-before Implies-after; do
11 kx implies_type=`echo $implies_file | sed s/-/_/`
11 kx eval ${implies_type}=
11 kx if test -f $xsrcdir$name/$implies_file; then
11 kx # Collect more names from the `Implies' file (removing comments).
11 kx implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/$implies_file`"
11 kx for x in $implied_candidate; do
11 kx found=no
11 kx if test -d $xsrcdir$name_base/$x; then
11 kx eval "${implies_type}=\"\$${implies_type} \$name_base/\$x\""
11 kx found=yes
11 kx fi
11 kx try="sysdeps/$x"
11 kx try_srcdir=$srcdir/
11 kx test -n "$enable_debug_configure" &&
11 kx echo "DEBUG: $name $implies_file $x try() {$try_srcdir}$try" >&2
11 kx if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
11 kx then
11 kx eval "${implies_type}=\"\$${implies_type} \$try\""
11 kx found=yes
11 kx fi
11 kx if test $found = no; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/$implies_file specifies nonexistent $x" >&5
11 kx $as_echo "$as_me: WARNING: $name/$implies_file specifies nonexistent $x" >&2;}
11 kx fi
11 kx done
11 kx fi
11 kx done
11 kx
11 kx # Add NAME to the list of names.
11 kx names="$names $name"
11 kx
11 kx # Find the parent of NAME, using the empty string if it has none.
11 kx parent="`echo $name | sed -n -e 's=/[^/]*$==' -e '/sysdeps$/q' -e p`"
11 kx
11 kx test -n "$enable_debug_configure" &&
11 kx echo "DEBUG: $name Implies='$Implies' rest='$*' parent='$parent' \
11 kx Implies_before='$Implies_before' Implies_after='$Implies_after'" >&2
11 kx
11 kx # Add the names implied by NAME, and NAME's parent (if it has one), to
11 kx # the list of names to be processed (the argument list). We prepend the
11 kx # implied names to the list and append the parent. We want implied
11 kx # directories to come before further directories inferred from the
11 kx # configuration components; this ensures that for sysv4, unix/common
11 kx # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
11 kx # after sysv4).
11 kx sysnames="`echo $Implies $* $Implies_before $parent $Implies_after`"
11 kx test -n "$sysnames" && set $sysnames
11 kx done
11 kx
11 kx # Add the default directories.
11 kx default_sysnames="sysdeps/generic"
11 kx sysnames="$names $default_sysnames"
11 kx
11 kx # The other names were emitted during the scan.
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_sysnames" >&5
11 kx $as_echo "$default_sysnames" >&6; }
11 kx
11 kx # if using special system headers, find out the compiler's sekrit
11 kx # header directory and add that to the list. NOTE: Only does the right
11 kx # thing on a system that doesn't need fixincludes. (Not presently a problem.)
11 kx if test -n "$sysheaders"; then
11 kx SYSINCLUDES=-nostdinc
11 kx for d in include include-fixed; do
11 kx i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" &&
11 kx SYSINCLUDES="$SYSINCLUDES -isystem $i"
11 kx done
11 kx SYSINCLUDES="$SYSINCLUDES \
11 kx -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
11 kx if test -n "$CXX"; then
11 kx CXX_SYSINCLUDES=
11 kx for cxxheaders in `$CXX -v -S -x c++ /dev/null -o /dev/null 2>&1 \
11 kx | sed -n -e '1,/#include/d' -e 's/^ \(\/.*\/[cg]++\)/\1/p'`; do
11 kx test "x$cxxheaders" != x &&
11 kx CXX_SYSINCLUDES="$CXX_SYSINCLUDES -isystem $cxxheaders"
11 kx done
11 kx fi
11 kx fi
11 kx
11 kx
11 kx
11 kx # Obtain some C++ header file paths. This is used to make a local
11 kx # copy of those headers in Makerules.
11 kx if test -n "$CXX"; then
11 kx find_cxx_header () {
11 kx echo "#include <$1>" | $CXX -H -fsyntax-only -x c++ - 2>&1 \
11 kx | $AWK '$1 == "."{print $2}'
11 kx }
11 kx CXX_CSTDLIB_HEADER="$(find_cxx_header cstdlib)"
11 kx CXX_CMATH_HEADER="$(find_cxx_header cmath)"
11 kx CXX_BITS_STD_ABS_H="$(find_cxx_header bits/std_abs.h)"
11 kx fi
11 kx
11 kx
11 kx
11 kx
11 kx # Test if LD_LIBRARY_PATH contains the notation for the current directory
11 kx # since this would lead to problems installing/building glibc.
11 kx # LD_LIBRARY_PATH contains the current directory if one of the following
11 kx # is true:
11 kx # - one of the terminals (":" and ";") is the first or last sign
11 kx # - two terminals occur directly after each other
11 kx # - the path contains an element with a dot in it
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking LD_LIBRARY_PATH variable" >&5
11 kx $as_echo_n "checking LD_LIBRARY_PATH variable... " >&6; }
11 kx case ${LD_LIBRARY_PATH} in
11 kx [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
11 kx ld_library_path_setting="contains current directory"
11 kx ;;
11 kx *)
11 kx ld_library_path_setting="ok"
11 kx ;;
11 kx esac
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_library_path_setting" >&5
11 kx $as_echo "$ld_library_path_setting" >&6; }
11 kx if test "$ld_library_path_setting" != "ok"; then
11 kx as_fn_error $? "
11 kx *** LD_LIBRARY_PATH shouldn't contain the current directory when
11 kx *** building glibc. Please change the environment variable
11 kx *** and run configure again." "$LINENO" 5
11 kx fi
11 kx
11 kx # Extract the first word of "bash", so it can be a program name with args.
11 kx set dummy bash; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_path_BASH_SHELL+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx case $BASH_SHELL in
11 kx [\\/]* | ?:[\\/]*)
11 kx ac_cv_path_BASH_SHELL="$BASH_SHELL" # Let the user override the test with a path.
11 kx ;;
11 kx *)
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_path_BASH_SHELL="$as_dir/$ac_word$ac_exec_ext"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx test -z "$ac_cv_path_BASH_SHELL" && ac_cv_path_BASH_SHELL="no"
11 kx ;;
11 kx esac
11 kx fi
11 kx BASH_SHELL=$ac_cv_path_BASH_SHELL
11 kx if test -n "$BASH_SHELL"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_SHELL" >&5
11 kx $as_echo "$BASH_SHELL" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx
11 kx # Extract the first word of "perl", so it can be a program name with args.
11 kx set dummy perl; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_path_PERL+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx case $PERL in
11 kx [\\/]* | ?:[\\/]*)
11 kx ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
11 kx ;;
11 kx *)
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
11 kx ;;
11 kx esac
11 kx fi
11 kx PERL=$ac_cv_path_PERL
11 kx if test -n "$PERL"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
11 kx $as_echo "$PERL" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx if test "$PERL" != no &&
11 kx (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
11 kx PERL=no
11 kx fi
11 kx # Extract the first word of "install-info", so it can be a program name with args.
11 kx set dummy install-info; ac_word=$2
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11 kx $as_echo_n "checking for $ac_word... " >&6; }
11 kx if ${ac_cv_path_INSTALL_INFO+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx case $INSTALL_INFO in
11 kx [\\/]* | ?:[\\/]*)
11 kx ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
11 kx ;;
11 kx *)
11 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx as_dummy="$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
11 kx for as_dir in $as_dummy
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx for ac_exec_ext in '' $ac_executable_extensions; do
11 kx if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11 kx ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11 kx break 2
11 kx fi
11 kx done
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="no"
11 kx ;;
11 kx esac
11 kx fi
11 kx INSTALL_INFO=$ac_cv_path_INSTALL_INFO
11 kx if test -n "$INSTALL_INFO"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
11 kx $as_echo "$INSTALL_INFO" >&6; }
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11 kx $as_echo "no" >&6; }
11 kx fi
11 kx
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .set assembler directive" >&5
11 kx $as_echo_n "checking for .set assembler directive... " >&6; }
11 kx if ${libc_cv_asm_set_directive+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.s <<EOF
11 kx .text
11 kx foo:
11 kx .set glibc_conftest_frobozz,foo
11 kx .globl glibc_conftest_frobozz
11 kx EOF
11 kx # The alpha-dec-osf1 assembler gives only a warning for `.set'
11 kx # (but it doesn't work), so we must do a linking check to be sure.
11 kx cat > conftest1.c <<\EOF
11 kx extern int glibc_conftest_frobozz;
11 kx void _start() { glibc_conftest_frobozz = 1; }
11 kx EOF
11 kx if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
11 kx -nostartfiles -nostdlib $no_ssp \
11 kx -o conftest conftest.s conftest1.c 1>&5 2>&5; then
11 kx libc_cv_asm_set_directive=yes
11 kx else
11 kx libc_cv_asm_set_directive=no
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_set_directive" >&5
11 kx $as_echo "$libc_cv_asm_set_directive" >&6; }
11 kx if test $libc_cv_asm_set_directive = yes; then
11 kx $as_echo "#define HAVE_ASM_SET_DIRECTIVE 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for protected data symbol" >&5
11 kx $as_echo_n "checking linker support for protected data symbol... " >&6; }
11 kx if ${libc_cv_protected_data+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx int bar __attribute__ ((visibility ("protected"))) = 1;
11 kx EOF
11 kx libc_cv_protected_data=no
11 kx if { ac_try='${CC-cc} -nostdlib -nostartfiles $no_ssp -fPIC -shared conftest.c -o conftest.so'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then
11 kx cat > conftest.c <<EOF
11 kx extern int bar;
11 kx int main (void) { return bar; }
11 kx EOF
11 kx if { ac_try='${CC-cc} -nostdlib -nostartfiles $no_ssp conftest.c -o conftest conftest.so'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then
11 kx libc_cv_protected_data=yes
11 kx fi
11 kx fi
11 kx rm -f conftest.*
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_protected_data" >&5
11 kx $as_echo "$libc_cv_protected_data" >&6; }
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker support for INSERT in linker script" >&5
11 kx $as_echo_n "checking linker support for INSERT in linker script... " >&6; }
11 kx if ${libc_cv_insert+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx int __attribute__ ((section(".bar"))) bar = 0x12345678;
11 kx int test (void) { return bar; }
11 kx EOF
11 kx cat > conftest.t <<EOF
11 kx SECTIONS
11 kx {
11 kx .bar : { *(.bar) }
11 kx }
11 kx INSERT AFTER .rela.dyn;
11 kx EOF
11 kx libc_cv_insert=no
11 kx if { ac_try='${CC-cc} -nostdlib -nostartfiles $no_ssp -fPIC -shared conftest.c -Wl,-T,conftest.t -o conftest.so'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then
11 kx libc_cv_insert=yes
11 kx fi
11 kx rm -f conftest.*
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_insert" >&5
11 kx $as_echo "$libc_cv_insert" >&6; }
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken __attribute__((alias()))" >&5
11 kx $as_echo_n "checking for broken __attribute__((alias()))... " >&6; }
11 kx if ${libc_cv_broken_alias_attribute+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx extern int foo (int x) __asm ("xyzzy");
11 kx int bar (int x) { return x; }
11 kx extern __typeof (bar) foo __attribute ((weak, alias ("bar")));
11 kx extern int dfoo;
11 kx extern __typeof (dfoo) dfoo __asm ("abccb");
11 kx int dfoo = 1;
11 kx EOF
11 kx libc_cv_broken_alias_attribute=yes
11 kx if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then
11 kx if grep 'xyzzy' conftest.s >/dev/null &&
11 kx grep 'abccb' conftest.s >/dev/null; then
11 kx libc_cv_broken_alias_attribute=no
11 kx fi
11 kx fi
11 kx rm -f conftest.c conftest.s
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_broken_alias_attribute" >&5
11 kx $as_echo "$libc_cv_broken_alias_attribute" >&6; }
11 kx if test $libc_cv_broken_alias_attribute = yes; then
11 kx as_fn_error $? "working alias attribute support required" "$LINENO" 5
11 kx fi
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to put _rtld_local into .sdata section" >&5
11 kx $as_echo_n "checking whether to put _rtld_local into .sdata section... " >&6; }
11 kx if ${libc_cv_have_sdata_section+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx echo "int i;" > conftest.c
11 kx libc_cv_have_sdata_section=no
11 kx if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c -o conftest.so 2>&1 \
11 kx | grep '\.sdata' >/dev/null; then
11 kx libc_cv_have_sdata_section=yes
11 kx fi
11 kx rm -f conftest.c conftest.so
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_sdata_section" >&5
11 kx $as_echo "$libc_cv_have_sdata_section" >&6; }
11 kx if test $libc_cv_have_sdata_section = yes; then
11 kx $as_echo "#define HAVE_SDATA_SECTION 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libunwind-support in compiler" >&5
11 kx $as_echo_n "checking for libunwind-support in compiler... " >&6; }
11 kx if ${libc_cv_cc_with_libunwind+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx
11 kx cat > conftest.c <<EOF
11 kx int main (void) { return 0; }
11 kx EOF
11 kx if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -static -o conftest \
11 kx conftest.c -v 2>&1 >/dev/null | grep ' -lunwind ' >/dev/null; then
11 kx libc_cv_cc_with_libunwind=yes
11 kx else
11 kx libc_cv_cc_with_libunwind=no
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_with_libunwind" >&5
11 kx $as_echo "$libc_cv_cc_with_libunwind" >&6; }
11 kx
11 kx if test $libc_cv_cc_with_libunwind = yes; then
11 kx $as_echo "#define HAVE_CC_WITH_LIBUNWIND 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx ASFLAGS_config=
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
11 kx $as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }
11 kx if ${libc_cv_as_noexecstack+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx void foo (void) { }
11 kx EOF
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS
11 kx -S -o conftest.s conftest.c 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; } \
11 kx && grep .note.GNU-stack conftest.s >/dev/null \
11 kx && { ac_try='${CC-cc} $ASFLAGS -Wa,--noexecstack
11 kx -c -o conftest.o conftest.s 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx libc_cv_as_noexecstack=yes
11 kx else
11 kx libc_cv_as_noexecstack=no
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_noexecstack" >&5
11 kx $as_echo "$libc_cv_as_noexecstack" >&6; }
11 kx if test $libc_cv_as_noexecstack = yes; then
11 kx ASFLAGS_config="$ASFLAGS_config -Wa,--noexecstack"
11 kx fi
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z execstack" >&5
11 kx $as_echo_n "checking for linker that supports -z execstack... " >&6; }
11 kx libc_linker_feature=no
11 kx cat > conftest.c <<EOF
11 kx int _start (void) { return 42; }
11 kx EOF
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
11 kx -Wl,-z,execstack -nostdlib -nostartfiles
11 kx -fPIC -shared -o conftest.so conftest.c
11 kx 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,-z,execstack -nostdlib \
11 kx -nostartfiles -fPIC -shared -o conftest.so conftest.c 2>&1 \
11 kx | grep "warning: -z execstack ignored" > /dev/null 2>&1; then
11 kx true
11 kx else
11 kx libc_linker_feature=yes
11 kx fi
11 kx fi
11 kx rm -f conftest*
11 kx if test $libc_linker_feature = yes; then
11 kx libc_cv_z_execstack=yes
11 kx else
11 kx libc_cv_z_execstack=no
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
11 kx $as_echo "$libc_linker_feature" >&6; }
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z start-stop-gc" >&5
11 kx $as_echo_n "checking for linker that supports -z start-stop-gc... " >&6; }
11 kx libc_linker_feature=no
11 kx cat > conftest.c <<EOF
11 kx int _start (void) { return 42; }
11 kx EOF
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
11 kx -Wl,-z,start-stop-gc -nostdlib -nostartfiles
11 kx -fPIC -shared -o conftest.so conftest.c
11 kx 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,-z,start-stop-gc -nostdlib \
11 kx -nostartfiles -fPIC -shared -o conftest.so conftest.c 2>&1 \
11 kx | grep "warning: -z start-stop-gc ignored" > /dev/null 2>&1; then
11 kx true
11 kx else
11 kx libc_linker_feature=yes
11 kx fi
11 kx fi
11 kx rm -f conftest*
11 kx if test $libc_linker_feature = yes; then
11 kx libc_cv_z_start_stop_gc=yes
11 kx else
11 kx libc_cv_z_start_stop_gc=no
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
11 kx $as_echo "$libc_linker_feature" >&6; }
11 kx config_vars="$config_vars
11 kx have-z-start-stop-gc = $libc_cv_z_start_stop_gc"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports --depaudit" >&5
11 kx $as_echo_n "checking for linker that supports --depaudit... " >&6; }
11 kx libc_linker_feature=no
11 kx cat > conftest.c <<EOF
11 kx int _start (void) { return 42; }
11 kx EOF
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
11 kx -Wl,--depaudit,x -nostdlib -nostartfiles
11 kx -fPIC -shared -o conftest.so conftest.c
11 kx 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,--depaudit,x -nostdlib \
11 kx -nostartfiles -fPIC -shared -o conftest.so conftest.c 2>&1 \
11 kx | grep "warning: --depaudit ignored" > /dev/null 2>&1; then
11 kx true
11 kx else
11 kx libc_linker_feature=yes
11 kx fi
11 kx fi
11 kx rm -f conftest*
11 kx if test $libc_linker_feature = yes; then
11 kx libc_cv_depaudit=yes
11 kx else
11 kx libc_cv_depaudit=no
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
11 kx $as_echo "$libc_linker_feature" >&6; }
11 kx config_vars="$config_vars
11 kx have-depaudit = $libc_cv_depaudit"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports -z pack-relative-relocs" >&5
11 kx $as_echo_n "checking for linker that supports -z pack-relative-relocs... " >&6; }
11 kx libc_linker_feature=no
11 kx cat > conftest.c <<EOF
11 kx int _start (void) { return 42; }
11 kx EOF
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
11 kx -Wl,-z,pack-relative-relocs -nostdlib -nostartfiles
11 kx -fPIC -shared -o conftest.so conftest.c
11 kx 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,-z,pack-relative-relocs -nostdlib \
11 kx -nostartfiles -fPIC -shared -o conftest.so conftest.c 2>&1 \
11 kx | grep "warning: -z pack-relative-relocs ignored" > /dev/null 2>&1; then
11 kx true
11 kx else
11 kx libc_linker_feature=yes
11 kx fi
11 kx fi
11 kx rm -f conftest*
11 kx if test $libc_linker_feature = yes; then
11 kx libc_cv_dt_relr=yes
11 kx else
11 kx libc_cv_dt_relr=no
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
11 kx $as_echo "$libc_linker_feature" >&6; }
11 kx config_vars="$config_vars
11 kx have-dt-relr = $libc_cv_dt_relr"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker that supports --no-dynamic-linker" >&5
11 kx $as_echo_n "checking for linker that supports --no-dynamic-linker... " >&6; }
11 kx libc_linker_feature=no
11 kx cat > conftest.c <<EOF
11 kx int _start (void) { return 42; }
11 kx EOF
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
11 kx -Wl,--no-dynamic-linker -nostdlib -nostartfiles
11 kx -fPIC -shared -o conftest.so conftest.c
11 kx 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx if ${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -Wl,--no-dynamic-linker -nostdlib \
11 kx -nostartfiles -fPIC -shared -o conftest.so conftest.c 2>&1 \
11 kx | grep "warning: --no-dynamic-linker ignored" > /dev/null 2>&1; then
11 kx true
11 kx else
11 kx libc_linker_feature=yes
11 kx fi
11 kx fi
11 kx rm -f conftest*
11 kx if test $libc_linker_feature = yes; then
11 kx libc_cv_no_dynamic_linker=yes
11 kx else
11 kx libc_cv_no_dynamic_linker=no
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_linker_feature" >&5
11 kx $as_echo "$libc_linker_feature" >&6; }
11 kx config_vars="$config_vars
11 kx have-no-dynamic-linker = $libc_cv_no_dynamic_linker"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -static-pie" >&5
11 kx $as_echo_n "checking for -static-pie... " >&6; }
11 kx if ${libc_cv_static_pie+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if { ac_try='${CC-cc} -static-pie -xc /dev/null -S -o /dev/null'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then :
11 kx libc_cv_static_pie=yes
11 kx else
11 kx libc_cv_static_pie=no
11 kx fi
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_static_pie" >&5
11 kx $as_echo "$libc_cv_static_pie" >&6; }
11 kx config_vars="$config_vars
11 kx have-static-pie = $libc_cv_static_pie"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fpie" >&5
11 kx $as_echo_n "checking for -fpie... " >&6; }
11 kx if ${libc_cv_fpie+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if { ac_try='${CC-cc} -fpie -xc /dev/null -S -o /dev/null'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then :
11 kx libc_cv_fpie=yes
11 kx else
11 kx libc_cv_fpie=no
11 kx fi
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_fpie" >&5
11 kx $as_echo "$libc_cv_fpie" >&6; }
11 kx
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style option" >&5
11 kx $as_echo_n "checking for --hash-style option... " >&6; }
11 kx if ${libc_cv_hashstyle+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx int _start (void) { return 42; }
11 kx EOF
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp
11 kx -fPIC -shared -o conftest.so conftest.c
11 kx -Wl,--hash-style=both -nostdlib 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx libc_cv_hashstyle=yes
11 kx else
11 kx libc_cv_hashstyle=no
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hashstyle" >&5
11 kx $as_echo "$libc_cv_hashstyle" >&6; }
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOB_DAT reloc" >&5
11 kx $as_echo_n "checking for GLOB_DAT reloc... " >&6; }
11 kx if ${libc_cv_has_glob_dat+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx extern int mumble;
11 kx int foo (void) { return mumble; }
11 kx EOF
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
11 kx -fPIC -shared -o conftest.so conftest.c
11 kx -nostdlib -nostartfiles $no_ssp
11 kx 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx if $READELF -rW conftest.so | grep '_GLOB_DAT' > /dev/null; then
11 kx libc_cv_has_glob_dat=yes
11 kx else
11 kx libc_cv_has_glob_dat=no
11 kx fi
11 kx else
11 kx libc_cv_has_glob_dat=no
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_has_glob_dat" >&5
11 kx $as_echo "$libc_cv_has_glob_dat" >&6; }
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mtls-dialect=gnu2" >&5
11 kx $as_echo_n "checking for -mtls-dialect=gnu2... " >&6; }
11 kx if ${libc_cv_mtls_dialect_gnu2+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx __thread int i;
11 kx void foo (void)
11 kx {
11 kx i = 10;
11 kx }
11 kx EOF
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -fPIC -mtls-dialect=gnu2 -nostdlib -nostartfiles
11 kx conftest.c -o conftest 1>&5'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx libc_cv_mtls_dialect_gnu2=yes
11 kx else
11 kx libc_cv_mtls_dialect_gnu2=no
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_mtls_dialect_gnu2" >&5
11 kx $as_echo "$libc_cv_mtls_dialect_gnu2" >&6; }
11 kx
11 kx config_vars="$config_vars
11 kx have-mtls-dialect-gnu2 = $libc_cv_mtls_dialect_gnu2"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -Wno-ignored-attributes is required for aliases" >&5
11 kx $as_echo_n "checking if -Wno-ignored-attributes is required for aliases... " >&6; }
11 kx if ${libc_cv_wno_ignored_attributes+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx void __foo (void)
11 kx {
11 kx }
11 kx extern __typeof (__foo) foo __attribute__ ((weak, alias ("__foo")));
11 kx extern __typeof (__foo) bar __attribute__ ((weak, alias ("foo")));
11 kx EOF
11 kx libc_cv_wno_ignored_attributes=""
11 kx if ! { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -Werror -c conftest.c'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx libc_cv_wno_ignored_attributes="-Wno-ignored-attributes"
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_wno_ignored_attributes" >&5
11 kx $as_echo "$libc_cv_wno_ignored_attributes" >&6; }
11 kx config_vars="$config_vars
11 kx config-cflags-wno-ignored-attributes = $libc_cv_wno_ignored_attributes"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc puts quotes around section names" >&5
11 kx $as_echo_n "checking whether cc puts quotes around section names... " >&6; }
11 kx if ${libc_cv_have_section_quotes+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx static const int foo
11 kx __attribute__ ((section ("bar"))) = 1;
11 kx EOF
11 kx if ${CC-cc} -S conftest.c -o conftest.s; then
11 kx if grep '\.section.*"bar"' conftest.s >/dev/null; then
11 kx libc_cv_have_section_quotes=yes
11 kx else
11 kx libc_cv_have_section_quotes=no
11 kx fi
11 kx else
11 kx libc_cv_have_section_quotes=unknown
11 kx fi
11 kx rm -f conftest.{c,s}
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
11 kx $as_echo "$libc_cv_have_section_quotes" >&6; }
11 kx if test $libc_cv_have_section_quotes = yes; then
11 kx $as_echo "#define HAVE_SECTION_QUOTES 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
11 kx $as_echo_n "checking for __builtin_memset... " >&6; }
11 kx if ${libc_cv_gcc_builtin_memset+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<\EOF
11 kx void zero (void *x)
11 kx {
11 kx __builtin_memset (x, 0, 1000);
11 kx }
11 kx EOF
11 kx if { ac_try='${CC-cc} -O3 -S conftest.c -o - | grep -F "memset" > /dev/null'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; };
11 kx then
11 kx libc_cv_gcc_builtin_memset=no
11 kx else
11 kx libc_cv_gcc_builtin_memset=yes
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_memset" >&5
11 kx $as_echo "$libc_cv_gcc_builtin_memset" >&6; }
11 kx if test "$libc_cv_gcc_builtin_memset" = yes ; then
11 kx $as_echo "#define HAVE_BUILTIN_MEMSET 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redirection of built-in functions" >&5
11 kx $as_echo_n "checking for redirection of built-in functions... " >&6; }
11 kx if ${libc_cv_gcc_builtin_redirection+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<\EOF
11 kx extern char *strstr (const char *, const char *) __asm ("my_strstr");
11 kx char *foo (const char *a, const char *b)
11 kx {
11 kx return __builtin_strstr (a, b);
11 kx }
11 kx EOF
11 kx if { ac_try='${CC-cc} -O3 -S conftest.c -o - | grep -F "my_strstr" > /dev/null'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; };
11 kx then
11 kx libc_cv_gcc_builtin_redirection=yes
11 kx else
11 kx libc_cv_gcc_builtin_redirection=no
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_redirection" >&5
11 kx $as_echo "$libc_cv_gcc_builtin_redirection" >&6; }
11 kx if test "$libc_cv_gcc_builtin_redirection" = no; then
11 kx as_fn_error $? "support for the symbol redirection needed" "$LINENO" 5
11 kx fi
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option to disable generation of FMA instructions" >&5
11 kx $as_echo_n "checking for compiler option to disable generation of FMA instructions... " >&6; }
11 kx if ${libc_cv_cc_nofma+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx libc_cv_cc_nofma=
11 kx for opt in -ffp-contract=off -mno-fused-madd; do
11 kx if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then :
11 kx libc_cv_cc_nofma=$opt; break
11 kx fi
11 kx done
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_nofma" >&5
11 kx $as_echo "$libc_cv_cc_nofma" >&6; }
11 kx
11 kx
11 kx if test -n "$submachine"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option for CPU variant" >&5
11 kx $as_echo_n "checking for compiler option for CPU variant... " >&6; }
11 kx if ${libc_cv_cc_submachine+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx libc_cv_cc_submachine=no
11 kx for opt in "-march=$submachine" "-mcpu=$submachine"; do
11 kx if { ac_try='${CC-cc} $opt -xc /dev/null -S -o /dev/null'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then :
11 kx
11 kx libc_cv_cc_submachine="$opt"
11 kx break
11 kx fi
11 kx done
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5
11 kx $as_echo "$libc_cv_cc_submachine" >&6; }
11 kx if test "x$libc_cv_cc_submachine" = xno; then
11 kx as_fn_error $? "${CC-cc} does not support $submachine" "$LINENO" 5
11 kx fi
11 kx fi
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option that -fsignaling-nans" >&5
11 kx $as_echo_n "checking for compiler option that -fsignaling-nans... " >&6; }
11 kx if ${libc_cv_cc_signaling_nans+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx if { ac_try='${CC-cc} -Werror -fsignaling-nans -xc /dev/null -S -o /dev/null'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }; then :
11 kx libc_cv_cc_signaling_nans=-fsignaling-nans
11 kx else
11 kx libc_cv_cc_signaling_nans=
11 kx fi
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_signaling_nans" >&5
11 kx $as_echo "$libc_cv_cc_signaling_nans" >&6; }
11 kx config_vars="$config_vars
11 kx config-cflags-signaling-nans = $libc_cv_cc_signaling_nans"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-tree-loop-distribute-patterns with \
11 kx __attribute__ ((__optimize__))" >&5
11 kx $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns with \
11 kx __attribute__ ((__optimize__))... " >&6; }
11 kx if ${libc_cv_cc_loop_to_function+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.c <<EOF
11 kx void
11 kx __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
11 kx foo (void) {}
11 kx EOF
11 kx libc_cv_cc_loop_to_function=no
11 kx if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c'
11 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11 kx (eval $ac_try) 2>&5
11 kx ac_status=$?
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11 kx test $ac_status = 0; }; }
11 kx then
11 kx libc_cv_cc_loop_to_function=yes
11 kx fi
11 kx rm -f conftest*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_loop_to_function" >&5
11 kx $as_echo "$libc_cv_cc_loop_to_function" >&6; }
11 kx if test $libc_cv_cc_loop_to_function = yes; then
11 kx $as_echo "#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgd" >&5
11 kx $as_echo_n "checking for libgd... " >&6; }
11 kx if test "$with_gd" != "no"; then
11 kx old_CFLAGS="$CFLAGS"
11 kx CFLAGS="$CFLAGS $libgd_include"
11 kx old_LDFLAGS="$LDFLAGS"
11 kx LDFLAGS="$LDFLAGS $libgd_ldflags"
11 kx old_LIBS="$LIBS"
11 kx LIBS="$LIBS -lgd -lpng -lz -lm"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx #include <gd.h>
11 kx int
11 kx main ()
11 kx {
11 kx gdImagePng (0, 0)
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_link "$LINENO"; then :
11 kx LIBGD=yes
11 kx else
11 kx LIBGD=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext \
11 kx conftest$ac_exeext conftest.$ac_ext
11 kx CFLAGS="$old_CFLAGS"
11 kx LDFLAGS="$old_LDFLAGS"
11 kx LIBS="$old_LIBS"
11 kx else
11 kx LIBGD=no
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGD" >&5
11 kx $as_echo "$LIBGD" >&6; }
11 kx
11 kx
11 kx # SELinux detection
11 kx if test x$with_selinux = xno ; then
11 kx have_selinux=no;
11 kx else
11 kx # See if we have the SELinux library
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
11 kx $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
11 kx if ${ac_cv_lib_selinux_is_selinux_enabled+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx ac_check_lib_save_LIBS=$LIBS
11 kx LIBS="-lselinux $LIBS"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx /* Override any GCC internal prototype to avoid an error.
11 kx Use char because int might match the return type of a GCC
11 kx builtin and then its argument prototype would still apply. */
11 kx #ifdef __cplusplus
11 kx extern "C"
11 kx #endif
11 kx char is_selinux_enabled ();
11 kx int
11 kx main ()
11 kx {
11 kx return is_selinux_enabled ();
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_link "$LINENO"; then :
11 kx ac_cv_lib_selinux_is_selinux_enabled=yes
11 kx else
11 kx ac_cv_lib_selinux_is_selinux_enabled=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext \
11 kx conftest$ac_exeext conftest.$ac_ext
11 kx LIBS=$ac_check_lib_save_LIBS
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
11 kx $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
11 kx if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes; then :
11 kx have_selinux=yes
11 kx else
11 kx have_selinux=no
11 kx fi
11 kx
11 kx if test x$with_selinux = xyes ; then
11 kx if test x$have_selinux = xno ; then
11 kx as_fn_error $? "SELinux explicitly required, but SELinux library not found" "$LINENO" 5
11 kx fi
11 kx fi
11 kx fi
11 kx # Check if we're building with SELinux support.
11 kx if test "x$have_selinux" = xyes; then
11 kx
11 kx $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
11 kx
11 kx
11 kx # See if we have the libaudit library
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
11 kx $as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
11 kx if ${ac_cv_lib_audit_audit_log_user_avc_message+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx ac_check_lib_save_LIBS=$LIBS
11 kx LIBS="-laudit $LIBS"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx /* Override any GCC internal prototype to avoid an error.
11 kx Use char because int might match the return type of a GCC
11 kx builtin and then its argument prototype would still apply. */
11 kx #ifdef __cplusplus
11 kx extern "C"
11 kx #endif
11 kx char audit_log_user_avc_message ();
11 kx int
11 kx main ()
11 kx {
11 kx return audit_log_user_avc_message ();
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_link "$LINENO"; then :
11 kx ac_cv_lib_audit_audit_log_user_avc_message=yes
11 kx else
11 kx ac_cv_lib_audit_audit_log_user_avc_message=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext \
11 kx conftest$ac_exeext conftest.$ac_ext
11 kx LIBS=$ac_check_lib_save_LIBS
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
11 kx $as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
11 kx if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = xyes; then :
11 kx have_libaudit=yes
11 kx else
11 kx have_libaudit=no
11 kx fi
11 kx
11 kx if test "x$have_libaudit" = xyes; then
11 kx
11 kx $as_echo "#define HAVE_LIBAUDIT 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx
11 kx # See if we have the libcap library
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
11 kx $as_echo_n "checking for cap_init in -lcap... " >&6; }
11 kx if ${ac_cv_lib_cap_cap_init+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx ac_check_lib_save_LIBS=$LIBS
11 kx LIBS="-lcap $LIBS"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx /* Override any GCC internal prototype to avoid an error.
11 kx Use char because int might match the return type of a GCC
11 kx builtin and then its argument prototype would still apply. */
11 kx #ifdef __cplusplus
11 kx extern "C"
11 kx #endif
11 kx char cap_init ();
11 kx int
11 kx main ()
11 kx {
11 kx return cap_init ();
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_link "$LINENO"; then :
11 kx ac_cv_lib_cap_cap_init=yes
11 kx else
11 kx ac_cv_lib_cap_cap_init=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext \
11 kx conftest$ac_exeext conftest.$ac_ext
11 kx LIBS=$ac_check_lib_save_LIBS
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
11 kx $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
11 kx if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
11 kx have_libcap=yes
11 kx else
11 kx have_libcap=no
11 kx fi
11 kx
11 kx if test "x$have_libcap" = xyes; then
11 kx
11 kx $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx fi
11 kx
11 kx
11 kx CPPUNDEFS=
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FORTIFY_SOURCE predefine" >&5
11 kx $as_echo_n "checking for _FORTIFY_SOURCE predefine... " >&6; }
11 kx if ${libc_cv_predef_fortify_source+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx
11 kx #ifdef _FORTIFY_SOURCE
11 kx # error bogon
11 kx #endif
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_compile "$LINENO"; then :
11 kx libc_cv_predef_fortify_source=no
11 kx else
11 kx libc_cv_predef_fortify_source=yes
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_predef_fortify_source" >&5
11 kx $as_echo "$libc_cv_predef_fortify_source" >&6; }
11 kx if test $libc_cv_predef_fortify_source = yes; then
11 kx CPPUNDEFS="${CPPUNDEFS:+$CPPUNDEFS }-U_FORTIFY_SOURCE"
11 kx fi
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the assembler requires one version per symbol" >&5
11 kx $as_echo_n "checking whether the assembler requires one version per symbol... " >&6; }
11 kx if ${libc_cv_symver_needs_alias+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx cat > conftest.s <<EOF
11 kx .text
11 kx testfunc:
11 kx .globl testfunc
11 kx .symver testfunc, testfunc1@VERSION1
11 kx .symver testfunc, testfunc1@VERSION2
11 kx EOF
11 kx libc_cv_symver_needs_alias=no
11 kx if ${CC-cc} $ASFLAGS -c conftest.s 2>&5; then
11 kx libc_cv_symver_needs_alias=no
11 kx else
11 kx libc_cv_symver_needs_alias=yes
11 kx fi
11 kx rm conftest.*
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_symver_needs_alias" >&5
11 kx $as_echo "$libc_cv_symver_needs_alias" >&6; }
11 kx if test "$libc_cv_symver_needs_alias" = yes; then
11 kx $as_echo "#define SYMVER_NEEDS_ALIAS 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_trap with no external dependencies" >&5
11 kx $as_echo_n "checking for __builtin_trap with no external dependencies... " >&6; }
11 kx if ${libc_cv_builtin_trap+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx libc_cv_builtin_trap=no
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx int
11 kx main ()
11 kx {
11 kx __builtin_trap ()
11 kx ;
11 kx return 0;
11 kx }
11 kx _ACEOF
11 kx if ac_fn_c_try_compile "$LINENO"; then :
11 kx
11 kx libc_undefs=`$NM -u conftest.o |
11 kx LC_ALL=C $AWK '$1 == "U" { print $2 | "sort -u"; next } { exit(1) }' \
11 kx 2>&5` || {
11 kx as_fn_error $? "confusing output from $NM -u" "$LINENO" 5
11 kx }
11 kx echo >&5 "libc_undefs='$libc_undefs'"
11 kx if test -z "$libc_undefs"; then
11 kx libc_cv_builtin_trap=yes
11 kx fi
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_builtin_trap" >&5
11 kx $as_echo "$libc_cv_builtin_trap" >&6; }
11 kx if test $libc_cv_builtin_trap = yes; then
11 kx $as_echo "#define HAVE_BUILTIN_TRAP 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx ac_ext=cpp
11 kx ac_cpp='$CXXCPP $CPPFLAGS'
11 kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11 kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports thread_local" >&5
11 kx $as_echo_n "checking whether the C++ compiler supports thread_local... " >&6; }
11 kx if ${libc_cv_cxx_thread_local+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx
11 kx old_CXXFLAGS="$CXXFLAGS"
11 kx CXXFLAGS="$CXXFLAGS -std=gnu++11"
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx
11 kx #include <thread>
11 kx
11 kx // Compiler support.
11 kx struct S
11 kx {
11 kx S ();
11 kx ~S ();
11 kx };
11 kx thread_local S s;
11 kx S * get () { return &s; }
11 kx
11 kx // libstdc++ support.
11 kx #ifndef _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL
11 kx #error __cxa_thread_atexit_impl not supported
11 kx #endif
11 kx
11 kx _ACEOF
11 kx if ac_fn_cxx_try_compile "$LINENO"; then :
11 kx libc_cv_cxx_thread_local=yes
11 kx else
11 kx libc_cv_cxx_thread_local=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx CXXFLAGS="$old_CXXFLAGS"
11 kx
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cxx_thread_local" >&5
11 kx $as_echo "$libc_cv_cxx_thread_local" >&6; }
11 kx
11 kx
11 kx ac_ext=c
11 kx ac_cpp='$CPP $CPPFLAGS'
11 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
11 kx
11 kx
11 kx ### End of automated tests.
11 kx ### Now run sysdeps configure fragments.
11 kx
11 kx # They also can set these variables.
11 kx use_ldconfig=no
11 kx ldd_rewrite_script=no
11 kx libc_cv_sysconfdir=$sysconfdir
11 kx libc_cv_localstatedir=$localstatedir
11 kx libc_cv_gcc_unwind_find_fde=no
11 kx libc_cv_idn=no
11 kx pthread_in_libc=yes
11 kx
11 kx # Iterate over all the sysdep directories we will use, running their
11 kx # configure fragments.
11 kx for dir in $sysnames; do
11 kx case $dir in
11 kx /*) dest=$dir ;;
11 kx *) dest=$srcdir/$dir ;;
11 kx esac
11 kx if test -r $dest/configure; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: running configure fragment for $dir" >&5
11 kx $as_echo "running configure fragment for $dir" >&6; }
11 kx . $dest/configure
11 kx fi
11 kx done
11 kx
11 kx if test x"$build_mathvec" = xnotset; then
11 kx build_mathvec=no
11 kx fi
11 kx config_vars="$config_vars
11 kx build-mathvec = $build_mathvec"
11 kx
11 kx
11 kx
11 kx
11 kx if test x$libc_cv_gcc_unwind_find_fde = xyes; then
11 kx $as_echo "#define EXPORT_UNWIND_FIND_FDE 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx
11 kx # A sysdeps configure fragment can reset this if IFUNC is not actually
11 kx # usable even though the assembler knows how to generate the symbol type.
11 kx if test x"$libc_cv_ld_gnu_indirect_function" = xyes; then
11 kx $as_echo "#define HAVE_IFUNC 1" >>confdefs.h
11 kx
11 kx fi
11 kx config_vars="$config_vars
11 kx have-ifunc = $libc_cv_ld_gnu_indirect_function"
11 kx
11 kx if test x"$libc_cv_gcc_indirect_function" = xyes; then
11 kx $as_echo "#define HAVE_GCC_IFUNC 1" >>confdefs.h
11 kx
11 kx fi
11 kx config_vars="$config_vars
11 kx have-gcc-ifunc = $libc_cv_gcc_indirect_function"
11 kx
11 kx # This is far from the AC_ARG_ENABLE that sets it so that a sysdeps
11 kx # configure fragment can override the value to prevent this AC_DEFINE.
11 kx
11 kx if test "x$use_nscd" != xno; then
11 kx $as_echo "#define USE_NSCD 1" >>confdefs.h
11 kx
11 kx fi
11 kx if test "x$build_nscd" = xdefault; then
11 kx build_nscd=$use_nscd
11 kx fi
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx if test x$use_ldconfig = xyes; then
11 kx $as_echo "#define USE_LDCONFIG 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
11 kx $as_echo_n "checking whether -fPIC is default... " >&6; }
11 kx if ${libc_cv_pic_default+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx libc_cv_pic_default=yes
11 kx cat > conftest.c <<EOF
11 kx #if defined __PIC__ || defined __pic__ || defined PIC || defined pic
11 kx # error PIC is default.
11 kx #endif
11 kx EOF
11 kx if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
11 kx libc_cv_pic_default=no
11 kx fi
11 kx rm -f conftest.*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pic_default" >&5
11 kx $as_echo "$libc_cv_pic_default" >&6; }
11 kx config_vars="$config_vars
11 kx build-pic-default = $libc_cv_pic_default"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIE is default" >&5
11 kx $as_echo_n "checking whether -fPIE is default... " >&6; }
11 kx if ${libc_cv_cc_pie_default+:} false; then :
11 kx $as_echo_n "(cached) " >&6
11 kx else
11 kx libc_cv_cc_pie_default=yes
11 kx cat > conftest.c <<EOF
11 kx #if defined __PIE__ || defined __pie__ || defined PIE || defined pie
11 kx # error PIE is default.
11 kx #endif
11 kx EOF
11 kx if eval "${CC-cc} -S conftest.c 2>&5 1>&5"; then
11 kx libc_cv_cc_pie_default=no
11 kx fi
11 kx rm -f conftest.*
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_pie_default" >&5
11 kx $as_echo "$libc_cv_cc_pie_default" >&6; }
11 kx config_vars="$config_vars
11 kx cc-pie-default = $libc_cv_cc_pie_default"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can build programs as PIE" >&5
11 kx $as_echo_n "checking if we can build programs as PIE... " >&6; }
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx #ifdef PIE_UNSUPPORTED
11 kx # error PIE is not supported
11 kx #endif
11 kx _ACEOF
11 kx if ac_fn_c_try_compile "$LINENO"; then :
11 kx libc_cv_pie_supported=yes
11 kx else
11 kx libc_cv_pie_supported=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_pie_supported" >&5
11 kx $as_echo "$libc_cv_pie_supported" >&6; }
11 kx # Disable build-pie-default if target does not support it or glibc is
11 kx # configured with --disable-default-pie.
11 kx if test "x$default_pie" = xno; then
11 kx build_pie_default=no
11 kx else
11 kx build_pie_default=$libc_cv_pie_supported
11 kx fi
11 kx config_vars="$config_vars
11 kx build-pie-default = $build_pie_default"
11 kx
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can build static PIE programs" >&5
11 kx $as_echo_n "checking if we can build static PIE programs... " >&6; }
11 kx libc_cv_static_pie_supported=$libc_cv_pie_supported
11 kx if test "x$libc_cv_pie_supported" != xno \
11 kx -a "$libc_cv_no_dynamic_linker" = yes; then
11 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 kx /* end confdefs.h. */
11 kx #ifndef SUPPORT_STATIC_PIE
11 kx # error static PIE is not supported
11 kx #endif
11 kx _ACEOF
11 kx if ac_fn_c_try_compile "$LINENO"; then :
11 kx libc_cv_static_pie_supported=yes
11 kx else
11 kx libc_cv_static_pie_supported=no
11 kx fi
11 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11 kx fi
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_static_pie_supported" >&5
11 kx $as_echo "$libc_cv_static_pie_supported" >&6; }
11 kx
11 kx # Enable static-pie only if it is available and glibc isn't configured
11 kx # with --disable-default-pie.
11 kx if test "x$default_pie" = xno; then
11 kx libc_cv_static_pie=no
11 kx else
11 kx libc_cv_static_pie=$libc_cv_static_pie_supported
11 kx fi
11 kx if test "$libc_cv_static_pie" = "yes"; then
11 kx $as_echo "#define ENABLE_STATIC_PIE 1" >>confdefs.h
11 kx
11 kx fi
11 kx config_vars="$config_vars
11 kx enable-static-pie = $libc_cv_static_pie"
11 kx
11 kx # Set the `multidir' variable by grabbing the variable from the compiler.
11 kx # We do it once and save the result in a generated makefile.
11 kx libc_cv_multidir=`${CC-cc} $CFLAGS $CPPFLAGS -print-multi-directory`
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx
11 kx VERSION=`sed -n -e 's/^#define VERSION "\([^"]*\)"/\1/p' < $srcdir/version.h`
11 kx RELEASE=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h`
11 kx
11 kx
11 kx
11 kx if test "$pthread_in_libc" = yes; then
11 kx $as_echo "#define PTHREAD_IN_LIBC 1" >>confdefs.h
11 kx
11 kx fi
11 kx
11 kx
11 kx ac_config_files="$ac_config_files config.make Makefile"
11 kx
11 kx ac_config_commands="$ac_config_commands default"
11 kx
11 kx cat >confcache <<\_ACEOF
11 kx # This file is a shell script that caches the results of configure
11 kx # tests run on this system so they can be shared between configure
11 kx # scripts and configure runs, see configure's option --config-cache.
11 kx # It is not useful on other systems. If it contains results you don't
11 kx # want to keep, you may remove or edit it.
11 kx #
11 kx # config.status only pays attention to the cache file if you give it
11 kx # the --recheck option to rerun configure.
11 kx #
11 kx # `ac_cv_env_foo' variables (set or unset) will be overridden when
11 kx # loading this file, other *unset* `ac_cv_foo' will be assigned the
11 kx # following values.
11 kx
11 kx _ACEOF
11 kx
11 kx # The following way of writing the cache mishandles newlines in values,
11 kx # but we know of no workaround that is simple, portable, and efficient.
11 kx # So, we kill variables containing newlines.
11 kx # Ultrix sh set writes to stderr and can't be redirected directly,
11 kx # and sets the high bit in the cache file unless we assign to the vars.
11 kx (
11 kx for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11 kx eval ac_val=\$$ac_var
11 kx case $ac_val in #(
11 kx *${as_nl}*)
11 kx case $ac_var in #(
11 kx *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11 kx $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11 kx esac
11 kx case $ac_var in #(
11 kx _ | IFS | as_nl) ;; #(
11 kx BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11 kx *) { eval $ac_var=; unset $ac_var;} ;;
11 kx esac ;;
11 kx esac
11 kx done
11 kx
11 kx (set) 2>&1 |
11 kx case $as_nl`(ac_space=' '; set) 2>&1` in #(
11 kx *${as_nl}ac_space=\ *)
11 kx # `set' does not quote correctly, so add quotes: double-quote
11 kx # substitution turns \\\\ into \\, and sed turns \\ into \.
11 kx sed -n \
11 kx "s/'/'\\\\''/g;
11 kx s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11 kx ;; #(
11 kx *)
11 kx # `set' quotes correctly as required by POSIX, so do not add quotes.
11 kx sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11 kx ;;
11 kx esac |
11 kx sort
11 kx ) |
11 kx sed '
11 kx /^ac_cv_env_/b end
11 kx t clear
11 kx :clear
11 kx s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11 kx t end
11 kx s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11 kx :end' >>confcache
11 kx if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11 kx if test -w "$cache_file"; then
11 kx if test "x$cache_file" != "x/dev/null"; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11 kx $as_echo "$as_me: updating cache $cache_file" >&6;}
11 kx if test ! -f "$cache_file" || test -h "$cache_file"; then
11 kx cat confcache >"$cache_file"
11 kx else
11 kx case $cache_file in #(
11 kx */* | ?:*)
11 kx mv -f confcache "$cache_file"$$ &&
11 kx mv -f "$cache_file"$$ "$cache_file" ;; #(
11 kx *)
11 kx mv -f confcache "$cache_file" ;;
11 kx esac
11 kx fi
11 kx fi
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11 kx $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11 kx fi
11 kx fi
11 kx rm -f confcache
11 kx
11 kx test "x$prefix" = xNONE && prefix=$ac_default_prefix
11 kx # Let make expand exec_prefix.
11 kx test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11 kx
11 kx DEFS=-DHAVE_CONFIG_H
11 kx
11 kx ac_libobjs=
11 kx ac_ltlibobjs=
11 kx U=
11 kx for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11 kx # 1. Remove the extension, and $U if already installed.
11 kx ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11 kx ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11 kx # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11 kx # will be set to the directory where LIBOBJS objects are built.
11 kx as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11 kx as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11 kx done
11 kx LIBOBJS=$ac_libobjs
11 kx
11 kx LTLIBOBJS=$ac_ltlibobjs
11 kx
11 kx
11 kx
11 kx : "${CONFIG_STATUS=./config.status}"
11 kx ac_write_fail=0
11 kx ac_clean_files_save=$ac_clean_files
11 kx ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11 kx $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11 kx as_write_fail=0
11 kx cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11 kx #! $SHELL
11 kx # Generated by $as_me.
11 kx # Run this file to recreate the current configuration.
11 kx # Compiler output produced by configure, useful for debugging
11 kx # configure, is in config.log if it exists.
11 kx
11 kx debug=false
11 kx ac_cs_recheck=false
11 kx ac_cs_silent=false
11 kx
11 kx SHELL=\${CONFIG_SHELL-$SHELL}
11 kx export SHELL
11 kx _ASEOF
11 kx cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11 kx ## -------------------- ##
11 kx ## M4sh Initialization. ##
11 kx ## -------------------- ##
11 kx
11 kx # Be more Bourne compatible
11 kx DUALCASE=1; export DUALCASE # for MKS sh
11 kx if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11 kx emulate sh
11 kx NULLCMD=:
11 kx # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11 kx # is contrary to our usage. Disable this feature.
11 kx alias -g '${1+"$@"}'='"$@"'
11 kx setopt NO_GLOB_SUBST
11 kx else
11 kx case `(set -o) 2>/dev/null` in #(
11 kx *posix*) :
11 kx set -o posix ;; #(
11 kx *) :
11 kx ;;
11 kx esac
11 kx fi
11 kx
11 kx
11 kx as_nl='
11 kx '
11 kx export as_nl
11 kx # Printing a long string crashes Solaris 7 /usr/bin/printf.
11 kx as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11 kx as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11 kx as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11 kx # Prefer a ksh shell builtin over an external printf program on Solaris,
11 kx # but without wasting forks for bash or zsh.
11 kx if test -z "$BASH_VERSION$ZSH_VERSION" \
11 kx && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11 kx as_echo='print -r --'
11 kx as_echo_n='print -rn --'
11 kx elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11 kx as_echo='printf %s\n'
11 kx as_echo_n='printf %s'
11 kx else
11 kx if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11 kx as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11 kx as_echo_n='/usr/ucb/echo -n'
11 kx else
11 kx as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11 kx as_echo_n_body='eval
11 kx arg=$1;
11 kx case $arg in #(
11 kx *"$as_nl"*)
11 kx expr "X$arg" : "X\\(.*\\)$as_nl";
11 kx arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11 kx esac;
11 kx expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11 kx '
11 kx export as_echo_n_body
11 kx as_echo_n='sh -c $as_echo_n_body as_echo'
11 kx fi
11 kx export as_echo_body
11 kx as_echo='sh -c $as_echo_body as_echo'
11 kx fi
11 kx
11 kx # The user is always right.
11 kx if test "${PATH_SEPARATOR+set}" != set; then
11 kx PATH_SEPARATOR=:
11 kx (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11 kx (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11 kx PATH_SEPARATOR=';'
11 kx }
11 kx fi
11 kx
11 kx
11 kx # IFS
11 kx # We need space, tab and new line, in precisely that order. Quoting is
11 kx # there to prevent editors from complaining about space-tab.
11 kx # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11 kx # splitting by setting IFS to empty value.)
11 kx IFS=" "" $as_nl"
11 kx
11 kx # Find who we are. Look in the path if we contain no directory separator.
11 kx as_myself=
11 kx case $0 in #((
11 kx *[\\/]* ) as_myself=$0 ;;
11 kx *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11 kx for as_dir in $PATH
11 kx do
11 kx IFS=$as_save_IFS
11 kx test -z "$as_dir" && as_dir=.
11 kx test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11 kx done
11 kx IFS=$as_save_IFS
11 kx
11 kx ;;
11 kx esac
11 kx # We did not find ourselves, most probably we were run as `sh COMMAND'
11 kx # in which case we are not to be found in the path.
11 kx if test "x$as_myself" = x; then
11 kx as_myself=$0
11 kx fi
11 kx if test ! -f "$as_myself"; then
11 kx $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11 kx exit 1
11 kx fi
11 kx
11 kx # Unset variables that we do not need and which cause bugs (e.g. in
11 kx # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11 kx # suppresses any "Segmentation fault" message there. '((' could
11 kx # trigger a bug in pdksh 5.2.14.
11 kx for as_var in BASH_ENV ENV MAIL MAILPATH
11 kx do eval test x\${$as_var+set} = xset \
11 kx && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11 kx done
11 kx PS1='$ '
11 kx PS2='> '
11 kx PS4='+ '
11 kx
11 kx # NLS nuisances.
11 kx LC_ALL=C
11 kx export LC_ALL
11 kx LANGUAGE=C
11 kx export LANGUAGE
11 kx
11 kx # CDPATH.
11 kx (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11 kx
11 kx
11 kx # as_fn_error STATUS ERROR [LINENO LOG_FD]
11 kx # ----------------------------------------
11 kx # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11 kx # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11 kx # script with STATUS, using 1 if that was 0.
11 kx as_fn_error ()
11 kx {
11 kx as_status=$1; test $as_status -eq 0 && as_status=1
11 kx if test "$4"; then
11 kx as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11 kx fi
11 kx $as_echo "$as_me: error: $2" >&2
11 kx as_fn_exit $as_status
11 kx } # as_fn_error
11 kx
11 kx
11 kx # as_fn_set_status STATUS
11 kx # -----------------------
11 kx # Set $? to STATUS, without forking.
11 kx as_fn_set_status ()
11 kx {
11 kx return $1
11 kx } # as_fn_set_status
11 kx
11 kx # as_fn_exit STATUS
11 kx # -----------------
11 kx # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11 kx as_fn_exit ()
11 kx {
11 kx set +e
11 kx as_fn_set_status $1
11 kx exit $1
11 kx } # as_fn_exit
11 kx
11 kx # as_fn_unset VAR
11 kx # ---------------
11 kx # Portably unset VAR.
11 kx as_fn_unset ()
11 kx {
11 kx { eval $1=; unset $1;}
11 kx }
11 kx as_unset=as_fn_unset
11 kx # as_fn_append VAR VALUE
11 kx # ----------------------
11 kx # Append the text in VALUE to the end of the definition contained in VAR. Take
11 kx # advantage of any shell optimizations that allow amortized linear growth over
11 kx # repeated appends, instead of the typical quadratic growth present in naive
11 kx # implementations.
11 kx if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11 kx eval 'as_fn_append ()
11 kx {
11 kx eval $1+=\$2
11 kx }'
11 kx else
11 kx as_fn_append ()
11 kx {
11 kx eval $1=\$$1\$2
11 kx }
11 kx fi # as_fn_append
11 kx
11 kx # as_fn_arith ARG...
11 kx # ------------------
11 kx # Perform arithmetic evaluation on the ARGs, and store the result in the
11 kx # global $as_val. Take advantage of shells that can avoid forks. The arguments
11 kx # must be portable across $(()) and expr.
11 kx if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11 kx eval 'as_fn_arith ()
11 kx {
11 kx as_val=$(( $* ))
11 kx }'
11 kx else
11 kx as_fn_arith ()
11 kx {
11 kx as_val=`expr "$@" || test $? -eq 1`
11 kx }
11 kx fi # as_fn_arith
11 kx
11 kx
11 kx if expr a : '\(a\)' >/dev/null 2>&1 &&
11 kx test "X`expr 00001 : '.*\(...\)'`" = X001; then
11 kx as_expr=expr
11 kx else
11 kx as_expr=false
11 kx fi
11 kx
11 kx if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11 kx as_basename=basename
11 kx else
11 kx as_basename=false
11 kx fi
11 kx
11 kx if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11 kx as_dirname=dirname
11 kx else
11 kx as_dirname=false
11 kx fi
11 kx
11 kx as_me=`$as_basename -- "$0" ||
11 kx $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11 kx X"$0" : 'X\(//\)$' \| \
11 kx X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11 kx $as_echo X/"$0" |
11 kx sed '/^.*\/\([^/][^/]*\)\/*$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\/\(\/\/\)$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\/\(\/\).*/{
11 kx s//\1/
11 kx q
11 kx }
11 kx s/.*/./; q'`
11 kx
11 kx # Avoid depending upon Character Ranges.
11 kx as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11 kx as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11 kx as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11 kx as_cr_digits='0123456789'
11 kx as_cr_alnum=$as_cr_Letters$as_cr_digits
11 kx
11 kx ECHO_C= ECHO_N= ECHO_T=
11 kx case `echo -n x` in #(((((
11 kx -n*)
11 kx case `echo 'xy\c'` in
11 kx *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11 kx xy) ECHO_C='\c';;
11 kx *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11 kx ECHO_T=' ';;
11 kx esac;;
11 kx *)
11 kx ECHO_N='-n';;
11 kx esac
11 kx
11 kx rm -f conf$$ conf$$.exe conf$$.file
11 kx if test -d conf$$.dir; then
11 kx rm -f conf$$.dir/conf$$.file
11 kx else
11 kx rm -f conf$$.dir
11 kx mkdir conf$$.dir 2>/dev/null
11 kx fi
11 kx if (echo >conf$$.file) 2>/dev/null; then
11 kx if ln -s conf$$.file conf$$ 2>/dev/null; then
11 kx as_ln_s='ln -s'
11 kx # ... but there are two gotchas:
11 kx # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11 kx # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11 kx # In both cases, we have to default to `cp -pR'.
11 kx ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11 kx as_ln_s='cp -pR'
11 kx elif ln conf$$.file conf$$ 2>/dev/null; then
11 kx as_ln_s=ln
11 kx else
11 kx as_ln_s='cp -pR'
11 kx fi
11 kx else
11 kx as_ln_s='cp -pR'
11 kx fi
11 kx rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11 kx rmdir conf$$.dir 2>/dev/null
11 kx
11 kx
11 kx # as_fn_mkdir_p
11 kx # -------------
11 kx # Create "$as_dir" as a directory, including parents if necessary.
11 kx as_fn_mkdir_p ()
11 kx {
11 kx
11 kx case $as_dir in #(
11 kx -*) as_dir=./$as_dir;;
11 kx esac
11 kx test -d "$as_dir" || eval $as_mkdir_p || {
11 kx as_dirs=
11 kx while :; do
11 kx case $as_dir in #(
11 kx *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11 kx *) as_qdir=$as_dir;;
11 kx esac
11 kx as_dirs="'$as_qdir' $as_dirs"
11 kx as_dir=`$as_dirname -- "$as_dir" ||
11 kx $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11 kx X"$as_dir" : 'X\(//\)[^/]' \| \
11 kx X"$as_dir" : 'X\(//\)$' \| \
11 kx X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11 kx $as_echo X"$as_dir" |
11 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\/\)[^/].*/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\/\)$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\).*/{
11 kx s//\1/
11 kx q
11 kx }
11 kx s/.*/./; q'`
11 kx test -d "$as_dir" && break
11 kx done
11 kx test -z "$as_dirs" || eval "mkdir $as_dirs"
11 kx } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11 kx
11 kx
11 kx } # as_fn_mkdir_p
11 kx if mkdir -p . 2>/dev/null; then
11 kx as_mkdir_p='mkdir -p "$as_dir"'
11 kx else
11 kx test -d ./-p && rmdir ./-p
11 kx as_mkdir_p=false
11 kx fi
11 kx
11 kx
11 kx # as_fn_executable_p FILE
11 kx # -----------------------
11 kx # Test if FILE is an executable regular file.
11 kx as_fn_executable_p ()
11 kx {
11 kx test -f "$1" && test -x "$1"
11 kx } # as_fn_executable_p
11 kx as_test_x='test -x'
11 kx as_executable_p=as_fn_executable_p
11 kx
11 kx # Sed expression to map a string onto a valid CPP name.
11 kx as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11 kx
11 kx # Sed expression to map a string onto a valid variable name.
11 kx as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11 kx
11 kx
11 kx exec 6>&1
11 kx ## ----------------------------------- ##
11 kx ## Main body of $CONFIG_STATUS script. ##
11 kx ## ----------------------------------- ##
11 kx _ASEOF
11 kx test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11 kx
11 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11 kx # Save the log message, to keep $0 and so on meaningful, and to
11 kx # report actual input values of CONFIG_FILES etc. instead of their
11 kx # values after options handling.
11 kx ac_log="
11 kx This file was extended by GNU C Library $as_me (see version.h), which was
11 kx generated by GNU Autoconf 2.69. Invocation command line was
11 kx
11 kx CONFIG_FILES = $CONFIG_FILES
11 kx CONFIG_HEADERS = $CONFIG_HEADERS
11 kx CONFIG_LINKS = $CONFIG_LINKS
11 kx CONFIG_COMMANDS = $CONFIG_COMMANDS
11 kx $ $0 $@
11 kx
11 kx on `(hostname || uname -n) 2>/dev/null | sed 1q`
11 kx "
11 kx
11 kx _ACEOF
11 kx
11 kx case $ac_config_files in *"
11 kx "*) set x $ac_config_files; shift; ac_config_files=$*;;
11 kx esac
11 kx
11 kx case $ac_config_headers in *"
11 kx "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11 kx esac
11 kx
11 kx
11 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11 kx # Files that config.status was made for.
11 kx config_files="$ac_config_files"
11 kx config_headers="$ac_config_headers"
11 kx config_commands="$ac_config_commands"
11 kx
11 kx _ACEOF
11 kx
11 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11 kx ac_cs_usage="\
11 kx \`$as_me' instantiates files and other configuration actions
11 kx from templates according to the current configuration. Unless the files
11 kx and actions are specified as TAGs, all are instantiated by default.
11 kx
11 kx Usage: $0 [OPTION]... [TAG]...
11 kx
11 kx -h, --help print this help, then exit
11 kx -V, --version print version number and configuration settings, then exit
11 kx --config print configuration, then exit
11 kx -q, --quiet, --silent
11 kx do not print progress messages
11 kx -d, --debug don't remove temporary files
11 kx --recheck update $as_me by reconfiguring in the same conditions
11 kx --file=FILE[:TEMPLATE]
11 kx instantiate the configuration file FILE
11 kx --header=FILE[:TEMPLATE]
11 kx instantiate the configuration header FILE
11 kx
11 kx Configuration files:
11 kx $config_files
11 kx
11 kx Configuration headers:
11 kx $config_headers
11 kx
11 kx Configuration commands:
11 kx $config_commands
11 kx
11 kx Report bugs to <https://sourceware.org/bugzilla/>.
11 kx GNU C Library home page: <https://www.gnu.org/software/glibc/>.
11 kx General help using GNU software: <http://www.gnu.org/gethelp/>."
11 kx
11 kx _ACEOF
11 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11 kx ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11 kx ac_cs_version="\\
11 kx GNU C Library config.status (see version.h)
11 kx configured by $0, generated by GNU Autoconf 2.69,
11 kx with options \\"\$ac_cs_config\\"
11 kx
11 kx Copyright (C) 2012 Free Software Foundation, Inc.
11 kx This config.status script is free software; the Free Software Foundation
11 kx gives unlimited permission to copy, distribute and modify it."
11 kx
11 kx ac_pwd='$ac_pwd'
11 kx srcdir='$srcdir'
11 kx INSTALL='$INSTALL'
11 kx test -n "\$AWK" || AWK=awk
11 kx _ACEOF
11 kx
11 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11 kx # The default lists apply if the user does not specify any file.
11 kx ac_need_defaults=:
11 kx while test $# != 0
11 kx do
11 kx case $1 in
11 kx --*=?*)
11 kx ac_option=`expr "X$1" : 'X\([^=]*\)='`
11 kx ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11 kx ac_shift=:
11 kx ;;
11 kx --*=)
11 kx ac_option=`expr "X$1" : 'X\([^=]*\)='`
11 kx ac_optarg=
11 kx ac_shift=:
11 kx ;;
11 kx *)
11 kx ac_option=$1
11 kx ac_optarg=$2
11 kx ac_shift=shift
11 kx ;;
11 kx esac
11 kx
11 kx case $ac_option in
11 kx # Handling of the options.
11 kx -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11 kx ac_cs_recheck=: ;;
11 kx --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11 kx $as_echo "$ac_cs_version"; exit ;;
11 kx --config | --confi | --conf | --con | --co | --c )
11 kx $as_echo "$ac_cs_config"; exit ;;
11 kx --debug | --debu | --deb | --de | --d | -d )
11 kx debug=: ;;
11 kx --file | --fil | --fi | --f )
11 kx $ac_shift
11 kx case $ac_optarg in
11 kx *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11 kx '') as_fn_error $? "missing file argument" ;;
11 kx esac
11 kx as_fn_append CONFIG_FILES " '$ac_optarg'"
11 kx ac_need_defaults=false;;
11 kx --header | --heade | --head | --hea )
11 kx $ac_shift
11 kx case $ac_optarg in
11 kx *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11 kx esac
11 kx as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11 kx ac_need_defaults=false;;
11 kx --he | --h)
11 kx # Conflict between --help and --header
11 kx as_fn_error $? "ambiguous option: \`$1'
11 kx Try \`$0 --help' for more information.";;
11 kx --help | --hel | -h )
11 kx $as_echo "$ac_cs_usage"; exit ;;
11 kx -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11 kx | -silent | --silent | --silen | --sile | --sil | --si | --s)
11 kx ac_cs_silent=: ;;
11 kx
11 kx # This is an error.
11 kx -*) as_fn_error $? "unrecognized option: \`$1'
11 kx Try \`$0 --help' for more information." ;;
11 kx
11 kx *) as_fn_append ac_config_targets " $1"
11 kx ac_need_defaults=false ;;
11 kx
11 kx esac
11 kx shift
11 kx done
11 kx
11 kx ac_configure_extra_args=
11 kx
11 kx if $ac_cs_silent; then
11 kx exec 6>/dev/null
11 kx ac_configure_extra_args="$ac_configure_extra_args --silent"
11 kx fi
11 kx
11 kx _ACEOF
11 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11 kx if \$ac_cs_recheck; then
11 kx set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11 kx shift
11 kx \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11 kx CONFIG_SHELL='$SHELL'
11 kx export CONFIG_SHELL
11 kx exec "\$@"
11 kx fi
11 kx
11 kx _ACEOF
11 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11 kx exec 5>>config.log
11 kx {
11 kx echo
11 kx sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11 kx ## Running $as_me. ##
11 kx _ASBOX
11 kx $as_echo "$ac_log"
11 kx } >&5
11 kx
11 kx _ACEOF
11 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11 kx #
11 kx # INIT-COMMANDS
11 kx #
11 kx config_vars='$config_vars'
11 kx
11 kx _ACEOF
11 kx
11 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11 kx
11 kx # Handling of arguments.
11 kx for ac_config_target in $ac_config_targets
11 kx do
11 kx case $ac_config_target in
11 kx "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11 kx "config.make") CONFIG_FILES="$CONFIG_FILES config.make" ;;
11 kx "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11 kx "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
11 kx
11 kx *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11 kx esac
11 kx done
11 kx
11 kx
11 kx # If the user did not use the arguments to specify the items to instantiate,
11 kx # then the envvar interface is used. Set only those that are not.
11 kx # We use the long form for the default assignment because of an extremely
11 kx # bizarre bug on SunOS 4.1.3.
11 kx if $ac_need_defaults; then
11 kx test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11 kx test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11 kx test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11 kx fi
11 kx
11 kx # Have a temporary directory for convenience. Make it in the build tree
11 kx # simply because there is no reason against having it here, and in addition,
11 kx # creating and moving files from /tmp can sometimes cause problems.
11 kx # Hook for its removal unless debugging.
11 kx # Note that there is a small window in which the directory will not be cleaned:
11 kx # after its creation but before its name has been assigned to `$tmp'.
11 kx $debug ||
11 kx {
11 kx tmp= ac_tmp=
11 kx trap 'exit_status=$?
11 kx : "${ac_tmp:=$tmp}"
11 kx { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
11 kx ' 0
11 kx trap 'as_fn_exit 1' 1 2 13 15
11 kx }
11 kx # Create a (secure) tmp directory for tmp files.
11 kx
11 kx {
11 kx tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11 kx test -d "$tmp"
11 kx } ||
11 kx {
11 kx tmp=./conf$$-$RANDOM
11 kx (umask 077 && mkdir "$tmp")
11 kx } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
11 kx ac_tmp=$tmp
11 kx
11 kx # Set up the scripts for CONFIG_FILES section.
11 kx # No need to generate them if there are no CONFIG_FILES.
11 kx # This happens for instance with `./config.status config.h'.
11 kx if test -n "$CONFIG_FILES"; then
11 kx
11 kx
11 kx ac_cr=`echo X | tr X '\015'`
11 kx # On cygwin, bash can eat \r inside `` if the user requested igncr.
11 kx # But we know of no other shell where ac_cr would be empty at this
11 kx # point, so we can use a bashism as a fallback.
11 kx if test "x$ac_cr" = x; then
11 kx eval ac_cr=\$\'\\r\'
11 kx fi
11 kx ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11 kx if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11 kx ac_cs_awk_cr='\\r'
11 kx else
11 kx ac_cs_awk_cr=$ac_cr
11 kx fi
11 kx
11 kx echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
11 kx _ACEOF
11 kx
11 kx
11 kx {
11 kx echo "cat >conf$$subs.awk <<_ACEOF" &&
11 kx echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11 kx echo "_ACEOF"
11 kx } >conf$$subs.sh ||
11 kx as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11 kx ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11 kx ac_delim='%!_!# '
11 kx for ac_last_try in false false false false false :; do
11 kx . ./conf$$subs.sh ||
11 kx as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11 kx
11 kx ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11 kx if test $ac_delim_n = $ac_delim_num; then
11 kx break
11 kx elif $ac_last_try; then
11 kx as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11 kx else
11 kx ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11 kx fi
11 kx done
11 kx rm -f conf$$subs.sh
11 kx
11 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11 kx cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
11 kx _ACEOF
11 kx sed -n '
11 kx h
11 kx s/^/S["/; s/!.*/"]=/
11 kx p
11 kx g
11 kx s/^[^!]*!//
11 kx :repl
11 kx t repl
11 kx s/'"$ac_delim"'$//
11 kx t delim
11 kx :nl
11 kx h
11 kx s/\(.\{148\}\)..*/\1/
11 kx t more1
11 kx s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
11 kx p
11 kx n
11 kx b repl
11 kx :more1
11 kx s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11 kx p
11 kx g
11 kx s/.\{148\}//
11 kx t nl
11 kx :delim
11 kx h
11 kx s/\(.\{148\}\)..*/\1/
11 kx t more2
11 kx s/["\\]/\\&/g; s/^/"/; s/$/"/
11 kx p
11 kx b
11 kx :more2
11 kx s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11 kx p
11 kx g
11 kx s/.\{148\}//
11 kx t delim
11 kx ' <conf$$subs.awk | sed '
11 kx /^[^""]/{
11 kx N
11 kx s/\n//
11 kx }
11 kx ' >>$CONFIG_STATUS || ac_write_fail=1
11 kx rm -f conf$$subs.awk
11 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11 kx _ACAWK
11 kx cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
11 kx for (key in S) S_is_set[key] = 1
11 kx FS = ""
11 kx
11 kx }
11 kx {
11 kx line = $ 0
11 kx nfields = split(line, field, "@")
11 kx substed = 0
11 kx len = length(field[1])
11 kx for (i = 2; i < nfields; i++) {
11 kx key = field[i]
11 kx keylen = length(key)
11 kx if (S_is_set[key]) {
11 kx value = S[key]
11 kx line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11 kx len += length(value) + length(field[++i])
11 kx substed = 1
11 kx } else
11 kx len += 1 + keylen
11 kx }
11 kx
11 kx print line
11 kx }
11 kx
11 kx _ACAWK
11 kx _ACEOF
11 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11 kx if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11 kx sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
11 kx else
11 kx cat
11 kx fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
11 kx || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
11 kx _ACEOF
11 kx
11 kx # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
11 kx # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
11 kx # trailing colons and then remove the whole line if VPATH becomes empty
11 kx # (actually we leave an empty line to preserve line numbers).
11 kx if test "x$srcdir" = x.; then
11 kx ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
11 kx h
11 kx s///
11 kx s/^/:/
11 kx s/[ ]*$/:/
11 kx s/:\$(srcdir):/:/g
11 kx s/:\${srcdir}:/:/g
11 kx s/:@srcdir@:/:/g
11 kx s/^:*//
11 kx s/:*$//
11 kx x
11 kx s/\(=[ ]*\).*/\1/
11 kx G
11 kx s/\n//
11 kx s/^[^=]*=[ ]*$//
11 kx }'
11 kx fi
11 kx
11 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11 kx fi # test -n "$CONFIG_FILES"
11 kx
11 kx # Set up the scripts for CONFIG_HEADERS section.
11 kx # No need to generate them if there are no CONFIG_HEADERS.
11 kx # This happens for instance with `./config.status Makefile'.
11 kx if test -n "$CONFIG_HEADERS"; then
11 kx cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
11 kx BEGIN {
11 kx _ACEOF
11 kx
11 kx # Transform confdefs.h into an awk script `defines.awk', embedded as
11 kx # here-document in config.status, that substitutes the proper values into
11 kx # config.h.in to produce config.h.
11 kx
11 kx # Create a delimiter string that does not exist in confdefs.h, to ease
11 kx # handling of long lines.
11 kx ac_delim='%!_!# '
11 kx for ac_last_try in false false :; do
11 kx ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
11 kx if test -z "$ac_tt"; then
11 kx break
11 kx elif $ac_last_try; then
11 kx as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
11 kx else
11 kx ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11 kx fi
11 kx done
11 kx
11 kx # For the awk script, D is an array of macro values keyed by name,
11 kx # likewise P contains macro parameters if any. Preserve backslash
11 kx # newline sequences.
11 kx
11 kx ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11 kx sed -n '
11 kx s/.\{148\}/&'"$ac_delim"'/g
11 kx t rset
11 kx :rset
11 kx s/^[ ]*#[ ]*define[ ][ ]*/ /
11 kx t def
11 kx d
11 kx :def
11 kx s/\\$//
11 kx t bsnl
11 kx s/["\\]/\\&/g
11 kx s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
11 kx D["\1"]=" \3"/p
11 kx s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
11 kx d
11 kx :bsnl
11 kx s/["\\]/\\&/g
11 kx s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
11 kx D["\1"]=" \3\\\\\\n"\\/p
11 kx t cont
11 kx s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
11 kx t cont
11 kx d
11 kx :cont
11 kx n
11 kx s/.\{148\}/&'"$ac_delim"'/g
11 kx t clear
11 kx :clear
11 kx s/\\$//
11 kx t bsnlc
11 kx s/["\\]/\\&/g; s/^/"/; s/$/"/p
11 kx d
11 kx :bsnlc
11 kx s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
11 kx b cont
11 kx ' <confdefs.h | sed '
11 kx s/'"$ac_delim"'/"\\\
11 kx "/g' >>$CONFIG_STATUS || ac_write_fail=1
11 kx
11 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11 kx for (key in D) D_is_set[key] = 1
11 kx FS = ""
11 kx }
11 kx /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11 kx line = \$ 0
11 kx split(line, arg, " ")
11 kx if (arg[1] == "#") {
11 kx defundef = arg[2]
11 kx mac1 = arg[3]
11 kx } else {
11 kx defundef = substr(arg[1], 2)
11 kx mac1 = arg[2]
11 kx }
11 kx split(mac1, mac2, "(") #)
11 kx macro = mac2[1]
11 kx prefix = substr(line, 1, index(line, defundef) - 1)
11 kx if (D_is_set[macro]) {
11 kx # Preserve the white space surrounding the "#".
11 kx print prefix "define", macro P[macro] D[macro]
11 kx next
11 kx } else {
11 kx # Replace #undef with comments. This is necessary, for example,
11 kx # in the case of _POSIX_SOURCE, which is predefined and required
11 kx # on some systems where configure will not decide to define it.
11 kx if (defundef == "undef") {
11 kx print "/*", prefix defundef, macro, "*/"
11 kx next
11 kx }
11 kx }
11 kx }
11 kx { print }
11 kx _ACAWK
11 kx _ACEOF
11 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11 kx as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
11 kx fi # test -n "$CONFIG_HEADERS"
11 kx
11 kx
11 kx eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
11 kx shift
11 kx for ac_tag
11 kx do
11 kx case $ac_tag in
11 kx :[FHLC]) ac_mode=$ac_tag; continue;;
11 kx esac
11 kx case $ac_mode$ac_tag in
11 kx :[FHL]*:*);;
11 kx :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
11 kx :[FH]-) ac_tag=-:-;;
11 kx :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11 kx esac
11 kx ac_save_IFS=$IFS
11 kx IFS=:
11 kx set x $ac_tag
11 kx IFS=$ac_save_IFS
11 kx shift
11 kx ac_file=$1
11 kx shift
11 kx
11 kx case $ac_mode in
11 kx :L) ac_source=$1;;
11 kx :[FH])
11 kx ac_file_inputs=
11 kx for ac_f
11 kx do
11 kx case $ac_f in
11 kx -) ac_f="$ac_tmp/stdin";;
11 kx *) # Look for the file first in the build tree, then in the source tree
11 kx # (if the path is not absolute). The absolute path cannot be DOS-style,
11 kx # because $ac_f cannot contain `:'.
11 kx test -f "$ac_f" ||
11 kx case $ac_f in
11 kx [\\/$]*) false;;
11 kx *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11 kx esac ||
11 kx as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
11 kx esac
11 kx case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11 kx as_fn_append ac_file_inputs " '$ac_f'"
11 kx done
11 kx
11 kx # Let's still pretend it is `configure' which instantiates (i.e., don't
11 kx # use $as_me), people would be surprised to read:
11 kx # /* config.h. Generated by config.status. */
11 kx configure_input='Generated from '`
11 kx $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11 kx `' by configure.'
11 kx if test x"$ac_file" != x-; then
11 kx configure_input="$ac_file. $configure_input"
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11 kx $as_echo "$as_me: creating $ac_file" >&6;}
11 kx fi
11 kx # Neutralize special characters interpreted by sed in replacement strings.
11 kx case $configure_input in #(
11 kx *\&* | *\|* | *\\* )
11 kx ac_sed_conf_input=`$as_echo "$configure_input" |
11 kx sed 's/[\\\\&|]/\\\\&/g'`;; #(
11 kx *) ac_sed_conf_input=$configure_input;;
11 kx esac
11 kx
11 kx case $ac_tag in
11 kx *:-:* | *:-) cat >"$ac_tmp/stdin" \
11 kx || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
11 kx esac
11 kx ;;
11 kx esac
11 kx
11 kx ac_dir=`$as_dirname -- "$ac_file" ||
11 kx $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11 kx X"$ac_file" : 'X\(//\)[^/]' \| \
11 kx X"$ac_file" : 'X\(//\)$' \| \
11 kx X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11 kx $as_echo X"$ac_file" |
11 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\/\)[^/].*/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\/\)$/{
11 kx s//\1/
11 kx q
11 kx }
11 kx /^X\(\/\).*/{
11 kx s//\1/
11 kx q
11 kx }
11 kx s/.*/./; q'`
11 kx as_dir="$ac_dir"; as_fn_mkdir_p
11 kx ac_builddir=.
11 kx
11 kx case "$ac_dir" in
11 kx .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11 kx *)
11 kx ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11 kx # A ".." for each directory in $ac_dir_suffix.
11 kx ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11 kx case $ac_top_builddir_sub in
11 kx "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11 kx *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11 kx esac ;;
11 kx esac
11 kx ac_abs_top_builddir=$ac_pwd
11 kx ac_abs_builddir=$ac_pwd$ac_dir_suffix
11 kx # for backward compatibility:
11 kx ac_top_builddir=$ac_top_build_prefix
11 kx
11 kx case $srcdir in
11 kx .) # We are building in place.
11 kx ac_srcdir=.
11 kx ac_top_srcdir=$ac_top_builddir_sub
11 kx ac_abs_top_srcdir=$ac_pwd ;;
11 kx [\\/]* | ?:[\\/]* ) # Absolute name.
11 kx ac_srcdir=$srcdir$ac_dir_suffix;
11 kx ac_top_srcdir=$srcdir
11 kx ac_abs_top_srcdir=$srcdir ;;
11 kx *) # Relative name.
11 kx ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11 kx ac_top_srcdir=$ac_top_build_prefix$srcdir
11 kx ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11 kx esac
11 kx ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11 kx
11 kx
11 kx case $ac_mode in
11 kx :F)
11 kx #
11 kx # CONFIG_FILE
11 kx #
11 kx
11 kx case $INSTALL in
11 kx [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11 kx *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11 kx esac
11 kx _ACEOF
11 kx
11 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11 kx # If the template does not know about datarootdir, expand it.
11 kx # FIXME: This hack should be removed a few years after 2.60.
11 kx ac_datarootdir_hack=; ac_datarootdir_seen=
11 kx ac_sed_dataroot='
11 kx /datarootdir/ {
11 kx p
11 kx q
11 kx }
11 kx /@datadir@/p
11 kx /@docdir@/p
11 kx /@infodir@/p
11 kx /@localedir@/p
11 kx /@mandir@/p'
11 kx case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11 kx *datarootdir*) ac_datarootdir_seen=yes;;
11 kx *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11 kx $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11 kx _ACEOF
11 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11 kx ac_datarootdir_hack='
11 kx s&@datadir@&$datadir&g
11 kx s&@docdir@&$docdir&g
11 kx s&@infodir@&$infodir&g
11 kx s&@localedir@&$localedir&g
11 kx s&@mandir@&$mandir&g
11 kx s&\\\${datarootdir}&$datarootdir&g' ;;
11 kx esac
11 kx _ACEOF
11 kx
11 kx # Neutralize VPATH when `$srcdir' = `.'.
11 kx # Shell code in configure.ac might set extrasub.
11 kx # FIXME: do we really want to maintain this feature?
11 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11 kx ac_sed_extra="$ac_vpsub
11 kx $extrasub
11 kx _ACEOF
11 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11 kx :t
11 kx /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11 kx s|@configure_input@|$ac_sed_conf_input|;t t
11 kx s&@top_builddir@&$ac_top_builddir_sub&;t t
11 kx s&@top_build_prefix@&$ac_top_build_prefix&;t t
11 kx s&@srcdir@&$ac_srcdir&;t t
11 kx s&@abs_srcdir@&$ac_abs_srcdir&;t t
11 kx s&@top_srcdir@&$ac_top_srcdir&;t t
11 kx s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11 kx s&@builddir@&$ac_builddir&;t t
11 kx s&@abs_builddir@&$ac_abs_builddir&;t t
11 kx s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11 kx s&@INSTALL@&$ac_INSTALL&;t t
11 kx $ac_datarootdir_hack
11 kx "
11 kx eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
11 kx >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11 kx
11 kx test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11 kx { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
11 kx { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
11 kx "$ac_tmp/out"`; test -z "$ac_out"; } &&
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11 kx which seems to be undefined. Please make sure it is defined" >&5
11 kx $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11 kx which seems to be undefined. Please make sure it is defined" >&2;}
11 kx
11 kx rm -f "$ac_tmp/stdin"
11 kx case $ac_file in
11 kx -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
11 kx *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
11 kx esac \
11 kx || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11 kx ;;
11 kx :H)
11 kx #
11 kx # CONFIG_HEADER
11 kx #
11 kx if test x"$ac_file" != x-; then
11 kx {
11 kx $as_echo "/* $configure_input */" \
11 kx && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
11 kx } >"$ac_tmp/config.h" \
11 kx || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11 kx if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11 kx $as_echo "$as_me: $ac_file is unchanged" >&6;}
11 kx else
11 kx rm -f "$ac_file"
11 kx mv "$ac_tmp/config.h" "$ac_file" \
11 kx || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11 kx fi
11 kx else
11 kx $as_echo "/* $configure_input */" \
11 kx && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
11 kx || as_fn_error $? "could not create -" "$LINENO" 5
11 kx fi
11 kx ;;
11 kx
11 kx :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11 kx $as_echo "$as_me: executing $ac_file commands" >&6;}
11 kx ;;
11 kx esac
11 kx
11 kx
11 kx case $ac_file$ac_mode in
11 kx "default":C)
11 kx case $CONFIG_FILES in *config.make*)
11 kx echo "$config_vars" >> config.make;;
11 kx esac
11 kx test -d bits || mkdir bits ;;
11 kx
11 kx esac
11 kx done # for ac_tag
11 kx
11 kx
11 kx as_fn_exit 0
11 kx _ACEOF
11 kx ac_clean_files=$ac_clean_files_save
11 kx
11 kx test $ac_write_fail = 0 ||
11 kx as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
11 kx
11 kx
11 kx # configure is writing to config.log, and then calls config.status.
11 kx # config.status does its own redirection, appending to config.log.
11 kx # Unfortunately, on DOS this fails, as config.log is still kept open
11 kx # by configure, so config.status won't be able to write to it; its
11 kx # output is simply discarded. So we exec the FD to /dev/null,
11 kx # effectively closing config.log, so it can be properly (re)opened and
11 kx # appended to by config.status. When coming back to configure, we
11 kx # need to make the FD available again.
11 kx if test "$no_create" != yes; then
11 kx ac_cs_success=:
11 kx ac_config_status_args=
11 kx test "$silent" = yes &&
11 kx ac_config_status_args="$ac_config_status_args --quiet"
11 kx exec 5>/dev/null
11 kx $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11 kx exec 5>>config.log
11 kx # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11 kx # would make configure fail if this is the last instruction.
11 kx $ac_cs_success || as_fn_exit 1
11 kx fi
11 kx
11 kx #
11 kx # CONFIG_SUBDIRS section.
11 kx #
11 kx if test "$no_recursion" != yes; then
11 kx
11 kx # Remove --cache-file, --srcdir, and --disable-option-checking arguments
11 kx # so they do not pile up.
11 kx ac_sub_configure_args=
11 kx ac_prev=
11 kx eval "set x $ac_configure_args"
11 kx shift
11 kx for ac_arg
11 kx do
11 kx if test -n "$ac_prev"; then
11 kx ac_prev=
11 kx continue
11 kx fi
11 kx case $ac_arg in
11 kx -cache-file | --cache-file | --cache-fil | --cache-fi \
11 kx | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
11 kx ac_prev=cache_file ;;
11 kx -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
11 kx | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
11 kx | --c=*)
11 kx ;;
11 kx --config-cache | -C)
11 kx ;;
11 kx -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
11 kx ac_prev=srcdir ;;
11 kx -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11 kx ;;
11 kx -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11 kx ac_prev=prefix ;;
11 kx -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11 kx ;;
11 kx --disable-option-checking)
11 kx ;;
11 kx *)
11 kx case $ac_arg in
11 kx *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11 kx esac
11 kx as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
11 kx esac
11 kx done
11 kx
11 kx # Always prepend --prefix to ensure using the same prefix
11 kx # in subdir configurations.
11 kx ac_arg="--prefix=$prefix"
11 kx case $ac_arg in
11 kx *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11 kx esac
11 kx ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
11 kx
11 kx # Pass --silent
11 kx if test "$silent" = yes; then
11 kx ac_sub_configure_args="--silent $ac_sub_configure_args"
11 kx fi
11 kx
11 kx # Always prepend --disable-option-checking to silence warnings, since
11 kx # different subdirs can have different --enable and --with options.
11 kx ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
11 kx
11 kx ac_popdir=`pwd`
11 kx for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
11 kx
11 kx # Do not complain, so a configure script can configure whichever
11 kx # parts of a large source tree are present.
11 kx test -d "$srcdir/$ac_dir" || continue
11 kx
11 kx ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
11 kx $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
11 kx $as_echo "$ac_msg" >&6
11 kx as_dir="$ac_dir"; as_fn_mkdir_p
11 kx ac_builddir=.
11 kx
11 kx case "$ac_dir" in
11 kx .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11 kx *)
11 kx ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11 kx # A ".." for each directory in $ac_dir_suffix.
11 kx ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11 kx case $ac_top_builddir_sub in
11 kx "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11 kx *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11 kx esac ;;
11 kx esac
11 kx ac_abs_top_builddir=$ac_pwd
11 kx ac_abs_builddir=$ac_pwd$ac_dir_suffix
11 kx # for backward compatibility:
11 kx ac_top_builddir=$ac_top_build_prefix
11 kx
11 kx case $srcdir in
11 kx .) # We are building in place.
11 kx ac_srcdir=.
11 kx ac_top_srcdir=$ac_top_builddir_sub
11 kx ac_abs_top_srcdir=$ac_pwd ;;
11 kx [\\/]* | ?:[\\/]* ) # Absolute name.
11 kx ac_srcdir=$srcdir$ac_dir_suffix;
11 kx ac_top_srcdir=$srcdir
11 kx ac_abs_top_srcdir=$srcdir ;;
11 kx *) # Relative name.
11 kx ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11 kx ac_top_srcdir=$ac_top_build_prefix$srcdir
11 kx ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11 kx esac
11 kx ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11 kx
11 kx
11 kx cd "$ac_dir"
11 kx
11 kx # Check for guested configure; otherwise get Cygnus style configure.
11 kx if test -f "$ac_srcdir/configure.gnu"; then
11 kx ac_sub_configure=$ac_srcdir/configure.gnu
11 kx elif test -f "$ac_srcdir/configure"; then
11 kx ac_sub_configure=$ac_srcdir/configure
11 kx elif test -f "$ac_srcdir/configure.in"; then
11 kx # This should be Cygnus configure.
11 kx ac_sub_configure=$ac_aux_dir/configure
11 kx else
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
11 kx $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11 kx ac_sub_configure=
11 kx fi
11 kx
11 kx # The recursion is here.
11 kx if test -n "$ac_sub_configure"; then
11 kx # Make the cache file name correct relative to the subdirectory.
11 kx case $cache_file in
11 kx [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
11 kx *) # Relative name.
11 kx ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
11 kx esac
11 kx
11 kx { $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
11 kx $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11 kx # The eval makes quoting arguments work.
11 kx eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11 kx --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11 kx as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
11 kx fi
11 kx
11 kx cd "$ac_popdir"
11 kx done
11 kx fi
11 kx if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11 kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11 kx $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11 kx fi
11 kx