| Index: third_party/sqlite/src/configure
|
| diff --git a/third_party/libxml/src/configure b/third_party/sqlite/src/configure
|
| old mode 100755
|
| new mode 100644
|
| similarity index 63%
|
| copy from third_party/libxml/src/configure
|
| copy to third_party/sqlite/src/configure
|
| index 412faed114524f01465a3ba432917b26622704f8..102307db0013f3cd422fe40e9e510291bf89c4fa
|
| --- a/third_party/libxml/src/configure
|
| +++ b/third_party/sqlite/src/configure
|
| @@ -1,22 +1,18 @@
|
| #! /bin/sh
|
| # Guess values for system-dependent variables and create Makefiles.
|
| -# Generated by GNU Autoconf 2.65.
|
| -#
|
| +# Generated by GNU Autoconf 2.62 for sqlite 3.7.6.3.
|
| #
|
| # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
| -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
| -# Inc.
|
| -#
|
| -#
|
| +# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
| # This configure script is free software; the Free Software Foundation
|
| # gives unlimited permission to copy, distribute and modify it.
|
| -## -------------------- ##
|
| -## M4sh Initialization. ##
|
| -## -------------------- ##
|
| +## --------------------- ##
|
| +## M4sh Initialization. ##
|
| +## --------------------- ##
|
|
|
| # Be more Bourne compatible
|
| DUALCASE=1; export DUALCASE # for MKS sh
|
| -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
| +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
| emulate sh
|
| NULLCMD=:
|
| # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
| @@ -24,15 +20,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
| alias -g '${1+"$@"}'='"$@"'
|
| setopt NO_GLOB_SUBST
|
| else
|
| - case `(set -o) 2>/dev/null` in #(
|
| - *posix*) :
|
| - set -o posix ;; #(
|
| - *) :
|
| - ;;
|
| + case `(set -o) 2>/dev/null` in
|
| + *posix*) set -o posix ;;
|
| esac
|
| +
|
| fi
|
|
|
|
|
| +
|
| +
|
| +# PATH needs CR
|
| +# Avoid depending upon Character Ranges.
|
| +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
| +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
| +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
| +as_cr_digits='0123456789'
|
| +as_cr_alnum=$as_cr_Letters$as_cr_digits
|
| +
|
| as_nl='
|
| '
|
| export as_nl
|
| @@ -40,13 +44,7 @@ export as_nl
|
| as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
| as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
| as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
| -# Prefer a ksh shell builtin over an external printf program on Solaris,
|
| -# but without wasting forks for bash or zsh.
|
| -if test -z "$BASH_VERSION$ZSH_VERSION" \
|
| - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
| - as_echo='print -r --'
|
| - as_echo_n='print -rn --'
|
| -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
| +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
| as_echo='printf %s\n'
|
| as_echo_n='printf %s'
|
| else
|
| @@ -57,7 +55,7 @@ else
|
| as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
| as_echo_n_body='eval
|
| arg=$1;
|
| - case $arg in #(
|
| + case $arg in
|
| *"$as_nl"*)
|
| expr "X$arg" : "X\\(.*\\)$as_nl";
|
| arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
| @@ -80,6 +78,13 @@ if test "${PATH_SEPARATOR+set}" != set; then
|
| }
|
| fi
|
|
|
| +# Support unset when possible.
|
| +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
| + as_unset=unset
|
| +else
|
| + as_unset=false
|
| +fi
|
| +
|
|
|
| # IFS
|
| # We need space, tab and new line, in precisely that order. Quoting is
|
| @@ -89,15 +94,15 @@ fi
|
| IFS=" "" $as_nl"
|
|
|
| # Find who we are. Look in the path if we contain no directory separator.
|
| -case $0 in #((
|
| +case $0 in
|
| *[\\/]* ) as_myself=$0 ;;
|
| *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
| - done
|
| + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| ;;
|
| @@ -109,16 +114,12 @@ if test "x$as_myself" = x; then
|
| fi
|
| if test ! -f "$as_myself"; then
|
| $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
| - exit 1
|
| + { (exit 1); exit 1; }
|
| fi
|
|
|
| -# Unset variables that we do not need and which cause bugs (e.g. in
|
| -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
| -# suppresses any "Segmentation fault" message there. '((' could
|
| -# trigger a bug in pdksh 5.2.14.
|
| -for as_var in BASH_ENV ENV MAIL MAILPATH
|
| -do eval test x\${$as_var+set} = xset \
|
| - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
| +# Work around bugs in pre-3.0 UWIN ksh.
|
| +for as_var in ENV MAIL MAILPATH
|
| +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
| done
|
| PS1='$ '
|
| PS2='> '
|
| @@ -130,248 +131,7 @@ export LC_ALL
|
| LANGUAGE=C
|
| export LANGUAGE
|
|
|
| -# CDPATH.
|
| -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
| -
|
| -if test "x$CONFIG_SHELL" = x; then
|
| - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
| - emulate sh
|
| - NULLCMD=:
|
| - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
| - # is contrary to our usage. Disable this feature.
|
| - alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
| - setopt NO_GLOB_SUBST
|
| -else
|
| - case \`(set -o) 2>/dev/null\` in #(
|
| - *posix*) :
|
| - set -o posix ;; #(
|
| - *) :
|
| - ;;
|
| -esac
|
| -fi
|
| -"
|
| - as_required="as_fn_return () { (exit \$1); }
|
| -as_fn_success () { as_fn_return 0; }
|
| -as_fn_failure () { as_fn_return 1; }
|
| -as_fn_ret_success () { return 0; }
|
| -as_fn_ret_failure () { return 1; }
|
| -
|
| -exitcode=0
|
| -as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
| -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
| -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
| -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
| -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
| -
|
| -else
|
| - exitcode=1; echo positional parameters were not saved.
|
| -fi
|
| -test x\$exitcode = x0 || exit 1"
|
| - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
| - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
| - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
| - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
| -test \$(( 1 + 1 )) = 2 || exit 1"
|
| - if (eval "$as_required") 2>/dev/null; then :
|
| - as_have_required=yes
|
| -else
|
| - as_have_required=no
|
| -fi
|
| - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
| -
|
| -else
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -as_found=false
|
| -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - as_found=:
|
| - case $as_dir in #(
|
| - /*)
|
| - for as_base in sh bash ksh sh5; do
|
| - # Try only shells that exist, to save several forks.
|
| - as_shell=$as_dir/$as_base
|
| - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
| - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
| - CONFIG_SHELL=$as_shell as_have_required=yes
|
| - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
| - break 2
|
| -fi
|
| -fi
|
| - done;;
|
| - esac
|
| - as_found=false
|
| -done
|
| -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
| - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
| - CONFIG_SHELL=$SHELL as_have_required=yes
|
| -fi; }
|
| -IFS=$as_save_IFS
|
| -
|
| -
|
| - if test "x$CONFIG_SHELL" != x; then :
|
| - # We cannot yet assume a decent shell, so we have to provide a
|
| - # neutralization value for shells without unset; and this also
|
| - # works around shells that cannot unset nonexistent variables.
|
| - BASH_ENV=/dev/null
|
| - ENV=/dev/null
|
| - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
| - export CONFIG_SHELL
|
| - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
| -fi
|
| -
|
| - if test x$as_have_required = xno; then :
|
| - $as_echo "$0: This script requires a shell more modern than all"
|
| - $as_echo "$0: the shells that I found on your system."
|
| - if test x${ZSH_VERSION+set} = xset ; then
|
| - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
| - $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
| - else
|
| - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
| -$0: including any error possibly output before this
|
| -$0: message. Then install a modern shell, or manually run
|
| -$0: the script under such a shell if you do have one."
|
| - fi
|
| - exit 1
|
| -fi
|
| -fi
|
| -fi
|
| -SHELL=${CONFIG_SHELL-/bin/sh}
|
| -export SHELL
|
| -# Unset more variables known to interfere with behavior of common tools.
|
| -CLICOLOR_FORCE= GREP_OPTIONS=
|
| -unset CLICOLOR_FORCE GREP_OPTIONS
|
| -
|
| -## --------------------- ##
|
| -## M4sh Shell Functions. ##
|
| -## --------------------- ##
|
| -# as_fn_unset VAR
|
| -# ---------------
|
| -# Portably unset VAR.
|
| -as_fn_unset ()
|
| -{
|
| - { eval $1=; unset $1;}
|
| -}
|
| -as_unset=as_fn_unset
|
| -
|
| -# as_fn_set_status STATUS
|
| -# -----------------------
|
| -# Set $? to STATUS, without forking.
|
| -as_fn_set_status ()
|
| -{
|
| - return $1
|
| -} # as_fn_set_status
|
| -
|
| -# as_fn_exit STATUS
|
| -# -----------------
|
| -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
| -as_fn_exit ()
|
| -{
|
| - set +e
|
| - as_fn_set_status $1
|
| - exit $1
|
| -} # as_fn_exit
|
| -
|
| -# as_fn_mkdir_p
|
| -# -------------
|
| -# Create "$as_dir" as a directory, including parents if necessary.
|
| -as_fn_mkdir_p ()
|
| -{
|
| -
|
| - case $as_dir in #(
|
| - -*) as_dir=./$as_dir;;
|
| - esac
|
| - test -d "$as_dir" || eval $as_mkdir_p || {
|
| - as_dirs=
|
| - while :; do
|
| - case $as_dir in #(
|
| - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
| - *) as_qdir=$as_dir;;
|
| - esac
|
| - as_dirs="'$as_qdir' $as_dirs"
|
| - as_dir=`$as_dirname -- "$as_dir" ||
|
| -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
| - X"$as_dir" : 'X\(//\)[^/]' \| \
|
| - X"$as_dir" : 'X\(//\)$' \| \
|
| - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
| -$as_echo X"$as_dir" |
|
| - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\/\)[^/].*/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\/\)$/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\).*/{
|
| - s//\1/
|
| - q
|
| - }
|
| - s/.*/./; q'`
|
| - test -d "$as_dir" && break
|
| - done
|
| - test -z "$as_dirs" || eval "mkdir $as_dirs"
|
| - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
| -
|
| -
|
| -} # as_fn_mkdir_p
|
| -# as_fn_append VAR VALUE
|
| -# ----------------------
|
| -# Append the text in VALUE to the end of the definition contained in VAR. Take
|
| -# advantage of any shell optimizations that allow amortized linear growth over
|
| -# repeated appends, instead of the typical quadratic growth present in naive
|
| -# implementations.
|
| -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
| - eval 'as_fn_append ()
|
| - {
|
| - eval $1+=\$2
|
| - }'
|
| -else
|
| - as_fn_append ()
|
| - {
|
| - eval $1=\$$1\$2
|
| - }
|
| -fi # as_fn_append
|
| -
|
| -# as_fn_arith ARG...
|
| -# ------------------
|
| -# Perform arithmetic evaluation on the ARGs, and store the result in the
|
| -# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
| -# must be portable across $(()) and expr.
|
| -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
| - eval 'as_fn_arith ()
|
| - {
|
| - as_val=$(( $* ))
|
| - }'
|
| -else
|
| - as_fn_arith ()
|
| - {
|
| - as_val=`expr "$@" || test $? -eq 1`
|
| - }
|
| -fi # as_fn_arith
|
| -
|
| -
|
| -# as_fn_error ERROR [LINENO LOG_FD]
|
| -# ---------------------------------
|
| -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
| -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
| -# script with status $?, using 1 if that was 0.
|
| -as_fn_error ()
|
| -{
|
| - as_status=$?; test $as_status -eq 0 && as_status=1
|
| - if test "$3"; then
|
| - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
| - fi
|
| - $as_echo "$as_me: error: $1" >&2
|
| - as_fn_exit $as_status
|
| -} # as_fn_error
|
| -
|
| +# Required to use basename.
|
| if expr a : '\(a\)' >/dev/null 2>&1 &&
|
| test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
| as_expr=expr
|
| @@ -385,12 +145,8 @@ else
|
| as_basename=false
|
| fi
|
|
|
| -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
| - as_dirname=dirname
|
| -else
|
| - as_dirname=false
|
| -fi
|
|
|
| +# Name of the executable.
|
| as_me=`$as_basename -- "$0" ||
|
| $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
| X"$0" : 'X\(//\)$' \| \
|
| @@ -410,120 +166,409 @@ $as_echo X/"$0" |
|
| }
|
| s/.*/./; q'`
|
|
|
| -# Avoid depending upon Character Ranges.
|
| -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
| -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
| -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
| -as_cr_digits='0123456789'
|
| -as_cr_alnum=$as_cr_Letters$as_cr_digits
|
| +# CDPATH.
|
| +$as_unset CDPATH
|
|
|
|
|
| - as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
| - as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
| - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
| - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
| - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
| - sed -n '
|
| - p
|
| - /[$]LINENO/=
|
| - ' <$as_myself |
|
| - sed '
|
| - s/[$]LINENO.*/&-/
|
| - t lineno
|
| - b
|
| - :lineno
|
| - N
|
| - :loop
|
| - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
| - t loop
|
| - s/-\n.*//
|
| - ' >$as_me.lineno &&
|
| - chmod +x "$as_me.lineno" ||
|
| - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
| +if test "x$CONFIG_SHELL" = x; then
|
| + if (eval ":") 2>/dev/null; then
|
| + as_have_required=yes
|
| +else
|
| + as_have_required=no
|
| +fi
|
|
|
| - # Don't try to exec as it changes $[0], causing all sort of problems
|
| - # (the dirname of $[0] is not the place where we might find the
|
| - # original and so on. Autoconf is especially sensitive to this).
|
| - . "./$as_me.lineno"
|
| - # Exit status is that of the last command.
|
| - exit
|
| + if test $as_have_required = yes && (eval ":
|
| +(as_func_return () {
|
| + (exit \$1)
|
| +}
|
| +as_func_success () {
|
| + as_func_return 0
|
| +}
|
| +as_func_failure () {
|
| + as_func_return 1
|
| +}
|
| +as_func_ret_success () {
|
| + return 0
|
| +}
|
| +as_func_ret_failure () {
|
| + return 1
|
| }
|
|
|
| -ECHO_C= ECHO_N= ECHO_T=
|
| -case `echo -n x` in #(((((
|
| --n*)
|
| - case `echo 'xy\c'` in
|
| - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
| - xy) ECHO_C='\c';;
|
| - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
| - ECHO_T=' ';;
|
| - esac;;
|
| -*)
|
| - ECHO_N='-n';;
|
| -esac
|
| -
|
| -rm -f conf$$ conf$$.exe conf$$.file
|
| -if test -d conf$$.dir; then
|
| - rm -f conf$$.dir/conf$$.file
|
| +exitcode=0
|
| +if as_func_success; then
|
| + :
|
| else
|
| - rm -f conf$$.dir
|
| - mkdir conf$$.dir 2>/dev/null
|
| + exitcode=1
|
| + echo as_func_success failed.
|
| fi
|
| -if (echo >conf$$.file) 2>/dev/null; then
|
| - if ln -s conf$$.file conf$$ 2>/dev/null; then
|
| - as_ln_s='ln -s'
|
| - # ... but there are two gotchas:
|
| - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
| - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
| - # In both cases, we have to default to `cp -p'.
|
| - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
| - as_ln_s='cp -p'
|
| - elif ln conf$$.file conf$$ 2>/dev/null; then
|
| - as_ln_s=ln
|
| - else
|
| - as_ln_s='cp -p'
|
| - fi
|
| -else
|
| - as_ln_s='cp -p'
|
| +
|
| +if as_func_failure; then
|
| + exitcode=1
|
| + echo as_func_failure succeeded.
|
| fi
|
| -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
| -rmdir conf$$.dir 2>/dev/null
|
|
|
| -if mkdir -p . 2>/dev/null; then
|
| - as_mkdir_p='mkdir -p "$as_dir"'
|
| +if as_func_ret_success; then
|
| + :
|
| else
|
| - test -d ./-p && rmdir ./-p
|
| - as_mkdir_p=false
|
| + exitcode=1
|
| + echo as_func_ret_success failed.
|
| fi
|
|
|
| -if test -x / >/dev/null 2>&1; then
|
| - as_test_x='test -x'
|
| +if as_func_ret_failure; then
|
| + exitcode=1
|
| + echo as_func_ret_failure succeeded.
|
| +fi
|
| +
|
| +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
| + :
|
| else
|
| - if ls -dL / >/dev/null 2>&1; then
|
| - as_ls_L_option=L
|
| - else
|
| - as_ls_L_option=
|
| - fi
|
| - as_test_x='
|
| - eval sh -c '\''
|
| - if test -d "$1"; then
|
| - test -d "$1/.";
|
| - else
|
| - case $1 in #(
|
| - -*)set "./$1";;
|
| - esac;
|
| - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
| - ???[sx]*):;;*)false;;esac;fi
|
| - '\'' sh
|
| - '
|
| + exitcode=1
|
| + echo positional parameters were not saved.
|
| fi
|
| -as_executable_p=$as_test_x
|
|
|
| -# Sed expression to map a string onto a valid CPP name.
|
| -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
| +test \$exitcode = 0) || { (exit 1); exit 1; }
|
| +
|
| +(
|
| + as_lineno_1=\$LINENO
|
| + as_lineno_2=\$LINENO
|
| + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
| + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
| +") 2> /dev/null; then
|
| + :
|
| +else
|
| + as_candidate_shells=
|
| + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + case $as_dir in
|
| + /*)
|
| + for as_base in sh bash ksh sh5; do
|
| + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
| + done;;
|
| + esac
|
| +done
|
| +IFS=$as_save_IFS
|
| +
|
| +
|
| + for as_shell in $as_candidate_shells $SHELL; do
|
| + # Try only shells that exist, to save several forks.
|
| + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
| + { ("$as_shell") 2> /dev/null <<\_ASEOF
|
| +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
| + emulate sh
|
| + NULLCMD=:
|
| + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
| + # is contrary to our usage. Disable this feature.
|
| + alias -g '${1+"$@"}'='"$@"'
|
| + setopt NO_GLOB_SUBST
|
| +else
|
| + case `(set -o) 2>/dev/null` in
|
| + *posix*) set -o posix ;;
|
| +esac
|
| +
|
| +fi
|
| +
|
| +
|
| +:
|
| +_ASEOF
|
| +}; then
|
| + CONFIG_SHELL=$as_shell
|
| + as_have_required=yes
|
| + if { "$as_shell" 2> /dev/null <<\_ASEOF
|
| +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
| + emulate sh
|
| + NULLCMD=:
|
| + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
| + # is contrary to our usage. Disable this feature.
|
| + alias -g '${1+"$@"}'='"$@"'
|
| + setopt NO_GLOB_SUBST
|
| +else
|
| + case `(set -o) 2>/dev/null` in
|
| + *posix*) set -o posix ;;
|
| +esac
|
| +
|
| +fi
|
| +
|
| +
|
| +:
|
| +(as_func_return () {
|
| + (exit $1)
|
| +}
|
| +as_func_success () {
|
| + as_func_return 0
|
| +}
|
| +as_func_failure () {
|
| + as_func_return 1
|
| +}
|
| +as_func_ret_success () {
|
| + return 0
|
| +}
|
| +as_func_ret_failure () {
|
| + return 1
|
| +}
|
| +
|
| +exitcode=0
|
| +if as_func_success; then
|
| + :
|
| +else
|
| + exitcode=1
|
| + echo as_func_success failed.
|
| +fi
|
| +
|
| +if as_func_failure; then
|
| + exitcode=1
|
| + echo as_func_failure succeeded.
|
| +fi
|
| +
|
| +if as_func_ret_success; then
|
| + :
|
| +else
|
| + exitcode=1
|
| + echo as_func_ret_success failed.
|
| +fi
|
| +
|
| +if as_func_ret_failure; then
|
| + exitcode=1
|
| + echo as_func_ret_failure succeeded.
|
| +fi
|
| +
|
| +if ( set x; as_func_ret_success y && test x = "$1" ); then
|
| + :
|
| +else
|
| + exitcode=1
|
| + echo positional parameters were not saved.
|
| +fi
|
| +
|
| +test $exitcode = 0) || { (exit 1); exit 1; }
|
| +
|
| +(
|
| + as_lineno_1=$LINENO
|
| + as_lineno_2=$LINENO
|
| + test "x$as_lineno_1" != "x$as_lineno_2" &&
|
| + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
| +
|
| +_ASEOF
|
| +}; then
|
| + break
|
| +fi
|
| +
|
| +fi
|
| +
|
| + done
|
| +
|
| + if test "x$CONFIG_SHELL" != x; then
|
| + for as_var in BASH_ENV ENV
|
| + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
| + done
|
| + export CONFIG_SHELL
|
| + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
| +fi
|
| +
|
| +
|
| + if test $as_have_required = no; then
|
| + echo This script requires a shell more modern than all the
|
| + echo shells that I found on your system. Please install a
|
| + echo modern shell, or manually run the script under such a
|
| + echo shell if you do have one.
|
| + { (exit 1); exit 1; }
|
| +fi
|
| +
|
| +
|
| +fi
|
| +
|
| +fi
|
| +
|
| +
|
| +
|
| +(eval "as_func_return () {
|
| + (exit \$1)
|
| +}
|
| +as_func_success () {
|
| + as_func_return 0
|
| +}
|
| +as_func_failure () {
|
| + as_func_return 1
|
| +}
|
| +as_func_ret_success () {
|
| + return 0
|
| +}
|
| +as_func_ret_failure () {
|
| + return 1
|
| +}
|
| +
|
| +exitcode=0
|
| +if as_func_success; then
|
| + :
|
| +else
|
| + exitcode=1
|
| + echo as_func_success failed.
|
| +fi
|
| +
|
| +if as_func_failure; then
|
| + exitcode=1
|
| + echo as_func_failure succeeded.
|
| +fi
|
| +
|
| +if as_func_ret_success; then
|
| + :
|
| +else
|
| + exitcode=1
|
| + echo as_func_ret_success failed.
|
| +fi
|
| +
|
| +if as_func_ret_failure; then
|
| + exitcode=1
|
| + echo as_func_ret_failure succeeded.
|
| +fi
|
| +
|
| +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
| + :
|
| +else
|
| + exitcode=1
|
| + echo positional parameters were not saved.
|
| +fi
|
| +
|
| +test \$exitcode = 0") || {
|
| + echo No shell found that supports shell functions.
|
| + echo Please tell bug-autoconf@gnu.org about your system,
|
| + echo including any error possibly output before this message.
|
| + echo This can help us improve future autoconf versions.
|
| + echo Configuration will now proceed without shell functions.
|
| +}
|
| +
|
| +
|
| +
|
| + as_lineno_1=$LINENO
|
| + as_lineno_2=$LINENO
|
| + test "x$as_lineno_1" != "x$as_lineno_2" &&
|
| + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
| +
|
| + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
| + # uniformly replaced by the line number. The first 'sed' inserts a
|
| + # line-number line after each line using $LINENO; the second 'sed'
|
| + # does the real work. The second script uses 'N' to pair each
|
| + # line-number line with the line containing $LINENO, and appends
|
| + # trailing '-' during substitution so that $LINENO is not a special
|
| + # case at line end.
|
| + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
| + # scripts with optimization help from Paolo Bonzini. Blame Lee
|
| + # E. McMahon (1931-1989) for sed's syntax. :-)
|
| + sed -n '
|
| + p
|
| + /[$]LINENO/=
|
| + ' <$as_myself |
|
| + sed '
|
| + s/[$]LINENO.*/&-/
|
| + t lineno
|
| + b
|
| + :lineno
|
| + N
|
| + :loop
|
| + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
| + t loop
|
| + s/-\n.*//
|
| + ' >$as_me.lineno &&
|
| + chmod +x "$as_me.lineno" ||
|
| + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
| + { (exit 1); exit 1; }; }
|
| +
|
| + # Don't try to exec as it changes $[0], causing all sort of problems
|
| + # (the dirname of $[0] is not the place where we might find the
|
| + # original and so on. Autoconf is especially sensitive to this).
|
| + . "./$as_me.lineno"
|
| + # Exit status is that of the last command.
|
| + exit
|
| +}
|
| +
|
| +
|
| +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
| + as_dirname=dirname
|
| +else
|
| + as_dirname=false
|
| +fi
|
| +
|
| +ECHO_C= ECHO_N= ECHO_T=
|
| +case `echo -n x` in
|
| +-n*)
|
| + case `echo 'x\c'` in
|
| + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
| + *) ECHO_C='\c';;
|
| + esac;;
|
| +*)
|
| + ECHO_N='-n';;
|
| +esac
|
| +if expr a : '\(a\)' >/dev/null 2>&1 &&
|
| + test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
| + as_expr=expr
|
| +else
|
| + as_expr=false
|
| +fi
|
| +
|
| +rm -f conf$$ conf$$.exe conf$$.file
|
| +if test -d conf$$.dir; then
|
| + rm -f conf$$.dir/conf$$.file
|
| +else
|
| + rm -f conf$$.dir
|
| + mkdir conf$$.dir 2>/dev/null
|
| +fi
|
| +if (echo >conf$$.file) 2>/dev/null; then
|
| + if ln -s conf$$.file conf$$ 2>/dev/null; then
|
| + as_ln_s='ln -s'
|
| + # ... but there are two gotchas:
|
| + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
| + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
| + # In both cases, we have to default to `cp -p'.
|
| + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
| + as_ln_s='cp -p'
|
| + elif ln conf$$.file conf$$ 2>/dev/null; then
|
| + as_ln_s=ln
|
| + else
|
| + as_ln_s='cp -p'
|
| + fi
|
| +else
|
| + as_ln_s='cp -p'
|
| +fi
|
| +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
| +rmdir conf$$.dir 2>/dev/null
|
| +
|
| +if mkdir -p . 2>/dev/null; then
|
| + as_mkdir_p=:
|
| +else
|
| + test -d ./-p && rmdir ./-p
|
| + as_mkdir_p=false
|
| +fi
|
| +
|
| +if test -x / >/dev/null 2>&1; then
|
| + as_test_x='test -x'
|
| +else
|
| + if ls -dL / >/dev/null 2>&1; then
|
| + as_ls_L_option=L
|
| + else
|
| + as_ls_L_option=
|
| + fi
|
| + as_test_x='
|
| + eval sh -c '\''
|
| + if test -d "$1"; then
|
| + test -d "$1/.";
|
| + else
|
| + case $1 in
|
| + -*)set "./$1";;
|
| + esac;
|
| + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
| + ???[sx]*):;;*)false;;esac;fi
|
| + '\'' sh
|
| + '
|
| +fi
|
| +as_executable_p=$as_test_x
|
| +
|
| +# Sed expression to map a string onto a valid CPP name.
|
| +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
| +
|
| +# Sed expression to map a string onto a valid variable name.
|
| +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
| -# Sed expression to map a string onto a valid variable name.
|
| -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
|
|
|
| @@ -675,8 +720,7 @@ fi
|
|
|
|
|
|
|
| -test -n "$DJDIR" || exec 7<&0 </dev/null
|
| -exec 6>&1
|
| +exec 7<&0 </dev/null 6>&1
|
|
|
| # Name of the host.
|
| # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
| @@ -694,16 +738,15 @@ cross_compiling=no
|
| subdirs=
|
| MFLAGS=
|
| MAKEFLAGS=
|
| +SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
| # Identity of this package.
|
| -PACKAGE_NAME=
|
| -PACKAGE_TARNAME=
|
| -PACKAGE_VERSION=
|
| -PACKAGE_STRING=
|
| -PACKAGE_BUGREPORT=
|
| -PACKAGE_URL=
|
| -
|
| -ac_unique_file="entities.c"
|
| +PACKAGE_NAME='sqlite'
|
| +PACKAGE_TARNAME='sqlite'
|
| +PACKAGE_VERSION='3.7.6.3'
|
| +PACKAGE_STRING='sqlite 3.7.6.3'
|
| +PACKAGE_BUGREPORT=''
|
| +
|
| # Factoring default headers for most tests.
|
| ac_includes_default="\
|
| #include <stdio.h>
|
| @@ -740,285 +783,145 @@ ac_includes_default="\
|
| # include <unistd.h>
|
| #endif"
|
|
|
| -ac_subst_vars='am__EXEEXT_FALSE
|
| -am__EXEEXT_TRUE
|
| -LTLIBOBJS
|
| -LIBOBJS
|
| -PYTHON_TESTS
|
| -RELDATE
|
| -RDL_LIBS
|
| -M_LIBS
|
| -PYTHON_SITE_PACKAGES
|
| -PYTHON_INCLUDES
|
| -PYTHON_VERSION
|
| -HAVE_ISINF
|
| -HAVE_ISNAN
|
| -XML_INCLUDEDIR
|
| -ICONV_LIBS
|
| -XML_LIBTOOLLIBS
|
| -XML_LIBS
|
| -XML_LIBDIR
|
| -XML_CFLAGS
|
| -CYGWIN_EXTRA_PYTHON_LIBADD
|
| -CYGWIN_EXTRA_LDFLAGS
|
| -WIN32_EXTRA_LDFLAGS
|
| -WIN32_EXTRA_LIBADD
|
| -WITH_RUN_DEBUG
|
| -WITH_MEM_DEBUG
|
| -TEST_DEBUG
|
| -DEBUG_OBJ
|
| -WITH_DEBUG
|
| -TEST_REGEXPS
|
| -WITH_REGEXPS
|
| -TEST_SCHEMAS
|
| -WITH_SCHEMAS
|
| -TEST_SCHEMATRON
|
| -WITH_SCHEMATRON
|
| -WITH_ISO8859X
|
| -WITH_ICONV
|
| -WITH_ICU
|
| -WITH_OUTPUT
|
| -TEST_XPATH
|
| -XPATH_OBJ
|
| -WITH_XPATH
|
| -TEST_XINCLUDE
|
| -XINCLUDE_OBJ
|
| -WITH_XINCLUDE
|
| -TEST_C14N
|
| -C14N_OBJ
|
| -WITH_C14N
|
| -TEST_XPTR
|
| -XPTR_OBJ
|
| -WITH_XPTR
|
| -DOCB_OBJ
|
| -WITH_DOCB
|
| -TEST_CATALOG
|
| -CATALOG_OBJ
|
| -WITH_CATALOG
|
| -TEST_VTIME
|
| -TEST_VALID
|
| -WITH_VALID
|
| -TEST_PHTML
|
| -TEST_HTML
|
| -HTML_OBJ
|
| -WITH_HTML
|
| -TEST_PUSH
|
| -WITH_PUSH
|
| -TEST_SAX
|
| -WITH_SAX1
|
| -TEST_PATTERN
|
| -WITH_PATTERN
|
| -WITH_WRITER
|
| -READER_TEST
|
| -WITH_READER
|
| -WITH_LEGACY
|
| -HTTP_OBJ
|
| -WITH_HTTP
|
| -FTP_OBJ
|
| -WITH_FTP
|
| -WITH_TREE
|
| -THREADS_W32
|
| -TEST_THREADS
|
| -THREAD_CFLAGS
|
| -WITH_THREADS
|
| -BASE_THREAD_LIBS
|
| -THREAD_LIBS
|
| -WITH_TRIO
|
| -WITH_TRIO_SOURCES_FALSE
|
| -WITH_TRIO_SOURCES_TRUE
|
| -STATIC_BINARIES
|
| -TEST_MODULES
|
| -MODULE_EXTENSION
|
| -MODULE_PLATFORM_LIBS
|
| -WITH_MODULES
|
| -PYTHON_LIBS
|
| -PYTHON_SUBDIR
|
| -pythondir
|
| -WITH_PYTHON_FALSE
|
| -WITH_PYTHON_TRUE
|
| -PYTHON
|
| -WITH_ZLIB
|
| -Z_LIBS
|
| -Z_CFLAGS
|
| -REBUILD_DOCS_FALSE
|
| -REBUILD_DOCS_TRUE
|
| -HTML_DIR
|
| -USE_VERSION_SCRIPT_FALSE
|
| -USE_VERSION_SCRIPT_TRUE
|
| -VERSION_SCRIPT_FLAGS
|
| -OTOOL64
|
| -OTOOL
|
| -LIPO
|
| -NMEDIT
|
| -DSYMUTIL
|
| -lt_ECHO
|
| -RANLIB
|
| -AR
|
| -LN_S
|
| -NM
|
| -ac_ct_DUMPBIN
|
| -DUMPBIN
|
| -LD
|
| -FGREP
|
| -SED
|
| +ac_subst_vars='SHELL
|
| +PATH_SEPARATOR
|
| +PACKAGE_NAME
|
| +PACKAGE_TARNAME
|
| +PACKAGE_VERSION
|
| +PACKAGE_STRING
|
| +PACKAGE_BUGREPORT
|
| +exec_prefix
|
| +prefix
|
| +program_transform_name
|
| +bindir
|
| +sbindir
|
| +libexecdir
|
| +datarootdir
|
| +datadir
|
| +sysconfdir
|
| +sharedstatedir
|
| +localstatedir
|
| +includedir
|
| +oldincludedir
|
| +docdir
|
| +infodir
|
| +htmldir
|
| +dvidir
|
| +pdfdir
|
| +psdir
|
| +libdir
|
| +localedir
|
| +mandir
|
| +DEFS
|
| +ECHO_C
|
| +ECHO_N
|
| +ECHO_T
|
| +LIBS
|
| +build_alias
|
| +host_alias
|
| +target_alias
|
| LIBTOOL
|
| -OBJDUMP
|
| -DLLTOOL
|
| -AS
|
| -ANSI2KNR
|
| -U
|
| -EGREP
|
| +build
|
| +build_cpu
|
| +build_vendor
|
| +build_os
|
| +host
|
| +host_cpu
|
| +host_vendor
|
| +host_os
|
| +CC
|
| +CFLAGS
|
| +LDFLAGS
|
| +CPPFLAGS
|
| +ac_ct_CC
|
| +EXEEXT
|
| +OBJEXT
|
| +SED
|
| GREP
|
| -XSLTPROC
|
| -XMLLINT
|
| -WGET
|
| -PERL
|
| -TAR
|
| -MV
|
| -RM
|
| +EGREP
|
| +FGREP
|
| +LD
|
| +DUMPBIN
|
| +ac_ct_DUMPBIN
|
| +NM
|
| +LN_S
|
| +OBJDUMP
|
| +AR
|
| +STRIP
|
| +RANLIB
|
| +lt_ECHO
|
| +DSYMUTIL
|
| +NMEDIT
|
| +LIPO
|
| +OTOOL
|
| +OTOOL64
|
| CPP
|
| -am__fastdepCC_FALSE
|
| -am__fastdepCC_TRUE
|
| -CCDEPMODE
|
| -AMDEPBACKSLASH
|
| -AMDEP_FALSE
|
| -AMDEP_TRUE
|
| -am__quote
|
| -am__include
|
| -DEPDIR
|
| -OBJEXT
|
| -EXEEXT
|
| -ac_ct_CC
|
| -CPPFLAGS
|
| -LDFLAGS
|
| -CFLAGS
|
| -CC
|
| -am__untar
|
| -am__tar
|
| -AMTAR
|
| -am__leading_dot
|
| -SET_MAKE
|
| +INSTALL_PROGRAM
|
| +INSTALL_SCRIPT
|
| +INSTALL_DATA
|
| AWK
|
| -mkdir_p
|
| -MKDIR_P
|
| -INSTALL_STRIP_PROGRAM
|
| -STRIP
|
| -install_sh
|
| -MAKEINFO
|
| -AUTOHEADER
|
| -AUTOMAKE
|
| -AUTOCONF
|
| -ACLOCAL
|
| +TCLSH_CMD
|
| +TCLLIBDIR
|
| +program_prefix
|
| VERSION
|
| -PACKAGE
|
| -CYGPATH_W
|
| -am__isrc
|
| -INSTALL_DATA
|
| -INSTALL_SCRIPT
|
| -INSTALL_PROGRAM
|
| -LIBXML_VERSION_EXTRA
|
| -LIBXML_VERSION_NUMBER
|
| -LIBXML_VERSION_INFO
|
| -LIBXML_VERSION
|
| -LIBXML_MICRO_VERSION
|
| -LIBXML_MINOR_VERSION
|
| -LIBXML_MAJOR_VERSION
|
| -host_os
|
| -host_vendor
|
| -host_cpu
|
| -host
|
| -build_os
|
| -build_vendor
|
| -build_cpu
|
| -build
|
| -target_alias
|
| -host_alias
|
| -build_alias
|
| -LIBS
|
| -ECHO_T
|
| -ECHO_N
|
| -ECHO_C
|
| -DEFS
|
| -mandir
|
| -localedir
|
| -libdir
|
| -psdir
|
| -pdfdir
|
| -dvidir
|
| -htmldir
|
| -infodir
|
| -docdir
|
| -oldincludedir
|
| -includedir
|
| -localstatedir
|
| -sharedstatedir
|
| -sysconfdir
|
| -datadir
|
| -datarootdir
|
| -libexecdir
|
| -sbindir
|
| -bindir
|
| -program_transform_name
|
| -prefix
|
| -exec_prefix
|
| -PACKAGE_URL
|
| -PACKAGE_BUGREPORT
|
| -PACKAGE_STRING
|
| -PACKAGE_VERSION
|
| -PACKAGE_TARNAME
|
| -PACKAGE_NAME
|
| -PATH_SEPARATOR
|
| -SHELL'
|
| +RELEASE
|
| +VERSION_NUMBER
|
| +BUILD_CC
|
| +SQLITE_THREADSAFE
|
| +XTHREADCONNECT
|
| +ALLOWRELEASE
|
| +TEMP_STORE
|
| +BUILD_EXEEXT
|
| +SQLITE_OS_UNIX
|
| +SQLITE_OS_WIN
|
| +SQLITE_OS_OS2
|
| +TARGET_EXEEXT
|
| +TCL_VERSION
|
| +TCL_BIN_DIR
|
| +TCL_SRC_DIR
|
| +TCL_LIBS
|
| +TCL_INCLUDE_SPEC
|
| +TCL_LIB_FILE
|
| +TCL_LIB_FLAG
|
| +TCL_LIB_SPEC
|
| +TCL_STUB_LIB_FILE
|
| +TCL_STUB_LIB_FLAG
|
| +TCL_STUB_LIB_SPEC
|
| +HAVE_TCL
|
| +TARGET_READLINE_LIBS
|
| +TARGET_READLINE_INC
|
| +TARGET_HAVE_READLINE
|
| +TARGET_DEBUG
|
| +USE_AMALGAMATION
|
| +OPT_FEATURE_FLAGS
|
| +USE_GCOV
|
| +BUILD_CFLAGS
|
| +LIBOBJS
|
| +LTLIBOBJS'
|
| ac_subst_files=''
|
| ac_user_opts='
|
| enable_option_checking
|
| -enable_dependency_tracking
|
| enable_shared
|
| enable_static
|
| with_pic
|
| enable_fast_install
|
| with_gnu_ld
|
| enable_libtool_lock
|
| -with_c14n
|
| -with_catalog
|
| -with_debug
|
| -with_docbook
|
| -with_fexceptions
|
| -with_ftp
|
| -with_history
|
| -with_html
|
| -with_html_dir
|
| -with_html_subdir
|
| -with_http
|
| -with_iconv
|
| -with_iso8859x
|
| -with_legacy
|
| -with_mem_debug
|
| -with_minimum
|
| -with_output
|
| -with_pattern
|
| -with_push
|
| -with_python
|
| -with_reader
|
| -with_readline
|
| -with_regexps
|
| -with_run_debug
|
| -with_sax1
|
| -with_schemas
|
| -with_schematron
|
| -with_threads
|
| -with_thread_alloc
|
| -with_tree
|
| -with_valid
|
| -with_writer
|
| -with_xinclude
|
| -with_xpath
|
| -with_xptr
|
| -with_modules
|
| -with_zlib
|
| -with_coverage
|
| -enable_rebuild_docs
|
| -enable_ipv6
|
| +enable_largefile
|
| +with_hints
|
| +enable_threadsafe
|
| +enable_cross_thread_connections
|
| +enable_releasemode
|
| +enable_tempstore
|
| +enable_tcl
|
| +with_tcl
|
| +enable_readline
|
| +with_readline_lib
|
| +with_readline_inc
|
| +enable_debug
|
| +enable_amalgamation
|
| +enable_load_extension
|
| +enable_gcov
|
| '
|
| ac_precious_vars='build_alias
|
| host_alias
|
| @@ -1028,7 +931,8 @@ CFLAGS
|
| LDFLAGS
|
| LIBS
|
| CPPFLAGS
|
| -CPP'
|
| +CPP
|
| +TCLLIBDIR'
|
|
|
|
|
| # Initialize some variables set by options.
|
| @@ -1069,7 +973,7 @@ sharedstatedir='${prefix}/com'
|
| localstatedir='${prefix}/var'
|
| includedir='${prefix}/include'
|
| oldincludedir='/usr/include'
|
| -docdir='${datarootdir}/doc/${PACKAGE}'
|
| +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
| infodir='${datarootdir}/info'
|
| htmldir='${docdir}'
|
| dvidir='${docdir}'
|
| @@ -1137,7 +1041,8 @@ do
|
| ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
| # Reject names that are not valid shell variable names.
|
| expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
| - as_fn_error "invalid feature name: $ac_useropt"
|
| + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
| + { (exit 1); exit 1; }; }
|
| ac_useropt_orig=$ac_useropt
|
| ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
| case $ac_user_opts in
|
| @@ -1163,7 +1068,8 @@ do
|
| ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
| # Reject names that are not valid shell variable names.
|
| expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
| - as_fn_error "invalid feature name: $ac_useropt"
|
| + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
| + { (exit 1); exit 1; }; }
|
| ac_useropt_orig=$ac_useropt
|
| ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
| case $ac_user_opts in
|
| @@ -1367,7 +1273,8 @@ do
|
| ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
| # Reject names that are not valid shell variable names.
|
| expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
| - as_fn_error "invalid package name: $ac_useropt"
|
| + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
| + { (exit 1); exit 1; }; }
|
| ac_useropt_orig=$ac_useropt
|
| ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
| case $ac_user_opts in
|
| @@ -1383,7 +1290,8 @@ do
|
| ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
| # Reject names that are not valid shell variable names.
|
| expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
| - as_fn_error "invalid package name: $ac_useropt"
|
| + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
| + { (exit 1); exit 1; }; }
|
| ac_useropt_orig=$ac_useropt
|
| ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
| case $ac_user_opts in
|
| @@ -1413,17 +1321,17 @@ do
|
| | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
| x_libraries=$ac_optarg ;;
|
|
|
| - -*) as_fn_error "unrecognized option: \`$ac_option'
|
| -Try \`$0 --help' for more information."
|
| + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
| +Try \`$0 --help' for more information." >&2
|
| + { (exit 1); exit 1; }; }
|
| ;;
|
|
|
| *=*)
|
| ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
| # Reject names that are not valid shell variable names.
|
| - case $ac_envvar in #(
|
| - '' | [0-9]* | *[!_$as_cr_alnum]* )
|
| - as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
| - esac
|
| + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
| + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
| + { (exit 1); exit 1; }; }
|
| eval $ac_envvar=\$ac_optarg
|
| export $ac_envvar ;;
|
|
|
| @@ -1440,14 +1348,16 @@ done
|
|
|
| if test -n "$ac_prev"; then
|
| ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
| - as_fn_error "missing argument to $ac_option"
|
| + { $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
| + { (exit 1); exit 1; }; }
|
| fi
|
|
|
| if test -n "$ac_unrecognized_opts"; then
|
| case $enable_option_checking in
|
| no) ;;
|
| - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
| - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
| + fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
|
| + { (exit 1); exit 1; }; } ;;
|
| + *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
| esac
|
| fi
|
|
|
| @@ -1469,7 +1379,8 @@ do
|
| [\\/$]* | ?:[\\/]* ) continue;;
|
| NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
| esac
|
| - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
| + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
| + { (exit 1); exit 1; }; }
|
| done
|
|
|
| # There might be people who depend on the old broken behavior: `$host'
|
| @@ -1499,9 +1410,11 @@ test "$silent" = yes && exec 6>/dev/null
|
| ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
| ac_ls_di=`ls -di .` &&
|
| ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
| - as_fn_error "working directory cannot be determined"
|
| + { $as_echo "$as_me: error: Working directory cannot be determined" >&2
|
| + { (exit 1); exit 1; }; }
|
| test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
| - as_fn_error "pwd does not report name of working directory"
|
| + { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
| + { (exit 1); exit 1; }; }
|
|
|
|
|
| # Find the source files, if location was not specified.
|
| @@ -1540,11 +1453,13 @@ else
|
| fi
|
| if test ! -r "$srcdir/$ac_unique_file"; then
|
| test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
| - as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
| + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
| + { (exit 1); exit 1; }; }
|
| fi
|
| ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
| ac_abs_confdir=`(
|
| - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
| + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
| + { (exit 1); exit 1; }; }
|
| pwd)`
|
| # When building in place, set srcdir=.
|
| if test "$ac_abs_confdir" = "$ac_pwd"; then
|
| @@ -1570,7 +1485,7 @@ if test "$ac_init_help" = "long"; then
|
| # Omit some internal or obsolete options to make the list less imposing.
|
| # This message is too long to be a string in the A/UX 3.1 sh.
|
| cat <<_ACEOF
|
| -\`configure' configures this package to adapt to many kinds of systems.
|
| +\`configure' configures sqlite 3.7.6.3 to adapt to many kinds of systems.
|
|
|
| Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
| @@ -1618,7 +1533,7 @@ Fine tuning of the installation directories:
|
| --infodir=DIR info documentation [DATAROOTDIR/info]
|
| --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
| --mandir=DIR man documentation [DATAROOTDIR/man]
|
| - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
| + --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
|
| --htmldir=DIR html documentation [DOCDIR]
|
| --dvidir=DIR dvi documentation [DOCDIR]
|
| --pdfdir=DIR pdf documentation [DOCDIR]
|
| @@ -1627,11 +1542,6 @@ _ACEOF
|
|
|
| cat <<\_ACEOF
|
|
|
| -Program names:
|
| - --program-prefix=PREFIX prepend PREFIX to installed program names
|
| - --program-suffix=SUFFIX append SUFFIX to installed program names
|
| - --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
| -
|
| System types:
|
| --build=BUILD configure for building on BUILD [guessed]
|
| --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
| @@ -1639,22 +1549,34 @@ _ACEOF
|
| fi
|
|
|
| if test -n "$ac_init_help"; then
|
| -
|
| + case $ac_init_help in
|
| + short | recursive ) echo "Configuration of sqlite 3.7.6.3:";;
|
| + esac
|
| cat <<\_ACEOF
|
|
|
| Optional Features:
|
| --disable-option-checking ignore unrecognized --enable/--with options
|
| --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
| --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
| - --disable-dependency-tracking speeds up one-time build
|
| - --enable-dependency-tracking do not reject slow dependency extractors
|
| --enable-shared[=PKGS] build shared libraries [default=yes]
|
| --enable-static[=PKGS] build static libraries [default=yes]
|
| --enable-fast-install[=PKGS]
|
| optimize for fast installation [default=yes]
|
| --disable-libtool-lock avoid locking (might break parallel builds)
|
| - --enable-rebuild-docs[=yes/no] rebuild some generated docs [default=yes]
|
| - --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes]
|
| + --disable-largefile omit support for large files
|
| + --enable-threadsafe Support threadsafe operation
|
| + --enable-cross-thread-connections
|
| + Allow connection sharing across threads
|
| + --enable-releasemode Support libtool link to release mode
|
| + --enable-tempstore Use an in-ram database for temporary tables
|
| + (never,no,yes,always)
|
| + --disable-tcl do not build TCL extension
|
| + --disable-readline disable readline support [default=detect]
|
| + --enable-debug enable debugging & verbose explain
|
| + --disable-amalgamation Disable the amalgamation and instead build all files
|
| + separately
|
| + --enable-load-extension Enable loading of external extensions
|
| + --enable-gcov Enable coverage testing using gcov
|
|
|
| Optional Packages:
|
| --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
| @@ -1662,46 +1584,11 @@ Optional Packages:
|
| --with-pic try to use only PIC/non-PIC objects [default=use
|
| both]
|
| --with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
| - --with-c14n add the Canonicalization support (on)
|
| - --with-catalog add the Catalog support (on)
|
| - --with-debug add the debugging module (on)
|
| - --with-docbook add Docbook SGML support (on)
|
| - --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off)
|
| - --with-ftp add the FTP support (on)
|
| - --with-history add history support to xmllint shell(off)
|
| - --with-html add the HTML support (on)
|
| - --with-html-dir=path path to base html directory, default
|
| - $datadir/doc/html
|
| - --with-html-subdir=path directory used under html-dir, default
|
| - $PACKAGE-$VERSION/html
|
| - --with-http add the HTTP support (on)
|
| - --with-iconv[=DIR] add ICONV support (on)
|
| - --with-iso8859x add ISO8859X support if no iconv (on)
|
| - --with-legacy add deprecated APIs for compatibility (on)
|
| - --with-mem-debug add the memory debugging module (off)
|
| - --with-minimum build a minimally sized library (off)
|
| - --with-output add the serialization support (on)
|
| - --with-pattern add the xmlPattern selection interface (on)
|
| - --with-push add the PUSH parser interfaces (on)
|
| - --with-python[=DIR] build Python bindings if found
|
| - --with-reader add the xmlReader parsing interface (on)
|
| - --with-readline=DIR use readline in DIR
|
| - --with-regexps add Regular Expressions support (on)
|
| - --with-run-debug add the runtime debugging module (off)
|
| - --with-sax1 add the older SAX1 interface (on)
|
| - --with-schemas add Relax-NG and Schemas support (on)
|
| - --with-schematron add Schematron support (on)
|
| - --with-threads add multithread support(on)
|
| - --with-thread-alloc add per-thread memory(off)
|
| - --with-tree add the DOM like tree manipulation APIs (on)
|
| - --with-valid add the DTD validation support (on)
|
| - --with-writer add the xmlWriter saving interface (on)
|
| - --with-xinclude add the XInclude support (on)
|
| - --with-xpath add the XPATH support (on)
|
| - --with-xptr add the XPointer support (on)
|
| - --with-modules add the dynamic modules support (on)
|
| - --with-zlib[=DIR] use libz in DIR
|
| - --with-coverage build for code coverage with GCC (off)
|
| + --with-hints=FILE Read configuration options from FILE
|
| + --with-tcl=DIR directory containing tcl configuration
|
| + (tclConfig.sh)
|
| + --with-readline-lib specify readline library
|
| + --with-readline-inc specify readline include paths
|
|
|
| Some influential environment variables:
|
| CC C compiler command
|
| @@ -1709,14 +1596,14 @@ Some influential environment variables:
|
| LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
| nonstandard directory <lib dir>
|
| LIBS libraries to pass to the linker, e.g. -l<library>
|
| - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
| + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
| you have headers in a nonstandard directory <include dir>
|
| CPP C preprocessor
|
| + TCLLIBDIR Where to install tcl plugin
|
|
|
| Use these variables to override the choices made by `configure' or to help
|
| it to find libraries and programs with nonstandard names/locations.
|
|
|
| -Report bugs to the package provider.
|
| _ACEOF
|
| ac_status=$?
|
| fi
|
| @@ -1779,420 +1666,69 @@ fi
|
| test -n "$ac_init_help" && exit $ac_status
|
| if $ac_init_version; then
|
| cat <<\_ACEOF
|
| -configure
|
| -generated by GNU Autoconf 2.65
|
| +sqlite configure 3.7.6.3
|
| +generated by GNU Autoconf 2.62
|
|
|
| -Copyright (C) 2009 Free Software Foundation, Inc.
|
| +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
| +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
| This configure script is free software; the Free Software Foundation
|
| gives unlimited permission to copy, distribute and modify it.
|
| _ACEOF
|
| exit
|
| fi
|
| +cat >config.log <<_ACEOF
|
| +This file contains any messages produced by compilers while
|
| +running configure, to aid debugging if configure makes a mistake.
|
|
|
| -## ------------------------ ##
|
| -## Autoconf initialization. ##
|
| -## ------------------------ ##
|
| -
|
| -# ac_fn_c_try_compile LINENO
|
| -# --------------------------
|
| -# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
| -ac_fn_c_try_compile ()
|
| -{
|
| - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - rm -f conftest.$ac_objext
|
| - if { { ac_try="$ac_compile"
|
| -case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_compile") 2>conftest.err
|
| - ac_status=$?
|
| - if test -s conftest.err; then
|
| - grep -v '^ *+' conftest.err >conftest.er1
|
| - cat conftest.er1 >&5
|
| - mv -f conftest.er1 conftest.err
|
| - fi
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } && {
|
| - test -z "$ac_c_werror_flag" ||
|
| - test ! -s conftest.err
|
| - } && test -s conftest.$ac_objext; then :
|
| - ac_retval=0
|
| -else
|
| - $as_echo "$as_me: failed program was:" >&5
|
| -sed 's/^/| /' conftest.$ac_ext >&5
|
| -
|
| - ac_retval=1
|
| -fi
|
| - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
| - as_fn_set_status $ac_retval
|
| +It was created by sqlite $as_me 3.7.6.3, which was
|
| +generated by GNU Autoconf 2.62. Invocation command line was
|
|
|
| -} # ac_fn_c_try_compile
|
| + $ $0 $@
|
|
|
| -# ac_fn_c_try_cpp LINENO
|
| -# ----------------------
|
| -# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
| -ac_fn_c_try_cpp ()
|
| +_ACEOF
|
| +exec 5>>config.log
|
| {
|
| - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - if { { ac_try="$ac_cpp conftest.$ac_ext"
|
| -case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
| - ac_status=$?
|
| - if test -s conftest.err; then
|
| - grep -v '^ *+' conftest.err >conftest.er1
|
| - cat conftest.er1 >&5
|
| - mv -f conftest.er1 conftest.err
|
| - fi
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } >/dev/null && {
|
| - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
| - test ! -s conftest.err
|
| - }; then :
|
| - ac_retval=0
|
| -else
|
| - $as_echo "$as_me: failed program was:" >&5
|
| -sed 's/^/| /' conftest.$ac_ext >&5
|
| +cat <<_ASUNAME
|
| +## --------- ##
|
| +## Platform. ##
|
| +## --------- ##
|
|
|
| - ac_retval=1
|
| -fi
|
| - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
| - as_fn_set_status $ac_retval
|
| +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
| +uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
| +uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
| +uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
| +uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|
|
| -} # ac_fn_c_try_cpp
|
| +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
| +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|
|
| -# ac_fn_c_try_run LINENO
|
| -# ----------------------
|
| -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
| -# that executables *can* be run.
|
| -ac_fn_c_try_run ()
|
| -{
|
| - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - if { { ac_try="$ac_link"
|
| -case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_link") 2>&5
|
| - ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
| - { { case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_try") 2>&5
|
| - ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }; }; then :
|
| - ac_retval=0
|
| -else
|
| - $as_echo "$as_me: program exited with status $ac_status" >&5
|
| - $as_echo "$as_me: failed program was:" >&5
|
| -sed 's/^/| /' conftest.$ac_ext >&5
|
| +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
| +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
| +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
| +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
| +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
| +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
| +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
|
| - ac_retval=$ac_status
|
| -fi
|
| - rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
| - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
| - as_fn_set_status $ac_retval
|
| +_ASUNAME
|
|
|
| -} # ac_fn_c_try_run
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + $as_echo "PATH: $as_dir"
|
| +done
|
| +IFS=$as_save_IFS
|
|
|
| -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
| -# -------------------------------------------------------
|
| -# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
| -# the include files in INCLUDES and setting the cache variable VAR
|
| -# accordingly.
|
| -ac_fn_c_check_header_mongrel ()
|
| -{
|
| - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
| -$as_echo_n "checking for $2... " >&6; }
|
| -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
| - $as_echo_n "(cached) " >&6
|
| -fi
|
| -eval ac_res=\$$3
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
| -$as_echo "$ac_res" >&6; }
|
| -else
|
| - # Is the header compilable?
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
| -$as_echo_n "checking $2 usability... " >&6; }
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -$4
|
| -#include <$2>
|
| -_ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - ac_header_compiler=yes
|
| -else
|
| - ac_header_compiler=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
| -$as_echo "$ac_header_compiler" >&6; }
|
| +} >&5
|
|
|
| -# Is the header present?
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
| -$as_echo_n "checking $2 presence... " >&6; }
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <$2>
|
| -_ACEOF
|
| -if ac_fn_c_try_cpp "$LINENO"; then :
|
| - ac_header_preproc=yes
|
| -else
|
| - ac_header_preproc=no
|
| -fi
|
| -rm -f conftest.err conftest.$ac_ext
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
| -$as_echo "$ac_header_preproc" >&6; }
|
| +cat >&5 <<_ACEOF
|
|
|
| -# So? What about this header?
|
| -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
| - yes:no: )
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
| -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
| -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
| - ;;
|
| - no:yes:* )
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
| -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
| -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
| -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
| -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
| -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
| - ;;
|
| -esac
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
| -$as_echo_n "checking for $2... " >&6; }
|
| -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - eval "$3=\$ac_header_compiler"
|
| -fi
|
| -eval ac_res=\$$3
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
| -$as_echo "$ac_res" >&6; }
|
| -fi
|
| - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
|
| -} # ac_fn_c_check_header_mongrel
|
| -
|
| -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
| -# -------------------------------------------------------
|
| -# Tests whether HEADER exists and can be compiled using the include files in
|
| -# INCLUDES, setting the cache variable VAR accordingly.
|
| -ac_fn_c_check_header_compile ()
|
| -{
|
| - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
| -$as_echo_n "checking for $2... " >&6; }
|
| -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -$4
|
| -#include <$2>
|
| -_ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - eval "$3=yes"
|
| -else
|
| - eval "$3=no"
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| -fi
|
| -eval ac_res=\$$3
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
| -$as_echo "$ac_res" >&6; }
|
| - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
| -
|
| -} # ac_fn_c_check_header_compile
|
| -
|
| -# ac_fn_c_try_link LINENO
|
| -# -----------------------
|
| -# Try to link conftest.$ac_ext, and return whether this succeeded.
|
| -ac_fn_c_try_link ()
|
| -{
|
| - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - rm -f conftest.$ac_objext conftest$ac_exeext
|
| - if { { ac_try="$ac_link"
|
| -case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_link") 2>conftest.err
|
| - ac_status=$?
|
| - if test -s conftest.err; then
|
| - grep -v '^ *+' conftest.err >conftest.er1
|
| - cat conftest.er1 >&5
|
| - mv -f conftest.er1 conftest.err
|
| - fi
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } && {
|
| - test -z "$ac_c_werror_flag" ||
|
| - test ! -s conftest.err
|
| - } && test -s conftest$ac_exeext && {
|
| - test "$cross_compiling" = yes ||
|
| - $as_test_x conftest$ac_exeext
|
| - }; then :
|
| - ac_retval=0
|
| -else
|
| - $as_echo "$as_me: failed program was:" >&5
|
| -sed 's/^/| /' conftest.$ac_ext >&5
|
| -
|
| - ac_retval=1
|
| -fi
|
| - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
| - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
| - # interfere with the next link command; also delete a directory that is
|
| - # left behind by Apple's compiler. We do this before executing the actions.
|
| - rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
| - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
| - as_fn_set_status $ac_retval
|
| -
|
| -} # ac_fn_c_try_link
|
| -
|
| -# ac_fn_c_check_func LINENO FUNC VAR
|
| -# ----------------------------------
|
| -# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
| -ac_fn_c_check_func ()
|
| -{
|
| - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
| -$as_echo_n "checking for $2... " >&6; }
|
| -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
| - For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
| -#define $2 innocuous_$2
|
| -
|
| -/* System header to define __stub macros and hopefully few prototypes,
|
| - which can conflict with char $2 (); below.
|
| - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| - <limits.h> exists even on freestanding compilers. */
|
| -
|
| -#ifdef __STDC__
|
| -# include <limits.h>
|
| -#else
|
| -# include <assert.h>
|
| -#endif
|
| -
|
| -#undef $2
|
| -
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char $2 ();
|
| -/* The GNU C library defines this for functions which it implements
|
| - to always fail with ENOSYS. Some functions are actually named
|
| - something starting with __ and the normal name is an alias. */
|
| -#if defined __stub_$2 || defined __stub___$2
|
| -choke me
|
| -#endif
|
| -
|
| -int
|
| -main ()
|
| -{
|
| -return $2 ();
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - eval "$3=yes"
|
| -else
|
| - eval "$3=no"
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -fi
|
| -eval ac_res=\$$3
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
| -$as_echo "$ac_res" >&6; }
|
| - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
| -
|
| -} # ac_fn_c_check_func
|
| -cat >config.log <<_ACEOF
|
| -This file contains any messages produced by compilers while
|
| -running configure, to aid debugging if configure makes a mistake.
|
| -
|
| -It was created by $as_me, which was
|
| -generated by GNU Autoconf 2.65. Invocation command line was
|
| -
|
| - $ $0 $@
|
| -
|
| -_ACEOF
|
| -exec 5>>config.log
|
| -{
|
| -cat <<_ASUNAME
|
| -## --------- ##
|
| -## Platform. ##
|
| -## --------- ##
|
| -
|
| -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
| -uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
| -uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
| -uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
| -uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
| -
|
| -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
| -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
| -
|
| -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
| -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
| -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
| -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
| -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
| -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
| -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
| -
|
| -_ASUNAME
|
| -
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - $as_echo "PATH: $as_dir"
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -} >&5
|
| -
|
| -cat >&5 <<_ACEOF
|
| -
|
| -
|
| -## ----------- ##
|
| -## Core tests. ##
|
| -## ----------- ##
|
| +## ----------- ##
|
| +## Core tests. ##
|
| +## ----------- ##
|
|
|
| _ACEOF
|
|
|
| @@ -2219,9 +1755,9 @@ do
|
| ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
| esac
|
| case $ac_pass in
|
| - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
| + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
| 2)
|
| - as_fn_append ac_configure_args1 " '$ac_arg'"
|
| + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
| if test $ac_must_keep_next = true; then
|
| ac_must_keep_next=false # Got value, back to normal.
|
| else
|
| @@ -2237,13 +1773,13 @@ do
|
| -* ) ac_must_keep_next=true ;;
|
| esac
|
| fi
|
| - as_fn_append ac_configure_args " '$ac_arg'"
|
| + ac_configure_args="$ac_configure_args '$ac_arg'"
|
| ;;
|
| esac
|
| done
|
| done
|
| -{ ac_configure_args0=; unset ac_configure_args0;}
|
| -{ ac_configure_args1=; unset ac_configure_args1;}
|
| +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
| +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
|
| # When interrupted or exit'd, cleanup temporary files, and complete
|
| # config.log. We remove comments because anyway the quotes in there
|
| @@ -2268,13 +1804,13 @@ _ASBOX
|
| case $ac_val in #(
|
| *${as_nl}*)
|
| case $ac_var in #(
|
| - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
| -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
| + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
| +$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
| esac
|
| case $ac_var in #(
|
| _ | IFS | as_nl) ;; #(
|
| BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
| - *) { eval $ac_var=; unset $ac_var;} ;;
|
| + *) $as_unset $ac_var ;;
|
| esac ;;
|
| esac
|
| done
|
| @@ -2346,39 +1882,37 @@ _ASBOX
|
| exit $exit_status
|
| ' 0
|
| for ac_signal in 1 2 13 15; do
|
| - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
| + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
| done
|
| ac_signal=0
|
|
|
| # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
| rm -f -r conftest* confdefs.h
|
|
|
| -$as_echo "/* confdefs.h */" > confdefs.h
|
| -
|
| # Predefined preprocessor variables.
|
|
|
| cat >>confdefs.h <<_ACEOF
|
| #define PACKAGE_NAME "$PACKAGE_NAME"
|
| _ACEOF
|
|
|
| +
|
| cat >>confdefs.h <<_ACEOF
|
| #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
| _ACEOF
|
|
|
| +
|
| cat >>confdefs.h <<_ACEOF
|
| #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
| _ACEOF
|
|
|
| +
|
| cat >>confdefs.h <<_ACEOF
|
| #define PACKAGE_STRING "$PACKAGE_STRING"
|
| _ACEOF
|
|
|
| -cat >>confdefs.h <<_ACEOF
|
| -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
| -_ACEOF
|
|
|
| cat >>confdefs.h <<_ACEOF
|
| -#define PACKAGE_URL "$PACKAGE_URL"
|
| +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
| _ACEOF
|
|
|
|
|
| @@ -2398,8 +1932,8 @@ fi
|
| for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
| do
|
| test "x$ac_site_file" = xNONE && continue
|
| - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
| + if test -r "$ac_site_file"; then
|
| + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
| $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
| sed 's/^/| /' "$ac_site_file" >&5
|
| . "$ac_site_file"
|
| @@ -2407,10 +1941,10 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
| done
|
|
|
| if test -r "$cache_file"; then
|
| - # Some versions of bash will fail to source /dev/null (special files
|
| - # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
| - if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
| + # Some versions of bash will fail to source /dev/null (special
|
| + # files actually), so we avoid doing that.
|
| + if test -f "$cache_file"; then
|
| + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
| $as_echo "$as_me: loading cache $cache_file" >&6;}
|
| case $cache_file in
|
| [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
| @@ -2418,7 +1952,7 @@ $as_echo "$as_me: loading cache $cache_file" >&6;}
|
| esac
|
| fi
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
| + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
| $as_echo "$as_me: creating cache $cache_file" >&6;}
|
| >$cache_file
|
| fi
|
| @@ -2433,11 +1967,11 @@ for ac_var in $ac_precious_vars; do
|
| eval ac_new_val=\$ac_env_${ac_var}_value
|
| case $ac_old_set,$ac_new_set in
|
| set,)
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
| + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
| $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
| ac_cache_corrupted=: ;;
|
| ,set)
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
| + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
| $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
| ac_cache_corrupted=: ;;
|
| ,);;
|
| @@ -2447,17 +1981,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
| ac_old_val_w=`echo x $ac_old_val`
|
| ac_new_val_w=`echo x $ac_new_val`
|
| if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
| + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
| $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
| ac_cache_corrupted=:
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
| + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
| $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
| eval $ac_var=\$ac_old_val
|
| fi
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
| + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
| $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
| + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
| $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
| fi;;
|
| esac
|
| @@ -2469,20 +2003,41 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
| esac
|
| case " $ac_configure_args " in
|
| *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
| - *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
| + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
| esac
|
| fi
|
| done
|
| if $ac_cache_corrupted; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
| + { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
| $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
| - as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
| +$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi
|
| -## -------------------- ##
|
| -## Main body of script. ##
|
| -## -------------------- ##
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
|
|
| ac_ext=c
|
| ac_cpp='$CPP $CPPFLAGS'
|
| @@ -2491,21 +2046,71 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
| ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
| -ac_config_headers="$ac_config_headers config.h"
|
| +
|
| +sqlite_version_sanity_check=`cat $srcdir/VERSION | tr -d '\n'`
|
| +if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
|
| +{ { $as_echo "$as_me:$LINENO: error: configure script is out of date:
|
| + configure \$PACKAGE_VERSION = $PACKAGE_VERSION
|
| + top level VERSION file = $sqlite_version_sanity_check
|
| +please regen with autoconf" >&5
|
| +$as_echo "$as_me: error: configure script is out of date:
|
| + configure \$PACKAGE_VERSION = $PACKAGE_VERSION
|
| + top level VERSION file = $sqlite_version_sanity_check
|
| +please regen with autoconf" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| +fi
|
| +
|
| +# The following RCS revision string applies to configure.in
|
| +# $Revision: 1.56 $
|
| +
|
| +#########
|
| +# Programs needed
|
| +#
|
| +case `pwd` in
|
| + *\ * | *\ *)
|
| + { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
| +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
| +esac
|
| +
|
| +
|
| +
|
| +macro_version='2.2.6'
|
| +macro_revision='1.3012'
|
| +
|
| +
|
|
|
|
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +ltmain="$ac_aux_dir/ltmain.sh"
|
| +
|
| ac_aux_dir=
|
| for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
| - for ac_t in install-sh install.sh shtool; do
|
| - if test -f "$ac_dir/$ac_t"; then
|
| - ac_aux_dir=$ac_dir
|
| - ac_install_sh="$ac_aux_dir/$ac_t -c"
|
| - break 2
|
| - fi
|
| - done
|
| + if test -f "$ac_dir/install-sh"; then
|
| + ac_aux_dir=$ac_dir
|
| + ac_install_sh="$ac_aux_dir/install-sh -c"
|
| + break
|
| + elif test -f "$ac_dir/install.sh"; then
|
| + ac_aux_dir=$ac_dir
|
| + ac_install_sh="$ac_aux_dir/install.sh -c"
|
| + break
|
| + elif test -f "$ac_dir/shtool"; then
|
| + ac_aux_dir=$ac_dir
|
| + ac_install_sh="$ac_aux_dir/shtool install -c"
|
| + break
|
| + fi
|
| done
|
| if test -z "$ac_aux_dir"; then
|
| - as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
| +$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi
|
|
|
| # These three variables are undocumented and unsupported,
|
| @@ -2519,27 +2124,35 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|
|
| # Make sure we can run config.sub.
|
| $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
| - as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
| +$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
| + { (exit 1); exit 1; }; }
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking build system type" >&5
|
| $as_echo_n "checking build system type... " >&6; }
|
| -if test "${ac_cv_build+set}" = set; then :
|
| +if test "${ac_cv_build+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| ac_build_alias=$build_alias
|
| test "x$ac_build_alias" = x &&
|
| ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
| test "x$ac_build_alias" = x &&
|
| - as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
| +$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
| - as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
| +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
| + { (exit 1); exit 1; }; }
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
| $as_echo "$ac_cv_build" >&6; }
|
| case $ac_cv_build in
|
| *-*-*) ;;
|
| -*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
|
| +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
| +$as_echo "$as_me: error: invalid value of canonical build" >&2;}
|
| + { (exit 1); exit 1; }; };;
|
| esac
|
| build=$ac_cv_build
|
| ac_save_IFS=$IFS; IFS='-'
|
| @@ -2555,24 +2168,28 @@ IFS=$ac_save_IFS
|
| case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
|
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking host system type" >&5
|
| $as_echo_n "checking host system type... " >&6; }
|
| -if test "${ac_cv_host+set}" = set; then :
|
| +if test "${ac_cv_host+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test "x$host_alias" = x; then
|
| ac_cv_host=$ac_cv_build
|
| else
|
| ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
| - as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
| +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
| $as_echo "$ac_cv_host" >&6; }
|
| case $ac_cv_host in
|
| *-*-*) ;;
|
| -*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
|
| +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
| +$as_echo "$as_me: error: invalid value of canonical host" >&2;}
|
| + { (exit 1); exit 1; }; };;
|
| esac
|
| host=$ac_cv_host
|
| ac_save_IFS=$IFS; IFS='-'
|
| @@ -2588,2567 +2205,940 @@ IFS=$ac_save_IFS
|
| case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
|
|
|
|
| -
|
| -LIBXML_MAJOR_VERSION=2
|
| -LIBXML_MINOR_VERSION=7
|
| -LIBXML_MICRO_VERSION=7
|
| -LIBXML_MICRO_VERSION_SUFFIX=
|
| -LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
|
| -LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
|
| -
|
| -LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
|
| -
|
| -if test -f CVS/Entries ; then
|
| - extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
|
| - echo extra=$extra
|
| - if test "$extra" != ""
|
| - then
|
| - LIBXML_VERSION_EXTRA="-CVS$extra"
|
| - fi
|
| -else if test -d .svn ; then
|
| - extra=`svn info | grep Revision | sed 's+Revision: ++'`
|
| - echo extra=$extra
|
| - if test "$extra" != ""
|
| - then
|
| - LIBXML_VERSION_EXTRA="-SVN$extra"
|
| - fi
|
| -else if test -d .git ; then
|
| - extra=`git describe | sed 's+LIBXML[0-9.]*-++'`
|
| - echo extra=$extra
|
| - if test "$extra" != ""
|
| - then
|
| - LIBXML_VERSION_EXTRA="-GIT$extra"
|
| +ac_ext=c
|
| +ac_cpp='$CPP $CPPFLAGS'
|
| +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| +ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| +if test -n "$ac_tool_prefix"; then
|
| + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
| +set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_CC+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$CC"; then
|
| + ac_cv_prog_CC="$CC" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| fi
|
| +done
|
| +done
|
| +IFS=$as_save_IFS
|
| +
|
| fi
|
| fi
|
| +CC=$ac_cv_prog_CC
|
| +if test -n "$CC"; then
|
| + { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
| +$as_echo "$CC" >&6; }
|
| +else
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| fi
|
|
|
|
|
| +fi
|
| +if test -z "$ac_cv_prog_CC"; then
|
| + ac_ct_CC=$CC
|
| + # Extract the first word of "gcc", so it can be a program name with args.
|
| +set dummy gcc; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$ac_ct_CC"; then
|
| + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_ac_ct_CC="gcc"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| +done
|
| +IFS=$as_save_IFS
|
|
|
| +fi
|
| +fi
|
| +ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
| +if test -n "$ac_ct_CC"; then
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
| +$as_echo "$ac_ct_CC" >&6; }
|
| +else
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
|
|
| + if test "x$ac_ct_CC" = x; then
|
| + CC=""
|
| + else
|
| + case $cross_compiling:$ac_tool_warned in
|
| +yes:)
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| +ac_tool_warned=yes ;;
|
| +esac
|
| + CC=$ac_ct_CC
|
| + fi
|
| +else
|
| + CC="$ac_cv_prog_CC"
|
| +fi
|
|
|
| -
|
| -
|
| -
|
| -VERSION=${LIBXML_VERSION}
|
| -
|
| -am__api_version='1.11'
|
| -
|
| -# Find a good install program. We prefer a C program (faster),
|
| -# so one script is as good as another. But avoid the broken or
|
| -# incompatible versions:
|
| -# SysV /etc/install, /usr/sbin/install
|
| -# SunOS /usr/etc/install
|
| -# IRIX /sbin/install
|
| -# AIX /bin/install
|
| -# AmigaOS /C/install, which installs bootblocks on floppy discs
|
| -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
| -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
| -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
| -# OS/2's system install, which has a completely different semantic
|
| -# ./install, which can be erroneously created by make from ./install.sh.
|
| -# Reject install programs that cannot install multiple files.
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
| -$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
| -if test -z "$INSTALL"; then
|
| -if test "${ac_cv_path_install+set}" = set; then :
|
| +if test -z "$CC"; then
|
| + if test -n "$ac_tool_prefix"; then
|
| + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
| +set dummy ${ac_tool_prefix}cc; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_CC+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| + if test -n "$CC"; then
|
| + ac_cv_prog_CC="$CC" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - # Account for people who put trailing slashes in PATH elements.
|
| -case $as_dir/ in #((
|
| - ./ | .// | /[cC]/* | \
|
| - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
| - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
| - /usr/ucb/* ) ;;
|
| - *)
|
| - # OSF1 and SCO ODT 3.0 have their own names for install.
|
| - # Don't use installbsd from OSF since it installs stuff as root
|
| - # by default.
|
| - for ac_prog in ginstall scoinst install; do
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
| - if test $ac_prog = install &&
|
| - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
| - # AIX install. It has an incompatible calling convention.
|
| - :
|
| - elif test $ac_prog = install &&
|
| - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
| - # program-specific install script used by HP pwplus--don't use.
|
| - :
|
| - else
|
| - rm -rf conftest.one conftest.two conftest.dir
|
| - echo one > conftest.one
|
| - echo two > conftest.two
|
| - mkdir conftest.dir
|
| - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
| - test -s conftest.one && test -s conftest.two &&
|
| - test -s conftest.dir/conftest.one &&
|
| - test -s conftest.dir/conftest.two
|
| - then
|
| - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
| - break 3
|
| - fi
|
| - fi
|
| - fi
|
| - done
|
| - done
|
| - ;;
|
| -esac
|
| -
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -rm -rf conftest.one conftest.two conftest.dir
|
| -
|
| -fi
|
| - if test "${ac_cv_path_install+set}" = set; then
|
| - INSTALL=$ac_cv_path_install
|
| - else
|
| - # As a last resort, use the slow shell script. Don't cache a
|
| - # value for INSTALL within a source directory, because that will
|
| - # break other packages using the cache if that directory is
|
| - # removed, or if the value is a relative name.
|
| - INSTALL=$ac_install_sh
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_CC="${ac_tool_prefix}cc"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| fi
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
| -$as_echo "$INSTALL" >&6; }
|
| -
|
| -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
| -# It thinks the first close brace ends the variable substitution.
|
| -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
| -
|
| -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
| -
|
| -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
| -
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
| -$as_echo_n "checking whether build environment is sane... " >&6; }
|
| -# Just in case
|
| -sleep 1
|
| -echo timestamp > conftest.file
|
| -# Reject unsafe characters in $srcdir or the absolute working directory
|
| -# name. Accept space and tab only in the latter.
|
| -am_lf='
|
| -'
|
| -case `pwd` in
|
| - *[\\\"\#\$\&\'\`$am_lf]*)
|
| - as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
|
| -esac
|
| -case $srcdir in
|
| - *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
| - as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
| -esac
|
| -
|
| -# Do `set' in a subshell so we don't clobber the current shell's
|
| -# arguments. Must try -L first in case configure is actually a
|
| -# symlink; some systems play weird games with the mod time of symlinks
|
| -# (eg FreeBSD returns the mod time of the symlink's containing
|
| -# directory).
|
| -if (
|
| - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
| - if test "$*" = "X"; then
|
| - # -L didn't work.
|
| - set X `ls -t "$srcdir/configure" conftest.file`
|
| - fi
|
| - rm -f conftest.file
|
| - if test "$*" != "X $srcdir/configure conftest.file" \
|
| - && test "$*" != "X conftest.file $srcdir/configure"; then
|
| -
|
| - # If neither matched, then we have a broken ls. This can happen
|
| - # if, for instance, CONFIG_SHELL is bash and it inherits a
|
| - # broken ls alias from the environment. This has actually
|
| - # happened. Such a system could not be considered "sane".
|
| - as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
| -alias in your environment" "$LINENO" 5
|
| - fi
|
| +done
|
| +done
|
| +IFS=$as_save_IFS
|
|
|
| - test "$2" = conftest.file
|
| - )
|
| -then
|
| - # Ok.
|
| - :
|
| -else
|
| - as_fn_error "newly created file is older than distributed files!
|
| -Check your system clock" "$LINENO" 5
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| -$as_echo "yes" >&6; }
|
| -test "$program_prefix" != NONE &&
|
| - program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
| -# Use a double $ so make ignores it.
|
| -test "$program_suffix" != NONE &&
|
| - program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
| -# Double any \ or $.
|
| -# By default was `s,x,x', remove it if useless.
|
| -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
| -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
| -
|
| -# expand $ac_aux_dir to an absolute path
|
| -am_aux_dir=`cd $ac_aux_dir && pwd`
|
| -
|
| -if test x"${MISSING+set}" != xset; then
|
| - case $am_aux_dir in
|
| - *\ * | *\ *)
|
| - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
| - *)
|
| - MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
| - esac
|
| fi
|
| -# Use eval to expand $SHELL
|
| -if eval "$MISSING --run true"; then
|
| - am_missing_run="$MISSING --run "
|
| +CC=$ac_cv_prog_CC
|
| +if test -n "$CC"; then
|
| + { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
| +$as_echo "$CC" >&6; }
|
| else
|
| - am_missing_run=
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
| -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| fi
|
|
|
| -if test x"${install_sh}" != xset; then
|
| - case $am_aux_dir in
|
| - *\ * | *\ *)
|
| - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
| - *)
|
| - install_sh="\${SHELL} $am_aux_dir/install-sh"
|
| - esac
|
| -fi
|
|
|
| -# Installed binaries are usually stripped using `strip' when the user
|
| -# run `make install-strip'. However `strip' might not be the right
|
| -# tool to use in cross-compilation environments, therefore Automake
|
| -# will honor the `STRIP' environment variable to overrule this program.
|
| -if test "$cross_compiling" != no; then
|
| - if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}strip; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| + fi
|
| +fi
|
| +if test -z "$CC"; then
|
| + # Extract the first word of "cc", so it can be a program name with args.
|
| +set dummy cc; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_STRIP+set}" = set; then :
|
| +if test "${ac_cv_prog_CC+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$STRIP"; then
|
| - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
| + if test -n "$CC"; then
|
| + ac_cv_prog_CC="$CC" # Let the user override the test.
|
| else
|
| + ac_prog_rejected=no
|
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
| + ac_prog_rejected=yes
|
| + continue
|
| + fi
|
| + ac_cv_prog_CC="cc"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| +if test $ac_prog_rejected = yes; then
|
| + # We found a bogon in the path, so make sure we never use it.
|
| + set dummy $ac_cv_prog_CC
|
| + shift
|
| + if test $# != 0; then
|
| + # We chose a different compiler from the bogus one.
|
| + # However, it has the same basename, so the bogon will be chosen
|
| + # first if we set CC to just the basename; use the full file name.
|
| + shift
|
| + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
| + fi
|
| fi
|
| fi
|
| -STRIP=$ac_cv_prog_STRIP
|
| -if test -n "$STRIP"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
| -$as_echo "$STRIP" >&6; }
|
| +fi
|
| +CC=$ac_cv_prog_CC
|
| +if test -n "$CC"; then
|
| + { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
| +$as_echo "$CC" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
|
|
| fi
|
| -if test -z "$ac_cv_prog_STRIP"; then
|
| - ac_ct_STRIP=$STRIP
|
| - # Extract the first word of "strip", so it can be a program name with args.
|
| -set dummy strip; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +if test -z "$CC"; then
|
| + if test -n "$ac_tool_prefix"; then
|
| + for ac_prog in cl.exe
|
| + do
|
| + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
| +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
| +if test "${ac_cv_prog_CC+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$ac_ct_STRIP"; then
|
| - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
| + if test -n "$CC"; then
|
| + ac_cv_prog_CC="$CC" # Let the user override the test.
|
| else
|
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_STRIP="strip"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
| -if test -n "$ac_ct_STRIP"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
| -$as_echo "$ac_ct_STRIP" >&6; }
|
| +CC=$ac_cv_prog_CC
|
| +if test -n "$CC"; then
|
| + { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
| +$as_echo "$CC" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| - if test "x$ac_ct_STRIP" = x; then
|
| - STRIP=":"
|
| - else
|
| - case $cross_compiling:$ac_tool_warned in
|
| -yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| -ac_tool_warned=yes ;;
|
| -esac
|
| - STRIP=$ac_ct_STRIP
|
| - fi
|
| -else
|
| - STRIP="$ac_cv_prog_STRIP"
|
| -fi
|
| -
|
| -fi
|
| -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
| -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
| -if test -z "$MKDIR_P"; then
|
| - if test "${ac_cv_path_mkdir+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_prog in mkdir gmkdir; do
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
| - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
| - 'mkdir (GNU coreutils) '* | \
|
| - 'mkdir (coreutils) '* | \
|
| - 'mkdir (fileutils) '4.1*)
|
| - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
| - break 3;;
|
| - esac
|
| - done
|
| - done
|
| + test -n "$CC" && break
|
| done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| -
|
| - test -d ./--version && rmdir ./--version
|
| - if test "${ac_cv_path_mkdir+set}" = set; then
|
| - MKDIR_P="$ac_cv_path_mkdir -p"
|
| - else
|
| - # As a last resort, use the slow shell script. Don't cache a
|
| - # value for MKDIR_P within a source directory, because that will
|
| - # break other packages using the cache if that directory is
|
| - # removed, or if the value is a relative name.
|
| - MKDIR_P="$ac_install_sh -d"
|
| - fi
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
| -$as_echo "$MKDIR_P" >&6; }
|
| -
|
| -mkdir_p="$MKDIR_P"
|
| -case $mkdir_p in
|
| - [\\/$]* | ?:[\\/]*) ;;
|
| - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
| -esac
|
| -
|
| -for ac_prog in gawk mawk nawk awk
|
| +if test -z "$CC"; then
|
| + ac_ct_CC=$CC
|
| + for ac_prog in cl.exe
|
| do
|
| # Extract the first word of "$ac_prog", so it can be a program name with args.
|
| set dummy $ac_prog; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_AWK+set}" = set; then :
|
| +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$AWK"; then
|
| - ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
| + if test -n "$ac_ct_CC"; then
|
| + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
| else
|
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_AWK="$ac_prog"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + ac_cv_prog_ac_ct_CC="$ac_prog"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| -AWK=$ac_cv_prog_AWK
|
| -if test -n "$AWK"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
| -$as_echo "$AWK" >&6; }
|
| +ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
| +if test -n "$ac_ct_CC"; then
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
| +$as_echo "$ac_ct_CC" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
|
|
| - test -n "$AWK" && break
|
| + test -n "$ac_ct_CC" && break
|
| done
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
| -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
| -set x ${MAKE-make}
|
| -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
| -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - cat >conftest.make <<\_ACEOF
|
| -SHELL = /bin/sh
|
| -all:
|
| - @echo '@@@%%%=$(MAKE)=@@@%%%'
|
| -_ACEOF
|
| -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
| -case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
| - *@@@%%%=?*=@@@%%%*)
|
| - eval ac_cv_prog_make_${ac_make}_set=yes;;
|
| - *)
|
| - eval ac_cv_prog_make_${ac_make}_set=no;;
|
| + if test "x$ac_ct_CC" = x; then
|
| + CC=""
|
| + else
|
| + case $cross_compiling:$ac_tool_warned in
|
| +yes:)
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| +ac_tool_warned=yes ;;
|
| esac
|
| -rm -f conftest.make
|
| -fi
|
| -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| -$as_echo "yes" >&6; }
|
| - SET_MAKE=
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| - SET_MAKE="MAKE=${MAKE-make}"
|
| -fi
|
| -
|
| -rm -rf .tst 2>/dev/null
|
| -mkdir .tst 2>/dev/null
|
| -if test -d .tst; then
|
| - am__leading_dot=.
|
| -else
|
| - am__leading_dot=_
|
| -fi
|
| -rmdir .tst 2>/dev/null
|
| -
|
| -if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
| - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
| - # is not polluted with repeated "-I."
|
| - am__isrc=' -I$(srcdir)'
|
| - # test to see if srcdir already configured
|
| - if test -f $srcdir/config.status; then
|
| - as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
| + CC=$ac_ct_CC
|
| fi
|
| fi
|
|
|
| -# test whether we have cygpath
|
| -if test -z "$CYGPATH_W"; then
|
| - if (cygpath --version) >/dev/null 2>/dev/null; then
|
| - CYGPATH_W='cygpath -w'
|
| - else
|
| - CYGPATH_W=echo
|
| - fi
|
| fi
|
|
|
|
|
| -# Define the identity of the package.
|
| - PACKAGE=libxml2
|
| - VERSION=$VERSION
|
| +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
| +See \`config.log' for more details." >&5
|
| +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
| +See \`config.log' for more details." >&2;}
|
| + { (exit 1); exit 1; }; }
|
|
|
| +# Provide some information about the compiler.
|
| +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
| +set X $ac_compile
|
| +ac_compiler=$2
|
| +{ (ac_try="$ac_compiler --version >&5"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compiler --version >&5") 2>&5
|
| + ac_status=$?
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }
|
| +{ (ac_try="$ac_compiler -v >&5"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compiler -v >&5") 2>&5
|
| + ac_status=$?
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }
|
| +{ (ac_try="$ac_compiler -V >&5"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compiler -V >&5") 2>&5
|
| + ac_status=$?
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }
|
|
|
| -cat >>confdefs.h <<_ACEOF
|
| -#define PACKAGE "$PACKAGE"
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| _ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
|
|
| +int
|
| +main ()
|
| +{
|
|
|
| -cat >>confdefs.h <<_ACEOF
|
| -#define VERSION "$VERSION"
|
| -_ACEOF
|
| -
|
| -# Some tools Automake needs.
|
| -
|
| -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
| -
|
| -
|
| -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
| -
|
| -
|
| -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
| -
|
| -
|
| -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
| -
|
| -
|
| -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
| -
|
| -# We need awk for the "check" target. The system "awk" is bad on
|
| -# some platforms.
|
| -# Always define AMTAR for backward compatibility.
|
| -
|
| -AMTAR=${AMTAR-"${am_missing_run}tar"}
|
| -
|
| -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -ac_ext=c
|
| -ac_cpp='$CPP $CPPFLAGS'
|
| -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| -ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| -if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_CC+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$CC"; then
|
| - ac_cv_prog_CC="$CC" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| -fi
|
| -CC=$ac_cv_prog_CC
|
| -if test -n "$CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| -$as_echo "$CC" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| -fi
|
| -if test -z "$ac_cv_prog_CC"; then
|
| - ac_ct_CC=$CC
|
| - # Extract the first word of "gcc", so it can be a program name with args.
|
| -set dummy gcc; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$ac_ct_CC"; then
|
| - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_CC="gcc"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| -fi
|
| -ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
| -if test -n "$ac_ct_CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
| -$as_echo "$ac_ct_CC" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| - if test "x$ac_ct_CC" = x; then
|
| - CC=""
|
| - else
|
| - case $cross_compiling:$ac_tool_warned in
|
| -yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| -ac_tool_warned=yes ;;
|
| -esac
|
| - CC=$ac_ct_CC
|
| - fi
|
| -else
|
| - CC="$ac_cv_prog_CC"
|
| -fi
|
| -
|
| -if test -z "$CC"; then
|
| - if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}cc; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_CC+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$CC"; then
|
| - ac_cv_prog_CC="$CC" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_CC="${ac_tool_prefix}cc"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| -fi
|
| -CC=$ac_cv_prog_CC
|
| -if test -n "$CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| -$as_echo "$CC" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| - fi
|
| -fi
|
| -if test -z "$CC"; then
|
| - # Extract the first word of "cc", so it can be a program name with args.
|
| -set dummy cc; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_CC+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$CC"; then
|
| - ac_cv_prog_CC="$CC" # Let the user override the test.
|
| -else
|
| - ac_prog_rejected=no
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
| - ac_prog_rejected=yes
|
| - continue
|
| - fi
|
| - ac_cv_prog_CC="cc"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -if test $ac_prog_rejected = yes; then
|
| - # We found a bogon in the path, so make sure we never use it.
|
| - set dummy $ac_cv_prog_CC
|
| - shift
|
| - if test $# != 0; then
|
| - # We chose a different compiler from the bogus one.
|
| - # However, it has the same basename, so the bogon will be chosen
|
| - # first if we set CC to just the basename; use the full file name.
|
| - shift
|
| - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
| - fi
|
| -fi
|
| -fi
|
| -fi
|
| -CC=$ac_cv_prog_CC
|
| -if test -n "$CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| -$as_echo "$CC" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| -fi
|
| -if test -z "$CC"; then
|
| - if test -n "$ac_tool_prefix"; then
|
| - for ac_prog in cl.exe
|
| - do
|
| - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
| -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_CC+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$CC"; then
|
| - ac_cv_prog_CC="$CC" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| -fi
|
| -CC=$ac_cv_prog_CC
|
| -if test -n "$CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
| -$as_echo "$CC" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| - test -n "$CC" && break
|
| - done
|
| -fi
|
| -if test -z "$CC"; then
|
| - ac_ct_CC=$CC
|
| - for ac_prog in cl.exe
|
| -do
|
| - # Extract the first word of "$ac_prog", so it can be a program name with args.
|
| -set dummy $ac_prog; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$ac_ct_CC"; then
|
| - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_CC="$ac_prog"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| -fi
|
| -ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
| -if test -n "$ac_ct_CC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
| -$as_echo "$ac_ct_CC" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| - test -n "$ac_ct_CC" && break
|
| -done
|
| -
|
| - if test "x$ac_ct_CC" = x; then
|
| - CC=""
|
| - else
|
| - case $cross_compiling:$ac_tool_warned in
|
| -yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| -ac_tool_warned=yes ;;
|
| -esac
|
| - CC=$ac_ct_CC
|
| - fi
|
| -fi
|
| -
|
| -fi
|
| -
|
| -
|
| -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| -as_fn_error "no acceptable C compiler found in \$PATH
|
| -See \`config.log' for more details." "$LINENO" 5; }
|
| -
|
| -# Provide some information about the compiler.
|
| -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
| -set X $ac_compile
|
| -ac_compiler=$2
|
| -for ac_option in --version -v -V -qversion; do
|
| - { { ac_try="$ac_compiler $ac_option >&5"
|
| -case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
| - ac_status=$?
|
| - if test -s conftest.err; then
|
| - sed '10a\
|
| -... rest of stderr output deleted ...
|
| - 10q' conftest.err >conftest.er1
|
| - cat conftest.er1 >&5
|
| - fi
|
| - rm -f conftest.er1 conftest.err
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }
|
| -done
|
| -
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -
|
| -int
|
| -main ()
|
| -{
|
| -
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -ac_clean_files_save=$ac_clean_files
|
| -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
| -# Try to create an executable without -o first, disregard a.out.
|
| -# It will help us diagnose broken compilers, and finding out an intuition
|
| -# of exeext.
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
| -$as_echo_n "checking whether the C compiler works... " >&6; }
|
| -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
| -
|
| -# The possible output files:
|
| -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
| -
|
| -ac_rmfiles=
|
| -for ac_file in $ac_files
|
| -do
|
| - case $ac_file in
|
| - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
| - * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
| - esac
|
| -done
|
| -rm -f $ac_rmfiles
|
| -
|
| -if { { ac_try="$ac_link_default"
|
| -case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_link_default") 2>&5
|
| - ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }; then :
|
| - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
| -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
| -# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
| -# so that the user can short-circuit this test for compilers unknown to
|
| -# Autoconf.
|
| -for ac_file in $ac_files ''
|
| -do
|
| - test -f "$ac_file" || continue
|
| - case $ac_file in
|
| - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
| - ;;
|
| - [ab].out )
|
| - # We found the default executable, but exeext='' is most
|
| - # certainly right.
|
| - break;;
|
| - *.* )
|
| - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
| - then :; else
|
| - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
| - fi
|
| - # We set ac_cv_exeext here because the later test for it is not
|
| - # safe: cross compilers may not add the suffix if given an `-o'
|
| - # argument, so we may need to know it at that point already.
|
| - # Even if this section looks crufty: it has the advantage of
|
| - # actually working.
|
| - break;;
|
| - * )
|
| - break;;
|
| - esac
|
| -done
|
| -test "$ac_cv_exeext" = no && ac_cv_exeext=
|
| -
|
| -else
|
| - ac_file=''
|
| -fi
|
| -if test -z "$ac_file"; then :
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -$as_echo "$as_me: failed program was:" >&5
|
| -sed 's/^/| /' conftest.$ac_ext >&5
|
| -
|
| -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| -{ as_fn_set_status 77
|
| -as_fn_error "C compiler cannot create executables
|
| -See \`config.log' for more details." "$LINENO" 5; }; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| -$as_echo "yes" >&6; }
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
| -$as_echo_n "checking for C compiler default output file name... " >&6; }
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
| -$as_echo "$ac_file" >&6; }
|
| -ac_exeext=$ac_cv_exeext
|
| -
|
| -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
| -ac_clean_files=$ac_clean_files_save
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
| -$as_echo_n "checking for suffix of executables... " >&6; }
|
| -if { { ac_try="$ac_link"
|
| -case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_link") 2>&5
|
| - ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }; then :
|
| - # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
| -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
| -# work properly (i.e., refer to `conftest.exe'), while it won't with
|
| -# `rm'.
|
| -for ac_file in conftest.exe conftest conftest.*; do
|
| - test -f "$ac_file" || continue
|
| - case $ac_file in
|
| - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
| - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
| - break;;
|
| - * ) break;;
|
| - esac
|
| -done
|
| -else
|
| - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| -as_fn_error "cannot compute suffix of executables: cannot compile and link
|
| -See \`config.log' for more details." "$LINENO" 5; }
|
| -fi
|
| -rm -f conftest conftest$ac_cv_exeext
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
| -$as_echo "$ac_cv_exeext" >&6; }
|
| -
|
| -rm -f conftest.$ac_ext
|
| -EXEEXT=$ac_cv_exeext
|
| -ac_exeext=$EXEEXT
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <stdio.h>
|
| -int
|
| -main ()
|
| -{
|
| -FILE *f = fopen ("conftest.out", "w");
|
| - return ferror (f) || fclose (f) != 0;
|
| -
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -ac_clean_files="$ac_clean_files conftest.out"
|
| -# Check that the compiler produces executables we can run. If not, either
|
| -# the compiler is broken, or we cross compile.
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
| -$as_echo_n "checking whether we are cross compiling... " >&6; }
|
| -if test "$cross_compiling" != yes; then
|
| - { { ac_try="$ac_link"
|
| -case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_link") 2>&5
|
| - ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }
|
| - if { ac_try='./conftest$ac_cv_exeext'
|
| - { { case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_try") 2>&5
|
| - ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }; }; then
|
| - cross_compiling=no
|
| - else
|
| - if test "$cross_compiling" = maybe; then
|
| - cross_compiling=yes
|
| - else
|
| - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| -as_fn_error "cannot run C compiled programs.
|
| -If you meant to cross compile, use \`--host'.
|
| -See \`config.log' for more details." "$LINENO" 5; }
|
| - fi
|
| - fi
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
| -$as_echo "$cross_compiling" >&6; }
|
| -
|
| -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
| -ac_clean_files=$ac_clean_files_save
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
| -$as_echo_n "checking for suffix of object files... " >&6; }
|
| -if test "${ac_cv_objext+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -
|
| -int
|
| -main ()
|
| -{
|
| -
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -rm -f conftest.o conftest.obj
|
| -if { { ac_try="$ac_compile"
|
| -case "(($ac_try" in
|
| - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| - *) ac_try_echo=$ac_try;;
|
| -esac
|
| -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
| -$as_echo "$ac_try_echo"; } >&5
|
| - (eval "$ac_compile") 2>&5
|
| - ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }; then :
|
| - for ac_file in conftest.o conftest.obj conftest.*; do
|
| - test -f "$ac_file" || continue;
|
| - case $ac_file in
|
| - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
| - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
| - break;;
|
| - esac
|
| -done
|
| -else
|
| - $as_echo "$as_me: failed program was:" >&5
|
| -sed 's/^/| /' conftest.$ac_ext >&5
|
| -
|
| -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| -as_fn_error "cannot compute suffix of object files: cannot compile
|
| -See \`config.log' for more details." "$LINENO" 5; }
|
| -fi
|
| -rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
| -$as_echo "$ac_cv_objext" >&6; }
|
| -OBJEXT=$ac_cv_objext
|
| -ac_objext=$OBJEXT
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
| -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
| -if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -
|
| -int
|
| -main ()
|
| -{
|
| -#ifndef __GNUC__
|
| - choke me
|
| -#endif
|
| -
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - ac_compiler_gnu=yes
|
| -else
|
| - ac_compiler_gnu=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| -ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
| -
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
| -$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
| -if test $ac_compiler_gnu = yes; then
|
| - GCC=yes
|
| -else
|
| - GCC=
|
| -fi
|
| -ac_test_CFLAGS=${CFLAGS+set}
|
| -ac_save_CFLAGS=$CFLAGS
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
| -$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
| -if test "${ac_cv_prog_cc_g+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - ac_save_c_werror_flag=$ac_c_werror_flag
|
| - ac_c_werror_flag=yes
|
| - ac_cv_prog_cc_g=no
|
| - CFLAGS="-g"
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -
|
| -int
|
| -main ()
|
| -{
|
| -
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - ac_cv_prog_cc_g=yes
|
| -else
|
| - CFLAGS=""
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -
|
| -int
|
| -main ()
|
| -{
|
| -
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| -
|
| -else
|
| - ac_c_werror_flag=$ac_save_c_werror_flag
|
| - CFLAGS="-g"
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -
|
| -int
|
| -main ()
|
| -{
|
| -
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - ac_cv_prog_cc_g=yes
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| - ac_c_werror_flag=$ac_save_c_werror_flag
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
| -$as_echo "$ac_cv_prog_cc_g" >&6; }
|
| -if test "$ac_test_CFLAGS" = set; then
|
| - CFLAGS=$ac_save_CFLAGS
|
| -elif test $ac_cv_prog_cc_g = yes; then
|
| - if test "$GCC" = yes; then
|
| - CFLAGS="-g -O2"
|
| - else
|
| - CFLAGS="-g"
|
| - fi
|
| -else
|
| - if test "$GCC" = yes; then
|
| - CFLAGS="-O2"
|
| - else
|
| - CFLAGS=
|
| - fi
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
| -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
| -if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - ac_cv_prog_cc_c89=no
|
| -ac_save_CC=$CC
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <stdarg.h>
|
| -#include <stdio.h>
|
| -#include <sys/types.h>
|
| -#include <sys/stat.h>
|
| -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
| -struct buf { int x; };
|
| -FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
| -static char *e (p, i)
|
| - char **p;
|
| - int i;
|
| -{
|
| - return p[i];
|
| -}
|
| -static char *f (char * (*g) (char **, int), char **p, ...)
|
| -{
|
| - char *s;
|
| - va_list v;
|
| - va_start (v,p);
|
| - s = g (p, va_arg (v,int));
|
| - va_end (v);
|
| - return s;
|
| -}
|
| -
|
| -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
| - function prototypes and stuff, but not '\xHH' hex character constants.
|
| - These don't provoke an error unfortunately, instead are silently treated
|
| - as 'x'. The following induces an error, until -std is added to get
|
| - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
| - array size at least. It's necessary to write '\x00'==0 to get something
|
| - that's true only with -std. */
|
| -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| -
|
| -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
| - inside strings and character constants. */
|
| -#define FOO(x) 'x'
|
| -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| -
|
| -int test (int i, double x);
|
| -struct s1 {int (*f) (int a);};
|
| -struct s2 {int (*f) (double a);};
|
| -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
| -int argc;
|
| -char **argv;
|
| -int
|
| -main ()
|
| -{
|
| -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
| - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
| -do
|
| - CC="$ac_save_CC $ac_arg"
|
| - if ac_fn_c_try_compile "$LINENO"; then :
|
| - ac_cv_prog_cc_c89=$ac_arg
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext
|
| - test "x$ac_cv_prog_cc_c89" != "xno" && break
|
| -done
|
| -rm -f conftest.$ac_ext
|
| -CC=$ac_save_CC
|
| -
|
| -fi
|
| -# AC_CACHE_VAL
|
| -case "x$ac_cv_prog_cc_c89" in
|
| - x)
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
| -$as_echo "none needed" >&6; } ;;
|
| - xno)
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
| -$as_echo "unsupported" >&6; } ;;
|
| - *)
|
| - CC="$CC $ac_cv_prog_cc_c89"
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
| -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
| -esac
|
| -if test "x$ac_cv_prog_cc_c89" != xno; then :
|
| -
|
| -fi
|
| -
|
| -ac_ext=c
|
| -ac_cpp='$CPP $CPPFLAGS'
|
| -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| -ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| -DEPDIR="${am__leading_dot}deps"
|
| -
|
| -ac_config_commands="$ac_config_commands depfiles"
|
| -
|
| -
|
| -am_make=${MAKE-make}
|
| -cat > confinc << 'END'
|
| -am__doit:
|
| - @echo this is the am__doit target
|
| -.PHONY: am__doit
|
| -END
|
| -# If we don't find an include directive, just comment out the code.
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
| -$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
| -am__include="#"
|
| -am__quote=
|
| -_am_result=none
|
| -# First try GNU make style include.
|
| -echo "include confinc" > confmf
|
| -# Ignore all kinds of additional output from `make'.
|
| -case `$am_make -s -f confmf 2> /dev/null` in #(
|
| -*the\ am__doit\ target*)
|
| - am__include=include
|
| - am__quote=
|
| - _am_result=GNU
|
| - ;;
|
| -esac
|
| -# Now try BSD make style include.
|
| -if test "$am__include" = "#"; then
|
| - echo '.include "confinc"' > confmf
|
| - case `$am_make -s -f confmf 2> /dev/null` in #(
|
| - *the\ am__doit\ target*)
|
| - am__include=.include
|
| - am__quote="\""
|
| - _am_result=BSD
|
| - ;;
|
| - esac
|
| -fi
|
| -
|
| -
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
| -$as_echo "$_am_result" >&6; }
|
| -rm -f confinc confmf
|
| -
|
| -# Check whether --enable-dependency-tracking was given.
|
| -if test "${enable_dependency_tracking+set}" = set; then :
|
| - enableval=$enable_dependency_tracking;
|
| -fi
|
| -
|
| -if test "x$enable_dependency_tracking" != xno; then
|
| - am_depcomp="$ac_aux_dir/depcomp"
|
| - AMDEPBACKSLASH='\'
|
| -fi
|
| - if test "x$enable_dependency_tracking" != xno; then
|
| - AMDEP_TRUE=
|
| - AMDEP_FALSE='#'
|
| -else
|
| - AMDEP_TRUE='#'
|
| - AMDEP_FALSE=
|
| -fi
|
| -
|
| -
|
| -
|
| -depcc="$CC" am_compiler_list=
|
| -
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
| -$as_echo_n "checking dependency style of $depcc... " >&6; }
|
| -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
| - # We make a subdir and do the tests there. Otherwise we can end up
|
| - # making bogus files that we don't know about and never remove. For
|
| - # instance it was reported that on HP-UX the gcc test will end up
|
| - # making a dummy file named `D' -- because `-MD' means `put the output
|
| - # in D'.
|
| - mkdir conftest.dir
|
| - # Copy depcomp to subdir because otherwise we won't find it if we're
|
| - # using a relative directory.
|
| - cp "$am_depcomp" conftest.dir
|
| - cd conftest.dir
|
| - # We will build objects and dependencies in a subdirectory because
|
| - # it helps to detect inapplicable dependency modes. For instance
|
| - # both Tru64's cc and ICC support -MD to output dependencies as a
|
| - # side effect of compilation, but ICC will put the dependencies in
|
| - # the current directory while Tru64 will put them in the object
|
| - # directory.
|
| - mkdir sub
|
| -
|
| - am_cv_CC_dependencies_compiler_type=none
|
| - if test "$am_compiler_list" = ""; then
|
| - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
| - fi
|
| - am__universal=false
|
| - case " $depcc " in #(
|
| - *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
| - esac
|
| -
|
| - for depmode in $am_compiler_list; do
|
| - # Setup a source with many dependencies, because some compilers
|
| - # like to wrap large dependency lists on column 80 (with \), and
|
| - # we should not choose a depcomp mode which is confused by this.
|
| - #
|
| - # We need to recreate these files for each test, as the compiler may
|
| - # overwrite some of them when testing with obscure command lines.
|
| - # This happens at least with the AIX C compiler.
|
| - : > sub/conftest.c
|
| - for i in 1 2 3 4 5 6; do
|
| - echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
| - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
| - # Solaris 8's {/usr,}/bin/sh.
|
| - touch sub/conftst$i.h
|
| - done
|
| - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
| -
|
| - # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
| - # mode. It turns out that the SunPro C++ compiler does not properly
|
| - # handle `-M -o', and we need to detect this. Also, some Intel
|
| - # versions had trouble with output in subdirs
|
| - am__obj=sub/conftest.${OBJEXT-o}
|
| - am__minus_obj="-o $am__obj"
|
| - case $depmode in
|
| - gcc)
|
| - # This depmode causes a compiler race in universal mode.
|
| - test "$am__universal" = false || continue
|
| - ;;
|
| - nosideeffect)
|
| - # after this tag, mechanisms are not by side-effect, so they'll
|
| - # only be used when explicitly requested
|
| - if test "x$enable_dependency_tracking" = xyes; then
|
| - continue
|
| - else
|
| - break
|
| - fi
|
| - ;;
|
| - msvisualcpp | msvcmsys)
|
| - # This compiler won't grok `-c -o', but also, the minuso test has
|
| - # not run yet. These depmodes are late enough in the game, and
|
| - # so weak that their functioning should not be impacted.
|
| - am__obj=conftest.${OBJEXT-o}
|
| - am__minus_obj=
|
| - ;;
|
| - none) break ;;
|
| - esac
|
| - if depmode=$depmode \
|
| - source=sub/conftest.c object=$am__obj \
|
| - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
| - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
| - >/dev/null 2>conftest.err &&
|
| - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
| - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
| - grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
| - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
| - # icc doesn't choke on unknown options, it will just issue warnings
|
| - # or remarks (even with -Werror). So we grep stderr for any message
|
| - # that says an option was ignored or not supported.
|
| - # When given -MP, icc 7.0 and 7.1 complain thusly:
|
| - # icc: Command line warning: ignoring option '-M'; no argument required
|
| - # The diagnosis changed in icc 8.0:
|
| - # icc: Command line remark: option '-MP' not supported
|
| - if (grep 'ignoring option' conftest.err ||
|
| - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
| - am_cv_CC_dependencies_compiler_type=$depmode
|
| - break
|
| - fi
|
| - fi
|
| - done
|
| -
|
| - cd ..
|
| - rm -rf conftest.dir
|
| -else
|
| - am_cv_CC_dependencies_compiler_type=none
|
| -fi
|
| -
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
| -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
| -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
| -
|
| - if
|
| - test "x$enable_dependency_tracking" != xno \
|
| - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
| - am__fastdepCC_TRUE=
|
| - am__fastdepCC_FALSE='#'
|
| -else
|
| - am__fastdepCC_TRUE='#'
|
| - am__fastdepCC_FALSE=
|
| -fi
|
| -
|
| -
|
| -
|
| -ac_ext=c
|
| -ac_cpp='$CPP $CPPFLAGS'
|
| -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| -ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
| -$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
| -# On Suns, sometimes $CPP names a directory.
|
| -if test -n "$CPP" && test -d "$CPP"; then
|
| - CPP=
|
| -fi
|
| -if test -z "$CPP"; then
|
| - if test "${ac_cv_prog_CPP+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - # Double quotes because CPP needs to be expanded
|
| - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
| - do
|
| - ac_preproc_ok=false
|
| -for ac_c_preproc_warn_flag in '' yes
|
| -do
|
| - # Use a header file that comes with gcc, so configuring glibc
|
| - # with a fresh cross-compiler works.
|
| - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| - # <limits.h> exists even on freestanding compilers.
|
| - # On the NeXT, cc -E runs the code through the compiler's parser,
|
| - # not just through cpp. "Syntax error" is here to catch this case.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#ifdef __STDC__
|
| -# include <limits.h>
|
| -#else
|
| -# include <assert.h>
|
| -#endif
|
| - Syntax error
|
| -_ACEOF
|
| -if ac_fn_c_try_cpp "$LINENO"; then :
|
| -
|
| -else
|
| - # Broken: fails on valid input.
|
| -continue
|
| -fi
|
| -rm -f conftest.err conftest.$ac_ext
|
| -
|
| - # OK, works on sane cases. Now check whether nonexistent headers
|
| - # can be detected and how.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <ac_nonexistent.h>
|
| -_ACEOF
|
| -if ac_fn_c_try_cpp "$LINENO"; then :
|
| - # Broken: success on invalid input.
|
| -continue
|
| -else
|
| - # Passes both tests.
|
| -ac_preproc_ok=:
|
| -break
|
| -fi
|
| -rm -f conftest.err conftest.$ac_ext
|
| -
|
| -done
|
| -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
| -rm -f conftest.err conftest.$ac_ext
|
| -if $ac_preproc_ok; then :
|
| - break
|
| -fi
|
| -
|
| - done
|
| - ac_cv_prog_CPP=$CPP
|
| -
|
| -fi
|
| - CPP=$ac_cv_prog_CPP
|
| -else
|
| - ac_cv_prog_CPP=$CPP
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
| -$as_echo "$CPP" >&6; }
|
| -ac_preproc_ok=false
|
| -for ac_c_preproc_warn_flag in '' yes
|
| -do
|
| - # Use a header file that comes with gcc, so configuring glibc
|
| - # with a fresh cross-compiler works.
|
| - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| - # <limits.h> exists even on freestanding compilers.
|
| - # On the NeXT, cc -E runs the code through the compiler's parser,
|
| - # not just through cpp. "Syntax error" is here to catch this case.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#ifdef __STDC__
|
| -# include <limits.h>
|
| -#else
|
| -# include <assert.h>
|
| -#endif
|
| - Syntax error
|
| -_ACEOF
|
| -if ac_fn_c_try_cpp "$LINENO"; then :
|
| -
|
| -else
|
| - # Broken: fails on valid input.
|
| -continue
|
| -fi
|
| -rm -f conftest.err conftest.$ac_ext
|
| -
|
| - # OK, works on sane cases. Now check whether nonexistent headers
|
| - # can be detected and how.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <ac_nonexistent.h>
|
| -_ACEOF
|
| -if ac_fn_c_try_cpp "$LINENO"; then :
|
| - # Broken: success on invalid input.
|
| -continue
|
| -else
|
| - # Passes both tests.
|
| -ac_preproc_ok=:
|
| -break
|
| -fi
|
| -rm -f conftest.err conftest.$ac_ext
|
| -
|
| -done
|
| -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
| -rm -f conftest.err conftest.$ac_ext
|
| -if $ac_preproc_ok; then :
|
| -
|
| -else
|
| - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
| -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
| -as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
| -See \`config.log' for more details." "$LINENO" 5; }
|
| -fi
|
| -
|
| -ac_ext=c
|
| -ac_cpp='$CPP $CPPFLAGS'
|
| -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| -ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| -
|
| -# Extract the first word of "rm", so it can be a program name with args.
|
| -set dummy rm; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_path_RM+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - case $RM in
|
| - [\\/]* | ?:[\\/]*)
|
| - ac_cv_path_RM="$RM" # Let the user override the test with a path.
|
| - ;;
|
| - *)
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| - test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
|
| - ;;
|
| -esac
|
| -fi
|
| -RM=$ac_cv_path_RM
|
| -if test -n "$RM"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
|
| -$as_echo "$RM" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| -# Extract the first word of "mv", so it can be a program name with args.
|
| -set dummy mv; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_path_MV+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - case $MV in
|
| - [\\/]* | ?:[\\/]*)
|
| - ac_cv_path_MV="$MV" # Let the user override the test with a path.
|
| - ;;
|
| - *)
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| - test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
|
| - ;;
|
| -esac
|
| -fi
|
| -MV=$ac_cv_path_MV
|
| -if test -n "$MV"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
|
| -$as_echo "$MV" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| -# Extract the first word of "tar", so it can be a program name with args.
|
| -set dummy tar; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_path_TAR+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - case $TAR in
|
| - [\\/]* | ?:[\\/]*)
|
| - ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
|
| - ;;
|
| - *)
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| - test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
|
| - ;;
|
| -esac
|
| -fi
|
| -TAR=$ac_cv_path_TAR
|
| -if test -n "$TAR"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
|
| -$as_echo "$TAR" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| -# Extract the first word of "perl", so it can be a program name with args.
|
| -set dummy perl; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_path_PERL+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - case $PERL in
|
| - [\\/]* | ?:[\\/]*)
|
| - ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
|
| - ;;
|
| - *)
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| - test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
|
| - ;;
|
| -esac
|
| -fi
|
| -PERL=$ac_cv_path_PERL
|
| -if test -n "$PERL"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
|
| -$as_echo "$PERL" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| -# Extract the first word of "wget", so it can be a program name with args.
|
| -set dummy wget; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_path_WGET+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - case $WGET in
|
| - [\\/]* | ?:[\\/]*)
|
| - ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
|
| - ;;
|
| - *)
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| - test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget"
|
| - ;;
|
| -esac
|
| -fi
|
| -WGET=$ac_cv_path_WGET
|
| -if test -n "$WGET"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5
|
| -$as_echo "$WGET" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| -# Extract the first word of "xmllint", so it can be a program name with args.
|
| -set dummy xmllint; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_path_XMLLINT+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - case $XMLLINT in
|
| - [\\/]* | ?:[\\/]*)
|
| - ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
|
| - ;;
|
| - *)
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| - test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint"
|
| - ;;
|
| -esac
|
| -fi
|
| -XMLLINT=$ac_cv_path_XMLLINT
|
| -if test -n "$XMLLINT"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
|
| -$as_echo "$XMLLINT" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| -# Extract the first word of "xsltproc", so it can be a program name with args.
|
| -set dummy xsltproc; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_path_XSLTPROC+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - case $XSLTPROC in
|
| - [\\/]* | ?:[\\/]*)
|
| - ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
|
| - ;;
|
| - *)
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| - test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc"
|
| - ;;
|
| -esac
|
| -fi
|
| -XSLTPROC=$ac_cv_path_XSLTPROC
|
| -if test -n "$XSLTPROC"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
|
| -$as_echo "$XSLTPROC" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| -
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
|
| -$as_echo_n "checking for function prototypes... " >&6; }
|
| -if test "$ac_cv_prog_cc_c89" != no; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| -$as_echo "yes" >&6; }
|
| -
|
| -$as_echo "#define PROTOTYPES 1" >>confdefs.h
|
| -
|
| -
|
| -$as_echo "#define __PROTOTYPES 1" >>confdefs.h
|
| -
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| -
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
| -$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
| -if test "${ac_cv_path_GREP+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -z "$GREP"; then
|
| - ac_path_GREP_found=false
|
| - # Loop through the user's path and test for each of PROGNAME-LIST
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_prog in grep ggrep; do
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
| - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
| -# Check for GNU ac_path_GREP and select it if it is found.
|
| - # Check for GNU $ac_path_GREP
|
| -case `"$ac_path_GREP" --version 2>&1` in
|
| -*GNU*)
|
| - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
| -*)
|
| - ac_count=0
|
| - $as_echo_n 0123456789 >"conftest.in"
|
| - while :
|
| - do
|
| - cat "conftest.in" "conftest.in" >"conftest.tmp"
|
| - mv "conftest.tmp" "conftest.in"
|
| - cp "conftest.in" "conftest.nl"
|
| - $as_echo 'GREP' >> "conftest.nl"
|
| - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
| - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
| - as_fn_arith $ac_count + 1 && ac_count=$as_val
|
| - if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
| - # Best one so far, save it but keep looking for a better one
|
| - ac_cv_path_GREP="$ac_path_GREP"
|
| - ac_path_GREP_max=$ac_count
|
| - fi
|
| - # 10*(2^10) chars as input seems more than enough
|
| - test $ac_count -gt 10 && break
|
| - done
|
| - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
| -esac
|
| -
|
| - $ac_path_GREP_found && break 3
|
| - done
|
| - done
|
| - done
|
| -IFS=$as_save_IFS
|
| - if test -z "$ac_cv_path_GREP"; then
|
| - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
| - fi
|
| -else
|
| - ac_cv_path_GREP=$GREP
|
| -fi
|
| -
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
| -$as_echo "$ac_cv_path_GREP" >&6; }
|
| - GREP="$ac_cv_path_GREP"
|
| -
|
| -
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
| -$as_echo_n "checking for egrep... " >&6; }
|
| -if test "${ac_cv_path_EGREP+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
| - then ac_cv_path_EGREP="$GREP -E"
|
| - else
|
| - if test -z "$EGREP"; then
|
| - ac_path_EGREP_found=false
|
| - # Loop through the user's path and test for each of PROGNAME-LIST
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_prog in egrep; do
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
| - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
| -# Check for GNU ac_path_EGREP and select it if it is found.
|
| - # Check for GNU $ac_path_EGREP
|
| -case `"$ac_path_EGREP" --version 2>&1` in
|
| -*GNU*)
|
| - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
| -*)
|
| - ac_count=0
|
| - $as_echo_n 0123456789 >"conftest.in"
|
| - while :
|
| - do
|
| - cat "conftest.in" "conftest.in" >"conftest.tmp"
|
| - mv "conftest.tmp" "conftest.in"
|
| - cp "conftest.in" "conftest.nl"
|
| - $as_echo 'EGREP' >> "conftest.nl"
|
| - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
| - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
| - as_fn_arith $ac_count + 1 && ac_count=$as_val
|
| - if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
| - # Best one so far, save it but keep looking for a better one
|
| - ac_cv_path_EGREP="$ac_path_EGREP"
|
| - ac_path_EGREP_max=$ac_count
|
| - fi
|
| - # 10*(2^10) chars as input seems more than enough
|
| - test $ac_count -gt 10 && break
|
| - done
|
| - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
| -esac
|
| -
|
| - $ac_path_EGREP_found && break 3
|
| - done
|
| - done
|
| - done
|
| -IFS=$as_save_IFS
|
| - if test -z "$ac_cv_path_EGREP"; then
|
| - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
| - fi
|
| -else
|
| - ac_cv_path_EGREP=$EGREP
|
| -fi
|
| -
|
| - fi
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
| -$as_echo "$ac_cv_path_EGREP" >&6; }
|
| - EGREP="$ac_cv_path_EGREP"
|
| -
|
| -
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
| -$as_echo_n "checking for ANSI C header files... " >&6; }
|
| -if test "${ac_cv_header_stdc+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <stdlib.h>
|
| -#include <stdarg.h>
|
| -#include <string.h>
|
| -#include <float.h>
|
| -
|
| -int
|
| -main ()
|
| -{
|
| -
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - ac_cv_header_stdc=yes
|
| -else
|
| - ac_cv_header_stdc=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| -
|
| -if test $ac_cv_header_stdc = yes; then
|
| - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <string.h>
|
| -
|
| -_ACEOF
|
| -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
| - $EGREP "memchr" >/dev/null 2>&1; then :
|
| -
|
| -else
|
| - ac_cv_header_stdc=no
|
| -fi
|
| -rm -f conftest*
|
| -
|
| -fi
|
| -
|
| -if test $ac_cv_header_stdc = yes; then
|
| - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <stdlib.h>
|
| -
|
| -_ACEOF
|
| -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
| - $EGREP "free" >/dev/null 2>&1; then :
|
| -
|
| -else
|
| - ac_cv_header_stdc=no
|
| -fi
|
| -rm -f conftest*
|
| -
|
| -fi
|
| -
|
| -if test $ac_cv_header_stdc = yes; then
|
| - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
| - if test "$cross_compiling" = yes; then :
|
| - :
|
| -else
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <ctype.h>
|
| -#include <stdlib.h>
|
| -#if ((' ' & 0x0FF) == 0x020)
|
| -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
| -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
| -#else
|
| -# define ISLOWER(c) \
|
| - (('a' <= (c) && (c) <= 'i') \
|
| - || ('j' <= (c) && (c) <= 'r') \
|
| - || ('s' <= (c) && (c) <= 'z'))
|
| -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
| -#endif
|
| -
|
| -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
| -int
|
| -main ()
|
| -{
|
| - int i;
|
| - for (i = 0; i < 256; i++)
|
| - if (XOR (islower (i), ISLOWER (i))
|
| - || toupper (i) != TOUPPER (i))
|
| - return 2;
|
| + ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_run "$LINENO"; then :
|
| -
|
| -else
|
| - ac_cv_header_stdc=no
|
| -fi
|
| -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
| - conftest.$ac_objext conftest.beam conftest.$ac_ext
|
| -fi
|
| -
|
| -fi
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
| -$as_echo "$ac_cv_header_stdc" >&6; }
|
| -if test $ac_cv_header_stdc = yes; then
|
| -
|
| -$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
| -
|
| -fi
|
| -
|
| -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
| -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
| - inttypes.h stdint.h unistd.h
|
| -do :
|
| - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
| -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
| -"
|
| -eval as_val=\$$as_ac_Header
|
| - if test "x$as_val" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
| -_ACEOF
|
| +ac_clean_files_save=$ac_clean_files
|
| +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
| +# Try to create an executable without -o first, disregard a.out.
|
| +# It will help us diagnose broken compilers, and finding out an intuition
|
| +# of exeext.
|
| +{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
| +$as_echo_n "checking for C compiler default output file name... " >&6; }
|
| +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
|
| -fi
|
| +# The possible output files:
|
| +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
|
| +ac_rmfiles=
|
| +for ac_file in $ac_files
|
| +do
|
| + case $ac_file in
|
| + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
| + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
| + esac
|
| done
|
| +rm -f $ac_rmfiles
|
|
|
| +if { (ac_try="$ac_link_default"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link_default") 2>&5
|
| + ac_status=$?
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }; then
|
| + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
| +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
| +# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
| +# so that the user can short-circuit this test for compilers unknown to
|
| +# Autoconf.
|
| +for ac_file in $ac_files ''
|
| +do
|
| + test -f "$ac_file" || continue
|
| + case $ac_file in
|
| + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
| + ;;
|
| + [ab].out )
|
| + # We found the default executable, but exeext='' is most
|
| + # certainly right.
|
| + break;;
|
| + *.* )
|
| + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
| + then :; else
|
| + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
| + fi
|
| + # We set ac_cv_exeext here because the later test for it is not
|
| + # safe: cross compilers may not add the suffix if given an `-o'
|
| + # argument, so we may need to know it at that point already.
|
| + # Even if this section looks crufty: it has the advantage of
|
| + # actually working.
|
| + break;;
|
| + * )
|
| + break;;
|
| + esac
|
| +done
|
| +test "$ac_cv_exeext" = no && ac_cv_exeext=
|
|
|
| -
|
| -if test "$ac_cv_prog_cc_stdc" != no; then
|
| - U= ANSI2KNR=
|
| else
|
| - U=_ ANSI2KNR=./ansi2knr
|
| + ac_file=''
|
| fi
|
| -# Ensure some checks needed by ansi2knr itself.
|
|
|
| -for ac_header in string.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_string_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_STRING_H 1
|
| -_ACEOF
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
|
| +$as_echo "$ac_file" >&6; }
|
| +if test -z "$ac_file"; then
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| +{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
|
| +See \`config.log' for more details." >&5
|
| +$as_echo "$as_me: error: C compiler cannot create executables
|
| +See \`config.log' for more details." >&2;}
|
| + { (exit 77); exit 77; }; }
|
| fi
|
|
|
| -done
|
| -
|
| -
|
| -test "x$U" != "x" && as_fn_error "Compiler not ANSI compliant" "$LINENO" 5
|
| -
|
| -enable_win32_dll=yes
|
| +ac_exeext=$ac_cv_exeext
|
|
|
| -case $host in
|
| -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
|
| - if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}as; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_AS+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$AS"; then
|
| - ac_cv_prog_AS="$AS" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_AS="${ac_tool_prefix}as"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| +# Check that the compiler produces executables we can run. If not, either
|
| +# the compiler is broken, or we cross compile.
|
| +{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
| +$as_echo_n "checking whether the C compiler works... " >&6; }
|
| +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
| +# If not cross compiling, check that we can run a simple program.
|
| +if test "$cross_compiling" != yes; then
|
| + if { ac_try='./$ac_file'
|
| + { (case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_try") 2>&5
|
| + ac_status=$?
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }; }; then
|
| + cross_compiling=no
|
| + else
|
| + if test "$cross_compiling" = maybe; then
|
| + cross_compiling=yes
|
| + else
|
| + { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
| +If you meant to cross compile, use \`--host'.
|
| +See \`config.log' for more details." >&5
|
| +$as_echo "$as_me: error: cannot run C compiled programs.
|
| +If you meant to cross compile, use \`--host'.
|
| +See \`config.log' for more details." >&2;}
|
| + { (exit 1); exit 1; }; }
|
| + fi
|
| fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| -fi
|
| -AS=$ac_cv_prog_AS
|
| -if test -n "$AS"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
|
| -$as_echo "$AS" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| fi
|
| +{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
| +$as_echo "yes" >&6; }
|
|
|
| +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
| +ac_clean_files=$ac_clean_files_save
|
| +# Check that the compiler produces executables we can run. If not, either
|
| +# the compiler is broken, or we cross compile.
|
| +{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
| +$as_echo_n "checking whether we are cross compiling... " >&6; }
|
| +{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
| +$as_echo "$cross_compiling" >&6; }
|
|
|
| -fi
|
| -if test -z "$ac_cv_prog_AS"; then
|
| - ac_ct_AS=$AS
|
| - # Extract the first word of "as", so it can be a program name with args.
|
| -set dummy as; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$ac_ct_AS"; then
|
| - ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_AS="as"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| +{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
| +$as_echo_n "checking for suffix of executables... " >&6; }
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>&5
|
| + ac_status=$?
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }; then
|
| + # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
| +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
| +# work properly (i.e., refer to `conftest.exe'), while it won't with
|
| +# `rm'.
|
| +for ac_file in conftest.exe conftest conftest.*; do
|
| + test -f "$ac_file" || continue
|
| + case $ac_file in
|
| + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
| + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
| + break;;
|
| + * ) break;;
|
| + esac
|
| done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| -fi
|
| -ac_ct_AS=$ac_cv_prog_ac_ct_AS
|
| -if test -n "$ac_ct_AS"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
|
| -$as_echo "$ac_ct_AS" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| + { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
| +See \`config.log' for more details." >&5
|
| +$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
| +See \`config.log' for more details." >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi
|
|
|
| - if test "x$ac_ct_AS" = x; then
|
| - AS="false"
|
| - else
|
| - case $cross_compiling:$ac_tool_warned in
|
| -yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| -ac_tool_warned=yes ;;
|
| -esac
|
| - AS=$ac_ct_AS
|
| - fi
|
| -else
|
| - AS="$ac_cv_prog_AS"
|
| -fi
|
| +rm -f conftest$ac_cv_exeext
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
| +$as_echo "$ac_cv_exeext" >&6; }
|
|
|
| - if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
|
| +rm -f conftest.$ac_ext
|
| +EXEEXT=$ac_cv_exeext
|
| +ac_exeext=$EXEEXT
|
| +{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
| +$as_echo_n "checking for suffix of object files... " >&6; }
|
| +if test "${ac_cv_objext+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$DLLTOOL"; then
|
| - ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +
|
| +int
|
| +main ()
|
| +{
|
| +
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.o conftest.obj
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>&5
|
| + ac_status=$?
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }; then
|
| + for ac_file in conftest.o conftest.obj conftest.*; do
|
| + test -f "$ac_file" || continue;
|
| + case $ac_file in
|
| + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
| + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
| + break;;
|
| + esac
|
| done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| -fi
|
| -DLLTOOL=$ac_cv_prog_DLLTOOL
|
| -if test -n "$DLLTOOL"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
| -$as_echo "$DLLTOOL" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
| +See \`config.log' for more details." >&5
|
| +$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
| +See \`config.log' for more details." >&2;}
|
| + { (exit 1); exit 1; }; }
|
| +fi
|
|
|
| +rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
| fi
|
| -if test -z "$ac_cv_prog_DLLTOOL"; then
|
| - ac_ct_DLLTOOL=$DLLTOOL
|
| - # Extract the first word of "dlltool", so it can be a program name with args.
|
| -set dummy dlltool; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
| +$as_echo "$ac_cv_objext" >&6; }
|
| +OBJEXT=$ac_cv_objext
|
| +ac_objext=$OBJEXT
|
| +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
| +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
| +if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$ac_ct_DLLTOOL"; then
|
| - ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_DLLTOOL="dlltool"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
|
|
| -fi
|
| -fi
|
| -ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
|
| -if test -n "$ac_ct_DLLTOOL"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
| -$as_echo "$ac_ct_DLLTOOL" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| +int
|
| +main ()
|
| +{
|
| +#ifndef __GNUC__
|
| + choke me
|
| +#endif
|
|
|
| - if test "x$ac_ct_DLLTOOL" = x; then
|
| - DLLTOOL="false"
|
| - else
|
| - case $cross_compiling:$ac_tool_warned in
|
| -yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| -ac_tool_warned=yes ;;
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| esac
|
| - DLLTOOL=$ac_ct_DLLTOOL
|
| - fi
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_compiler_gnu=yes
|
| else
|
| - DLLTOOL="$ac_cv_prog_DLLTOOL"
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_compiler_gnu=no
|
| fi
|
|
|
| - if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$OBJDUMP"; then
|
| - ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
|
|
| fi
|
| -fi
|
| -OBJDUMP=$ac_cv_prog_OBJDUMP
|
| -if test -n "$OBJDUMP"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
| -$as_echo "$OBJDUMP" >&6; }
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
| +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
| +if test $ac_compiler_gnu = yes; then
|
| + GCC=yes
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| -
|
| -
|
| + GCC=
|
| fi
|
| -if test -z "$ac_cv_prog_OBJDUMP"; then
|
| - ac_ct_OBJDUMP=$OBJDUMP
|
| - # Extract the first word of "objdump", so it can be a program name with args.
|
| -set dummy objdump; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
|
| +ac_test_CFLAGS=${CFLAGS+set}
|
| +ac_save_CFLAGS=$CFLAGS
|
| +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
| +$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
| +if test "${ac_cv_prog_cc_g+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$ac_ct_OBJDUMP"; then
|
| - ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| + ac_save_c_werror_flag=$ac_c_werror_flag
|
| + ac_c_werror_flag=yes
|
| + ac_cv_prog_cc_g=no
|
| + CFLAGS="-g"
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
|
|
| -fi
|
| -fi
|
| -ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
|
| -if test -n "$ac_ct_OBJDUMP"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
| -$as_echo "$ac_ct_OBJDUMP" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| -fi
|
| +int
|
| +main ()
|
| +{
|
|
|
| - if test "x$ac_ct_OBJDUMP" = x; then
|
| - OBJDUMP="false"
|
| - else
|
| - case $cross_compiling:$ac_tool_warned in
|
| -yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| -ac_tool_warned=yes ;;
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| esac
|
| - OBJDUMP=$ac_ct_OBJDUMP
|
| - fi
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_cv_prog_cc_g=yes
|
| else
|
| - OBJDUMP="$ac_cv_prog_OBJDUMP"
|
| -fi
|
| -
|
| - ;;
|
| -esac
|
| -
|
| -test -z "$AS" && AS=as
|
| -
|
| -
|
| -
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + CFLAGS=""
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
|
|
| -test -z "$DLLTOOL" && DLLTOOL=dlltool
|
| +int
|
| +main ()
|
| +{
|
|
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + ac_c_werror_flag=$ac_save_c_werror_flag
|
| + CFLAGS="-g"
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
|
|
| +int
|
| +main ()
|
| +{
|
|
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_cv_prog_cc_g=yes
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -test -z "$OBJDUMP" && OBJDUMP=objdump
|
|
|
| +fi
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +fi
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +fi
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| + ac_c_werror_flag=$ac_save_c_werror_flag
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
| +$as_echo "$ac_cv_prog_cc_g" >&6; }
|
| +if test "$ac_test_CFLAGS" = set; then
|
| + CFLAGS=$ac_save_CFLAGS
|
| +elif test $ac_cv_prog_cc_g = yes; then
|
| + if test "$GCC" = yes; then
|
| + CFLAGS="-g -O2"
|
| + else
|
| + CFLAGS="-g"
|
| + fi
|
| +else
|
| + if test "$GCC" = yes; then
|
| + CFLAGS="-O2"
|
| + else
|
| + CFLAGS=
|
| + fi
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
| +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
| +if test "${ac_cv_prog_cc_c89+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + ac_cv_prog_cc_c89=no
|
| +ac_save_CC=$CC
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#include <stdarg.h>
|
| +#include <stdio.h>
|
| +#include <sys/types.h>
|
| +#include <sys/stat.h>
|
| +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
| +struct buf { int x; };
|
| +FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
| +static char *e (p, i)
|
| + char **p;
|
| + int i;
|
| +{
|
| + return p[i];
|
| +}
|
| +static char *f (char * (*g) (char **, int), char **p, ...)
|
| +{
|
| + char *s;
|
| + va_list v;
|
| + va_start (v,p);
|
| + s = g (p, va_arg (v,int));
|
| + va_end (v);
|
| + return s;
|
| +}
|
|
|
| +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
| + function prototypes and stuff, but not '\xHH' hex character constants.
|
| + These don't provoke an error unfortunately, instead are silently treated
|
| + as 'x'. The following induces an error, until -std is added to get
|
| + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
| + array size at least. It's necessary to write '\x00'==0 to get something
|
| + that's true only with -std. */
|
| +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
|
| +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
| + inside strings and character constants. */
|
| +#define FOO(x) 'x'
|
| +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
|
| -case `pwd` in
|
| - *\ * | *\ *)
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
| -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
| +int test (int i, double x);
|
| +struct s1 {int (*f) (int a);};
|
| +struct s2 {int (*f) (double a);};
|
| +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
| +int argc;
|
| +char **argv;
|
| +int
|
| +main ()
|
| +{
|
| +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
| + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
| +do
|
| + CC="$ac_save_CC $ac_arg"
|
| + rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_cv_prog_cc_c89=$ac_arg
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
| +fi
|
|
|
| -macro_version='2.2.6b'
|
| -macro_revision='1.3017'
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| +rm -f core conftest.err conftest.$ac_objext
|
| + test "x$ac_cv_prog_cc_c89" != "xno" && break
|
| +done
|
| +rm -f conftest.$ac_ext
|
| +CC=$ac_save_CC
|
|
|
| +fi
|
| +# AC_CACHE_VAL
|
| +case "x$ac_cv_prog_cc_c89" in
|
| + x)
|
| + { $as_echo "$as_me:$LINENO: result: none needed" >&5
|
| +$as_echo "none needed" >&6; } ;;
|
| + xno)
|
| + { $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
| +$as_echo "unsupported" >&6; } ;;
|
| + *)
|
| + CC="$CC $ac_cv_prog_cc_c89"
|
| + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
| +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
| +esac
|
|
|
|
|
| -ltmain="$ac_aux_dir/ltmain.sh"
|
| +ac_ext=c
|
| +ac_cpp='$CPP $CPPFLAGS'
|
| +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| +ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
|
| $as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
| -if test "${ac_cv_path_SED+set}" = set; then :
|
| +if test "${ac_cv_path_SED+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
|
| @@ -5156,7 +3146,7 @@ else
|
| ac_script="$ac_script$as_nl$ac_script"
|
| done
|
| echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
|
| - { ac_script=; unset ac_script;}
|
| + $as_unset ac_script || ac_script=
|
| if test -z "$SED"; then
|
| ac_path_SED_found=false
|
| # Loop through the user's path and test for each of PROGNAME-LIST
|
| @@ -5165,7 +3155,7 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_prog in sed gsed; do
|
| + for ac_prog in sed gsed; do
|
| for ac_exec_ext in '' $ac_executable_extensions; do
|
| ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
| { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
|
| @@ -5185,7 +3175,7 @@ case `"$ac_path_SED" --version 2>&1` in
|
| $as_echo '' >> "conftest.nl"
|
| "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
| diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
| - as_fn_arith $ac_count + 1 && ac_count=$as_val
|
| + ac_count=`expr $ac_count + 1`
|
| if test $ac_count -gt ${ac_path_SED_max-0}; then
|
| # Best one so far, save it but keep looking for a better one
|
| ac_cv_path_SED="$ac_path_SED"
|
| @@ -5200,17 +3190,19 @@ esac
|
| $ac_path_SED_found && break 3
|
| done
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
| if test -z "$ac_cv_path_SED"; then
|
| - as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
|
| +$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi
|
| else
|
| ac_cv_path_SED=$SED
|
| fi
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
|
| $as_echo "$ac_cv_path_SED" >&6; }
|
| SED="$ac_cv_path_SED"
|
| rm -f conftest.sed
|
| @@ -5228,9 +3220,143 @@ Xsed="$SED -e 1s/^X//"
|
|
|
|
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
| +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
| +if test "${ac_cv_path_GREP+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -z "$GREP"; then
|
| + ac_path_GREP_found=false
|
| + # Loop through the user's path and test for each of PROGNAME-LIST
|
| + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_prog in grep ggrep; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
| + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
| +# Check for GNU ac_path_GREP and select it if it is found.
|
| + # Check for GNU $ac_path_GREP
|
| +case `"$ac_path_GREP" --version 2>&1` in
|
| +*GNU*)
|
| + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
| +*)
|
| + ac_count=0
|
| + $as_echo_n 0123456789 >"conftest.in"
|
| + while :
|
| + do
|
| + cat "conftest.in" "conftest.in" >"conftest.tmp"
|
| + mv "conftest.tmp" "conftest.in"
|
| + cp "conftest.in" "conftest.nl"
|
| + $as_echo 'GREP' >> "conftest.nl"
|
| + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
| + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
| + ac_count=`expr $ac_count + 1`
|
| + if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
| + # Best one so far, save it but keep looking for a better one
|
| + ac_cv_path_GREP="$ac_path_GREP"
|
| + ac_path_GREP_max=$ac_count
|
| + fi
|
| + # 10*(2^10) chars as input seems more than enough
|
| + test $ac_count -gt 10 && break
|
| + done
|
| + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
| +esac
|
| +
|
| + $ac_path_GREP_found && break 3
|
| + done
|
| + done
|
| +done
|
| +IFS=$as_save_IFS
|
| + if test -z "$ac_cv_path_GREP"; then
|
| + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
| +$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| + fi
|
| +else
|
| + ac_cv_path_GREP=$GREP
|
| +fi
|
| +
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
| +$as_echo "$ac_cv_path_GREP" >&6; }
|
| + GREP="$ac_cv_path_GREP"
|
| +
|
| +
|
| +{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
|
| +$as_echo_n "checking for egrep... " >&6; }
|
| +if test "${ac_cv_path_EGREP+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
| + then ac_cv_path_EGREP="$GREP -E"
|
| + else
|
| + if test -z "$EGREP"; then
|
| + ac_path_EGREP_found=false
|
| + # Loop through the user's path and test for each of PROGNAME-LIST
|
| + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_prog in egrep; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
| + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
| +# Check for GNU ac_path_EGREP and select it if it is found.
|
| + # Check for GNU $ac_path_EGREP
|
| +case `"$ac_path_EGREP" --version 2>&1` in
|
| +*GNU*)
|
| + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
| +*)
|
| + ac_count=0
|
| + $as_echo_n 0123456789 >"conftest.in"
|
| + while :
|
| + do
|
| + cat "conftest.in" "conftest.in" >"conftest.tmp"
|
| + mv "conftest.tmp" "conftest.in"
|
| + cp "conftest.in" "conftest.nl"
|
| + $as_echo 'EGREP' >> "conftest.nl"
|
| + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
| + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
| + ac_count=`expr $ac_count + 1`
|
| + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
| + # Best one so far, save it but keep looking for a better one
|
| + ac_cv_path_EGREP="$ac_path_EGREP"
|
| + ac_path_EGREP_max=$ac_count
|
| + fi
|
| + # 10*(2^10) chars as input seems more than enough
|
| + test $ac_count -gt 10 && break
|
| + done
|
| + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
| +esac
|
| +
|
| + $ac_path_EGREP_found && break 3
|
| + done
|
| + done
|
| +done
|
| +IFS=$as_save_IFS
|
| + if test -z "$ac_cv_path_EGREP"; then
|
| + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
| +$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| + fi
|
| +else
|
| + ac_cv_path_EGREP=$EGREP
|
| +fi
|
| +
|
| + fi
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
| +$as_echo "$ac_cv_path_EGREP" >&6; }
|
| + EGREP="$ac_cv_path_EGREP"
|
| +
|
| +
|
| +{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
|
| $as_echo_n "checking for fgrep... " >&6; }
|
| -if test "${ac_cv_path_FGREP+set}" = set; then :
|
| +if test "${ac_cv_path_FGREP+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
|
| @@ -5244,7 +3370,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_prog in fgrep; do
|
| + for ac_prog in fgrep; do
|
| for ac_exec_ext in '' $ac_executable_extensions; do
|
| ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
|
| { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
|
| @@ -5264,7 +3390,7 @@ case `"$ac_path_FGREP" --version 2>&1` in
|
| $as_echo 'FGREP' >> "conftest.nl"
|
| "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
| diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
| - as_fn_arith $ac_count + 1 && ac_count=$as_val
|
| + ac_count=`expr $ac_count + 1`
|
| if test $ac_count -gt ${ac_path_FGREP_max-0}; then
|
| # Best one so far, save it but keep looking for a better one
|
| ac_cv_path_FGREP="$ac_path_FGREP"
|
| @@ -5279,10 +3405,12 @@ esac
|
| $ac_path_FGREP_found && break 3
|
| done
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
| if test -z "$ac_cv_path_FGREP"; then
|
| - as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
| +$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi
|
| else
|
| ac_cv_path_FGREP=$FGREP
|
| @@ -5290,7 +3418,7 @@ fi
|
|
|
| fi
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
|
| $as_echo "$ac_cv_path_FGREP" >&6; }
|
| FGREP="$ac_cv_path_FGREP"
|
|
|
| @@ -5316,7 +3444,7 @@ test -z "$GREP" && GREP=grep
|
|
|
|
|
| # Check whether --with-gnu-ld was given.
|
| -if test "${with_gnu_ld+set}" = set; then :
|
| +if test "${with_gnu_ld+set}" = set; then
|
| withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
| else
|
| with_gnu_ld=no
|
| @@ -5325,7 +3453,7 @@ fi
|
| ac_prog=ld
|
| if test "$GCC" = yes; then
|
| # Check if gcc -print-prog-name=ld gives a path.
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
|
| $as_echo_n "checking for ld used by $CC... " >&6; }
|
| case $host in
|
| *-*-mingw*)
|
| @@ -5355,13 +3483,13 @@ $as_echo_n "checking for ld used by $CC... " >&6; }
|
| ;;
|
| esac
|
| elif test "$with_gnu_ld" = yes; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
|
| $as_echo_n "checking for GNU ld... " >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
|
| $as_echo_n "checking for non-GNU ld... " >&6; }
|
| fi
|
| -if test "${lt_cv_path_LD+set}" = set; then :
|
| +if test "${lt_cv_path_LD+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -z "$LD"; then
|
| @@ -5392,16 +3520,18 @@ fi
|
|
|
| LD="$lt_cv_path_LD"
|
| if test -n "$LD"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $LD" >&5
|
| $as_echo "$LD" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
| -test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
| +test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
|
| +$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| +{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
|
| $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
| -if test "${lt_cv_prog_gnu_ld+set}" = set; then :
|
| +if test "${lt_cv_prog_gnu_ld+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| # I'd rather use --version here, but apparently some GNU lds only accept -v.
|
| @@ -5414,7 +3544,7 @@ case `$LD -v 2>&1 </dev/null` in
|
| ;;
|
| esac
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
|
| $as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
| with_gnu_ld=$lt_cv_prog_gnu_ld
|
|
|
| @@ -5426,9 +3556,9 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
|
|
|
|
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
|
| $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
| -if test "${lt_cv_path_NM+set}" = set; then :
|
| +if test "${lt_cv_path_NM+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$NM"; then
|
| @@ -5475,7 +3605,7 @@ else
|
| : ${lt_cv_path_NM=no}
|
| fi
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
|
| $as_echo "$lt_cv_path_NM" >&6; }
|
| if test "$lt_cv_path_NM" != "no"; then
|
| NM="$lt_cv_path_NM"
|
| @@ -5486,9 +3616,9 @@ else
|
| do
|
| # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
| set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
|
| +if test "${ac_cv_prog_DUMPBIN+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$DUMPBIN"; then
|
| @@ -5499,24 +3629,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| DUMPBIN=$ac_cv_prog_DUMPBIN
|
| if test -n "$DUMPBIN"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
|
| $as_echo "$DUMPBIN" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -5530,9 +3660,9 @@ if test -z "$DUMPBIN"; then
|
| do
|
| # Extract the first word of "$ac_prog", so it can be a program name with args.
|
| set dummy $ac_prog; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
|
| +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$ac_ct_DUMPBIN"; then
|
| @@ -5543,24 +3673,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
|
| if test -n "$ac_ct_DUMPBIN"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
|
| $as_echo "$ac_ct_DUMPBIN" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -5573,8 +3703,12 @@ done
|
| else
|
| case $cross_compiling:$ac_tool_warned in
|
| yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| ac_tool_warned=yes ;;
|
| esac
|
| DUMPBIN=$ac_ct_DUMPBIN
|
| @@ -5593,44 +3727,44 @@ test -z "$NM" && NM=nm
|
|
|
|
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
|
| $as_echo_n "checking the name lister ($NM) interface... " >&6; }
|
| -if test "${lt_cv_nm_interface+set}" = set; then :
|
| +if test "${lt_cv_nm_interface+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| lt_cv_nm_interface="BSD nm"
|
| echo "int some_variable = 0;" > conftest.$ac_ext
|
| - (eval echo "\"\$as_me:5603: $ac_compile\"" >&5)
|
| + (eval echo "\"\$as_me:3737: $ac_compile\"" >&5)
|
| (eval "$ac_compile" 2>conftest.err)
|
| cat conftest.err >&5
|
| - (eval echo "\"\$as_me:5606: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
| + (eval echo "\"\$as_me:3740: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
| (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
| cat conftest.err >&5
|
| - (eval echo "\"\$as_me:5609: output\"" >&5)
|
| + (eval echo "\"\$as_me:3743: output\"" >&5)
|
| cat conftest.out >&5
|
| if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
| lt_cv_nm_interface="MS dumpbin"
|
| fi
|
| rm -f conftest*
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
|
| $as_echo "$lt_cv_nm_interface" >&6; }
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
| $as_echo_n "checking whether ln -s works... " >&6; }
|
| LN_S=$as_ln_s
|
| if test "$LN_S" = "ln -s"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| + { $as_echo "$as_me:$LINENO: result: yes" >&5
|
| $as_echo "yes" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
| $as_echo "no, using $LN_S" >&6; }
|
| fi
|
|
|
| # find the maximum length of command line arguments
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
|
| $as_echo_n "checking the maximum length of command line arguments... " >&6; }
|
| -if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
|
| +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| i=0
|
| @@ -5748,10 +3882,10 @@ else
|
| fi
|
|
|
| if test -n $lt_cv_sys_max_cmd_len ; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
|
| $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
| + { $as_echo "$as_me:$LINENO: result: none" >&5
|
| $as_echo "none" >&6; }
|
| fi
|
| max_cmd_len=$lt_cv_sys_max_cmd_len
|
| @@ -5765,7 +3899,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
|
| : ${MV="mv -f"}
|
| : ${RM="rm -f"}
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
|
| $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
|
| # Try some XSI features
|
| xsi_shell=no
|
| @@ -5775,17 +3909,17 @@ xsi_shell=no
|
| && eval 'test $(( 1 + 1 )) -eq 2 \
|
| && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
|
| && xsi_shell=yes
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
|
| $as_echo "$xsi_shell" >&6; }
|
|
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
|
| $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
|
| lt_shell_append=no
|
| ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
|
| >/dev/null 2>&1 \
|
| && lt_shell_append=yes
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
|
| $as_echo "$lt_shell_append" >&6; }
|
|
|
|
|
| @@ -5820,14 +3954,14 @@ esac
|
|
|
|
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
|
| $as_echo_n "checking for $LD option to reload object files... " >&6; }
|
| -if test "${lt_cv_ld_reload_flag+set}" = set; then :
|
| +if test "${lt_cv_ld_reload_flag+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| lt_cv_ld_reload_flag='-r'
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
|
| $as_echo "$lt_cv_ld_reload_flag" >&6; }
|
| reload_flag=$lt_cv_ld_reload_flag
|
| case $reload_flag in
|
| @@ -5856,9 +3990,9 @@ esac
|
| if test -n "$ac_tool_prefix"; then
|
| # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
| set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
|
| +if test "${ac_cv_prog_OBJDUMP+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$OBJDUMP"; then
|
| @@ -5869,24 +4003,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| OBJDUMP=$ac_cv_prog_OBJDUMP
|
| if test -n "$OBJDUMP"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
|
| $as_echo "$OBJDUMP" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -5896,9 +4030,9 @@ if test -z "$ac_cv_prog_OBJDUMP"; then
|
| ac_ct_OBJDUMP=$OBJDUMP
|
| # Extract the first word of "objdump", so it can be a program name with args.
|
| set dummy objdump; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
|
| +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$ac_ct_OBJDUMP"; then
|
| @@ -5909,24 +4043,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
|
| if test -n "$ac_ct_OBJDUMP"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
|
| $as_echo "$ac_ct_OBJDUMP" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -5935,8 +4069,12 @@ fi
|
| else
|
| case $cross_compiling:$ac_tool_warned in
|
| yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| ac_tool_warned=yes ;;
|
| esac
|
| OBJDUMP=$ac_ct_OBJDUMP
|
| @@ -5952,9 +4090,12 @@ test -z "$OBJDUMP" && OBJDUMP=objdump
|
|
|
|
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
| +
|
| +
|
| +
|
| +{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
|
| $as_echo_n "checking how to recognize dependent libraries... " >&6; }
|
| -if test "${lt_cv_deplibs_check_method+set}" = set; then :
|
| +if test "${lt_cv_deplibs_check_method+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| lt_cv_file_magic_cmd='$MAGIC_CMD'
|
| @@ -6069,11 +4210,11 @@ irix5* | irix6* | nonstopux*)
|
| ;;
|
|
|
| # This must be Linux ELF.
|
| -linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
| +linux* | k*bsd*-gnu)
|
| lt_cv_deplibs_check_method=pass_all
|
| ;;
|
|
|
| -netbsd* | netbsdelf*-gnu)
|
| +netbsd*)
|
| if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
| lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
| else
|
| @@ -6148,7 +4289,7 @@ tpf*)
|
| esac
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
|
| $as_echo "$lt_cv_deplibs_check_method" >&6; }
|
| file_magic_cmd=$lt_cv_file_magic_cmd
|
| deplibs_check_method=$lt_cv_deplibs_check_method
|
| @@ -6168,9 +4309,9 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
|
| if test -n "$ac_tool_prefix"; then
|
| # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
| set dummy ${ac_tool_prefix}ar; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_AR+set}" = set; then :
|
| +if test "${ac_cv_prog_AR+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$AR"; then
|
| @@ -6181,24 +4322,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_AR="${ac_tool_prefix}ar"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| AR=$ac_cv_prog_AR
|
| if test -n "$AR"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $AR" >&5
|
| $as_echo "$AR" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -6208,9 +4349,9 @@ if test -z "$ac_cv_prog_AR"; then
|
| ac_ct_AR=$AR
|
| # Extract the first word of "ar", so it can be a program name with args.
|
| set dummy ar; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
|
| +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$ac_ct_AR"; then
|
| @@ -6221,24 +4362,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_ac_ct_AR="ar"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
| if test -n "$ac_ct_AR"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
|
| $as_echo "$ac_ct_AR" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -6247,8 +4388,12 @@ fi
|
| else
|
| case $cross_compiling:$ac_tool_warned in
|
| yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| ac_tool_warned=yes ;;
|
| esac
|
| AR=$ac_ct_AR
|
| @@ -6273,9 +4418,9 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
|
| if test -n "$ac_tool_prefix"; then
|
| # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
| set dummy ${ac_tool_prefix}strip; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_STRIP+set}" = set; then :
|
| +if test "${ac_cv_prog_STRIP+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$STRIP"; then
|
| @@ -6286,24 +4431,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| STRIP=$ac_cv_prog_STRIP
|
| if test -n "$STRIP"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
| $as_echo "$STRIP" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -6313,9 +4458,9 @@ if test -z "$ac_cv_prog_STRIP"; then
|
| ac_ct_STRIP=$STRIP
|
| # Extract the first word of "strip", so it can be a program name with args.
|
| set dummy strip; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
| +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$ac_ct_STRIP"; then
|
| @@ -6326,24 +4471,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_ac_ct_STRIP="strip"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
| if test -n "$ac_ct_STRIP"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
| $as_echo "$ac_ct_STRIP" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -6352,8 +4497,12 @@ fi
|
| else
|
| case $cross_compiling:$ac_tool_warned in
|
| yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| ac_tool_warned=yes ;;
|
| esac
|
| STRIP=$ac_ct_STRIP
|
| @@ -6372,9 +4521,9 @@ test -z "$STRIP" && STRIP=:
|
| if test -n "$ac_tool_prefix"; then
|
| # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
| set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
| +if test "${ac_cv_prog_RANLIB+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$RANLIB"; then
|
| @@ -6385,24 +4534,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| RANLIB=$ac_cv_prog_RANLIB
|
| if test -n "$RANLIB"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
|
| $as_echo "$RANLIB" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -6412,9 +4561,9 @@ if test -z "$ac_cv_prog_RANLIB"; then
|
| ac_ct_RANLIB=$RANLIB
|
| # Extract the first word of "ranlib", so it can be a program name with args.
|
| set dummy ranlib; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
| +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$ac_ct_RANLIB"; then
|
| @@ -6425,24 +4574,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_ac_ct_RANLIB="ranlib"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
| if test -n "$ac_ct_RANLIB"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
| $as_echo "$ac_ct_RANLIB" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -6451,8 +4600,12 @@ fi
|
| else
|
| case $cross_compiling:$ac_tool_warned in
|
| yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| ac_tool_warned=yes ;;
|
| esac
|
| RANLIB=$ac_ct_RANLIB
|
| @@ -6529,9 +4682,9 @@ compiler=$CC
|
|
|
|
|
| # Check for command to grab the raw symbol name followed by C symbol from nm.
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
|
| $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
|
| -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
|
| +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
|
|
| @@ -6647,18 +4800,18 @@ void nm_test_func(void){}
|
| int main(){nm_test_var='a';nm_test_func();return(0);}
|
| _LT_EOF
|
|
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
| + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
| (eval $ac_compile) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }; then
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }; then
|
| # Now try to grab the symbols.
|
| nlist=conftest.nm
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
|
| + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
|
| (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } && test -s "$nlist"; then
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && test -s "$nlist"; then
|
| # Try sorting and uniquifying the output.
|
| if sort "$nlist" | uniq > "$nlist"T; then
|
| mv -f "$nlist"T "$nlist"
|
| @@ -6711,11 +4864,11 @@ _LT_EOF
|
| lt_save_CFLAGS="$CFLAGS"
|
| LIBS="conftstm.$ac_objext"
|
| CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
| + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
| (eval $ac_link) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } && test -s conftest${ac_exeext}; then
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && test -s conftest${ac_exeext}; then
|
| pipe_works=yes
|
| fi
|
| LIBS="$lt_save_LIBS"
|
| @@ -6749,10 +4902,10 @@ if test -z "$lt_cv_sys_global_symbol_pipe"; then
|
| lt_cv_sys_global_symbol_to_cdecl=
|
| fi
|
| if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
| + { $as_echo "$as_me:$LINENO: result: failed" >&5
|
| $as_echo "failed" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
| + { $as_echo "$as_me:$LINENO: result: ok" >&5
|
| $as_echo "ok" >&6; }
|
| fi
|
|
|
| @@ -6777,8 +4930,9 @@ fi
|
|
|
|
|
|
|
| +
|
| # Check whether --enable-libtool-lock was given.
|
| -if test "${enable_libtool_lock+set}" = set; then :
|
| +if test "${enable_libtool_lock+set}" = set; then
|
| enableval=$enable_libtool_lock;
|
| fi
|
|
|
| @@ -6790,11 +4944,11 @@ case $host in
|
| ia64-*-hpux*)
|
| # Find out which ABI we are using.
|
| echo 'int i;' > conftest.$ac_ext
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
| + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
| (eval $ac_compile) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }; then
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }; then
|
| case `/usr/bin/file conftest.$ac_objext` in
|
| *ELF-32*)
|
| HPUX_IA64_MODE="32"
|
| @@ -6808,12 +4962,12 @@ ia64-*-hpux*)
|
| ;;
|
| *-*-irix6*)
|
| # Find out which ABI we are using.
|
| - echo '#line 6811 "configure"' > conftest.$ac_ext
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
| + echo '#line 4965 "configure"' > conftest.$ac_ext
|
| + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
| (eval $ac_compile) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }; then
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }; then
|
| if test "$lt_cv_prog_gnu_ld" = yes; then
|
| case `/usr/bin/file conftest.$ac_objext` in
|
| *32-bit*)
|
| @@ -6847,11 +5001,11 @@ x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
| s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
| # Find out which ABI we are using.
|
| echo 'int i;' > conftest.$ac_ext
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
| + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
| (eval $ac_compile) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }; then
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }; then
|
| case `/usr/bin/file conftest.o` in
|
| *32-bit*)
|
| case $host in
|
| @@ -6900,9 +5054,9 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
| # On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
| SAVE_CFLAGS="$CFLAGS"
|
| CFLAGS="$CFLAGS -belf"
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
| + { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
|
| $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
|
| -if test "${lt_cv_cc_needs_belf+set}" = set; then :
|
| +if test "${lt_cv_cc_needs_belf+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| ac_ext=c
|
| @@ -6911,7 +5065,11 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| int
|
| @@ -6922,13 +5080,38 @@ main ()
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| lt_cv_cc_needs_belf=yes
|
| else
|
| - lt_cv_cc_needs_belf=no
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + lt_cv_cc_needs_belf=no
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| ac_ext=c
|
| ac_cpp='$CPP $CPPFLAGS'
|
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| @@ -6936,7 +5119,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
| ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
|
| $as_echo "$lt_cv_cc_needs_belf" >&6; }
|
| if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
| # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
| @@ -6946,11 +5129,11 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
|
| sparc*-*solaris*)
|
| # Find out which ABI we are using.
|
| echo 'int i;' > conftest.$ac_ext
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
| + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
| (eval $ac_compile) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }; then
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }; then
|
| case `/usr/bin/file conftest.o` in
|
| *64-bit*)
|
| case $lt_cv_prog_gnu_ld in
|
| @@ -6976,9 +5159,9 @@ need_locks="$enable_libtool_lock"
|
| if test -n "$ac_tool_prefix"; then
|
| # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
|
| set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
|
| +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$DSYMUTIL"; then
|
| @@ -6989,24 +5172,24 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| DSYMUTIL=$ac_cv_prog_DSYMUTIL
|
| if test -n "$DSYMUTIL"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
|
| $as_echo "$DSYMUTIL" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -7016,9 +5199,9 @@ if test -z "$ac_cv_prog_DSYMUTIL"; then
|
| ac_ct_DSYMUTIL=$DSYMUTIL
|
| # Extract the first word of "dsymutil", so it can be a program name with args.
|
| set dummy dsymutil; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
|
| +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test -n "$ac_ct_DSYMUTIL"; then
|
| @@ -7029,419 +5212,995 @@ for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| +done
|
| +IFS=$as_save_IFS
|
| +
|
| +fi
|
| +fi
|
| +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
|
| +if test -n "$ac_ct_DSYMUTIL"; then
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
|
| +$as_echo "$ac_ct_DSYMUTIL" >&6; }
|
| +else
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| + if test "x$ac_ct_DSYMUTIL" = x; then
|
| + DSYMUTIL=":"
|
| + else
|
| + case $cross_compiling:$ac_tool_warned in
|
| +yes:)
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| +ac_tool_warned=yes ;;
|
| +esac
|
| + DSYMUTIL=$ac_ct_DSYMUTIL
|
| + fi
|
| +else
|
| + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
|
| +fi
|
| +
|
| + if test -n "$ac_tool_prefix"; then
|
| + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
|
| +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_NMEDIT+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$NMEDIT"; then
|
| + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| +done
|
| +IFS=$as_save_IFS
|
| +
|
| +fi
|
| +fi
|
| +NMEDIT=$ac_cv_prog_NMEDIT
|
| +if test -n "$NMEDIT"; then
|
| + { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
|
| +$as_echo "$NMEDIT" >&6; }
|
| +else
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| +
|
| +fi
|
| +if test -z "$ac_cv_prog_NMEDIT"; then
|
| + ac_ct_NMEDIT=$NMEDIT
|
| + # Extract the first word of "nmedit", so it can be a program name with args.
|
| +set dummy nmedit; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$ac_ct_NMEDIT"; then
|
| + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_ac_ct_NMEDIT="nmedit"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| +done
|
| +IFS=$as_save_IFS
|
| +
|
| +fi
|
| +fi
|
| +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
|
| +if test -n "$ac_ct_NMEDIT"; then
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
|
| +$as_echo "$ac_ct_NMEDIT" >&6; }
|
| +else
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| + if test "x$ac_ct_NMEDIT" = x; then
|
| + NMEDIT=":"
|
| + else
|
| + case $cross_compiling:$ac_tool_warned in
|
| +yes:)
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| +ac_tool_warned=yes ;;
|
| +esac
|
| + NMEDIT=$ac_ct_NMEDIT
|
| + fi
|
| +else
|
| + NMEDIT="$ac_cv_prog_NMEDIT"
|
| +fi
|
| +
|
| + if test -n "$ac_tool_prefix"; then
|
| + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
|
| +set dummy ${ac_tool_prefix}lipo; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_LIPO+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$LIPO"; then
|
| + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| +done
|
| +IFS=$as_save_IFS
|
| +
|
| +fi
|
| +fi
|
| +LIPO=$ac_cv_prog_LIPO
|
| +if test -n "$LIPO"; then
|
| + { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
|
| +$as_echo "$LIPO" >&6; }
|
| +else
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| +
|
| +fi
|
| +if test -z "$ac_cv_prog_LIPO"; then
|
| + ac_ct_LIPO=$LIPO
|
| + # Extract the first word of "lipo", so it can be a program name with args.
|
| +set dummy lipo; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$ac_ct_LIPO"; then
|
| + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_ac_ct_LIPO="lipo"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| +done
|
| +IFS=$as_save_IFS
|
| +
|
| +fi
|
| +fi
|
| +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
|
| +if test -n "$ac_ct_LIPO"; then
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
|
| +$as_echo "$ac_ct_LIPO" >&6; }
|
| +else
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| + if test "x$ac_ct_LIPO" = x; then
|
| + LIPO=":"
|
| + else
|
| + case $cross_compiling:$ac_tool_warned in
|
| +yes:)
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| +ac_tool_warned=yes ;;
|
| +esac
|
| + LIPO=$ac_ct_LIPO
|
| + fi
|
| +else
|
| + LIPO="$ac_cv_prog_LIPO"
|
| +fi
|
| +
|
| + if test -n "$ac_tool_prefix"; then
|
| + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
|
| +set dummy ${ac_tool_prefix}otool; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_OTOOL+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$OTOOL"; then
|
| + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| +done
|
| +IFS=$as_save_IFS
|
| +
|
| +fi
|
| +fi
|
| +OTOOL=$ac_cv_prog_OTOOL
|
| +if test -n "$OTOOL"; then
|
| + { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
|
| +$as_echo "$OTOOL" >&6; }
|
| +else
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| +
|
| +fi
|
| +if test -z "$ac_cv_prog_OTOOL"; then
|
| + ac_ct_OTOOL=$OTOOL
|
| + # Extract the first word of "otool", so it can be a program name with args.
|
| +set dummy otool; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test -n "$ac_ct_OTOOL"; then
|
| + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_ac_ct_OTOOL="otool"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| -ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
|
| -if test -n "$ac_ct_DSYMUTIL"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
| -$as_echo "$ac_ct_DSYMUTIL" >&6; }
|
| +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
|
| +if test -n "$ac_ct_OTOOL"; then
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
|
| +$as_echo "$ac_ct_OTOOL" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| - if test "x$ac_ct_DSYMUTIL" = x; then
|
| - DSYMUTIL=":"
|
| + if test "x$ac_ct_OTOOL" = x; then
|
| + OTOOL=":"
|
| else
|
| case $cross_compiling:$ac_tool_warned in
|
| yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| ac_tool_warned=yes ;;
|
| esac
|
| - DSYMUTIL=$ac_ct_DSYMUTIL
|
| + OTOOL=$ac_ct_OTOOL
|
| fi
|
| else
|
| - DSYMUTIL="$ac_cv_prog_DSYMUTIL"
|
| + OTOOL="$ac_cv_prog_OTOOL"
|
| fi
|
|
|
| if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}nmedit; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
|
| +set dummy ${ac_tool_prefix}otool64; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_NMEDIT+set}" = set; then :
|
| +if test "${ac_cv_prog_OTOOL64+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$NMEDIT"; then
|
| - ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
|
| + if test -n "$OTOOL64"; then
|
| + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
|
| else
|
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| -NMEDIT=$ac_cv_prog_NMEDIT
|
| -if test -n "$NMEDIT"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
| -$as_echo "$NMEDIT" >&6; }
|
| +OTOOL64=$ac_cv_prog_OTOOL64
|
| +if test -n "$OTOOL64"; then
|
| + { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
|
| +$as_echo "$OTOOL64" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
|
|
| fi
|
| -if test -z "$ac_cv_prog_NMEDIT"; then
|
| - ac_ct_NMEDIT=$NMEDIT
|
| - # Extract the first word of "nmedit", so it can be a program name with args.
|
| -set dummy nmedit; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +if test -z "$ac_cv_prog_OTOOL64"; then
|
| + ac_ct_OTOOL64=$OTOOL64
|
| + # Extract the first word of "otool64", so it can be a program name with args.
|
| +set dummy otool64; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
|
| +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$ac_ct_NMEDIT"; then
|
| - ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
|
| + if test -n "$ac_ct_OTOOL64"; then
|
| + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
|
| else
|
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_NMEDIT="nmedit"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + ac_cv_prog_ac_ct_OTOOL64="otool64"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| fi
|
| fi
|
| -ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
|
| -if test -n "$ac_ct_NMEDIT"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
| -$as_echo "$ac_ct_NMEDIT" >&6; }
|
| +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
|
| +if test -n "$ac_ct_OTOOL64"; then
|
| + { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
|
| +$as_echo "$ac_ct_OTOOL64" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| - if test "x$ac_ct_NMEDIT" = x; then
|
| - NMEDIT=":"
|
| + if test "x$ac_ct_OTOOL64" = x; then
|
| + OTOOL64=":"
|
| else
|
| case $cross_compiling:$ac_tool_warned in
|
| yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| +{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&5
|
| +$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
| +whose name does not start with the host triplet. If you think this
|
| +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
| ac_tool_warned=yes ;;
|
| esac
|
| - NMEDIT=$ac_ct_NMEDIT
|
| + OTOOL64=$ac_ct_OTOOL64
|
| fi
|
| else
|
| - NMEDIT="$ac_cv_prog_NMEDIT"
|
| + OTOOL64="$ac_cv_prog_OTOOL64"
|
| fi
|
|
|
| - if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}lipo; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_LIPO+set}" = set; then :
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| + { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
|
| +$as_echo_n "checking for -single_module linker flag... " >&6; }
|
| +if test "${lt_cv_apple_cc_single_mod+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$LIPO"; then
|
| - ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
|
| + lt_cv_apple_cc_single_mod=no
|
| + if test -z "${LT_MULTI_MODULE}"; then
|
| + # By default we will add the -single_module flag. You can override
|
| + # by either setting the environment variable LT_MULTI_MODULE
|
| + # non-empty at configure time, or by adding -multi_module to the
|
| + # link flags.
|
| + rm -rf libconftest.dylib*
|
| + echo "int foo(void){return 1;}" > conftest.c
|
| + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
| +-dynamiclib -Wl,-single_module conftest.c" >&5
|
| + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
| + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
| + _lt_result=$?
|
| + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
|
| + lt_cv_apple_cc_single_mod=yes
|
| + else
|
| + cat conftest.err >&5
|
| + fi
|
| + rm -rf libconftest.dylib*
|
| + rm -f conftest.*
|
| + fi
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
|
| +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
| + { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
|
| +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
| +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| + lt_cv_ld_exported_symbols_list=no
|
| + save_LDFLAGS=$LDFLAGS
|
| + echo "_main" > conftest.sym
|
| + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
|
|
| -fi
|
| -fi
|
| -LIPO=$ac_cv_prog_LIPO
|
| -if test -n "$LIPO"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
| -$as_echo "$LIPO" >&6; }
|
| +int
|
| +main ()
|
| +{
|
| +
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| + lt_cv_ld_exported_symbols_list=yes
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + lt_cv_ld_exported_symbols_list=no
|
| fi
|
|
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| + LDFLAGS="$save_LDFLAGS"
|
|
|
| fi
|
| -if test -z "$ac_cv_prog_LIPO"; then
|
| - ac_ct_LIPO=$LIPO
|
| - # Extract the first word of "lipo", so it can be a program name with args.
|
| -set dummy lipo; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
|
| +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
| + case $host_os in
|
| + rhapsody* | darwin1.[012])
|
| + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
| + darwin1.*)
|
| + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
| + darwin*) # darwin 5.x on
|
| + # if running on 10.5 or later, the deployment target defaults
|
| + # to the OS version, if on x86, and 10.4, the deployment
|
| + # target defaults to 10.4. Don't you love it?
|
| + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
| + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
| + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
| + 10.[012]*)
|
| + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
| + 10.*)
|
| + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
| + esac
|
| + ;;
|
| + esac
|
| + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
| + _lt_dar_single_mod='$single_module'
|
| + fi
|
| + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
|
| + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
| + else
|
| + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
| + fi
|
| + if test "$DSYMUTIL" != ":"; then
|
| + _lt_dsymutil='~$DSYMUTIL $lib || :'
|
| + else
|
| + _lt_dsymutil=
|
| + fi
|
| + ;;
|
| + esac
|
| +
|
| +ac_ext=c
|
| +ac_cpp='$CPP $CPPFLAGS'
|
| +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| +ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| +{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
| +$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
| +# On Suns, sometimes $CPP names a directory.
|
| +if test -n "$CPP" && test -d "$CPP"; then
|
| + CPP=
|
| +fi
|
| +if test -z "$CPP"; then
|
| + if test "${ac_cv_prog_CPP+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$ac_ct_LIPO"; then
|
| - ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
|
| + # Double quotes because CPP needs to be expanded
|
| + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
| + do
|
| + ac_preproc_ok=false
|
| +for ac_c_preproc_warn_flag in '' yes
|
| +do
|
| + # Use a header file that comes with gcc, so configuring glibc
|
| + # with a fresh cross-compiler works.
|
| + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| + # <limits.h> exists even on freestanding compilers.
|
| + # On the NeXT, cc -E runs the code through the compiler's parser,
|
| + # not just through cpp. "Syntax error" is here to catch this case.
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#ifdef __STDC__
|
| +# include <limits.h>
|
| +#else
|
| +# include <assert.h>
|
| +#endif
|
| + Syntax error
|
| +_ACEOF
|
| +if { (ac_try="$ac_cpp conftest.$ac_ext"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } >/dev/null && {
|
| + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + }; then
|
| + :
|
| else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_LIPO="lipo"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -fi
|
| -fi
|
| -ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
|
| -if test -n "$ac_ct_LIPO"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
| -$as_echo "$ac_ct_LIPO" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| + # Broken: fails on valid input.
|
| +continue
|
| fi
|
|
|
| - if test "x$ac_ct_LIPO" = x; then
|
| - LIPO=":"
|
| - else
|
| - case $cross_compiling:$ac_tool_warned in
|
| -yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| -ac_tool_warned=yes ;;
|
| +rm -f conftest.err conftest.$ac_ext
|
| +
|
| + # OK, works on sane cases. Now check whether nonexistent headers
|
| + # can be detected and how.
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#include <ac_nonexistent.h>
|
| +_ACEOF
|
| +if { (ac_try="$ac_cpp conftest.$ac_ext"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| esac
|
| - LIPO=$ac_ct_LIPO
|
| - fi
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } >/dev/null && {
|
| + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + }; then
|
| + # Broken: success on invalid input.
|
| +continue
|
| else
|
| - LIPO="$ac_cv_prog_LIPO"
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + # Passes both tests.
|
| +ac_preproc_ok=:
|
| +break
|
| fi
|
|
|
| - if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}otool; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_OTOOL+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$OTOOL"; then
|
| - ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| +rm -f conftest.err conftest.$ac_ext
|
|
|
| -fi
|
| -fi
|
| -OTOOL=$ac_cv_prog_OTOOL
|
| -if test -n "$OTOOL"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
| -$as_echo "$OTOOL" >&6; }
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| +done
|
| +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
| +rm -f conftest.err conftest.$ac_ext
|
| +if $ac_preproc_ok; then
|
| + break
|
| fi
|
|
|
| + done
|
| + ac_cv_prog_CPP=$CPP
|
|
|
| fi
|
| -if test -z "$ac_cv_prog_OTOOL"; then
|
| - ac_ct_OTOOL=$OTOOL
|
| - # Extract the first word of "otool", so it can be a program name with args.
|
| -set dummy otool; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$ac_ct_OTOOL"; then
|
| - ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
|
| + CPP=$ac_cv_prog_CPP
|
| else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_OTOOL="otool"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| -
|
| -fi
|
| + ac_cv_prog_CPP=$CPP
|
| fi
|
| -ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
|
| -if test -n "$ac_ct_OTOOL"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
| -$as_echo "$ac_ct_OTOOL" >&6; }
|
| +{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
|
| +$as_echo "$CPP" >&6; }
|
| +ac_preproc_ok=false
|
| +for ac_c_preproc_warn_flag in '' yes
|
| +do
|
| + # Use a header file that comes with gcc, so configuring glibc
|
| + # with a fresh cross-compiler works.
|
| + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| + # <limits.h> exists even on freestanding compilers.
|
| + # On the NeXT, cc -E runs the code through the compiler's parser,
|
| + # not just through cpp. "Syntax error" is here to catch this case.
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#ifdef __STDC__
|
| +# include <limits.h>
|
| +#else
|
| +# include <assert.h>
|
| +#endif
|
| + Syntax error
|
| +_ACEOF
|
| +if { (ac_try="$ac_cpp conftest.$ac_ext"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } >/dev/null && {
|
| + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + }; then
|
| + :
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + # Broken: fails on valid input.
|
| +continue
|
| fi
|
|
|
| - if test "x$ac_ct_OTOOL" = x; then
|
| - OTOOL=":"
|
| - else
|
| - case $cross_compiling:$ac_tool_warned in
|
| -yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| -ac_tool_warned=yes ;;
|
| +rm -f conftest.err conftest.$ac_ext
|
| +
|
| + # OK, works on sane cases. Now check whether nonexistent headers
|
| + # can be detected and how.
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#include <ac_nonexistent.h>
|
| +_ACEOF
|
| +if { (ac_try="$ac_cpp conftest.$ac_ext"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| esac
|
| - OTOOL=$ac_ct_OTOOL
|
| - fi
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } >/dev/null && {
|
| + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + }; then
|
| + # Broken: success on invalid input.
|
| +continue
|
| else
|
| - OTOOL="$ac_cv_prog_OTOOL"
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + # Passes both tests.
|
| +ac_preproc_ok=:
|
| +break
|
| fi
|
|
|
| - if test -n "$ac_tool_prefix"; then
|
| - # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
|
| -set dummy ${ac_tool_prefix}otool64; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_OTOOL64+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - if test -n "$OTOOL64"; then
|
| - ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
|
| -else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| +rm -f conftest.err conftest.$ac_ext
|
|
|
| -fi
|
| -fi
|
| -OTOOL64=$ac_cv_prog_OTOOL64
|
| -if test -n "$OTOOL64"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
| -$as_echo "$OTOOL64" >&6; }
|
| +done
|
| +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
| +rm -f conftest.err conftest.$ac_ext
|
| +if $ac_preproc_ok; then
|
| + :
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| + { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
| +See \`config.log' for more details." >&5
|
| +$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
| +See \`config.log' for more details." >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi
|
|
|
| +ac_ext=c
|
| +ac_cpp='$CPP $CPPFLAGS'
|
| +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| +ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| +
|
|
|
| -fi
|
| -if test -z "$ac_cv_prog_OTOOL64"; then
|
| - ac_ct_OTOOL64=$OTOOL64
|
| - # Extract the first word of "otool64", so it can be a program name with args.
|
| -set dummy otool64; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| -$as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
|
| +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
| +$as_echo_n "checking for ANSI C header files... " >&6; }
|
| +if test "${ac_cv_header_stdc+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - if test -n "$ac_ct_OTOOL64"; then
|
| - ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#include <stdlib.h>
|
| +#include <stdarg.h>
|
| +#include <string.h>
|
| +#include <float.h>
|
| +
|
| +int
|
| +main ()
|
| +{
|
| +
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_cv_header_stdc=yes
|
| else
|
| -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| -for as_dir in $PATH
|
| -do
|
| - IFS=$as_save_IFS
|
| - test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_prog_ac_ct_OTOOL64="otool64"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| - break 2
|
| - fi
|
| -done
|
| - done
|
| -IFS=$as_save_IFS
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + ac_cv_header_stdc=no
|
| fi
|
| -fi
|
| -ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
|
| -if test -n "$ac_ct_OTOOL64"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
| -$as_echo "$ac_ct_OTOOL64" >&6; }
|
| +
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +
|
| +if test $ac_cv_header_stdc = yes; then
|
| + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#include <string.h>
|
| +
|
| +_ACEOF
|
| +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
| + $EGREP "memchr" >/dev/null 2>&1; then
|
| + :
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| + ac_cv_header_stdc=no
|
| fi
|
| +rm -f conftest*
|
|
|
| - if test "x$ac_ct_OTOOL64" = x; then
|
| - OTOOL64=":"
|
| - else
|
| - case $cross_compiling:$ac_tool_warned in
|
| -yes:)
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
| -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
| -ac_tool_warned=yes ;;
|
| -esac
|
| - OTOOL64=$ac_ct_OTOOL64
|
| - fi
|
| -else
|
| - OTOOL64="$ac_cv_prog_OTOOL64"
|
| fi
|
|
|
| +if test $ac_cv_header_stdc = yes; then
|
| + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#include <stdlib.h>
|
| +
|
| +_ACEOF
|
| +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
| + $EGREP "free" >/dev/null 2>&1; then
|
| + :
|
| +else
|
| + ac_cv_header_stdc=no
|
| +fi
|
| +rm -f conftest*
|
|
|
| +fi
|
|
|
| +if test $ac_cv_header_stdc = yes; then
|
| + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
| + if test "$cross_compiling" = yes; then
|
| + :
|
| +else
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#include <ctype.h>
|
| +#include <stdlib.h>
|
| +#if ((' ' & 0x0FF) == 0x020)
|
| +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
| +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
| +#else
|
| +# define ISLOWER(c) \
|
| + (('a' <= (c) && (c) <= 'i') \
|
| + || ('j' <= (c) && (c) <= 'r') \
|
| + || ('s' <= (c) && (c) <= 'z'))
|
| +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
| +#endif
|
|
|
| +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
| +int
|
| +main ()
|
| +{
|
| + int i;
|
| + for (i = 0; i < 256; i++)
|
| + if (XOR (islower (i), ISLOWER (i))
|
| + || toupper (i) != TOUPPER (i))
|
| + return 2;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>&5
|
| + ac_status=$?
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
| + { (case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_try") 2>&5
|
| + ac_status=$?
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }; }; then
|
| + :
|
| +else
|
| + $as_echo "$as_me: program exited with status $ac_status" >&5
|
| +$as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| +( exit $ac_status )
|
| +ac_cv_header_stdc=no
|
| +fi
|
| +rm -rf conftest.dSYM
|
| +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
| +fi
|
|
|
|
|
| +fi
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
| +$as_echo "$ac_cv_header_stdc" >&6; }
|
| +if test $ac_cv_header_stdc = yes; then
|
|
|
| +cat >>confdefs.h <<\_ACEOF
|
| +#define STDC_HEADERS 1
|
| +_ACEOF
|
|
|
| +fi
|
|
|
| +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
|
|
|
|
|
| @@ -7451,117 +6210,123 @@ fi
|
|
|
|
|
|
|
| +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
| + inttypes.h stdint.h unistd.h
|
| +do
|
| +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
| +$as_echo_n "checking for $ac_header... " >&6; }
|
| +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
|
|
| +#include <$ac_header>
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + eval "$as_ac_Header=yes"
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + eval "$as_ac_Header=no"
|
| +fi
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +fi
|
| +ac_res=`eval 'as_val=${'$as_ac_Header'}
|
| + $as_echo "$as_val"'`
|
| + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
| +$as_echo "$ac_res" >&6; }
|
| +if test `eval 'as_val=${'$as_ac_Header'}
|
| + $as_echo "$as_val"'` = yes; then
|
| + cat >>confdefs.h <<_ACEOF
|
| +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
| +_ACEOF
|
|
|
| +fi
|
|
|
| +done
|
|
|
|
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
| -$as_echo_n "checking for -single_module linker flag... " >&6; }
|
| -if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - lt_cv_apple_cc_single_mod=no
|
| - if test -z "${LT_MULTI_MODULE}"; then
|
| - # By default we will add the -single_module flag. You can override
|
| - # by either setting the environment variable LT_MULTI_MODULE
|
| - # non-empty at configure time, or by adding -multi_module to the
|
| - # link flags.
|
| - rm -rf libconftest.dylib*
|
| - echo "int foo(void){return 1;}" > conftest.c
|
| - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
| --dynamiclib -Wl,-single_module conftest.c" >&5
|
| - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
| - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
| - _lt_result=$?
|
| - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
|
| - lt_cv_apple_cc_single_mod=yes
|
| - else
|
| - cat conftest.err >&5
|
| - fi
|
| - rm -rf libconftest.dylib*
|
| - rm -f conftest.*
|
| - fi
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
| -$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
| -$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
| -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
|
| +for ac_header in dlfcn.h
|
| +do
|
| +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
| +$as_echo_n "checking for $ac_header... " >&6; }
|
| +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - lt_cv_ld_exported_symbols_list=no
|
| - save_LDFLAGS=$LDFLAGS
|
| - echo "_main" > conftest.sym
|
| - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| +$ac_includes_default
|
|
|
| -int
|
| -main ()
|
| -{
|
| -
|
| - ;
|
| - return 0;
|
| -}
|
| +#include <$ac_header>
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - lt_cv_ld_exported_symbols_list=yes
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + eval "$as_ac_Header=yes"
|
| else
|
| - lt_cv_ld_exported_symbols_list=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| - LDFLAGS="$save_LDFLAGS"
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + eval "$as_ac_Header=no"
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
| -$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
| - case $host_os in
|
| - rhapsody* | darwin1.[012])
|
| - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
| - darwin1.*)
|
| - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
| - darwin*) # darwin 5.x on
|
| - # if running on 10.5 or later, the deployment target defaults
|
| - # to the OS version, if on x86, and 10.4, the deployment
|
| - # target defaults to 10.4. Don't you love it?
|
| - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
| - 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
| - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
| - 10.[012]*)
|
| - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
| - 10.*)
|
| - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
| - esac
|
| - ;;
|
| - esac
|
| - if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
| - _lt_dar_single_mod='$single_module'
|
| - fi
|
| - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
|
| - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
| - else
|
| - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
| - fi
|
| - if test "$DSYMUTIL" != ":"; then
|
| - _lt_dsymutil='~$DSYMUTIL $lib || :'
|
| - else
|
| - _lt_dsymutil=
|
| - fi
|
| - ;;
|
| - esac
|
|
|
| -for ac_header in dlfcn.h
|
| -do :
|
| - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
| -"
|
| -if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +fi
|
| +ac_res=`eval 'as_val=${'$as_ac_Header'}
|
| + $as_echo "$as_val"'`
|
| + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
| +$as_echo "$ac_res" >&6; }
|
| +if test `eval 'as_val=${'$as_ac_Header'}
|
| + $as_echo "$as_val"'` = yes; then
|
| cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_DLFCN_H 1
|
| +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
| _ACEOF
|
|
|
| fi
|
| @@ -7577,9 +6342,11 @@ done
|
| enable_dlopen=no
|
|
|
|
|
| + enable_win32_dll=no
|
| +
|
|
|
| # Check whether --enable-shared was given.
|
| -if test "${enable_shared+set}" = set; then :
|
| +if test "${enable_shared+set}" = set; then
|
| enableval=$enable_shared; p=${PACKAGE-default}
|
| case $enableval in
|
| yes) enable_shared=yes ;;
|
| @@ -7610,7 +6377,7 @@ fi
|
|
|
|
|
| # Check whether --enable-static was given.
|
| -if test "${enable_static+set}" = set; then :
|
| +if test "${enable_static+set}" = set; then
|
| enableval=$enable_static; p=${PACKAGE-default}
|
| case $enableval in
|
| yes) enable_static=yes ;;
|
| @@ -7642,7 +6409,7 @@ fi
|
|
|
|
|
| # Check whether --with-pic was given.
|
| -if test "${with_pic+set}" = set; then :
|
| +if test "${with_pic+set}" = set; then
|
| withval=$with_pic; pic_mode="$withval"
|
| else
|
| pic_mode=default
|
| @@ -7658,7 +6425,7 @@ test -z "$pic_mode" && pic_mode=default
|
|
|
|
|
| # Check whether --enable-fast-install was given.
|
| -if test "${enable_fast_install+set}" = set; then :
|
| +if test "${enable_fast_install+set}" = set; then
|
| enableval=$enable_fast_install; p=${PACKAGE-default}
|
| case $enableval in
|
| yes) enable_fast_install=yes ;;
|
| @@ -7739,9 +6506,9 @@ if test -n "${ZSH_VERSION+set}" ; then
|
| setopt NO_GLOB_SUBST
|
| fi
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
|
| $as_echo_n "checking for objdir... " >&6; }
|
| -if test "${lt_cv_objdir+set}" = set; then :
|
| +if test "${lt_cv_objdir+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| rm -f .libs 2>/dev/null
|
| @@ -7754,7 +6521,7 @@ else
|
| fi
|
| rmdir .libs 2>/dev/null
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
|
| $as_echo "$lt_cv_objdir" >&6; }
|
| objdir=$lt_cv_objdir
|
|
|
| @@ -7847,9 +6614,9 @@ test -z "$MAGIC_CMD" && MAGIC_CMD=file
|
| case $deplibs_check_method in
|
| file_magic*)
|
| if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
|
| $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
|
| -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
|
| +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| case $MAGIC_CMD in
|
| @@ -7900,10 +6667,10 @@ fi
|
|
|
| MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
| if test -n "$MAGIC_CMD"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
|
| $as_echo "$MAGIC_CMD" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -7913,9 +6680,9 @@ fi
|
|
|
| if test -z "$lt_cv_path_MAGIC_CMD"; then
|
| if test -n "$ac_tool_prefix"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for file" >&5
|
| $as_echo_n "checking for file... " >&6; }
|
| -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
|
| +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| case $MAGIC_CMD in
|
| @@ -7966,10 +6733,10 @@ fi
|
|
|
| MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
| if test -n "$MAGIC_CMD"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
|
| $as_echo "$MAGIC_CMD" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
| @@ -8046,9 +6813,9 @@ lt_prog_compiler_no_builtin_flag=
|
| if test "$GCC" = yes; then
|
| lt_prog_compiler_no_builtin_flag=' -fno-builtin'
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
| + { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
| $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
| -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
|
| +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| lt_cv_prog_compiler_rtti_exceptions=no
|
| @@ -8064,11 +6831,11 @@ else
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:8067: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:6834: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>conftest.err)
|
| ac_status=$?
|
| cat conftest.err >&5
|
| - echo "$as_me:8071: \$? = $ac_status" >&5
|
| + echo "$as_me:6838: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s "$ac_outfile"; then
|
| # The compiler can only warn and ignore the option if not recognized
|
| # So say no if there are warnings other than the usual output.
|
| @@ -8081,7 +6848,7 @@ else
|
| $RM conftest*
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
| $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
|
|
| if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
|
| @@ -8101,7 +6868,7 @@ fi
|
| lt_prog_compiler_pic=
|
| lt_prog_compiler_static=
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
|
| $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
|
|
| if test "$GCC" = yes; then
|
| @@ -8233,7 +7000,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
| lt_prog_compiler_static='-non_shared'
|
| ;;
|
|
|
| - linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
| + linux* | k*bsd*-gnu)
|
| case $cc_basename in
|
| # old Intel for x86_64 which still supported -KPIC.
|
| ecc*)
|
| @@ -8373,7 +7140,7 @@ case $host_os in
|
| lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
|
| ;;
|
| esac
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
|
| $as_echo "$lt_prog_compiler_pic" >&6; }
|
|
|
|
|
| @@ -8385,9 +7152,9 @@ $as_echo "$lt_prog_compiler_pic" >&6; }
|
| # Check to make sure the PIC flag actually works.
|
| #
|
| if test -n "$lt_prog_compiler_pic"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
| + { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
| $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
| -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
|
| +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| lt_cv_prog_compiler_pic_works=no
|
| @@ -8403,11 +7170,11 @@ else
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:8406: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:7173: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>conftest.err)
|
| ac_status=$?
|
| cat conftest.err >&5
|
| - echo "$as_me:8410: \$? = $ac_status" >&5
|
| + echo "$as_me:7177: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s "$ac_outfile"; then
|
| # The compiler can only warn and ignore the option if not recognized
|
| # So say no if there are warnings other than the usual output.
|
| @@ -8420,7 +7187,7 @@ else
|
| $RM conftest*
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
|
| $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
|
|
|
| if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
|
| @@ -8444,9 +7211,9 @@ fi
|
| # Check to make sure the static flag actually works.
|
| #
|
| wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
| $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
| -if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
|
| +if test "${lt_cv_prog_compiler_static_works+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| lt_cv_prog_compiler_static_works=no
|
| @@ -8472,7 +7239,7 @@ else
|
| LDFLAGS="$save_LDFLAGS"
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
|
| $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
|
|
|
| if test x"$lt_cv_prog_compiler_static_works" = xyes; then
|
| @@ -8487,9 +7254,9 @@ fi
|
|
|
|
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
| + { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
| $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
| -if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
|
| +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| lt_cv_prog_compiler_c_o=no
|
| @@ -8508,11 +7275,11 @@ else
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:8511: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:7278: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>out/conftest.err)
|
| ac_status=$?
|
| cat out/conftest.err >&5
|
| - echo "$as_me:8515: \$? = $ac_status" >&5
|
| + echo "$as_me:7282: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
| then
|
| # The compiler can only warn and ignore the option if not recognized
|
| @@ -8534,7 +7301,7 @@ else
|
| $RM conftest*
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
|
| $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
|
|
|
|
| @@ -8542,9 +7309,9 @@ $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
|
|
|
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
| + { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
| $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
| -if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
|
| +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| lt_cv_prog_compiler_c_o=no
|
| @@ -8563,11 +7330,11 @@ else
|
| -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
| -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
| -e 's:$: $lt_compiler_flag:'`
|
| - (eval echo "\"\$as_me:8566: $lt_compile\"" >&5)
|
| + (eval echo "\"\$as_me:7333: $lt_compile\"" >&5)
|
| (eval "$lt_compile" 2>out/conftest.err)
|
| ac_status=$?
|
| cat out/conftest.err >&5
|
| - echo "$as_me:8570: \$? = $ac_status" >&5
|
| + echo "$as_me:7337: \$? = $ac_status" >&5
|
| if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
| then
|
| # The compiler can only warn and ignore the option if not recognized
|
| @@ -8589,7 +7356,7 @@ else
|
| $RM conftest*
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
|
| $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
|
|
|
|
| @@ -8598,7 +7365,7 @@ $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
| hard_links="nottested"
|
| if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
|
| # do not overwrite the value of need_locks provided by the user
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
| + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
|
| $as_echo_n "checking if we can lock with hard links... " >&6; }
|
| hard_links=yes
|
| $RM conftest*
|
| @@ -8606,10 +7373,10 @@ $as_echo_n "checking if we can lock with hard links... " >&6; }
|
| touch conftest.a
|
| ln conftest.a conftest.b 2>&5 || hard_links=no
|
| ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
|
| $as_echo "$hard_links" >&6; }
|
| if test "$hard_links" = no; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
| + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
| $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
| need_locks=warn
|
| fi
|
| @@ -8622,7 +7389,7 @@ fi
|
|
|
|
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
| + { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
| $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
|
|
| runpath_var=
|
| @@ -8682,9 +7449,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
|
| openbsd*)
|
| with_gnu_ld=no
|
| ;;
|
| - linux* | k*bsd*-gnu)
|
| - link_all_deplibs=no
|
| - ;;
|
| esac
|
|
|
| ld_shlibs=yes
|
| @@ -8706,7 +7470,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
|
| fi
|
| supports_anon_versioning=no
|
| case `$LD -v 2>&1` in
|
| - *GNU\ gold*) supports_anon_versioning=yes ;;
|
| *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
|
| *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
| *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
|
| @@ -8798,7 +7561,7 @@ _LT_EOF
|
| archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
| ;;
|
|
|
| - gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
| + gnu* | linux* | tpf* | k*bsd*-gnu)
|
| tmp_diet=no
|
| if test "$host_os" = linux-dietlibc; then
|
| case $cc_basename in
|
| @@ -8868,7 +7631,7 @@ _LT_EOF
|
| fi
|
| ;;
|
|
|
| - netbsd* | netbsdelf*-gnu)
|
| + netbsd*)
|
| if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
| archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
| wlarc=
|
| @@ -9043,7 +7806,6 @@ _LT_EOF
|
| if test "$aix_use_runtimelinking" = yes; then
|
| shared_flag="$shared_flag "'${wl}-G'
|
| fi
|
| - link_all_deplibs=no
|
| else
|
| # not using gcc
|
| if test "$host_cpu" = ia64; then
|
| @@ -9069,7 +7831,11 @@ _LT_EOF
|
| allow_undefined_flag='-berok'
|
| # Determine the default libpath from the value encoded in an
|
| # empty executable.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| int
|
| @@ -9080,7 +7846,27 @@ main ()
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
|
|
| lt_aix_libpath_sed='
|
| /Import File Strings/,/^$/ {
|
| @@ -9094,9 +7880,16 @@ aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpat
|
| if test -z "$aix_libpath"; then
|
| aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
| fi
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| +
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
| hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
| @@ -9109,7 +7902,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
| else
|
| # Determine the default libpath from the value encoded in an
|
| # empty executable.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| int
|
| @@ -9120,7 +7917,27 @@ main ()
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
|
|
| lt_aix_libpath_sed='
|
| /Import File Strings/,/^$/ {
|
| @@ -9134,9 +7951,16 @@ aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpat
|
| if test -z "$aix_libpath"; then
|
| aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
| fi
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| +
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
| hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
| @@ -9348,16 +8172,42 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
| # implicitly export all symbols.
|
| save_LDFLAGS="$LDFLAGS"
|
| LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| int foo(void) {}
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
|
|
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| +
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| LDFLAGS="$save_LDFLAGS"
|
| else
|
| archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
|
| @@ -9370,7 +8220,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
| link_all_deplibs=yes
|
| ;;
|
|
|
| - netbsd* | netbsdelf*-gnu)
|
| + netbsd*)
|
| if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
| archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
| else
|
| @@ -9613,7 +8463,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
| fi
|
| fi
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
|
| $as_echo "$ld_shlibs" >&6; }
|
| test "$ld_shlibs" = no && can_build_shared=no
|
|
|
| @@ -9650,16 +8500,16 @@ x|xyes)
|
| # Test whether the compiler implicitly links with -lc since on some
|
| # systems, -lgcc has to come before -lc. If gcc already passes -lc
|
| # to ld, don't add -lc before -lgcc.
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
| + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
| $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
| $RM conftest*
|
| echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
| + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
| (eval $ac_compile) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } 2>conftest.err; then
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } 2>conftest.err; then
|
| soname=conftest
|
| lib=conftest
|
| libobjs=conftest.$ac_objext
|
| @@ -9673,11 +8523,11 @@ $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
| libname=conftest
|
| lt_save_allow_undefined_flag=$allow_undefined_flag
|
| allow_undefined_flag=
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
| + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
|
| (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; }
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); }
|
| then
|
| archive_cmds_need_lc=no
|
| else
|
| @@ -9688,7 +8538,7 @@ $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
| cat conftest.err 1>&5
|
| fi
|
| $RM conftest*
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
|
| + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
|
| $as_echo "$archive_cmds_need_lc" >&6; }
|
| ;;
|
| esac
|
| @@ -9852,7 +8702,7 @@ esac
|
|
|
|
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
| + { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
|
| $as_echo_n "checking dynamic linker characteristics... " >&6; }
|
|
|
| if test "$GCC" = yes; then
|
| @@ -10116,7 +8966,14 @@ freebsd* | dragonfly*)
|
| *) objformat=elf ;;
|
| esac
|
| fi
|
| - version_type=freebsd-$objformat
|
| + # Handle Gentoo/FreeBSD as it was Linux
|
| + case $host_vendor in
|
| + gentoo)
|
| + version_type=linux ;;
|
| + *)
|
| + version_type=freebsd-$objformat ;;
|
| + esac
|
| +
|
| case $version_type in
|
| freebsd-elf*)
|
| library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
| @@ -10127,6 +8984,12 @@ freebsd* | dragonfly*)
|
| library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
|
| need_version=yes
|
| ;;
|
| + linux)
|
| + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
| + soname_spec='${libname}${release}${shared_ext}$major'
|
| + need_lib_prefix=no
|
| + need_version=no
|
| + ;;
|
| esac
|
| shlibpath_var=LD_LIBRARY_PATH
|
| case $host_os in
|
| @@ -10260,7 +9123,7 @@ linux*oldld* | linux*aout* | linux*coff*)
|
| ;;
|
|
|
| # This must be Linux ELF.
|
| -linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
| +linux* | k*bsd*-gnu)
|
| version_type=linux
|
| need_lib_prefix=no
|
| need_version=no
|
| @@ -10274,7 +9137,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
| save_libdir=$libdir
|
| eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
|
| LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| int
|
| @@ -10285,13 +9152,41 @@ main ()
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
|
| shlibpath_overrides_runpath=yes
|
| fi
|
| +
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| +
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| LDFLAGS=$save_LDFLAGS
|
| libdir=$save_libdir
|
|
|
| @@ -10315,18 +9210,6 @@ rm -f core conftest.err conftest.$ac_objext \
|
| dynamic_linker='GNU/Linux ld.so'
|
| ;;
|
|
|
| -netbsdelf*-gnu)
|
| - version_type=linux
|
| - need_lib_prefix=no
|
| - need_version=no
|
| - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
| - soname_spec='${libname}${release}${shared_ext}$major'
|
| - shlibpath_var=LD_LIBRARY_PATH
|
| - shlibpath_overrides_runpath=no
|
| - hardcode_into_libs=yes
|
| - dynamic_linker='NetBSD ld.elf_so'
|
| - ;;
|
| -
|
| netbsd*)
|
| version_type=sunos
|
| need_lib_prefix=no
|
| @@ -10515,7 +9398,7 @@ uts4*)
|
| dynamic_linker=no
|
| ;;
|
| esac
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
|
| $as_echo "$dynamic_linker" >&6; }
|
| test "$dynamic_linker" = no && can_build_shared=no
|
|
|
| @@ -10617,7 +9500,7 @@ fi
|
|
|
|
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
| + { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
|
| $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
| hardcode_action=
|
| if test -n "$hardcode_libdir_flag_spec" ||
|
| @@ -10642,7 +9525,7 @@ else
|
| # directories.
|
| hardcode_action=unsupported
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
|
| $as_echo "$hardcode_action" >&6; }
|
|
|
| if test "$hardcode_action" = relink ||
|
| @@ -10687,14 +9570,18 @@ else
|
|
|
| darwin*)
|
| # if libdl is installed we need to link against it
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
|
| $as_echo_n "checking for dlopen in -ldl... " >&6; }
|
| -if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
|
| +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| ac_check_lib_save_LIBS=$LIBS
|
| LIBS="-ldl $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| /* Override any GCC internal prototype to avoid an error.
|
| @@ -10712,18 +9599,43 @@ return dlopen ();
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| ac_cv_lib_dl_dlopen=yes
|
| else
|
| - ac_cv_lib_dl_dlopen=no
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_cv_lib_dl_dlopen=no
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| LIBS=$ac_check_lib_save_LIBS
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
|
| $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
| -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
|
| +if test $ac_cv_lib_dl_dlopen = yes; then
|
| lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
| else
|
|
|
| @@ -10736,18 +9648,106 @@ fi
|
| ;;
|
|
|
| *)
|
| - ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
|
| -if test "x$ac_cv_func_shl_load" = x""yes; then :
|
| + { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
|
| +$as_echo_n "checking for shl_load... " >&6; }
|
| +if test "${ac_cv_func_shl_load+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
|
| + For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
| +#define shl_load innocuous_shl_load
|
| +
|
| +/* System header to define __stub macros and hopefully few prototypes,
|
| + which can conflict with char shl_load (); below.
|
| + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| + <limits.h> exists even on freestanding compilers. */
|
| +
|
| +#ifdef __STDC__
|
| +# include <limits.h>
|
| +#else
|
| +# include <assert.h>
|
| +#endif
|
| +
|
| +#undef shl_load
|
| +
|
| +/* Override any GCC internal prototype to avoid an error.
|
| + Use char because int might match the return type of a GCC
|
| + builtin and then its argument prototype would still apply. */
|
| +#ifdef __cplusplus
|
| +extern "C"
|
| +#endif
|
| +char shl_load ();
|
| +/* The GNU C library defines this for functions which it implements
|
| + to always fail with ENOSYS. Some functions are actually named
|
| + something starting with __ and the normal name is an alias. */
|
| +#if defined __stub_shl_load || defined __stub___shl_load
|
| +choke me
|
| +#endif
|
| +
|
| +int
|
| +main ()
|
| +{
|
| +return shl_load ();
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| + ac_cv_func_shl_load=yes
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_cv_func_shl_load=no
|
| +fi
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
|
| +$as_echo "$ac_cv_func_shl_load" >&6; }
|
| +if test $ac_cv_func_shl_load = yes; then
|
| lt_cv_dlopen="shl_load"
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
|
| $as_echo_n "checking for shl_load in -ldld... " >&6; }
|
| -if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
|
| +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| ac_check_lib_save_LIBS=$LIBS
|
| LIBS="-ldld $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| /* Override any GCC internal prototype to avoid an error.
|
| @@ -10765,32 +9765,145 @@ return shl_load ();
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| ac_cv_lib_dld_shl_load=yes
|
| else
|
| - ac_cv_lib_dld_shl_load=no
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_cv_lib_dld_shl_load=no
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| LIBS=$ac_check_lib_save_LIBS
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
|
| $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
| -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
|
| +if test $ac_cv_lib_dld_shl_load = yes; then
|
| lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
|
| else
|
| - ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
|
| -if test "x$ac_cv_func_dlopen" = x""yes; then :
|
| + { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
|
| +$as_echo_n "checking for dlopen... " >&6; }
|
| +if test "${ac_cv_func_dlopen+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
|
| + For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
| +#define dlopen innocuous_dlopen
|
| +
|
| +/* System header to define __stub macros and hopefully few prototypes,
|
| + which can conflict with char dlopen (); below.
|
| + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| + <limits.h> exists even on freestanding compilers. */
|
| +
|
| +#ifdef __STDC__
|
| +# include <limits.h>
|
| +#else
|
| +# include <assert.h>
|
| +#endif
|
| +
|
| +#undef dlopen
|
| +
|
| +/* Override any GCC internal prototype to avoid an error.
|
| + Use char because int might match the return type of a GCC
|
| + builtin and then its argument prototype would still apply. */
|
| +#ifdef __cplusplus
|
| +extern "C"
|
| +#endif
|
| +char dlopen ();
|
| +/* The GNU C library defines this for functions which it implements
|
| + to always fail with ENOSYS. Some functions are actually named
|
| + something starting with __ and the normal name is an alias. */
|
| +#if defined __stub_dlopen || defined __stub___dlopen
|
| +choke me
|
| +#endif
|
| +
|
| +int
|
| +main ()
|
| +{
|
| +return dlopen ();
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| + ac_cv_func_dlopen=yes
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_cv_func_dlopen=no
|
| +fi
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
|
| +$as_echo "$ac_cv_func_dlopen" >&6; }
|
| +if test $ac_cv_func_dlopen = yes; then
|
| lt_cv_dlopen="dlopen"
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
|
| $as_echo_n "checking for dlopen in -ldl... " >&6; }
|
| -if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
|
| +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| ac_check_lib_save_LIBS=$LIBS
|
| LIBS="-ldl $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| /* Override any GCC internal prototype to avoid an error.
|
| @@ -10808,28 +9921,57 @@ return dlopen ();
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| ac_cv_lib_dl_dlopen=yes
|
| else
|
| - ac_cv_lib_dl_dlopen=no
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_cv_lib_dl_dlopen=no
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| LIBS=$ac_check_lib_save_LIBS
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
|
| $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
| -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
|
| +if test $ac_cv_lib_dl_dlopen = yes; then
|
| lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
|
| $as_echo_n "checking for dlopen in -lsvld... " >&6; }
|
| -if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
|
| +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| ac_check_lib_save_LIBS=$LIBS
|
| LIBS="-lsvld $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| /* Override any GCC internal prototype to avoid an error.
|
| @@ -10847,28 +9989,57 @@ return dlopen ();
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| ac_cv_lib_svld_dlopen=yes
|
| else
|
| - ac_cv_lib_svld_dlopen=no
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_cv_lib_svld_dlopen=no
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| LIBS=$ac_check_lib_save_LIBS
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
|
| $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
|
| -if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
|
| +if test $ac_cv_lib_svld_dlopen = yes; then
|
| lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
|
| $as_echo_n "checking for dld_link in -ldld... " >&6; }
|
| -if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
|
| +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| ac_check_lib_save_LIBS=$LIBS
|
| LIBS="-ldld $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| /* Override any GCC internal prototype to avoid an error.
|
| @@ -10886,18 +10057,43 @@ return dld_link ();
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| ac_cv_lib_dld_dld_link=yes
|
| else
|
| - ac_cv_lib_dld_dld_link=no
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_cv_lib_dld_dld_link=no
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| +
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| LIBS=$ac_check_lib_save_LIBS
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
|
| $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
|
| -if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
|
| +if test $ac_cv_lib_dld_dld_link = yes; then
|
| lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
|
| fi
|
|
|
| @@ -10936,9 +10132,9 @@ fi
|
| save_LIBS="$LIBS"
|
| LIBS="$lt_cv_dlopen_libs $LIBS"
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
| + { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
|
| $as_echo_n "checking whether a program can dlopen itself... " >&6; }
|
| -if test "${lt_cv_dlopen_self+set}" = set; then :
|
| +if test "${lt_cv_dlopen_self+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test "$cross_compiling" = yes; then :
|
| @@ -10947,7 +10143,7 @@ else
|
| lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
| lt_status=$lt_dlunknown
|
| cat > conftest.$ac_ext <<_LT_EOF
|
| -#line 10950 "configure"
|
| +#line 10146 "configure"
|
| #include "confdefs.h"
|
|
|
| #if HAVE_DLFCN_H
|
| @@ -11006,11 +10202,11 @@ int main ()
|
| return status;
|
| }
|
| _LT_EOF
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
| + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
| (eval $ac_link) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
|
| (./conftest; exit; ) >&5 2>/dev/null
|
| lt_status=$?
|
| case x$lt_status in
|
| @@ -11027,14 +10223,14 @@ rm -fr conftest*
|
|
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
|
| $as_echo "$lt_cv_dlopen_self" >&6; }
|
|
|
| if test "x$lt_cv_dlopen_self" = xyes; then
|
| wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
| + { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
|
| $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
|
| -if test "${lt_cv_dlopen_self_static+set}" = set; then :
|
| +if test "${lt_cv_dlopen_self_static+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| if test "$cross_compiling" = yes; then :
|
| @@ -11043,7 +10239,7 @@ else
|
| lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
| lt_status=$lt_dlunknown
|
| cat > conftest.$ac_ext <<_LT_EOF
|
| -#line 11046 "configure"
|
| +#line 10242 "configure"
|
| #include "confdefs.h"
|
|
|
| #if HAVE_DLFCN_H
|
| @@ -11102,11 +10298,11 @@ int main ()
|
| return status;
|
| }
|
| _LT_EOF
|
| - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
| + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
| (eval $ac_link) 2>&5
|
| ac_status=$?
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
| - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
|
| (./conftest; exit; ) >&5 2>/dev/null
|
| lt_status=$?
|
| case x$lt_status in
|
| @@ -11123,7 +10319,7 @@ rm -fr conftest*
|
|
|
|
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
| +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
|
| $as_echo "$lt_cv_dlopen_self_static" >&6; }
|
| fi
|
|
|
| @@ -11162,12 +10358,12 @@ fi
|
|
|
| striplib=
|
| old_striplib=
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
| +{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
|
| $as_echo_n "checking whether stripping libraries is possible... " >&6; }
|
| if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
| test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
| test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| + { $as_echo "$as_me:$LINENO: result: yes" >&5
|
| $as_echo "yes" >&6; }
|
| else
|
| # FIXME - insert some real tests, host_os isn't really good enough
|
| @@ -11176,15 +10372,15 @@ else
|
| if test -n "$STRIP" ; then
|
| striplib="$STRIP -x"
|
| old_striplib="$STRIP -S"
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| + { $as_echo "$as_me:$LINENO: result: yes" >&5
|
| $as_echo "yes" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
| ;;
|
| *)
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| ;;
|
| esac
|
| @@ -11201,775 +10397,343 @@ fi
|
|
|
|
|
|
|
| - # Report which library types will actually be built
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
| -$as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
| -$as_echo "$can_build_shared" >&6; }
|
| -
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
| -$as_echo_n "checking whether to build shared libraries... " >&6; }
|
| - test "$can_build_shared" = "no" && enable_shared=no
|
| -
|
| - # On AIX, shared libraries and static libraries use the same namespace, and
|
| - # are all built from PIC.
|
| - case $host_os in
|
| - aix3*)
|
| - test "$enable_shared" = yes && enable_static=no
|
| - if test -n "$RANLIB"; then
|
| - archive_cmds="$archive_cmds~\$RANLIB \$lib"
|
| - postinstall_cmds='$RANLIB $lib'
|
| - fi
|
| - ;;
|
| -
|
| - aix[4-9]*)
|
| - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
|
| - test "$enable_shared" = yes && enable_static=no
|
| - fi
|
| - ;;
|
| - esac
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
| -$as_echo "$enable_shared" >&6; }
|
| -
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
| -$as_echo_n "checking whether to build static libraries... " >&6; }
|
| - # Make sure either enable_shared or enable_static is yes.
|
| - test "$enable_shared" = yes || enable_static=yes
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
| -$as_echo "$enable_static" >&6; }
|
| -
|
| -
|
| -
|
| -
|
| -fi
|
| -ac_ext=c
|
| -ac_cpp='$CPP $CPPFLAGS'
|
| -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| -ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| -
|
| -CC="$lt_save_CC"
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| - ac_config_commands="$ac_config_commands libtool"
|
| -
|
| -
|
| -
|
| -
|
| -# Only expand once:
|
| -
|
| -
|
| -
|
| -VERSION_SCRIPT_FLAGS=
|
| -# lt_cv_prog_gnu_ld is from libtool 2.+
|
| -if test "$lt_cv_prog_gnu_ld" = yes; then
|
| - VERSION_SCRIPT_FLAGS=-Wl,--version-script=
|
| -else
|
| - case $host in
|
| - *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
|
| - esac
|
| -fi
|
| -
|
| - if test -n "$VERSION_SCRIPT_FLAGS"; then
|
| - USE_VERSION_SCRIPT_TRUE=
|
| - USE_VERSION_SCRIPT_FALSE='#'
|
| -else
|
| - USE_VERSION_SCRIPT_TRUE='#'
|
| - USE_VERSION_SCRIPT_FALSE=
|
| -fi
|
| -
|
| -
|
| -
|
| -_cppflags="${CPPFLAGS}"
|
| -_ldflags="${LDFLAGS}"
|
| -
|
| -
|
| -# Check whether --with-c14n was given.
|
| -if test "${with_c14n+set}" = set; then :
|
| - withval=$with_c14n;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-catalog was given.
|
| -if test "${with_catalog+set}" = set; then :
|
| - withval=$with_catalog;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-debug was given.
|
| -if test "${with_debug+set}" = set; then :
|
| - withval=$with_debug;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-docbook was given.
|
| -if test "${with_docbook+set}" = set; then :
|
| - withval=$with_docbook;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-fexceptions was given.
|
| -if test "${with_fexceptions+set}" = set; then :
|
| - withval=$with_fexceptions;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-ftp was given.
|
| -if test "${with_ftp+set}" = set; then :
|
| - withval=$with_ftp;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-history was given.
|
| -if test "${with_history+set}" = set; then :
|
| - withval=$with_history;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-html was given.
|
| -if test "${with_html+set}" = set; then :
|
| - withval=$with_html;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-html-dir was given.
|
| -if test "${with_html_dir+set}" = set; then :
|
| - withval=$with_html_dir; HTML_DIR=$withval
|
| -else
|
| - HTML_DIR='$(datadir)/doc'
|
| -fi
|
| -
|
| -
|
| -
|
| -# Check whether --with-html-subdir was given.
|
| -if test "${with_html_subdir+set}" = set; then :
|
| - withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
|
| -else
|
| - HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
|
| -fi
|
| -
|
| -
|
| -
|
| -# Check whether --with-http was given.
|
| -if test "${with_http+set}" = set; then :
|
| - withval=$with_http;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-iconv was given.
|
| -if test "${with_iconv+set}" = set; then :
|
| - withval=$with_iconv;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-iso8859x was given.
|
| -if test "${with_iso8859x+set}" = set; then :
|
| - withval=$with_iso8859x;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-legacy was given.
|
| -if test "${with_legacy+set}" = set; then :
|
| - withval=$with_legacy;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-mem_debug was given.
|
| -if test "${with_mem_debug+set}" = set; then :
|
| - withval=$with_mem_debug;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-minimum was given.
|
| -if test "${with_minimum+set}" = set; then :
|
| - withval=$with_minimum;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-output was given.
|
| -if test "${with_output+set}" = set; then :
|
| - withval=$with_output;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-pattern was given.
|
| -if test "${with_pattern+set}" = set; then :
|
| - withval=$with_pattern;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-push was given.
|
| -if test "${with_push+set}" = set; then :
|
| - withval=$with_push;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-python was given.
|
| -if test "${with_python+set}" = set; then :
|
| - withval=$with_python;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-reader was given.
|
| -if test "${with_reader+set}" = set; then :
|
| - withval=$with_reader;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-readline was given.
|
| -if test "${with_readline+set}" = set; then :
|
| - withval=$with_readline;
|
| - if test "$withval" != "no" -a "$withval" != "yes"; then
|
| - RDL_DIR=$withval
|
| - CPPFLAGS="${CPPFLAGS} -I$withval/include"
|
| - LDFLAGS="${LDFLAGS} -L$withval/lib"
|
| - fi
|
| -
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-regexps was given.
|
| -if test "${with_regexps+set}" = set; then :
|
| - withval=$with_regexps;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-run_debug was given.
|
| -if test "${with_run_debug+set}" = set; then :
|
| - withval=$with_run_debug;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-sax1 was given.
|
| -if test "${with_sax1+set}" = set; then :
|
| - withval=$with_sax1;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-schemas was given.
|
| -if test "${with_schemas+set}" = set; then :
|
| - withval=$with_schemas;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-schematron was given.
|
| -if test "${with_schematron+set}" = set; then :
|
| - withval=$with_schematron;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-threads was given.
|
| -if test "${with_threads+set}" = set; then :
|
| - withval=$with_threads;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-thread-alloc was given.
|
| -if test "${with_thread_alloc+set}" = set; then :
|
| - withval=$with_thread_alloc;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-tree was given.
|
| -if test "${with_tree+set}" = set; then :
|
| - withval=$with_tree;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-valid was given.
|
| -if test "${with_valid+set}" = set; then :
|
| - withval=$with_valid;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-writer was given.
|
| -if test "${with_writer+set}" = set; then :
|
| - withval=$with_writer;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-xinclude was given.
|
| -if test "${with_xinclude+set}" = set; then :
|
| - withval=$with_xinclude;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-xpath was given.
|
| -if test "${with_xpath+set}" = set; then :
|
| - withval=$with_xpath;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-xptr was given.
|
| -if test "${with_xptr+set}" = set; then :
|
| - withval=$with_xptr;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-modules was given.
|
| -if test "${with_modules+set}" = set; then :
|
| - withval=$with_modules;
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-zlib was given.
|
| -if test "${with_zlib+set}" = set; then :
|
| - withval=$with_zlib;
|
| - if test "$withval" != "no" -a "$withval" != "yes"; then
|
| - Z_DIR=$withval
|
| - CPPFLAGS="${CPPFLAGS} -I$withval/include"
|
| - LDFLAGS="${LDFLAGS} -L$withval/lib"
|
| - fi
|
| -
|
| -fi
|
| -
|
| -
|
| -# Check whether --with-coverage was given.
|
| -if test "${with_coverage+set}" = set; then :
|
| - withval=$with_coverage;
|
| -fi
|
| -
|
| -
|
| -# Check whether --enable-rebuild-docs was given.
|
| -if test "${enable_rebuild_docs+set}" = set; then :
|
| - enableval=$enable_rebuild_docs;
|
| -fi
|
| -
|
| - if test "$enable_rebuild_docs" = "no"; then
|
| - REBUILD_DOCS_TRUE=
|
| - REBUILD_DOCS_FALSE='#'
|
| -else
|
| - REBUILD_DOCS_TRUE='#'
|
| - REBUILD_DOCS_FALSE=
|
| -fi
|
| -
|
| -
|
| -if test "$with_schemas" = "yes"
|
| -then
|
| - with_pattern=yes
|
| - with_regexps=yes
|
| -fi
|
| -if test "$with_schematron" = "yes"
|
| -then
|
| - with_pattern=yes
|
| - with_xpath=yes
|
| -fi
|
| -if test "$with_reader" = "yes"
|
| -then
|
| - with_push=yes
|
| -fi
|
| -if test "$with_xptr" = "yes"
|
| -then
|
| - with_xpath=yes
|
| -fi
|
| -if test "$with_minimum" = "yes"
|
| -then
|
| - echo "Configuring for a minimal library"
|
| - if test "$with_c14n" = ""
|
| - then
|
| - with_c14n=no
|
| - fi
|
| - if test "$with_catalog" = ""
|
| - then
|
| - with_catalog=no
|
| - fi
|
| - echo So far so good!
|
| - if test "$with_debug" = ""
|
| - then
|
| - with_debug=no
|
| - fi
|
| - if test "$with_docbook" = ""
|
| - then
|
| - with_docbook=no
|
| - fi
|
| - if test "$with_fexceptions" = ""
|
| - then
|
| - with_fexceptions=no
|
| - fi
|
| - if test "$with_ftp" = ""
|
| - then
|
| - with_ftp=no
|
| - fi
|
| - if test "$with_history" = ""
|
| - then
|
| - with_history=no
|
| - fi
|
| - if test "$with_html" = ""
|
| - then
|
| - with_html=no
|
| - fi
|
| - if test "$with_http" = ""
|
| - then
|
| - with_http=no
|
| - fi
|
| - if test "$with_iconv" = ""
|
| - then
|
| - with_iconv=no
|
| - fi
|
| - if test "$with_iso8859x" = ""
|
| - then
|
| - with_iso8859x=no
|
| - fi
|
| - if test "$with_legacy" = ""
|
| - then
|
| - with_legacy=no
|
| - fi
|
| - if test "$with_mem_debug" = ""
|
| - then
|
| - with_mem_debug=no
|
| - fi
|
| - if test "$with_output" = ""
|
| - then
|
| - with_output=no
|
| - fi
|
| - if test "$with_pattern" = ""
|
| - then
|
| - with_pattern=no
|
| - fi
|
| - if test "$with_push" = ""
|
| - then
|
| - with_push=no
|
| - fi
|
| - if test "$with_python" = ""
|
| - then
|
| - with_python=no
|
| - fi
|
| - if test "$with_reader" = ""
|
| - then
|
| - with_reader=no
|
| - fi
|
| - if test "$with_readline" = ""
|
| - then
|
| - with_readline=no
|
| - fi
|
| - if test "$with_regexps" = ""
|
| - then
|
| - with_regexps=no
|
| - fi
|
| - if test "$with_run_debug" = ""
|
| - then
|
| - with_run_debug=no
|
| - fi
|
| - if test "$with_sax1" = ""
|
| - then
|
| - with_sax1=no
|
| - fi
|
| - if test "$with_schemas" = ""
|
| - then
|
| - with_schemas=no
|
| - fi
|
| - if test "$with_schematron" = ""
|
| - then
|
| - with_schematron=no
|
| - fi
|
| - if test "$with_threads" = ""
|
| - then
|
| - with_threads=no
|
| - fi
|
| - if test "$with_thread_alloc" = ""
|
| - then
|
| - with_thread_alloc=no
|
| - fi
|
| - if test "$with_tree" = ""
|
| - then
|
| - with_tree=no
|
| - fi
|
| - if test "$with_valid" = ""
|
| - then
|
| - with_valid=no
|
| - fi
|
| - if test "$with_writer" = ""
|
| - then
|
| - with_writer=no
|
| - fi
|
| - if test "$with_xinclude" = ""
|
| - then
|
| - with_xinclude=no
|
| - fi
|
| - if test "$with_xpath" = ""
|
| - then
|
| - with_xpath=no
|
| - fi
|
| - if test "$with_xptr" = ""
|
| - then
|
| - with_xptr=no
|
| - fi
|
| - if test "$with_zlib" = ""
|
| - then
|
| - with_zlib=no
|
| + # Report which library types will actually be built
|
| + { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
|
| +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
| + { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
|
| +$as_echo "$can_build_shared" >&6; }
|
| +
|
| + { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
|
| +$as_echo_n "checking whether to build shared libraries... " >&6; }
|
| + test "$can_build_shared" = "no" && enable_shared=no
|
| +
|
| + # On AIX, shared libraries and static libraries use the same namespace, and
|
| + # are all built from PIC.
|
| + case $host_os in
|
| + aix3*)
|
| + test "$enable_shared" = yes && enable_static=no
|
| + if test -n "$RANLIB"; then
|
| + archive_cmds="$archive_cmds~\$RANLIB \$lib"
|
| + postinstall_cmds='$RANLIB $lib'
|
| fi
|
| - if test "$with_modules" = ""
|
| - then
|
| - with_modules=no
|
| + ;;
|
| +
|
| + aix[4-9]*)
|
| + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
|
| + test "$enable_shared" = yes && enable_static=no
|
| fi
|
| -fi
|
| + ;;
|
| + esac
|
| + { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
|
| +$as_echo "$enable_shared" >&6; }
|
| +
|
| + { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
|
| +$as_echo_n "checking whether to build static libraries... " >&6; }
|
| + # Make sure either enable_shared or enable_static is yes.
|
| + test "$enable_shared" = yes || enable_static=yes
|
| + { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
|
| +$as_echo "$enable_static" >&6; }
|
|
|
| -echo Checking zlib
|
|
|
|
|
| -WITH_ZLIB=0
|
| -if test "$with_zlib" = "no"; then
|
| - echo "Disabling compression support"
|
| -else
|
| - for ac_header in zlib.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_zlib_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_ZLIB_H 1
|
| -_ACEOF
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
|
| -$as_echo_n "checking for gzread in -lz... " >&6; }
|
| -if test "${ac_cv_lib_z_gzread+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-lz $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
|
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char gzread ();
|
| -int
|
| -main ()
|
| -{
|
| -return gzread ();
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_lib_z_gzread=yes
|
| -else
|
| - ac_cv_lib_z_gzread=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
|
| -$as_echo "$ac_cv_lib_z_gzread" >&6; }
|
| -if test "x$ac_cv_lib_z_gzread" = x""yes; then :
|
| +ac_ext=c
|
| +ac_cpp='$CPP $CPPFLAGS'
|
| +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
| +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
| +ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| +
|
| +CC="$lt_save_CC"
|
|
|
|
|
| -$as_echo "#define HAVE_LIBZ 1" >>confdefs.h
|
|
|
| - WITH_ZLIB=1
|
| - if test "x${Z_DIR}" != "x"; then
|
| - Z_CFLAGS="-I${Z_DIR}/include"
|
| - Z_LIBS="-L${Z_DIR}/lib -lz"
|
| - case ${host} in
|
| - *-*-solaris*)
|
| - Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
|
| - ;;
|
| - esac
|
| - else
|
| - Z_LIBS="-lz"
|
| - fi
|
| -fi
|
|
|
| -fi
|
|
|
| -done
|
|
|
| -fi
|
|
|
|
|
|
|
|
|
|
|
| -CPPFLAGS=${_cppflags}
|
| -LDFLAGS=${_ldflags}
|
|
|
| -echo Checking headers
|
|
|
| -ac_header_dirent=no
|
| -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
| - as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
|
| -$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
|
| -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
|
| + ac_config_commands="$ac_config_commands libtool"
|
| +
|
| +
|
| +
|
| +
|
| +# Only expand once:
|
| +
|
| +
|
| +# Find a good install program. We prefer a C program (faster),
|
| +# so one script is as good as another. But avoid the broken or
|
| +# incompatible versions:
|
| +# SysV /etc/install, /usr/sbin/install
|
| +# SunOS /usr/etc/install
|
| +# IRIX /sbin/install
|
| +# AIX /bin/install
|
| +# AmigaOS /C/install, which installs bootblocks on floppy discs
|
| +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
| +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
| +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
| +# OS/2's system install, which has a completely different semantic
|
| +# ./install, which can be erroneously created by make from ./install.sh.
|
| +# Reject install programs that cannot install multiple files.
|
| +{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
| +$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
| +if test -z "$INSTALL"; then
|
| +if test "${ac_cv_path_install+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <sys/types.h>
|
| -#include <$ac_hdr>
|
| + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + # Account for people who put trailing slashes in PATH elements.
|
| +case $as_dir/ in
|
| + ./ | .// | /cC/* | \
|
| + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
| + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
| + /usr/ucb/* ) ;;
|
| + *)
|
| + # OSF1 and SCO ODT 3.0 have their own names for install.
|
| + # Don't use installbsd from OSF since it installs stuff as root
|
| + # by default.
|
| + for ac_prog in ginstall scoinst install; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
| + if test $ac_prog = install &&
|
| + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
| + # AIX install. It has an incompatible calling convention.
|
| + :
|
| + elif test $ac_prog = install &&
|
| + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
| + # program-specific install script used by HP pwplus--don't use.
|
| + :
|
| + else
|
| + rm -rf conftest.one conftest.two conftest.dir
|
| + echo one > conftest.one
|
| + echo two > conftest.two
|
| + mkdir conftest.dir
|
| + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
| + test -s conftest.one && test -s conftest.two &&
|
| + test -s conftest.dir/conftest.one &&
|
| + test -s conftest.dir/conftest.two
|
| + then
|
| + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
| + break 3
|
| + fi
|
| + fi
|
| + fi
|
| + done
|
| + done
|
| + ;;
|
| +esac
|
| +
|
| +done
|
| +IFS=$as_save_IFS
|
| +
|
| +rm -rf conftest.one conftest.two conftest.dir
|
|
|
| -int
|
| -main ()
|
| -{
|
| -if ((DIR *) 0)
|
| -return 0;
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - eval "$as_ac_Header=yes"
|
| -else
|
| - eval "$as_ac_Header=no"
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| + if test "${ac_cv_path_install+set}" = set; then
|
| + INSTALL=$ac_cv_path_install
|
| + else
|
| + # As a last resort, use the slow shell script. Don't cache a
|
| + # value for INSTALL within a source directory, because that will
|
| + # break other packages using the cache if that directory is
|
| + # removed, or if the value is a relative name.
|
| + INSTALL=$ac_install_sh
|
| + fi
|
| fi
|
| -eval ac_res=\$$as_ac_Header
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
| -$as_echo "$ac_res" >&6; }
|
| -eval as_val=\$$as_ac_Header
|
| - if test "x$as_val" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
| -_ACEOF
|
| +{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
| +$as_echo "$INSTALL" >&6; }
|
|
|
| -ac_header_dirent=$ac_hdr; break
|
| -fi
|
| +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
| +# It thinks the first close brace ends the variable substitution.
|
| +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|
|
| -done
|
| -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
| -if test $ac_header_dirent = dirent.h; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
| -$as_echo_n "checking for library containing opendir... " >&6; }
|
| -if test "${ac_cv_search_opendir+set}" = set; then :
|
| +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
| +
|
| +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
| +
|
| +for ac_prog in gawk mawk nawk awk
|
| +do
|
| + # Extract the first word of "$ac_prog", so it can be a program name with args.
|
| +set dummy $ac_prog; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_AWK+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_func_search_save_LIBS=$LIBS
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char opendir ();
|
| -int
|
| -main ()
|
| -{
|
| -return opendir ();
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -for ac_lib in '' dir; do
|
| - if test -z "$ac_lib"; then
|
| - ac_res="none required"
|
| - else
|
| - ac_res=-l$ac_lib
|
| - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
| + if test -n "$AWK"; then
|
| + ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_AWK="$ac_prog"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| fi
|
| - if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_search_opendir=$ac_res
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext
|
| - if test "${ac_cv_search_opendir+set}" = set; then :
|
| - break
|
| -fi
|
| done
|
| -if test "${ac_cv_search_opendir+set}" = set; then :
|
| +done
|
| +IFS=$as_save_IFS
|
|
|
| -else
|
| - ac_cv_search_opendir=no
|
| fi
|
| -rm conftest.$ac_ext
|
| -LIBS=$ac_func_search_save_LIBS
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
| -$as_echo "$ac_cv_search_opendir" >&6; }
|
| -ac_res=$ac_cv_search_opendir
|
| -if test "$ac_res" != no; then :
|
| - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
| +AWK=$ac_cv_prog_AWK
|
| +if test -n "$AWK"; then
|
| + { $as_echo "$as_me:$LINENO: result: $AWK" >&5
|
| +$as_echo "$AWK" >&6; }
|
| +else
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| +fi
|
| +
|
| +
|
| + test -n "$AWK" && break
|
| +done
|
|
|
| +
|
| +#########
|
| +# Enable large file support (if special flags are necessary)
|
| +#
|
| +# Check whether --enable-largefile was given.
|
| +if test "${enable_largefile+set}" = set; then
|
| + enableval=$enable_largefile;
|
| fi
|
|
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
| -$as_echo_n "checking for library containing opendir... " >&6; }
|
| -if test "${ac_cv_search_opendir+set}" = set; then :
|
| +if test "$enable_largefile" != no; then
|
| +
|
| + { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
|
| +$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
|
| +if test "${ac_cv_sys_largefile_CC+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_func_search_save_LIBS=$LIBS
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + ac_cv_sys_largefile_CC=no
|
| + if test "$GCC" != yes; then
|
| + ac_save_CC=$CC
|
| + while :; do
|
| + # IRIX 6.2 and later do not support large files by default,
|
| + # so use the C compiler's -n32 option if that helps.
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char opendir ();
|
| +#include <sys/types.h>
|
| + /* Check that off_t can represent 2**63 - 1 correctly.
|
| + We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
| + since some C++ compilers masquerading as C compilers
|
| + incorrectly reject 9223372036854775807. */
|
| +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
| + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
| + && LARGE_OFF_T % 2147483647 == 1)
|
| + ? 1 : -1];
|
| int
|
| main ()
|
| {
|
| -return opendir ();
|
| +
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -for ac_lib in '' x; do
|
| - if test -z "$ac_lib"; then
|
| - ac_res="none required"
|
| - else
|
| - ac_res=-l$ac_lib
|
| - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
| - fi
|
| - if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_search_opendir=$ac_res
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext
|
| - if test "${ac_cv_search_opendir+set}" = set; then :
|
| + rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| break
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| +
|
| fi
|
| -done
|
| -if test "${ac_cv_search_opendir+set}" = set; then :
|
|
|
| +rm -f core conftest.err conftest.$ac_objext
|
| + CC="$CC -n32"
|
| + rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_cv_sys_largefile_CC=' -n32'; break
|
| else
|
| - ac_cv_search_opendir=no
|
| -fi
|
| -rm conftest.$ac_ext
|
| -LIBS=$ac_func_search_save_LIBS
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
| -$as_echo "$ac_cv_search_opendir" >&6; }
|
| -ac_res=$ac_cv_search_opendir
|
| -if test "$ac_res" != no; then :
|
| - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
|
|
| fi
|
|
|
| +rm -f core conftest.err conftest.$ac_objext
|
| + break
|
| + done
|
| + CC=$ac_save_CC
|
| + rm -f conftest.$ac_ext
|
| + fi
|
| fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
|
| +$as_echo "$ac_cv_sys_largefile_CC" >&6; }
|
| + if test "$ac_cv_sys_largefile_CC" != no; then
|
| + CC=$CC$ac_cv_sys_largefile_CC
|
| + fi
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
| -$as_echo_n "checking for ANSI C header files... " >&6; }
|
| -if test "${ac_cv_header_stdc+set}" = set; then :
|
| + { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
| +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
|
| +if test "${ac_cv_sys_file_offset_bits+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + while :; do
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -#include <stdlib.h>
|
| -#include <stdarg.h>
|
| -#include <string.h>
|
| -#include <float.h>
|
| -
|
| +#include <sys/types.h>
|
| + /* Check that off_t can represent 2**63 - 1 correctly.
|
| + We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
| + since some C++ compilers masquerading as C compilers
|
| + incorrectly reject 9223372036854775807. */
|
| +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
| + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
| + && LARGE_OFF_T % 2147483647 == 1)
|
| + ? 1 : -1];
|
| int
|
| main ()
|
| {
|
| @@ -11978,1173 +10742,1439 @@ main ()
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - ac_cv_header_stdc=yes
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_cv_sys_file_offset_bits=no; break
|
| else
|
| - ac_cv_header_stdc=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| -
|
| -if test $ac_cv_header_stdc = yes; then
|
| - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <string.h>
|
| -
|
| -_ACEOF
|
| -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
| - $EGREP "memchr" >/dev/null 2>&1; then :
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -else
|
| - ac_cv_header_stdc=no
|
| -fi
|
| -rm -f conftest*
|
|
|
| fi
|
|
|
| -if test $ac_cv_header_stdc = yes; then
|
| - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -#include <stdlib.h>
|
| +#define _FILE_OFFSET_BITS 64
|
| +#include <sys/types.h>
|
| + /* Check that off_t can represent 2**63 - 1 correctly.
|
| + We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
| + since some C++ compilers masquerading as C compilers
|
| + incorrectly reject 9223372036854775807. */
|
| +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
| + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
| + && LARGE_OFF_T % 2147483647 == 1)
|
| + ? 1 : -1];
|
| +int
|
| +main ()
|
| +{
|
|
|
| + ;
|
| + return 0;
|
| +}
|
| _ACEOF
|
| -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
| - $EGREP "free" >/dev/null 2>&1; then :
|
| -
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_cv_sys_file_offset_bits=64; break
|
| else
|
| - ac_cv_header_stdc=no
|
| -fi
|
| -rm -f conftest*
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
|
|
| fi
|
|
|
| -if test $ac_cv_header_stdc = yes; then
|
| - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
| - if test "$cross_compiling" = yes; then :
|
| - :
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| + ac_cv_sys_file_offset_bits=unknown
|
| + break
|
| +done
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
|
| +$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
|
| +case $ac_cv_sys_file_offset_bits in #(
|
| + no | unknown) ;;
|
| + *)
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
|
| +_ACEOF
|
| +;;
|
| +esac
|
| +rm -rf conftest*
|
| + if test $ac_cv_sys_file_offset_bits = unknown; then
|
| + { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
|
| +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
|
| +if test "${ac_cv_sys_large_files+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| else
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + while :; do
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -#include <ctype.h>
|
| -#include <stdlib.h>
|
| -#if ((' ' & 0x0FF) == 0x020)
|
| -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
| -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
| -#else
|
| -# define ISLOWER(c) \
|
| - (('a' <= (c) && (c) <= 'i') \
|
| - || ('j' <= (c) && (c) <= 'r') \
|
| - || ('s' <= (c) && (c) <= 'z'))
|
| -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
| -#endif
|
| -
|
| -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
| +#include <sys/types.h>
|
| + /* Check that off_t can represent 2**63 - 1 correctly.
|
| + We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
| + since some C++ compilers masquerading as C compilers
|
| + incorrectly reject 9223372036854775807. */
|
| +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
| + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
| + && LARGE_OFF_T % 2147483647 == 1)
|
| + ? 1 : -1];
|
| int
|
| main ()
|
| {
|
| - int i;
|
| - for (i = 0; i < 256; i++)
|
| - if (XOR (islower (i), ISLOWER (i))
|
| - || toupper (i) != TOUPPER (i))
|
| - return 2;
|
| +
|
| + ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_run "$LINENO"; then :
|
| -
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_cv_sys_large_files=no; break
|
| else
|
| - ac_cv_header_stdc=no
|
| -fi
|
| -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
| - conftest.$ac_objext conftest.beam conftest.$ac_ext
|
| -fi
|
| -
|
| -fi
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
| -$as_echo "$ac_cv_header_stdc" >&6; }
|
| -if test $ac_cv_header_stdc = yes; then
|
| -
|
| -$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
| -
|
| -fi
|
| -
|
| -for ac_header in fcntl.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_fcntl_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_FCNTL_H 1
|
| -_ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -for ac_header in unistd.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_unistd_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_UNISTD_H 1
|
| -_ACEOF
|
|
|
| fi
|
|
|
| -done
|
| -
|
| -for ac_header in ctype.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_ctype_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_CTYPE_H 1
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| _ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#define _LARGE_FILES 1
|
| +#include <sys/types.h>
|
| + /* Check that off_t can represent 2**63 - 1 correctly.
|
| + We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
| + since some C++ compilers masquerading as C compilers
|
| + incorrectly reject 9223372036854775807. */
|
| +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
| + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
| + && LARGE_OFF_T % 2147483647 == 1)
|
| + ? 1 : -1];
|
| +int
|
| +main ()
|
| +{
|
|
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in dirent.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_dirent_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_DIRENT_H 1
|
| + ;
|
| + return 0;
|
| +}
|
| _ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_cv_sys_large_files=1; break
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in errno.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_errno_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_ERRNO_H 1
|
| -_ACEOF
|
|
|
| fi
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| + ac_cv_sys_large_files=unknown
|
| + break
|
| done
|
| -
|
| -for ac_header in malloc.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_malloc_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_MALLOC_H 1
|
| -_ACEOF
|
| -
|
| fi
|
| -
|
| -done
|
| -
|
| -for ac_header in stdarg.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_stdarg_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_STDARG_H 1
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
|
| +$as_echo "$ac_cv_sys_large_files" >&6; }
|
| +case $ac_cv_sys_large_files in #(
|
| + no | unknown) ;;
|
| + *)
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define _LARGE_FILES $ac_cv_sys_large_files
|
| _ACEOF
|
| -
|
| +;;
|
| +esac
|
| +rm -rf conftest*
|
| + fi
|
| fi
|
|
|
| -done
|
|
|
| -for ac_header in sys/stat.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_sys_stat_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_SYS_STAT_H 1
|
| +#########
|
| +# Check for needed/wanted data types
|
| +{ $as_echo "$as_me:$LINENO: checking for int8_t" >&5
|
| +$as_echo_n "checking for int8_t... " >&6; }
|
| +if test "${ac_cv_type_int8_t+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + ac_cv_type_int8_t=no
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| _ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in sys/types.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_sys_types_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_SYS_TYPES_H 1
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof (int8_t))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| _ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in stdint.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_stdint_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_STDINT_H 1
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| _ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in inttypes.h.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h.h" "ac_cv_header_inttypes_h_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_inttypes_h_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_INTTYPES_H_H 1
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof ((int8_t)))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| _ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + ac_cv_type_int8_t=yes
|
| fi
|
|
|
| -done
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -for ac_header in time.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_time_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_TIME_H 1
|
| -_ACEOF
|
|
|
| fi
|
|
|
| -done
|
| -
|
| -for ac_header in ansidecl.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_ansidecl_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_ANSIDECL_H 1
|
| -_ACEOF
|
| -
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
|
| +$as_echo "$ac_cv_type_int8_t" >&6; }
|
| +if test $ac_cv_type_int8_t = yes; then
|
|
|
| -done
|
| -
|
| -for ac_header in ieeefp.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_ieeefp_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_IEEEFP_H 1
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define HAVE_INT8_T 1
|
| _ACEOF
|
|
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in nan.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_nan_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_NAN_H 1
|
| -_ACEOF
|
|
|
| fi
|
| -
|
| -done
|
| -
|
| -for ac_header in math.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_math_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_MATH_H 1
|
| +{ $as_echo "$as_me:$LINENO: checking for int16_t" >&5
|
| +$as_echo_n "checking for int16_t... " >&6; }
|
| +if test "${ac_cv_type_int16_t+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + ac_cv_type_int16_t=no
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| _ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in limits.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_limits_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_LIMITS_H 1
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof (int16_t))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| _ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in fp_class.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_fp_class_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_FP_CLASS_H 1
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| _ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in float.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_float_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_FLOAT_H 1
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof ((int16_t)))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| _ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + ac_cv_type_int16_t=yes
|
| fi
|
|
|
| -done
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -for ac_header in stdlib.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_stdlib_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_STDLIB_H 1
|
| -_ACEOF
|
|
|
| fi
|
|
|
| -done
|
| -
|
| -for ac_header in sys/socket.h
|
| -do :
|
| - ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "#if HAVE_SYS_TYPES_H
|
| -# include <sys/types.h>
|
| -# endif
|
| -
|
| -"
|
| -if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_SYS_SOCKET_H 1
|
| -_ACEOF
|
| -
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
|
| +$as_echo "$ac_cv_type_int16_t" >&6; }
|
| +if test $ac_cv_type_int16_t = yes; then
|
|
|
| -done
|
| -
|
| -for ac_header in netinet/in.h
|
| -do :
|
| - ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#if HAVE_SYS_TYPES_H
|
| -# include <sys/types.h>
|
| -# endif
|
| -
|
| -"
|
| -if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_NETINET_IN_H 1
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define HAVE_INT16_T 1
|
| _ACEOF
|
|
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in arpa/inet.h
|
| -do :
|
| - ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "#if HAVE_SYS_TYPES_H
|
| -# include <sys/types.h>
|
| -# endif
|
| -#if HAVE_ARPA_INET_H
|
| -# include <arpa/inet.h>
|
| -# endif
|
| -
|
| -"
|
| -if test "x$ac_cv_header_arpa_inet_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_ARPA_INET_H 1
|
| -_ACEOF
|
|
|
| fi
|
| -
|
| -done
|
| -
|
| -for ac_header in netdb.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_netdb_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_NETDB_H 1
|
| +{ $as_echo "$as_me:$LINENO: checking for int32_t" >&5
|
| +$as_echo_n "checking for int32_t... " >&6; }
|
| +if test "${ac_cv_type_int32_t+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + ac_cv_type_int32_t=no
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| _ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in sys/time.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_sys_time_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_SYS_TIME_H 1
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof (int32_t))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| _ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in sys/select.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_sys_select_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_SYS_SELECT_H 1
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| _ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in poll.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_poll_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_POLL_H 1
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof ((int32_t)))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| _ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + ac_cv_type_int32_t=yes
|
| fi
|
|
|
| -done
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -for ac_header in sys/mman.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_SYS_MMAN_H 1
|
| -_ACEOF
|
|
|
| fi
|
|
|
| -done
|
| -
|
| -for ac_header in sys/timeb.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_sys_timeb_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_SYS_TIMEB_H 1
|
| -_ACEOF
|
| -
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
|
| +$as_echo "$ac_cv_type_int32_t" >&6; }
|
| +if test $ac_cv_type_int32_t = yes; then
|
|
|
| -done
|
| -
|
| -for ac_header in signal.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_signal_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_SIGNAL_H 1
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define HAVE_INT32_T 1
|
| _ACEOF
|
|
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in arpa/nameser.h
|
| -do :
|
| - ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#if HAVE_SYS_TYPES_H
|
| -# include <sys/types.h>
|
| -# endif
|
| -
|
| -"
|
| -if test "x$ac_cv_header_arpa_nameser_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_ARPA_NAMESER_H 1
|
| -_ACEOF
|
|
|
| fi
|
| -
|
| -done
|
| -
|
| -for ac_header in resolv.h
|
| -do :
|
| - ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#if HAVE_SYS_TYPES_H
|
| -# include <sys/types.h>
|
| -# endif
|
| -#if HAVE_NETINET_IN_H
|
| -# include <netinet/in.h>
|
| -# endif
|
| -#if HAVE_ARPA_NAMESER_H
|
| -# include <arpa/nameser.h>
|
| -# endif
|
| -
|
| -"
|
| -if test "x$ac_cv_header_resolv_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_RESOLV_H 1
|
| +{ $as_echo "$as_me:$LINENO: checking for int64_t" >&5
|
| +$as_echo_n "checking for int64_t... " >&6; }
|
| +if test "${ac_cv_type_int64_t+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + ac_cv_type_int64_t=no
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| _ACEOF
|
| -
|
| -fi
|
| -
|
| -done
|
| -
|
| -for ac_header in dl.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_dl_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_DL_H 1
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof (int64_t))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof ((int64_t)))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| _ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + ac_cv_type_int64_t=yes
|
| fi
|
|
|
| -done
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -for ac_header in dlfcn.h
|
| -do :
|
| - ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_DLFCN_H 1
|
| -_ACEOF
|
|
|
| fi
|
|
|
| -done
|
| -
|
| -
|
| -
|
| -echo Checking libraries
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
|
| +$as_echo "$ac_cv_type_int64_t" >&6; }
|
| +if test $ac_cv_type_int64_t = yes; then
|
|
|
| -for ac_func in strftime
|
| -do :
|
| - ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
|
| -if test "x$ac_cv_func_strftime" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define HAVE_STRFTIME 1
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define HAVE_INT64_T 1
|
| _ACEOF
|
|
|
| -else
|
| - # strftime is in -lintl on SCO UNIX.
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
|
| -$as_echo_n "checking for strftime in -lintl... " >&6; }
|
| -if test "${ac_cv_lib_intl_strftime+set}" = set; then :
|
| +
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: checking for intptr_t" >&5
|
| +$as_echo_n "checking for intptr_t... " >&6; }
|
| +if test "${ac_cv_type_intptr_t+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-lintl $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + ac_cv_type_intptr_t=no
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char strftime ();
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof (intptr_t))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| int
|
| main ()
|
| {
|
| -return strftime ();
|
| +if (sizeof ((intptr_t)))
|
| + return 0;
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_lib_intl_strftime=yes
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| else
|
| - ac_cv_lib_intl_strftime=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
|
| -$as_echo "$ac_cv_lib_intl_strftime" >&6; }
|
| -if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
|
| - $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -LIBS="-lintl $LIBS"
|
| + ac_cv_type_intptr_t=yes
|
| fi
|
|
|
| -fi
|
| -done
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -for ac_func in strdup strndup strerror
|
| -do :
|
| - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
| -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
| -eval as_val=\$$as_ac_var
|
| - if test "x$as_val" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
| -_ACEOF
|
|
|
| fi
|
| -done
|
| -
|
| -for ac_func in finite isnand fp_class class fpclass
|
| -do :
|
| - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
| -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
| -eval as_val=\$$as_ac_var
|
| - if test "x$as_val" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
| -_ACEOF
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| -done
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
|
| +$as_echo "$ac_cv_type_intptr_t" >&6; }
|
| +if test $ac_cv_type_intptr_t = yes; then
|
|
|
| -for ac_func in strftime localtime gettimeofday ftime
|
| -do :
|
| - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
| -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
| -eval as_val=\$$as_ac_var
|
| - if test "x$as_val" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define HAVE_INTPTR_T 1
|
| _ACEOF
|
|
|
| -fi
|
| -done
|
| -
|
| -for ac_func in stat _stat signal
|
| -do :
|
| - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
| -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
| -eval as_val=\$$as_ac_var
|
| - if test "x$as_val" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
| -_ACEOF
|
|
|
| fi
|
| -done
|
| -
|
| -
|
| -for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
|
| -do :
|
| - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
| -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
| -eval as_val=\$$as_ac_var
|
| - if test "x$as_val" = x""yes; then :
|
| - cat >>confdefs.h <<_ACEOF
|
| -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
| -_ACEOF
|
| -
|
| +{ $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
|
| +$as_echo_n "checking for uint8_t... " >&6; }
|
| +if test "${ac_cv_type_uint8_t+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| else
|
| - NEED_TRIO=1
|
| -fi
|
| -done
|
| -
|
| -
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
|
| -$as_echo_n "checking for va_copy... " >&6; }
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + ac_cv_type_uint8_t=no
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -#include <stdarg.h>
|
| -va_list ap1,ap2;
|
| +$ac_includes_default
|
| int
|
| main ()
|
| {
|
| -va_copy(ap1,ap2);
|
| +if (sizeof (uint8_t))
|
| + return 0;
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - have_va_copy=yes
|
| -else
|
| - have_va_copy=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_va_copy" >&5
|
| -$as_echo "$have_va_copy" >&6; }
|
| -if test x"$have_va_copy" = x"yes"; then
|
| -
|
| -$as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
|
| -
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
|
| -$as_echo_n "checking for __va_copy... " >&6; }
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -#include <stdarg.h>
|
| - va_list ap1,ap2;
|
| +$ac_includes_default
|
| int
|
| main ()
|
| {
|
| -__va_copy(ap1,ap2);
|
| +if (sizeof ((uint8_t)))
|
| + return 0;
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - have___va_copy=yes
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| else
|
| - have___va_copy=no
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_cv_type_uint8_t=yes
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have___va_copy" >&5
|
| -$as_echo "$have___va_copy" >&6; }
|
| - if test x"$have___va_copy" = x"yes"; then
|
|
|
| -$as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
|
|
| - fi
|
| fi
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
|
| -$as_echo_n "checking for library containing gethostent... " >&6; }
|
| -if test "${ac_cv_search_gethostent+set}" = set; then :
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
|
| +$as_echo "$ac_cv_type_uint8_t" >&6; }
|
| +if test $ac_cv_type_uint8_t = yes; then
|
| +
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define HAVE_UINT8_T 1
|
| +_ACEOF
|
| +
|
| +
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
|
| +$as_echo_n "checking for uint16_t... " >&6; }
|
| +if test "${ac_cv_type_uint16_t+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_func_search_save_LIBS=$LIBS
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + ac_cv_type_uint16_t=no
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char gethostent ();
|
| +$ac_includes_default
|
| int
|
| main ()
|
| {
|
| -return gethostent ();
|
| +if (sizeof (uint16_t))
|
| + return 0;
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -for ac_lib in '' nsl; do
|
| - if test -z "$ac_lib"; then
|
| - ac_res="none required"
|
| - else
|
| - ac_res=-l$ac_lib
|
| - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
| - fi
|
| - if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_search_gethostent=$ac_res
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext
|
| - if test "${ac_cv_search_gethostent+set}" = set; then :
|
| - break
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof ((uint16_t)))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_cv_type_uint16_t=yes
|
| fi
|
| -done
|
| -if test "${ac_cv_search_gethostent+set}" = set; then :
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| else
|
| - ac_cv_search_gethostent=no
|
| -fi
|
| -rm conftest.$ac_ext
|
| -LIBS=$ac_func_search_save_LIBS
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| +
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
|
| -$as_echo "$ac_cv_search_gethostent" >&6; }
|
| -ac_res=$ac_cv_search_gethostent
|
| -if test "$ac_res" != no; then :
|
| - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
|
| +$as_echo "$ac_cv_type_uint16_t" >&6; }
|
| +if test $ac_cv_type_uint16_t = yes; then
|
| +
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define HAVE_UINT16_T 1
|
| +_ACEOF
|
| +
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
|
| -$as_echo_n "checking for library containing setsockopt... " >&6; }
|
| -if test "${ac_cv_search_setsockopt+set}" = set; then :
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
|
| +$as_echo_n "checking for uint32_t... " >&6; }
|
| +if test "${ac_cv_type_uint32_t+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_func_search_save_LIBS=$LIBS
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + ac_cv_type_uint32_t=no
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char setsockopt ();
|
| +$ac_includes_default
|
| int
|
| main ()
|
| {
|
| -return setsockopt ();
|
| +if (sizeof (uint32_t))
|
| + return 0;
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -for ac_lib in '' socket net network; do
|
| - if test -z "$ac_lib"; then
|
| - ac_res="none required"
|
| - else
|
| - ac_res=-l$ac_lib
|
| - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
| - fi
|
| - if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_search_setsockopt=$ac_res
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext
|
| - if test "${ac_cv_search_setsockopt+set}" = set; then :
|
| - break
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof ((uint32_t)))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_cv_type_uint32_t=yes
|
| fi
|
| -done
|
| -if test "${ac_cv_search_setsockopt+set}" = set; then :
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| else
|
| - ac_cv_search_setsockopt=no
|
| -fi
|
| -rm conftest.$ac_ext
|
| -LIBS=$ac_func_search_save_LIBS
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| +
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
|
| -$as_echo "$ac_cv_search_setsockopt" >&6; }
|
| -ac_res=$ac_cv_search_setsockopt
|
| -if test "$ac_res" != no; then :
|
| - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
|
| +$as_echo "$ac_cv_type_uint32_t" >&6; }
|
| +if test $ac_cv_type_uint32_t = yes; then
|
| +
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define HAVE_UINT32_T 1
|
| +_ACEOF
|
|
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
|
| -$as_echo_n "checking for library containing connect... " >&6; }
|
| -if test "${ac_cv_search_connect+set}" = set; then :
|
| +
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
|
| +$as_echo_n "checking for uint64_t... " >&6; }
|
| +if test "${ac_cv_type_uint64_t+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_func_search_save_LIBS=$LIBS
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + ac_cv_type_uint64_t=no
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char connect ();
|
| +$ac_includes_default
|
| int
|
| main ()
|
| {
|
| -return connect ();
|
| +if (sizeof (uint64_t))
|
| + return 0;
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -for ac_lib in '' inet; do
|
| - if test -z "$ac_lib"; then
|
| - ac_res="none required"
|
| - else
|
| - ac_res=-l$ac_lib
|
| - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
| - fi
|
| - if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_search_connect=$ac_res
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext
|
| - if test "${ac_cv_search_connect+set}" = set; then :
|
| - break
|
| -fi
|
| -done
|
| -if test "${ac_cv_search_connect+set}" = set; then :
|
| -
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +int
|
| +main ()
|
| +{
|
| +if (sizeof ((uint64_t)))
|
| + return 0;
|
| + ;
|
| + return 0;
|
| +}
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| else
|
| - ac_cv_search_connect=no
|
| -fi
|
| -rm conftest.$ac_ext
|
| -LIBS=$ac_func_search_save_LIBS
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
|
| -$as_echo "$ac_cv_search_connect" >&6; }
|
| -ac_res=$ac_cv_search_connect
|
| -if test "$ac_res" != no; then :
|
| - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + ac_cv_type_uint64_t=yes
|
| fi
|
|
|
| -
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5
|
| -$as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
|
| -cat > conftest.$ac_ext <<EOF
|
| -#line 12868 "configure"
|
| -#include "confdefs.h"
|
| -
|
| -#include <stddef.h>
|
| -#include <sys/types.h>
|
| -#include <sys/socket.h>
|
| -int main(void) {
|
| -
|
| -(void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
|
| -; return 0; }
|
| -EOF
|
| -if { (eval echo configure:12879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
|
| - rm -rf conftest*
|
| -
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5
|
| -$as_echo "socklen_t *" >&6; }
|
| - XML_SOCKLEN_T=socklen_t
|
| -else
|
| - echo "configure: failed program was:" >&5
|
| - cat conftest.$ac_ext >&5
|
| - rm -rf conftest*
|
| -
|
| - cat > conftest.$ac_ext <<EOF
|
| -#line 12891 "configure"
|
| -#include "confdefs.h"
|
| -
|
| -#include <stddef.h>
|
| -#include <sys/types.h>
|
| -#include <sys/socket.h>
|
| -int main(void) {
|
| -
|
| -(void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
|
| -; return 0; }
|
| -EOF
|
| -if { (eval echo configure:12902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
|
| - rm -rf conftest*
|
| -
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5
|
| -$as_echo "size_t *" >&6; }
|
| - XML_SOCKLEN_T=size_t
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| else
|
| - echo "configure: failed program was:" >&5
|
| - cat conftest.$ac_ext >&5
|
| - rm -rf conftest*
|
| -
|
| - cat > conftest.$ac_ext <<EOF
|
| -#line 12914 "configure"
|
| -#include "confdefs.h"
|
| -
|
| -#include <stddef.h>
|
| -#include <sys/types.h>
|
| -#include <sys/socket.h>
|
| -int main(void) {
|
| -
|
| -(void)getsockopt (1, 1, 1, NULL, (int *)NULL)
|
| -; return 0; }
|
| -EOF
|
| -if { (eval echo configure:12925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
|
| - rm -rf conftest*
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5
|
| -$as_echo "int *" >&6; }
|
| - XML_SOCKLEN_T=int
|
| -else
|
| - echo "configure: failed program was:" >&5
|
| - cat conftest.$ac_ext >&5
|
| - rm -rf conftest*
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine" >&5
|
| -$as_echo "$as_me: WARNING: could not determine" >&2;}
|
| - XML_SOCKLEN_T="int"
|
| -fi
|
| -rm -f conftest*
|
| fi
|
| -rm -f conftest*
|
| +
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| fi
|
| -rm -f conftest*
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
|
| +$as_echo "$ac_cv_type_uint64_t" >&6; }
|
| +if test $ac_cv_type_uint64_t = yes; then
|
|
|
| cat >>confdefs.h <<_ACEOF
|
| -#define XML_SOCKLEN_T $XML_SOCKLEN_T
|
| +#define HAVE_UINT64_T 1
|
| _ACEOF
|
|
|
|
|
| -
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
|
| -$as_echo_n "checking whether to enable IPv6... " >&6; }
|
| -# Check whether --enable-ipv6 was given.
|
| -if test "${enable_ipv6+set}" = set; then :
|
| - enableval=$enable_ipv6;
|
| -else
|
| - enable_ipv6=yes
|
| -fi
|
| -
|
| -if test "$with_minimum" = "yes"
|
| -then
|
| - enable_ipv6=no
|
| fi
|
| -if test $enable_ipv6 = yes; then
|
| - have_ipv6=no
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +{ $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5
|
| +$as_echo_n "checking for uintptr_t... " >&6; }
|
| +if test "${ac_cv_type_uintptr_t+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + ac_cv_type_uintptr_t=no
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -
|
| - #include <sys/types.h>
|
| - #include <sys/socket.h>
|
| -
|
| +$ac_includes_default
|
| int
|
| main ()
|
| {
|
| -
|
| - struct sockaddr_storage ss;
|
| - socket(AF_INET6, SOCK_STREAM, 0)
|
| -
|
| +if (sizeof (uintptr_t))
|
| + return 0;
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - have_ipv6=yes
|
| -else
|
| - have_ipv6=no
|
| -
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipv6" >&5
|
| -$as_echo "$have_ipv6" >&6; }
|
| -
|
| - if test $have_ipv6 = yes; then
|
| -
|
| -$as_echo "#define SUPPORT_IP6 /**/" >>confdefs.h
|
| -
|
| - have_broken_ss_family=no
|
| -
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sockaddr::ss_family" >&5
|
| -$as_echo_n "checking struct sockaddr::ss_family... " >&6; }
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -
|
| - #include <sys/types.h>
|
| - #include <sys/socket.h>
|
| -
|
| +$ac_includes_default
|
| int
|
| main ()
|
| {
|
| -
|
| - struct sockaddr_storage ss ;
|
| - ss.ss_family = 0 ;
|
| -
|
| +if (sizeof ((uintptr_t)))
|
| + return 0;
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - have_ss_family=yes
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + :
|
| else
|
| - have_ss_family=no
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + ac_cv_type_uintptr_t=yes
|
| fi
|
| +
|
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ss_family" >&5
|
| -$as_echo "$have_ss_family" >&6; }
|
| - if test x$have_ss_family = xno ; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking broken struct sockaddr::ss_family" >&5
|
| -$as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| - #include <sys/types.h>
|
| - #include <sys/socket.h>
|
|
|
| -int
|
| -main ()
|
| -{
|
| +fi
|
|
|
| - struct sockaddr_storage ss ;
|
| - ss.__ss_family = 0 ;
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
|
| +$as_echo "$ac_cv_type_uintptr_t" >&6; }
|
| +if test $ac_cv_type_uintptr_t = yes; then
|
|
|
| - ;
|
| - return 0;
|
| -}
|
| +cat >>confdefs.h <<_ACEOF
|
| +#define HAVE_UINTPTR_T 1
|
| _ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - have_broken_ss_family=yes
|
| -else
|
| - have_broken_ss_family=no
|
| +
|
|
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_broken_ss_family" >&5
|
| -$as_echo "$have_broken_ss_family" >&6; }
|
| - if test x$have_broken_ss_family = xyes ; then
|
|
|
| -$as_echo "#define HAVE_BROKEN_SS_FAMILY /**/" >>confdefs.h
|
|
|
| +#########
|
| +# Check for needed/wanted headers
|
|
|
| -$as_echo "#define ss_family __ss_family" >>confdefs.h
|
|
|
| - else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ss_family and __ss_family not found" >&5
|
| -$as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
|
| - fi
|
| - fi
|
|
|
| - have_getaddrinfo=no
|
| - ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
|
| -if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
|
| - have_getaddrinfo=yes
|
| -fi
|
|
|
| - if test $have_getaddrinfo != yes; then
|
| - for lib in bsd socket inet; do
|
| - as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5
|
| -$as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
|
| -if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
|
| +for ac_header in sys/types.h stdlib.h stdint.h inttypes.h
|
| +do
|
| +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
| +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
| + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
| +$as_echo_n "checking for $ac_header... " >&6; }
|
| +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
| $as_echo_n "(cached) " >&6
|
| +fi
|
| +ac_res=`eval 'as_val=${'$as_ac_Header'}
|
| + $as_echo "$as_val"'`
|
| + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
| +$as_echo "$ac_res" >&6; }
|
| else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-l$lib $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + # Is the header compilable?
|
| +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
| +$as_echo_n "checking $ac_header usability... " >&6; }
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| +$ac_includes_default
|
| +#include <$ac_header>
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_header_compiler=yes
|
| +else
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char getaddrinfo ();
|
| -int
|
| -main ()
|
| -{
|
| -return getaddrinfo ();
|
| - ;
|
| - return 0;
|
| -}
|
| + ac_header_compiler=no
|
| +fi
|
| +
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
| +$as_echo "$ac_header_compiler" >&6; }
|
| +
|
| +# Is the header present?
|
| +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
| +$as_echo_n "checking $ac_header presence... " >&6; }
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#include <$ac_header>
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - eval "$as_ac_Lib=yes"
|
| +if { (ac_try="$ac_cpp conftest.$ac_ext"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } >/dev/null && {
|
| + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + }; then
|
| + ac_header_preproc=yes
|
| else
|
| - eval "$as_ac_Lib=no"
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
| +
|
| + ac_header_preproc=no
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| +
|
| +rm -f conftest.err conftest.$ac_ext
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
| +$as_echo "$ac_header_preproc" >&6; }
|
| +
|
| +# So? What about this header?
|
| +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
| + yes:no: )
|
| + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
| +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
| +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
| + ac_header_preproc=yes
|
| + ;;
|
| + no:yes:* )
|
| + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
| +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
| +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
| +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
| +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
| +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
| +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
| +
|
| + ;;
|
| +esac
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
| +$as_echo_n "checking for $ac_header... " >&6; }
|
| +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + eval "$as_ac_Header=\$ac_header_preproc"
|
| fi
|
| -eval ac_res=\$$as_ac_Lib
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
| +ac_res=`eval 'as_val=${'$as_ac_Header'}
|
| + $as_echo "$as_val"'`
|
| + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
| $as_echo "$ac_res" >&6; }
|
| -eval as_val=\$$as_ac_Lib
|
| - if test "x$as_val" = x""yes; then :
|
| - LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
|
| +
|
| fi
|
| +if test `eval 'as_val=${'$as_ac_Header'}
|
| + $as_echo "$as_val"'` = yes; then
|
| + cat >>confdefs.h <<_ACEOF
|
| +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
| +_ACEOF
|
|
|
| - done
|
| - fi
|
| +fi
|
|
|
| - if test $have_getaddrinfo = yes; then
|
| +done
|
|
|
| -$as_echo "#define HAVE_GETADDRINFO /**/" >>confdefs.h
|
|
|
| - fi
|
| - fi
|
| -fi
|
| +#########
|
| +# Figure out whether or not we have these functions
|
| +#
|
|
|
|
|
| -ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
|
| -if test "x$ac_cv_func_isnan" = x""yes; then :
|
|
|
| -$as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
|
|
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
|
| -$as_echo_n "checking for isnan in -lm... " >&6; }
|
| -if test "${ac_cv_lib_m_isnan+set}" = set; then :
|
| +
|
| +for ac_func in usleep fdatasync localtime_r gmtime_r localtime_s
|
| +do
|
| +as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
| +$as_echo_n "checking for $ac_func... " >&6; }
|
| +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-lm $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
| + For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
| +#define $ac_func innocuous_$ac_func
|
| +
|
| +/* System header to define __stub macros and hopefully few prototypes,
|
| + which can conflict with char $ac_func (); below.
|
| + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
| + <limits.h> exists even on freestanding compilers. */
|
| +
|
| +#ifdef __STDC__
|
| +# include <limits.h>
|
| +#else
|
| +# include <assert.h>
|
| +#endif
|
| +
|
| +#undef $ac_func
|
|
|
| /* Override any GCC internal prototype to avoid an error.
|
| Use char because int might match the return type of a GCC
|
| @@ -13152,285 +12182,297 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus
|
| extern "C"
|
| #endif
|
| -char isnan ();
|
| +char $ac_func ();
|
| +/* The GNU C library defines this for functions which it implements
|
| + to always fail with ENOSYS. Some functions are actually named
|
| + something starting with __ and the normal name is an alias. */
|
| +#if defined __stub_$ac_func || defined __stub___$ac_func
|
| +choke me
|
| +#endif
|
| +
|
| int
|
| main ()
|
| {
|
| -return isnan ();
|
| +return $ac_func ();
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_lib_m_isnan=yes
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| + eval "$as_ac_var=yes"
|
| else
|
| - ac_cv_lib_m_isnan=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
|
| -$as_echo "$ac_cv_lib_m_isnan" >&6; }
|
| -if test "x$ac_cv_lib_m_isnan" = x""yes; then :
|
| -
|
| -$as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + eval "$as_ac_var=no"
|
| fi
|
|
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| fi
|
| +ac_res=`eval 'as_val=${'$as_ac_var'}
|
| + $as_echo "$as_val"'`
|
| + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
| +$as_echo "$ac_res" >&6; }
|
| +if test `eval 'as_val=${'$as_ac_var'}
|
| + $as_echo "$as_val"'` = yes; then
|
| + cat >>confdefs.h <<_ACEOF
|
| +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
| +_ACEOF
|
|
|
| +fi
|
| +done
|
|
|
| -ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
|
| -if test "x$ac_cv_func_isinf" = x""yes; then :
|
|
|
| -$as_echo "#define HAVE_ISINF /**/" >>confdefs.h
|
| +#########
|
| +# By default, we use the amalgamation (this may be changed below...)
|
| +#
|
| +USE_AMALGAMATION=1
|
|
|
| -else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5
|
| -$as_echo_n "checking for isinf in -lm... " >&6; }
|
| -if test "${ac_cv_lib_m_isinf+set}" = set; then :
|
| +#########
|
| +# See whether we can run specific tclsh versions known to work well;
|
| +# if not, then we fall back to plain tclsh.
|
| +# TODO: try other versions before falling back?
|
| +#
|
| +for ac_prog in tclsh8.5 tclsh
|
| +do
|
| + # Extract the first word of "$ac_prog", so it can be a program name with args.
|
| +set dummy $ac_prog; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| +$as_echo_n "checking for $ac_word... " >&6; }
|
| +if test "${ac_cv_prog_TCLSH_CMD+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-lm $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| + if test -n "$TCLSH_CMD"; then
|
| + ac_cv_prog_TCLSH_CMD="$TCLSH_CMD" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| +for as_dir in $PATH
|
| +do
|
| + IFS=$as_save_IFS
|
| + test -z "$as_dir" && as_dir=.
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| + ac_cv_prog_TCLSH_CMD="$ac_prog"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + break 2
|
| + fi
|
| +done
|
| +done
|
| +IFS=$as_save_IFS
|
|
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char isinf ();
|
| -int
|
| -main ()
|
| -{
|
| -return isinf ();
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_lib_m_isinf=yes
|
| +fi
|
| +fi
|
| +TCLSH_CMD=$ac_cv_prog_TCLSH_CMD
|
| +if test -n "$TCLSH_CMD"; then
|
| + { $as_echo "$as_me:$LINENO: result: $TCLSH_CMD" >&5
|
| +$as_echo "$TCLSH_CMD" >&6; }
|
| else
|
| - ac_cv_lib_m_isinf=no
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| +
|
| +
|
| + test -n "$TCLSH_CMD" && break
|
| +done
|
| +test -n "$TCLSH_CMD" || TCLSH_CMD="none"
|
| +
|
| +if test "$TCLSH_CMD" = "none"; then
|
| + # If we can't find a local tclsh, then building the amalgamation will fail.
|
| + # We act as though --disable-amalgamation has been used.
|
| + echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
|
| + USE_AMALGAMATION=0
|
| + TCLSH_CMD="tclsh"
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5
|
| -$as_echo "$ac_cv_lib_m_isinf" >&6; }
|
| -if test "x$ac_cv_lib_m_isinf" = x""yes; then :
|
|
|
| -$as_echo "#define HAVE_ISINF /**/" >>confdefs.h
|
|
|
| +
|
| +if test "x${TCLLIBDIR+set}" != "xset" ; then
|
| + TCLLIBDIR='$(libdir)'
|
| + for i in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
|
| + TCLLIBDIR=$i
|
| + break
|
| + done
|
| + TCLLIBDIR="${TCLLIBDIR}/sqlite3"
|
| fi
|
|
|
| +
|
| +#########
|
| +# Set up an appropriate program prefix
|
| +#
|
| +if test "$program_prefix" = "NONE"; then
|
| + program_prefix=""
|
| fi
|
|
|
|
|
| -XML_LIBDIR='-L${libdir}'
|
| -XML_INCLUDEDIR='-I${includedir}/libxml2'
|
| +VERSION=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
|
| +{ $as_echo "$as_me:$LINENO: Version set to $VERSION" >&5
|
| +$as_echo "$as_me: Version set to $VERSION" >&6;}
|
|
|
| -XML_CFLAGS=""
|
| -RDL_LIBS=""
|
| +RELEASE=`cat $srcdir/VERSION`
|
| +{ $as_echo "$as_me:$LINENO: Release set to $RELEASE" >&5
|
| +$as_echo "$as_me: Release set to $RELEASE" >&6;}
|
|
|
| -if test "${GCC}" != "yes" ; then
|
| - case "${host}" in
|
| - hppa*-*-hpux* )
|
| - CFLAGS="${CFLAGS} -Wp,-H30000"
|
| - ;;
|
| - *-dec-osf* )
|
| - CFLAGS="${CFLAGS} -ieee"
|
| - ;;
|
| - alpha*-*-linux* )
|
| - CFLAGS="${CFLAGS} -ieee"
|
| - ;;
|
| - esac
|
| -else
|
| - if test "$with_fexceptions" = "yes"
|
| - then
|
| - #
|
| - # Not activated by default because this inflates the code size
|
| - # Used to allow propagation of C++ exceptions through the library
|
| - #
|
| - CFLAGS="${CFLAGS} -fexceptions"
|
| - fi
|
| +VERSION_NUMBER=`cat $srcdir/VERSION \
|
| + | sed 's/[^0-9]/ /g' \
|
| + | awk '{printf "%d%03d%03d",$1,$2,$3}'`
|
| +{ $as_echo "$as_me:$LINENO: Version number set to $VERSION_NUMBER" >&5
|
| +$as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
|
|
|
| - CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls"
|
| - case "${host}" in
|
| - alpha*-*-linux* )
|
| - CFLAGS="${CFLAGS} -mieee"
|
| - ;;
|
| - alpha*-*-osf* )
|
| - CFLAGS="${CFLAGS} -mieee"
|
| - ;;
|
| - esac
|
| -fi
|
| -case ${host} in
|
| - *-*-solaris*)
|
| - XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
|
| - ;;
|
| - hppa*-hp-mpeix)
|
| - NEED_TRIO=1
|
| - ;;
|
| - *-*-mingw* | *-*-cygwin* | *-*-msvc* )
|
| - # If the host is Windows, and shared libraries are disabled, we
|
| - # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
|
| - # work properly (without it, xmlexports.h would force the use of
|
| - # DLL imports, which obviously aren't present in a static
|
| - # library).
|
| - if test "x$enable_shared" = "xno"; then
|
| - XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
|
| - CFLAGS="$CFLAGS -DLIBXML_STATIC"
|
| - fi
|
| - ;;
|
| -esac
|
|
|
| +#########
|
| +# Check to see if the --with-hints=FILE option is used. If there is none,
|
| +# then check for a files named "$host.hints" and ../$hosts.hints where
|
| +# $host is the hostname of the build system. If still no hints are
|
| +# found, try looking in $system.hints and ../$system.hints where
|
| +# $system is the result of uname -s.
|
| +#
|
|
|
| +# Check whether --with-hints was given.
|
| +if test "${with_hints+set}" = set; then
|
| + withval=$with_hints; hints=$withval
|
| +fi
|
|
|
| -PYTHON_VERSION=
|
| -PYTHON_INCLUDES=
|
| -PYTHON_SITE_PACKAGES=
|
| -PYTHON_TESTS=
|
| -pythondir=
|
| -if test "$with_python" != "no" ; then
|
| - if test -x "$with_python/bin/python"
|
| - then
|
| - echo Found python in $with_python/bin/python
|
| - PYTHON="$with_python/bin/python"
|
| - else
|
| - if test -x "$with_python"
|
| - then
|
| - echo Found python in $with_python
|
| - PYTHON="$with_python"
|
| - else
|
| - if test -x "$PYTHON"
|
| - then
|
| - echo Found python in environment PYTHON=$PYTHON
|
| - with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
|
| - else
|
| - # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
|
| -set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
| +if test "$hints" = ""; then
|
| + host=`hostname | sed 's/\..*//'`
|
| + if test -r $host.hints; then
|
| + hints=$host.hints
|
| + else
|
| + if test -r ../$host.hints; then
|
| + hints=../$host.hints
|
| + fi
|
| + fi
|
| +fi
|
| +if test "$hints" = ""; then
|
| + sys=`uname -s`
|
| + if test -r $sys.hints; then
|
| + hints=$sys.hints
|
| + else
|
| + if test -r ../$sys.hints; then
|
| + hints=../$sys.hints
|
| + fi
|
| + fi
|
| +fi
|
| +if test "$hints" != ""; then
|
| + { $as_echo "$as_me:$LINENO: result: reading hints from $hints" >&5
|
| +$as_echo "reading hints from $hints" >&6; }
|
| + . $hints
|
| +fi
|
| +
|
| +#########
|
| +# Locate a compiler for the build machine. This compiler should
|
| +# generate command-line programs that run on the build machine.
|
| +#
|
| +if test x"$cross_compiling" = xno; then
|
| + BUILD_CC=$CC
|
| + BUILD_CFLAGS=$CFLAGS
|
| +else
|
| + if test "${BUILD_CC+set}" != set; then
|
| + for ac_prog in gcc cc cl
|
| +do
|
| + # Extract the first word of "$ac_prog", so it can be a program name with args.
|
| +set dummy $ac_prog; ac_word=$2
|
| +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
| $as_echo_n "checking for $ac_word... " >&6; }
|
| -if test "${ac_cv_path_PYTHON+set}" = set; then :
|
| +if test "${ac_cv_prog_BUILD_CC+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - case $PYTHON in
|
| - [\\/]* | ?:[\\/]*)
|
| - ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
|
| - ;;
|
| - *)
|
| - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| + if test -n "$BUILD_CC"; then
|
| + ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
|
| +else
|
| +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - for ac_exec_ext in '' $ac_executable_extensions; do
|
| + for ac_exec_ext in '' $ac_executable_extensions; do
|
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
| - ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| + ac_cv_prog_BUILD_CC="$ac_prog"
|
| + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
| break 2
|
| fi
|
| done
|
| - done
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| - ;;
|
| -esac
|
| fi
|
| -PYTHON=$ac_cv_path_PYTHON
|
| -if test -n "$PYTHON"; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
|
| -$as_echo "$PYTHON" >&6; }
|
| +fi
|
| +BUILD_CC=$ac_cv_prog_BUILD_CC
|
| +if test -n "$BUILD_CC"; then
|
| + { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
|
| +$as_echo "$BUILD_CC" >&6; }
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| $as_echo "no" >&6; }
|
| fi
|
|
|
|
|
| - fi
|
| + test -n "$BUILD_CC" && break
|
| +done
|
| +
|
| fi
|
| - fi
|
| - if test "$PYTHON" != ""
|
| - then
|
| - PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
|
| - echo Found Python version $PYTHON_VERSION
|
| - fi
|
| - if test "$PYTHON_VERSION" != ""
|
| - then
|
| - if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
|
| - -d $with_python/lib/python$PYTHON_VERSION/site-packages
|
| - then
|
| - PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
|
| - PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
|
| - else
|
| - if test -r $prefix/include/python$PYTHON_VERSION/Python.h
|
| - then
|
| - PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
|
| - PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
|
| - else
|
| - if test -r /usr/include/python$PYTHON_VERSION/Python.h
|
| - then
|
| - PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
|
| - PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
|
| - else
|
| - echo could not find python$PYTHON_VERSION/Python.h
|
| - fi
|
| - fi
|
| - if test ! -d "$PYTHON_SITE_PACKAGES"
|
| - then
|
| - PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
|
| - fi
|
| + if test "${BUILD_CFLAGS+set}" != set; then
|
| + BUILD_CFLAGS="-g"
|
| fi
|
| - PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
|
| - fi
|
| - if test "$with_python" != ""
|
| - then
|
| - pythondir='$(PYTHON_SITE_PACKAGES)'
|
| - else
|
| - pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
|
| - fi
|
| -else
|
| - PYTHON=
|
| fi
|
| - if test "$PYTHON_INCLUDES" != ""; then
|
| - WITH_PYTHON_TRUE=
|
| - WITH_PYTHON_FALSE='#'
|
| +
|
| +
|
| +##########
|
| +# Do we want to support multithreaded use of sqlite
|
| +#
|
| +# Check whether --enable-threadsafe was given.
|
| +if test "${enable_threadsafe+set}" = set; then
|
| + enableval=$enable_threadsafe;
|
| else
|
| - WITH_PYTHON_TRUE='#'
|
| - WITH_PYTHON_FALSE=
|
| + enable_threadsafe=yes
|
| fi
|
|
|
| -if test "$PYTHON_INCLUDES" != ""
|
| -then
|
| - PYTHON_SUBDIR=python
|
| +{ $as_echo "$as_me:$LINENO: checking whether to support threadsafe operation" >&5
|
| +$as_echo_n "checking whether to support threadsafe operation... " >&6; }
|
| +if test "$enable_threadsafe" = "no"; then
|
| + SQLITE_THREADSAFE=0
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| else
|
| - PYTHON_SUBDIR=
|
| + SQLITE_THREADSAFE=1
|
| + { $as_echo "$as_me:$LINENO: result: yes" >&5
|
| +$as_echo "yes" >&6; }
|
| fi
|
|
|
|
|
| -
|
| -
|
| -WITH_MODULES=0
|
| -TEST_MODULES=
|
| -
|
| -if test "$with_modules" != "no" ; then
|
| - case "$host" in
|
| - *-*-cygwin*)
|
| - MODULE_EXTENSION=".dll"
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5
|
| -$as_echo_n "checking for dlopen in -lcygwin... " >&6; }
|
| -if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then :
|
| +if test "$SQLITE_THREADSAFE" = "1"; then
|
| + { $as_echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
|
| +$as_echo_n "checking for library containing pthread_create... " >&6; }
|
| +if test "${ac_cv_search_pthread_create+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-lcygwin $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + ac_func_search_save_LIBS=$LIBS
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| /* Override any GCC internal prototype to avoid an error.
|
| @@ -13439,400 +12481,479 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus
|
| extern "C"
|
| #endif
|
| -char dlopen ();
|
| +char pthread_create ();
|
| int
|
| main ()
|
| {
|
| -return dlopen ();
|
| +return pthread_create ();
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_lib_cygwin_dlopen=yes
|
| +for ac_lib in '' pthread; do
|
| + if test -z "$ac_lib"; then
|
| + ac_res="none required"
|
| + else
|
| + ac_res=-l$ac_lib
|
| + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
| + fi
|
| + rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| + ac_cv_search_pthread_create=$ac_res
|
| else
|
| - ac_cv_lib_cygwin_dlopen=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5
|
| -$as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
|
| -if test "x$ac_cv_lib_cygwin_dlopen" = x""yes; then :
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| - WITH_MODULES=1
|
| - MODULE_PLATFORM_LIBS=
|
|
|
| -$as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
|
| +fi
|
|
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext
|
| + if test "${ac_cv_search_pthread_create+set}" = set; then
|
| + break
|
| +fi
|
| +done
|
| +if test "${ac_cv_search_pthread_create+set}" = set; then
|
| + :
|
| +else
|
| + ac_cv_search_pthread_create=no
|
| +fi
|
| +rm conftest.$ac_ext
|
| +LIBS=$ac_func_search_save_LIBS
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
|
| +$as_echo "$ac_cv_search_pthread_create" >&6; }
|
| +ac_res=$ac_cv_search_pthread_create
|
| +if test "$ac_res" != no; then
|
| + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
|
|
| fi
|
|
|
| - ;;
|
| - *-*-mingw*)
|
| - MODULE_EXTENSION=".dll"
|
| - WITH_MODULES=1
|
| - ;;
|
| - *)
|
| - ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
|
| -if test "x$ac_cv_func_shl_load" = x""yes; then :
|
| - libxml_have_shl_load=yes
|
| -else
|
| +fi
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
| -$as_echo_n "checking for shl_load in -ldld... " >&6; }
|
| -if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| +##########
|
| +# Do we want to allow a connection created in one thread to be used
|
| +# in another thread. This does not work on many Linux systems (ex: RedHat 9)
|
| +# due to bugs in the threading implementations. This is thus off by default.
|
| +#
|
| +# Check whether --enable-cross-thread-connections was given.
|
| +if test "${enable_cross_thread_connections+set}" = set; then
|
| + enableval=$enable_cross_thread_connections;
|
| else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-ldld $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| + enable_xthreadconnect=no
|
| +fi
|
|
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char shl_load ();
|
| -int
|
| -main ()
|
| -{
|
| -return shl_load ();
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_lib_dld_shl_load=yes
|
| +{ $as_echo "$as_me:$LINENO: checking whether to allow connections to be shared across threads" >&5
|
| +$as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
|
| +if test "$enable_xthreadconnect" = "no"; then
|
| + XTHREADCONNECT=''
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| else
|
| - ac_cv_lib_dld_shl_load=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| + XTHREADCONNECT='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
|
| + { $as_echo "$as_me:$LINENO: result: yes" >&5
|
| +$as_echo "yes" >&6; }
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
| -$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
| -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
|
|
|
| - MODULE_PLATFORM_LIBS="-ldld"
|
| - libxml_have_shl_load=yes
|
| +
|
| +##########
|
| +# Do we want to support release
|
| +#
|
| +# Check whether --enable-releasemode was given.
|
| +if test "${enable_releasemode+set}" = set; then
|
| + enableval=$enable_releasemode;
|
| else
|
| + enable_releasemode=no
|
| +fi
|
|
|
| - ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
|
| -if test "x$ac_cv_func_dlopen" = x""yes; then :
|
| - libxml_have_dlopen=yes
|
| +{ $as_echo "$as_me:$LINENO: checking whether to support shared library linked as release mode or not" >&5
|
| +$as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
|
| +if test "$enable_releasemode" = "no"; then
|
| + ALLOWRELEASE=""
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| else
|
| + ALLOWRELEASE="-release `cat $srcdir/VERSION`"
|
| + { $as_echo "$as_me:$LINENO: result: yes" >&5
|
| +$as_echo "yes" >&6; }
|
| +fi
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
| -$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
| -if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| +
|
| +##########
|
| +# Do we want temporary databases in memory
|
| +#
|
| +# Check whether --enable-tempstore was given.
|
| +if test "${enable_tempstore+set}" = set; then
|
| + enableval=$enable_tempstore;
|
| else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-ldl $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| + enable_tempstore=no
|
| +fi
|
|
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char dlopen ();
|
| -int
|
| -main ()
|
| -{
|
| -return dlopen ();
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_lib_dl_dlopen=yes
|
| +{ $as_echo "$as_me:$LINENO: checking whether to use an in-ram database for temporary tables" >&5
|
| +$as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
|
| +case "$enable_tempstore" in
|
| + never )
|
| + TEMP_STORE=0
|
| + { $as_echo "$as_me:$LINENO: result: never" >&5
|
| +$as_echo "never" >&6; }
|
| + ;;
|
| + no )
|
| + TEMP_STORE=1
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| + ;;
|
| + yes )
|
| + TEMP_STORE=2
|
| + { $as_echo "$as_me:$LINENO: result: yes" >&5
|
| +$as_echo "yes" >&6; }
|
| + ;;
|
| + always )
|
| + TEMP_STORE=3
|
| + { $as_echo "$as_me:$LINENO: result: always" >&5
|
| +$as_echo "always" >&6; }
|
| + ;;
|
| + * )
|
| + TEMP_STORE=1
|
| + { $as_echo "$as_me:$LINENO: result: no" >&5
|
| +$as_echo "no" >&6; }
|
| + ;;
|
| +esac
|
| +
|
| +
|
| +
|
| +###########
|
| +# Lots of things are different if we are compiling for Windows using
|
| +# the CYGWIN environment. So check for that special case and handle
|
| +# things accordingly.
|
| +#
|
| +{ $as_echo "$as_me:$LINENO: checking if executables have the .exe suffix" >&5
|
| +$as_echo_n "checking if executables have the .exe suffix... " >&6; }
|
| +if test "$config_BUILD_EXEEXT" = ".exe"; then
|
| + CYGWIN=yes
|
| + { $as_echo "$as_me:$LINENO: result: yes" >&5
|
| +$as_echo "yes" >&6; }
|
| else
|
| - ac_cv_lib_dl_dlopen=no
|
| + { $as_echo "$as_me:$LINENO: result: unknown" >&5
|
| +$as_echo "unknown" >&6; }
|
| fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| +if test "$CYGWIN" != "yes"; then
|
| + { $as_echo "$as_me:$LINENO: checking host system type" >&5
|
| +$as_echo_n "checking host system type... " >&6; }
|
| +if test "${ac_cv_host+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
| + if test "x$host_alias" = x; then
|
| + ac_cv_host=$ac_cv_build
|
| +else
|
| + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
| + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
| +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
| -$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
| -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
|
|
|
| - MODULE_PLATFORM_LIBS="-ldl"
|
| - libxml_have_dlopen=yes
|
| fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
| +$as_echo "$ac_cv_host" >&6; }
|
| +case $ac_cv_host in
|
| +*-*-*) ;;
|
| +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
| +$as_echo "$as_me: error: invalid value of canonical host" >&2;}
|
| + { (exit 1); exit 1; }; };;
|
| +esac
|
| +host=$ac_cv_host
|
| +ac_save_IFS=$IFS; IFS='-'
|
| +set x $ac_cv_host
|
| +shift
|
| +host_cpu=$1
|
| +host_vendor=$2
|
| +shift; shift
|
| +# Remember, the first character of IFS is used to create $*,
|
| +# except with old shells:
|
| +host_os=$*
|
| +IFS=$ac_save_IFS
|
| +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
|
|
| -fi
|
|
|
| -fi
|
| +case $host_os in
|
| + *cygwin* ) CYGWIN=yes;;
|
| + * ) CYGWIN=no;;
|
| +esac
|
|
|
| fi
|
| +if test "$CYGWIN" = "yes"; then
|
| + BUILD_EXEEXT=.exe
|
| +else
|
| + BUILD_EXEEXT=$EXEEXT
|
| +fi
|
| +if test x"$cross_compiling" = xno; then
|
| + TARGET_EXEEXT=$BUILD_EXEEXT
|
| +else
|
| + TARGET_EXEEXT=$config_TARGET_EXEEXT
|
| +fi
|
| +if test "$TARGET_EXEEXT" = ".exe"; then
|
| + if test $OS2_SHELL ; then
|
| + SQLITE_OS_UNIX=0
|
| + SQLITE_OS_WIN=0
|
| + SQLITE_OS_OS2=1
|
| + CFLAGS="$CFLAGS -DSQLITE_OS_OS2=1"
|
| + else
|
| + SQLITE_OS_UNIX=0
|
| + SQLITE_OS_WIN=1
|
| + SQLITE_OS_OS2=0
|
| + CFLAGS="$CFLAGS -DSQLITE_OS_WIN=1"
|
| + fi
|
| +else
|
| + SQLITE_OS_UNIX=1
|
| + SQLITE_OS_WIN=0
|
| + SQLITE_OS_OS2=0
|
| + CFLAGS="$CFLAGS -DSQLITE_OS_UNIX=1"
|
| +fi
|
|
|
|
|
| - if test "${libxml_have_shl_load}" = "yes"; then
|
| - MODULE_EXTENSION=".sl"
|
| - WITH_MODULES=1
|
| -
|
| -$as_echo "#define HAVE_SHLLOAD /**/" >>confdefs.h
|
| -
|
| - fi
|
|
|
| - if test "${libxml_have_dlopen}" = "yes"; then
|
| - case "${host}" in
|
| - *-*-hpux* )
|
| - MODULE_EXTENSION=".sl"
|
| - ;;
|
| - * )
|
| - MODULE_EXTENSION=".so"
|
| - ;;
|
| - esac
|
|
|
| - WITH_MODULES=1
|
|
|
| -$as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
|
|
|
| - fi
|
| - ;;
|
| - esac
|
| -fi
|
|
|
| -if test "${WITH_MODULES}" = "1"; then
|
| - TEST_MODULES="ModuleTests"
|
| +##########
|
| +# Figure out all the parameters needed to compile against Tcl.
|
| +#
|
| +# This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
|
| +# macros in the in the tcl.m4 file of the standard TCL distribution.
|
| +# Those macros could not be used directly since we have to make some
|
| +# minor changes to accomodate systems that do not have TCL installed.
|
| +#
|
| +# Check whether --enable-tcl was given.
|
| +if test "${enable_tcl+set}" = set; then
|
| + enableval=$enable_tcl; use_tcl=$enableval
|
| +else
|
| + use_tcl=yes
|
| fi
|
|
|
| +if test "${use_tcl}" = "yes" ; then
|
|
|
| +# Check whether --with-tcl was given.
|
| +if test "${with_tcl+set}" = set; then
|
| + withval=$with_tcl; with_tclconfig=${withval}
|
| +fi
|
|
|
| + { $as_echo "$as_me:$LINENO: checking for Tcl configuration" >&5
|
| +$as_echo_n "checking for Tcl configuration... " >&6; }
|
| + if test "${ac_cv_c_tclconfig+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| +else
|
|
|
| + # First check to see if --with-tcl was specified.
|
| + if test x"${with_tclconfig}" != x ; then
|
| + if test -f "${with_tclconfig}/tclConfig.sh" ; then
|
| + ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`
|
| + else
|
| + { { $as_echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
|
| +$as_echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| + fi
|
| + fi
|
|
|
| + # Start autosearch by asking tclsh
|
| + if test x"$cross_compiling" = xno; then
|
| + for i in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
|
| + do
|
| + if test -f "$i/tclConfig.sh" ; then
|
| + ac_cv_c_tclconfig="$i"
|
| + break
|
| + fi
|
| + done
|
| + fi
|
|
|
| + # then check for a private Tcl installation
|
| + if test x"${ac_cv_c_tclconfig}" = x ; then
|
| + for i in \
|
| + ../tcl \
|
| + `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
|
| + `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
|
| + `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
|
| + ../../tcl \
|
| + `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
|
| + `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
|
| + `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
|
| + ../../../tcl \
|
| + `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
|
| + `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
|
| + `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
|
| + do
|
| + if test -f "$i/unix/tclConfig.sh" ; then
|
| + ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
|
| + break
|
| + fi
|
| + done
|
| + fi
|
|
|
| -if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
|
| - [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
|
| - [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
|
| - then
|
| - if test "$with_minimum" != "yes"
|
| - then
|
| - if test "${with_mem_debug}" = "" ; then
|
| - echo Activating memory debugging
|
| - with_mem_debug="yes"
|
| - with_run_debug="yes"
|
| - fi
|
| - if test "${with_docbook}" = "" ; then
|
| - with_docbook="yes"
|
| - fi
|
| + # check in a few common install locations
|
| + if test x"${ac_cv_c_tclconfig}" = x ; then
|
| + for i in \
|
| + `ls -d ${libdir} 2>/dev/null` \
|
| + `ls -d /usr/local/lib 2>/dev/null` \
|
| + `ls -d /usr/contrib/lib 2>/dev/null` \
|
| + `ls -d /usr/lib 2>/dev/null`
|
| + do
|
| + if test -f "$i/tclConfig.sh" ; then
|
| + ac_cv_c_tclconfig=`(cd $i; pwd)`
|
| + break
|
| + fi
|
| + done
|
| fi
|
| - if test "${GCC}" = "yes" ; then
|
| - CFLAGS="-g -O -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall"
|
| +
|
| + # check in a few other private locations
|
| + if test x"${ac_cv_c_tclconfig}" = x ; then
|
| + for i in \
|
| + ${srcdir}/../tcl \
|
| + `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
|
| + `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
|
| + `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
|
| + do
|
| + if test -f "$i/unix/tclConfig.sh" ; then
|
| + ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
|
| + break
|
| + fi
|
| + done
|
| fi
|
| - STATIC_BINARIES="-static"
|
| -else
|
| - STATIC_BINARIES=
|
| +
|
| fi
|
|
|
|
|
| + if test x"${ac_cv_c_tclconfig}" = x ; then
|
| + use_tcl=no
|
| + { $as_echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
|
| +$as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
|
| +$as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
|
| +$as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
|
| + else
|
| + TCL_BIN_DIR=${ac_cv_c_tclconfig}
|
| + { $as_echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
|
| +$as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
|
| +
|
| + { $as_echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
|
| +$as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
|
| + if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
|
| + { $as_echo "$as_me:$LINENO: result: loading" >&5
|
| +$as_echo "loading" >&6; }
|
| + . $TCL_BIN_DIR/tclConfig.sh
|
| + else
|
| + { $as_echo "$as_me:$LINENO: result: file not found" >&5
|
| +$as_echo "file not found" >&6; }
|
| + fi
|
|
|
| -if test "${NEED_TRIO}" = "1" ; then
|
| - echo Adding trio library for string functions
|
| - WITH_TRIO=1
|
| -else
|
| - WITH_TRIO=0
|
| -fi
|
| - if test "${NEED_TRIO}" = "1"; then
|
| - WITH_TRIO_SOURCES_TRUE=
|
| - WITH_TRIO_SOURCES_FALSE='#'
|
| -else
|
| - WITH_TRIO_SOURCES_TRUE='#'
|
| - WITH_TRIO_SOURCES_FALSE=
|
| -fi
|
| + #
|
| + # If the TCL_BIN_DIR is the build directory (not the install directory),
|
| + # then set the common variable name to the value of the build variables.
|
| + # For example, the variable TCL_LIB_SPEC will be set to the value
|
| + # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
|
| + # instead of TCL_BUILD_LIB_SPEC since it will work with both an
|
| + # installed and uninstalled version of Tcl.
|
| + #
|
|
|
| + if test -f $TCL_BIN_DIR/Makefile ; then
|
| + TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC}
|
| + TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC}
|
| + TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH}
|
| + fi
|
|
|
| + #
|
| + # eval is required to do the TCL_DBGX substitution
|
| + #
|
|
|
| -echo Checking configuration requirements
|
| + eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
|
| + eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
|
| + eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
|
|
|
| -THREAD_LIBS=""
|
| -BASE_THREAD_LIBS=""
|
| -WITH_THREADS=0
|
| -THREAD_CFLAGS=""
|
| -TEST_THREADS=""
|
| -THREADS_W32=""
|
| + eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
|
| + eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
|
| + eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
|
|
|
| -if test "$with_threads" = "no" ; then
|
| - echo Disabling multithreaded support
|
| -else
|
| - echo Enabling multithreaded support
|
| - if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then
|
| - ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_pthread_h" = x""yes; then :
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
|
| -$as_echo_n "checking for pthread_join in -lpthread... " >&6; }
|
| -if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-lpthread $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
|
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char pthread_join ();
|
| -int
|
| -main ()
|
| -{
|
| -return pthread_join ();
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_lib_pthread_pthread_join=yes
|
| -else
|
| - ac_cv_lib_pthread_pthread_join=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
|
| -$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
|
| -if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then :
|
|
|
| - THREAD_LIBS="-lpthread"
|
|
|
| -$as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
|
|
|
|
|
| -$as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h
|
|
|
| - WITH_THREADS="1"
|
| -fi
|
|
|
| -fi
|
|
|
|
|
| - fi
|
| - case $host_os in
|
| - *mingw32*) if test "$THREAD_LIBS" != "-lpthread"; then
|
| - WITH_THREADS="1"
|
| - THREADS_W32="Win32"
|
| - THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
|
| - fi
|
| - ;;
|
| - *cygwin*) THREAD_LIBS=""
|
| - ;;
|
| - *beos*) WITH_THREADS="1"
|
| - THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
|
| - ;;
|
| - *linux*)
|
| - if test "${GCC}" = "yes" ; then
|
| - GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
|
| - GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'`
|
| - GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
|
| - if test "${THREAD_LIBS}" = "-lpthread" ; then
|
| - if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
|
| - then
|
| - THREAD_LIBS=""
|
| - BASE_THREAD_LIBS="-lpthread"
|
| - else
|
| - if expr ${GCC_MAJOR} \> 3 > /dev/null
|
| - then
|
| - THREAD_LIBS=""
|
| - BASE_THREAD_LIBS="-lpthread"
|
| - else
|
| - echo old GCC disabling weak symbols for pthread
|
| - fi
|
| - fi
|
| - fi
|
| - fi
|
| - ;;
|
| - esac
|
| - if test "$WITH_THREADS" = "1" ; then
|
| - THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
|
| - TEST_THREADS="Threadtests"
|
| - fi
|
| -fi
|
| -if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
|
| - THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
|
| -fi
|
|
|
|
|
|
|
|
|
| + fi
|
| +fi
|
| +if test "${use_tcl}" = "no" ; then
|
| + HAVE_TCL=""
|
| +else
|
| + HAVE_TCL=1
|
| +fi
|
|
|
|
|
| +##########
|
| +# Figure out what C libraries are required to compile programs
|
| +# that use "readline()" library.
|
| +#
|
| +TARGET_READLINE_LIBS=""
|
| +TARGET_READLINE_INC=""
|
| +TARGET_HAVE_READLINE=0
|
| +# Check whether --enable-readline was given.
|
| +if test "${enable_readline+set}" = set; then
|
| + enableval=$enable_readline; with_readline=$enableval
|
| +else
|
| + with_readline=auto
|
| +fi
|
|
|
|
|
| -if test "$with_history" = "yes" ; then
|
| - echo Enabling xmllint shell history
|
| - unset tcap
|
| - for termlib in ncurses curses termcap terminfo termlib; do
|
| - as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
|
| -$as_echo_n "checking for tputs in -l${termlib}... " >&6; }
|
| -if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
|
| - $as_echo_n "(cached) " >&6
|
| -else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-l${termlib} $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| +if test x"$with_readline" != xno; then
|
| + found="yes"
|
|
|
| -/* Override any GCC internal prototype to avoid an error.
|
| - Use char because int might match the return type of a GCC
|
| - builtin and then its argument prototype would still apply. */
|
| -#ifdef __cplusplus
|
| -extern "C"
|
| -#endif
|
| -char tputs ();
|
| -int
|
| -main ()
|
| -{
|
| -return tputs ();
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - eval "$as_ac_Lib=yes"
|
| +
|
| +# Check whether --with-readline-lib was given.
|
| +if test "${with_readline_lib+set}" = set; then
|
| + withval=$with_readline_lib; with_readline_lib=$withval
|
| else
|
| - eval "$as_ac_Lib=no"
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| -fi
|
| -eval ac_res=\$$as_ac_Lib
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
| -$as_echo "$ac_res" >&6; }
|
| -eval as_val=\$$as_ac_Lib
|
| - if test "x$as_val" = x""yes; then :
|
| - tcap="-l$termlib"
|
| + with_readline_lib="auto"
|
| fi
|
|
|
| - test -n "$tcap" && break
|
| - done
|
| -
|
| - ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_readline_history_h" = x""yes; then :
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5
|
| -$as_echo_n "checking for append_history in -lhistory... " >&6; }
|
| -if test "${ac_cv_lib_history_append_history+set}" = set; then :
|
| + if test "x$with_readline_lib" = xauto; then
|
| + save_LIBS="$LIBS"
|
| + LIBS=""
|
| + { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
|
| +$as_echo_n "checking for library containing tgetent... " >&6; }
|
| +if test "${ac_cv_search_tgetent+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| - ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-lhistory $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + ac_func_search_save_LIBS=$LIBS
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| /* Override any GCC internal prototype to avoid an error.
|
| @@ -13841,47 +12962,88 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| #ifdef __cplusplus
|
| extern "C"
|
| #endif
|
| -char append_history ();
|
| +char tgetent ();
|
| int
|
| main ()
|
| {
|
| -return append_history ();
|
| +return tgetent ();
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| - ac_cv_lib_history_append_history=yes
|
| +for ac_lib in '' readline ncurses curses termcap; do
|
| + if test -z "$ac_lib"; then
|
| + ac_res="none required"
|
| + else
|
| + ac_res=-l$ac_lib
|
| + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
| + fi
|
| + rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| + ac_cv_search_tgetent=$ac_res
|
| else
|
| - ac_cv_lib_history_append_history=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5
|
| -$as_echo "$ac_cv_lib_history_append_history" >&6; }
|
| -if test "x$ac_cv_lib_history_append_history" = x""yes; then :
|
| -
|
| - RDL_LIBS="-lhistory"
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -$as_echo "#define HAVE_LIBHISTORY /**/" >>confdefs.h
|
|
|
| fi
|
|
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext
|
| + if test "${ac_cv_search_tgetent+set}" = set; then
|
| + break
|
| +fi
|
| +done
|
| +if test "${ac_cv_search_tgetent+set}" = set; then
|
| + :
|
| +else
|
| + ac_cv_search_tgetent=no
|
| +fi
|
| +rm conftest.$ac_ext
|
| +LIBS=$ac_func_search_save_LIBS
|
| +fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
|
| +$as_echo "$ac_cv_search_tgetent" >&6; }
|
| +ac_res=$ac_cv_search_tgetent
|
| +if test "$ac_res" != no; then
|
| + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
| + term_LIBS="$LIBS"
|
| +else
|
| + term_LIBS=""
|
| fi
|
|
|
| -
|
| - ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_readline_readline_h" = x""yes; then :
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
|
| + { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
|
| $as_echo_n "checking for readline in -lreadline... " >&6; }
|
| -if test "${ac_cv_lib_readline_readline+set}" = set; then :
|
| +if test "${ac_cv_lib_readline_readline+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| ac_check_lib_save_LIBS=$LIBS
|
| -LIBS="-lreadline $tcap $LIBS"
|
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| +LIBS="-lreadline $LIBS"
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
|
|
| /* Override any GCC internal prototype to avoid an error.
|
| @@ -13899,583 +13061,467 @@ return readline ();
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
| +rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| ac_cv_lib_readline_readline=yes
|
| else
|
| - ac_cv_lib_readline_readline=no
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -LIBS=$ac_check_lib_save_LIBS
|
| -fi
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
|
| -$as_echo "$ac_cv_lib_readline_readline" >&6; }
|
| -if test "x$ac_cv_lib_readline_readline" = x""yes; then :
|
| -
|
| - RDL_LIBS="-lreadline $RDL_LIBS $tcap"
|
| -
|
| -$as_echo "#define HAVE_LIBREADLINE /**/" >>confdefs.h
|
| -
|
| -fi
|
| -
|
| -fi
|
| -
|
| -
|
| - if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
|
| - CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
|
| - RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
|
| - fi
|
| -fi
|
| -
|
| -if test "$with_tree" = "no" ; then
|
| - echo Disabling DOM like tree manipulation APIs
|
| - WITH_TREE=0
|
| -else
|
| - WITH_TREE=1
|
| -fi
|
| -
|
| -
|
| -if test "$with_ftp" = "no" ; then
|
| - echo Disabling FTP support
|
| - WITH_FTP=0
|
| - FTP_OBJ=
|
| -else
|
| - WITH_FTP=1
|
| - FTP_OBJ=nanoftp.o
|
| -fi
|
| -
|
| -
|
| -
|
| -if test "$with_http" = "no" ; then
|
| - echo Disabling HTTP support
|
| - WITH_HTTP=0
|
| - HTTP_OBJ=
|
| -else
|
| - WITH_HTTP=1
|
| - HTTP_OBJ=nanohttp.o
|
| -fi
|
| -
|
| -
|
| -
|
| -if test "$with_legacy" = "no" ; then
|
| - echo Disabling deprecated APIs
|
| - WITH_LEGACY=0
|
| -else
|
| - WITH_LEGACY=1
|
| -fi
|
| -
|
| -
|
| -if test "$with_reader" = "no" ; then
|
| - echo Disabling the xmlReader parsing interface
|
| - WITH_READER=0
|
| - READER_TEST=
|
| -else
|
| - WITH_READER=1
|
| - READER_TEST=Readertests
|
| - if test "$with_push" = "no" ; then
|
| - echo xmlReader requires Push interface - enabling it
|
| - with_push=yes
|
| - fi
|
| -fi
|
| -
|
| -
|
| -
|
| -if test "$with_writer" = "no" ; then
|
| - echo Disabling the xmlWriter saving interface
|
| - WITH_WRITER=0
|
| -# WRITER_TEST=
|
| -else
|
| - WITH_WRITER=1
|
| -# WRITER_TEST=Writertests
|
| - if test "$with_push" = "no" ; then
|
| - echo xmlWriter requires Push interface - enabling it
|
| - with_push=yes
|
| - fi
|
| - if test "$with_output" = "no" ; then
|
| - echo xmlWriter requires Output interface - enabling it
|
| - with_output=yes
|
| - fi
|
| -fi
|
| -
|
| -#AC_SUBST(WRITER_TEST)
|
| -
|
| -if test "$with_pattern" = "no" ; then
|
| - echo Disabling the xmlPattern parsing interface
|
| - WITH_PATTERN=0
|
| - TEST_PATTERN=
|
| -else
|
| - WITH_PATTERN=1
|
| - TEST_PATTERN=Patterntests
|
| -fi
|
| -
|
| -
|
| -
|
| -if test "$with_sax1" = "no" ; then
|
| - echo Disabling the older SAX1 interface
|
| - WITH_SAX1=0
|
| - TEST_SAX=
|
| -else
|
| - WITH_SAX1=1
|
| - TEST_SAX=SAXtests
|
| -fi
|
| -
|
| -
|
| -
|
| -if test "$with_push" = "no" ; then
|
| - echo Disabling the PUSH parser interfaces
|
| - WITH_PUSH=0
|
| - TEST_PUSH=
|
| -else
|
| - WITH_PUSH=1
|
| - TEST_PUSH="XMLPushtests"
|
| -fi
|
| -
|
| -
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -if test "$with_html" = "no" ; then
|
| - echo Disabling HTML support
|
| - WITH_HTML=0
|
| - HTML_OBJ=
|
| - TEST_HTML=
|
| -else
|
| - WITH_HTML=1
|
| - HTML_OBJ="HTMLparser.o HTMLtree.o"
|
| - TEST_HTML=HTMLtests
|
| - if test "$with_push" != "no" ; then
|
| - TEST_PHTML=HTMLPushtests
|
| - else
|
| - TEST_PHTML=
|
| - fi
|
| + ac_cv_lib_readline_readline=no
|
| fi
|
|
|
| -
|
| -
|
| -
|
| -
|
| -if test "$with_valid" = "no" ; then
|
| - echo Disabling DTD validation support
|
| - WITH_VALID=0
|
| - TEST_VALID=
|
| - TEST_VTIME=
|
| -else
|
| - WITH_VALID=1
|
| - TEST_VALID=Validtests
|
| - TEST_VTIME=VTimingtests
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext conftest.$ac_ext
|
| +LIBS=$ac_check_lib_save_LIBS
|
| fi
|
| -
|
| -
|
| -
|
| -
|
| -if test "$with_catalog" = "no" ; then
|
| - echo Disabling Catalog support
|
| - WITH_CATALOG=0
|
| - CATALOG_OBJ=
|
| - TEST_CATALOG=
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
|
| +$as_echo "$ac_cv_lib_readline_readline" >&6; }
|
| +if test $ac_cv_lib_readline_readline = yes; then
|
| + TARGET_READLINE_LIBS="-lreadline"
|
| else
|
| - WITH_CATALOG=1
|
| - CATALOG_OBJ="catalog.o"
|
| - TEST_CATALOG=Catatests
|
| + found="no"
|
| fi
|
|
|
| + TARGET_READLINE_LIBS="$TARGET_READLINE_LIBS $term_LIBS"
|
| + LIBS="$save_LIBS"
|
| + else
|
| + TARGET_READLINE_LIBS="$with_readline_lib"
|
| + fi
|
|
|
|
|
| -
|
| -if test "$with_docbook" = "no" ; then
|
| - echo Disabling Docbook support
|
| - WITH_DOCB=0
|
| - DOCB_OBJ=
|
| +# Check whether --with-readline-inc was given.
|
| +if test "${with_readline_inc+set}" = set; then
|
| + withval=$with_readline_inc; with_readline_inc=$withval
|
| else
|
| - WITH_DOCB=1
|
| - DOCB_OBJ="DOCBparser.o"
|
| + with_readline_inc="auto"
|
| fi
|
|
|
| -
|
| -
|
| -
|
| -if test "$with_xptr" = "no" ; then
|
| - echo Disabling XPointer support
|
| - WITH_XPTR=0
|
| - XPTR_OBJ=
|
| - TEST_XPTR=
|
| -else
|
| - WITH_XPTR=1
|
| - XPTR_OBJ=xpointer.o
|
| - TEST_XPTR=XPtrtests
|
| - if test "$with_xpath" = "no" ; then
|
| - echo XPointer requires XPath support - enabling it
|
| - with_xpath=yes
|
| - fi
|
| + if test "x$with_readline_inc" = xauto; then
|
| + if test "${ac_cv_header_readline_h+set}" = set; then
|
| + { $as_echo "$as_me:$LINENO: checking for readline.h" >&5
|
| +$as_echo_n "checking for readline.h... " >&6; }
|
| +if test "${ac_cv_header_readline_h+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| fi
|
| -
|
| -
|
| -
|
| -
|
| -if test "$with_c14n" = "no" ; then
|
| - echo Disabling C14N support
|
| - WITH_C14N=0
|
| - C14N_OBJ=
|
| - TEST_C14N=
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
|
| +$as_echo "$ac_cv_header_readline_h" >&6; }
|
| else
|
| - WITH_C14N=1
|
| - C14N_OBJ="c14n.c"
|
| - TEST_C14N=C14Ntests
|
| - if test "$with_xpath" = "no" ; then
|
| - echo C14N requires XPath support - enabling it
|
| - with_xpath=yes
|
| - fi
|
| -fi
|
| -
|
| -
|
| -
|
| -
|
| -if test "$with_xinclude" = "no" ; then
|
| - echo Disabling XInclude support
|
| - WITH_XINCLUDE=0
|
| - XINCLUDE_OBJ=
|
| - with_xinclude="no"
|
| - TEST_XINCLUDE=
|
| + # Is the header compilable?
|
| +{ $as_echo "$as_me:$LINENO: checking readline.h usability" >&5
|
| +$as_echo_n "checking readline.h usability... " >&6; }
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +$ac_includes_default
|
| +#include <readline.h>
|
| +_ACEOF
|
| +rm -f conftest.$ac_objext
|
| +if { (ac_try="$ac_compile"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_compile") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest.$ac_objext; then
|
| + ac_header_compiler=yes
|
| else
|
| - WITH_XINCLUDE=1
|
| - XINCLUDE_OBJ=xinclude.o
|
| - TEST_XINCLUDE=XIncludetests
|
| - if test "$with_xpath" = "no" ; then
|
| - echo XInclude requires XPath support - enabling it
|
| - with_xpath=yes
|
| - fi
|
| -fi
|
| -
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + ac_header_compiler=no
|
| +fi
|
|
|
| +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
| +$as_echo "$ac_header_compiler" >&6; }
|
|
|
| -if test "$with_xpath" = "no" ; then
|
| - echo Disabling XPATH support
|
| - WITH_XPATH=0
|
| - XPATH_OBJ=
|
| - TEST_XPATH=
|
| +# Is the header present?
|
| +{ $as_echo "$as_me:$LINENO: checking readline.h presence" >&5
|
| +$as_echo_n "checking readline.h presence... " >&6; }
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| +/* end confdefs.h. */
|
| +#include <readline.h>
|
| +_ACEOF
|
| +if { (ac_try="$ac_cpp conftest.$ac_ext"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } >/dev/null && {
|
| + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + }; then
|
| + ac_header_preproc=yes
|
| else
|
| - WITH_XPATH=1
|
| - XPATH_OBJ=xpath.o
|
| - TEST_XPATH=XPathtests
|
| -fi
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| + ac_header_preproc=no
|
| +fi
|
|
|
| +rm -f conftest.err conftest.$ac_ext
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
| +$as_echo "$ac_header_preproc" >&6; }
|
|
|
| +# So? What about this header?
|
| +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
| + yes:no: )
|
| + { $as_echo "$as_me:$LINENO: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
| +$as_echo "$as_me: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the compiler's result" >&5
|
| +$as_echo "$as_me: WARNING: readline.h: proceeding with the compiler's result" >&2;}
|
| + ac_header_preproc=yes
|
| + ;;
|
| + no:yes:* )
|
| + { $as_echo "$as_me:$LINENO: WARNING: readline.h: present but cannot be compiled" >&5
|
| +$as_echo "$as_me: WARNING: readline.h: present but cannot be compiled" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: readline.h: check for missing prerequisite headers?" >&5
|
| +$as_echo "$as_me: WARNING: readline.h: check for missing prerequisite headers?" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: readline.h: see the Autoconf documentation" >&5
|
| +$as_echo "$as_me: WARNING: readline.h: see the Autoconf documentation" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: readline.h: section \"Present But Cannot Be Compiled\"" >&5
|
| +$as_echo "$as_me: WARNING: readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the preprocessor's result" >&5
|
| +$as_echo "$as_me: WARNING: readline.h: proceeding with the preprocessor's result" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: readline.h: in the future, the compiler will take precedence" >&5
|
| +$as_echo "$as_me: WARNING: readline.h: in the future, the compiler will take precedence" >&2;}
|
|
|
| -if test "$with_output" = "no" ; then
|
| - echo Disabling serialization/saving support
|
| - WITH_OUTPUT=0
|
| + ;;
|
| +esac
|
| +{ $as_echo "$as_me:$LINENO: checking for readline.h" >&5
|
| +$as_echo_n "checking for readline.h... " >&6; }
|
| +if test "${ac_cv_header_readline_h+set}" = set; then
|
| + $as_echo_n "(cached) " >&6
|
| else
|
| - WITH_OUTPUT=1
|
| + ac_cv_header_readline_h=$ac_header_preproc
|
| fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
|
| +$as_echo "$ac_cv_header_readline_h" >&6; }
|
|
|
| -
|
| -WITH_ICU=1
|
| -
|
| -
|
| -WITH_ICONV=0
|
| -if test "$with_iconv" = "no" ; then
|
| - echo Disabling ICONV support
|
| +fi
|
| +if test $ac_cv_header_readline_h = yes; then
|
| + found="yes"
|
| else
|
| - if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
|
| - CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
|
| - # Export this since our headers include iconv.h
|
| - XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
|
| - ICONV_LIBS="-L$with_iconv/lib"
|
| - fi
|
| -
|
| - ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
|
| -if test "x$ac_cv_header_iconv_h" = x""yes; then :
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
|
| -$as_echo_n "checking for iconv... " >&6; }
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <stdlib.h>
|
| -#include <iconv.h>
|
| -int
|
| -main ()
|
| -{
|
| -
|
| -iconv_t cd = iconv_open ("","");
|
| -iconv (cd, NULL, NULL, NULL, NULL);
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| -$as_echo "yes" >&6; }
|
| - WITH_ICONV=1
|
| + found="no"
|
| + if test "$cross_compiling" != yes; then
|
| + for dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do
|
| + for subdir in include include/readline; do
|
| + as_ac_File=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
|
| +{ $as_echo "$as_me:$LINENO: checking for $dir/$subdir/readline.h" >&5
|
| +$as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
|
| +if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
| + $as_echo_n "(cached) " >&6
|
| else
|
| + test "$cross_compiling" = yes &&
|
| + { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
| +$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| +if test -r "$dir/$subdir/readline.h"; then
|
| + eval "$as_ac_File=yes"
|
| +else
|
| + eval "$as_ac_File=no"
|
| +fi
|
| +fi
|
| +ac_res=`eval 'as_val=${'$as_ac_File'}
|
| + $as_echo "$as_val"'`
|
| + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
| +$as_echo "$ac_res" >&6; }
|
| +if test `eval 'as_val=${'$as_ac_File'}
|
| + $as_echo "$as_val"'` = yes; then
|
| + found=yes
|
| +fi
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -liconv" >&5
|
| -$as_echo_n "checking for iconv in -liconv... " >&6; }
|
| -
|
| - _ldflags="${LDFLAGS}"
|
| - _libs="${LIBS}"
|
| - LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
|
| - LIBS="${LIBS} -liconv"
|
| + if test "$found" = "yes"; then
|
| + TARGET_READLINE_INC="-I$dir/$subdir"
|
| + break
|
| + fi
|
| + done
|
| + test "$found" = "yes" && break
|
| + done
|
| + fi
|
|
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| -/* end confdefs.h. */
|
| -#include <stdlib.h>
|
| -#include <iconv.h>
|
| -int
|
| -main ()
|
| -{
|
| +fi
|
|
|
| -iconv_t cd = iconv_open ("","");
|
| -iconv (cd, NULL, NULL, NULL, NULL);
|
| - ;
|
| - return 0;
|
| -}
|
| -_ACEOF
|
| -if ac_fn_c_try_link "$LINENO"; then :
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
| -$as_echo "yes" >&6; }
|
| - WITH_ICONV=1
|
| - ICONV_LIBS="${ICONV_LIBS} -liconv"
|
| - LIBS="${_libs}"
|
| - LDFLAGS="${_ldflags}"
|
| -else
|
| + else
|
| + TARGET_READLINE_INC="$with_readline_inc"
|
| + fi
|
|
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
| -$as_echo "no" >&6; }
|
| - LIBS="${_libs}"
|
| - LDFLAGS="${_ldflags}"
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext \
|
| - conftest$ac_exeext conftest.$ac_ext
|
| + if test x"$found" = xno; then
|
| + TARGET_READLINE_LIBS=""
|
| + TARGET_READLINE_INC=""
|
| + TARGET_HAVE_READLINE=0
|
| + else
|
| + TARGET_HAVE_READLINE=1
|
| + fi
|
| fi
|
|
|
|
|
|
|
| - if test "$WITH_ICONV" = "1" ; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
|
| -$as_echo_n "checking for iconv declaration... " >&6; }
|
| - if test "${xml_cv_iconv_arg2+set}" = set; then :
|
| +
|
| +
|
| +##########
|
| +# Figure out what C libraries are required to compile programs
|
| +# that use "fdatasync()" function.
|
| +#
|
| +{ $as_echo "$as_me:$LINENO: checking for library containing fdatasync" >&5
|
| +$as_echo_n "checking for library containing fdatasync... " >&6; }
|
| +if test "${ac_cv_search_fdatasync+set}" = set; then
|
| $as_echo_n "(cached) " >&6
|
| else
|
| -
|
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| + ac_func_search_save_LIBS=$LIBS
|
| +cat >conftest.$ac_ext <<_ACEOF
|
| +/* confdefs.h. */
|
| +_ACEOF
|
| +cat confdefs.h >>conftest.$ac_ext
|
| +cat >>conftest.$ac_ext <<_ACEOF
|
| /* end confdefs.h. */
|
| -#include <stdlib.h>
|
| -#include <iconv.h>
|
| -extern
|
| +
|
| +/* Override any GCC internal prototype to avoid an error.
|
| + Use char because int might match the return type of a GCC
|
| + builtin and then its argument prototype would still apply. */
|
| #ifdef __cplusplus
|
| -"C"
|
| -#endif
|
| -#if defined(__STDC__) || defined(__cplusplus)
|
| -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
|
| -#else
|
| -size_t iconv();
|
| +extern "C"
|
| #endif
|
| -
|
| +char fdatasync ();
|
| int
|
| main ()
|
| {
|
| -
|
| +return fdatasync ();
|
| ;
|
| return 0;
|
| }
|
| _ACEOF
|
| -if ac_fn_c_try_compile "$LINENO"; then :
|
| - xml_cv_iconv_arg2=""
|
| +for ac_lib in '' rt; do
|
| + if test -z "$ac_lib"; then
|
| + ac_res="none required"
|
| + else
|
| + ac_res=-l$ac_lib
|
| + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
| + fi
|
| + rm -f conftest.$ac_objext conftest$ac_exeext
|
| +if { (ac_try="$ac_link"
|
| +case "(($ac_try" in
|
| + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
| + *) ac_try_echo=$ac_try;;
|
| +esac
|
| +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
| +$as_echo "$ac_try_echo") >&5
|
| + (eval "$ac_link") 2>conftest.er1
|
| + ac_status=$?
|
| + grep -v '^ *+' conftest.er1 >conftest.err
|
| + rm -f conftest.er1
|
| + cat conftest.err >&5
|
| + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
| + (exit $ac_status); } && {
|
| + test -z "$ac_c_werror_flag" ||
|
| + test ! -s conftest.err
|
| + } && test -s conftest$ac_exeext && {
|
| + test "$cross_compiling" = yes ||
|
| + $as_test_x conftest$ac_exeext
|
| + }; then
|
| + ac_cv_search_fdatasync=$ac_res
|
| else
|
| - xml_cv_iconv_arg2="const"
|
| -fi
|
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
| -fi
|
| -
|
| -
|
| - xml_cv_iconv_decl="extern size_t iconv (iconv_t cd, $xml_cv_iconv_arg2 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xml_xxx:-
|
| - }$xml_cv_iconv_decl" >&5
|
| -$as_echo "${xml_xxx:-
|
| - }$xml_cv_iconv_decl" >&6; }
|
| + $as_echo "$as_me: failed program was:" >&5
|
| +sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
| -cat >>confdefs.h <<_ACEOF
|
| -#define ICONV_CONST $xml_cv_iconv_arg2
|
| -_ACEOF
|
|
|
| - fi
|
| fi
|
| -case "$host" in
|
| - *mingw*) M_LIBS=""
|
| - ;;
|
| - *beos*) M_LIBS=""
|
| - ;;
|
| - *haiku*) M_LIBS=""
|
| - ;;
|
| - *) M_LIBS="-lm"
|
| - ;;
|
| -esac
|
| -XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
|
| -XML_LIBTOOLLIBS="libxml2.la"
|
| -
|
|
|
| -WITH_ISO8859X=1
|
| -if test "$WITH_ICONV" != "1" ; then
|
| -if test "$with_iso8859x" = "no" ; then
|
| - echo Disabling ISO8859X support
|
| - WITH_ISO8859X=0
|
| -fi
|
| +rm -rf conftest.dSYM
|
| +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| + conftest$ac_exeext
|
| + if test "${ac_cv_search_fdatasync+set}" = set; then
|
| + break
|
| fi
|
| -
|
| -
|
| -if test "$with_schematron" = "no" ; then
|
| - echo "Disabling Schematron support"
|
| - WITH_SCHEMATRON=0
|
| - TEST_SCHEMATRON=
|
| +done
|
| +if test "${ac_cv_search_fdatasync+set}" = set; then
|
| + :
|
| else
|
| - echo "Enabled Schematron support"
|
| - WITH_SCHEMATRON=1
|
| - TEST_SCHEMATRON="Schematrontests"
|
| - with_xpath=yes
|
| - with_pattern=yes
|
| + ac_cv_search_fdatasync=no
|
| +fi
|
| +rm conftest.$ac_ext
|
| +LIBS=$ac_func_search_save_LIBS
|
| fi
|
| +{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_fdatasync" >&5
|
| +$as_echo "$ac_cv_search_fdatasync" >&6; }
|
| +ac_res=$ac_cv_search_fdatasync
|
| +if test "$ac_res" != no; then
|
| + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
|
|
| +fi
|
|
|
|
|
| -if test "$with_schemas" = "no" ; then
|
| - echo "Disabling Schemas/Relax-NG support"
|
| - WITH_SCHEMAS=0
|
| - TEST_SCHEMAS=
|
| +#########
|
| +# check for debug enabled
|
| +# Check whether --enable-debug was given.
|
| +if test "${enable_debug+set}" = set; then
|
| + enableval=$enable_debug; use_debug=$enableval
|
| else
|
| - echo "Enabled Schemas/Relax-NG support"
|
| - WITH_SCHEMAS=1
|
| - TEST_SCHEMAS="Schemastests Relaxtests"
|
| - if test "$PYTHON_INCLUDES" != "" ; then
|
| - PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
|
| - fi
|
| - with_regexps=yes
|
| + use_debug=no
|
| fi
|
|
|
| -
|
| -
|
| -if test "$with_regexps" = "no" ; then
|
| - echo Disabling Regexps support
|
| - WITH_REGEXPS=0
|
| - TEST_REGEXPS=
|
| +if test "${use_debug}" = "yes" ; then
|
| + TARGET_DEBUG="-DSQLITE_DEBUG=1"
|
| else
|
| - WITH_REGEXPS=1
|
| - TEST_REGEXPS="Regexptests Automatatests"
|
| + TARGET_DEBUG="-DNDEBUG"
|
| fi
|
|
|
|
|
| -
|
| -if test "$with_debug" = "no" ; then
|
| - echo Disabling DEBUG support
|
| - WITH_DEBUG=0
|
| - DEBUG_OBJ=
|
| - TEST_DEBUG=
|
| +#########
|
| +# See whether we should use the amalgamation to build
|
| +# Check whether --enable-amalgamation was given.
|
| +if test "${enable_amalgamation+set}" = set; then
|
| + enableval=$enable_amalgamation; use_amalgamation=$enableval
|
| else
|
| - WITH_DEBUG=1
|
| - DEBUG_OBJ=debugXML.o
|
| - TEST_DEBUG=Scripttests
|
| + use_amalgamation=yes
|
| fi
|
|
|
| +if test "${use_amalgamation}" != "yes" ; then
|
| + USE_AMALGAMATION=0
|
| +fi
|
|
|
|
|
| -
|
| -if test "$with_mem_debug" = "yes" ; then
|
| - if test "$with_thread_alloc" = "yes" ; then
|
| - echo Disabling memory debug - cannot use mem-debug with thread-alloc!
|
| - WITH_MEM_DEBUG=0
|
| - else
|
| - echo Enabling memory debug support
|
| - WITH_MEM_DEBUG=1
|
| - fi
|
| +#########
|
| +# See whether we should allow loadable extensions
|
| +# Check whether --enable-load-extension was given.
|
| +if test "${enable_load_extension+set}" = set; then
|
| + enableval=$enable_load_extension; use_loadextension=$enableval
|
| else
|
| - WITH_MEM_DEBUG=0
|
| + use_loadextension=no
|
| fi
|
|
|
| -
|
| -if test "$with_run_debug" = "yes" ; then
|
| - echo Enabling runtime debug support
|
| - WITH_RUN_DEBUG=1
|
| +if test "${use_loadextension}" = "yes" ; then
|
| + OPT_FEATURE_FLAGS=""
|
| else
|
| - WITH_RUN_DEBUG=0
|
| + OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
|
| fi
|
|
|
| +#########
|
| +# attempt to duplicate any OMITS and ENABLES into the $(OPT_FEATURE_FLAGS) parameter
|
| +for option in $CFLAGS $CPPFLAGS
|
| +do
|
| + case $option in
|
| + -DSQLITE_OMIT*) OPT_FEATURE_FLAGS="$OPT_FEATURE_FLAGS $option";;
|
| + -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS="$OPT_FEATURE_FLAGS $option";;
|
| + esac
|
| +done
|
|
|
| -WIN32_EXTRA_LIBADD=
|
| -WIN32_EXTRA_LDFLAGS=
|
| -CYGWIN_EXTRA_LDFLAGS=
|
| -CYGWIN_EXTRA_PYTHON_LIBADD=
|
| -case "$host" in
|
| - *-*-mingw*)
|
| - CPPFLAGS="$CPPFLAGS -DWIN32"
|
| - WIN32_EXTRA_LIBADD="-lws2_32"
|
| - WIN32_EXTRA_LDFLAGS="-no-undefined"
|
| -
|
| -$as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h
|
| -
|
| -
|
| -$as_echo "#define snprintf _snprintf" >>confdefs.h
|
|
|
|
|
| -$as_echo "#define vsnprintf _vsnprintf" >>confdefs.h
|
| +# attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
|
| +ac_temp_CFLAGS=""
|
| +for option in $CFLAGS
|
| +do
|
| + case $option in
|
| + -DSQLITE_OMIT*) ;;
|
| + -DSQLITE_ENABLE*) ;;
|
| + *) ac_temp_CFLAGS="$ac_temp_CFLAGS $option";;
|
| + esac
|
| +done
|
| +CFLAGS=$ac_temp_CFLAGS
|
|
|
| - ;;
|
| - *-*-cygwin*)
|
| - CYGWIN_EXTRA_LDFLAGS="-no-undefined"
|
| - if test "${PYTHON}" != ""
|
| - then
|
| - CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
|
| - fi
|
| - ;;
|
| -esac
|
|
|
| +# attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
|
| +ac_temp_CPPFLAGS=""
|
| +for option in $CPPFLAGS
|
| +do
|
| + case $option in
|
| + -DSQLITE_OMIT*) ;;
|
| + -DSQLITE_ENABLE*) ;;
|
| + *) ac_temp_CPPFLAGS="$ac_temp_CPPFLAGS $option";;
|
| + esac
|
| +done
|
| +CPPFLAGS=$ac_temp_CPPFLAGS
|
|
|
|
|
| +# attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
|
| +ac_temp_BUILD_CFLAGS=""
|
| +for option in $BUILD_CFLAGS
|
| +do
|
| + case $option in
|
| + -DSQLITE_OMIT*) ;;
|
| + -DSQLITE_ENABLE*) ;;
|
| + *) ac_temp_BUILD_CFLAGS="$ac_temp_BUILD_CFLAGS $option";;
|
| + esac
|
| +done
|
| +BUILD_CFLAGS=$ac_temp_BUILD_CFLAGS
|
|
|
|
|
| -if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
|
| -then
|
| - echo Enabling code coverage for GCC
|
| - CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
|
| - LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
|
| +#########
|
| +# See whether we should use GCOV
|
| +# Check whether --enable-gcov was given.
|
| +if test "${enable_gcov+set}" = set; then
|
| + enableval=$enable_gcov; use_gcov=$enableval
|
| else
|
| - echo Disabling code coverage for GCC
|
| + use_gcov=no
|
| fi
|
|
|
| +if test "${use_gcov}" = "yes" ; then
|
| + USE_GCOV=1
|
| +else
|
| + USE_GCOV=0
|
| +fi
|
|
|
|
|
|
|
| +#########
|
| +# Output the config header
|
| +ac_config_headers="$ac_config_headers config.h"
|
|
|
|
|
| +#########
|
| +# Generate the output files.
|
| +#
|
|
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -
|
| -RELDATE=`date +'%a %b %e %Y'`
|
| -
|
| -
|
| -
|
| -rm -f COPYING.LIB COPYING
|
| -ln -s Copyright COPYING
|
| -
|
| -# keep on one line for cygwin c.f. #130896
|
| -ac_config_files="$ac_config_files include/libxml/xmlversion.h xml2-config"
|
| +ac_config_files="$ac_config_files Makefile sqlite3.pc"
|
|
|
| cat >confcache <<\_ACEOF
|
| # This file is a shell script that caches the results of configure
|
| @@ -14504,13 +13550,13 @@ _ACEOF
|
| case $ac_val in #(
|
| *${as_nl}*)
|
| case $ac_var in #(
|
| - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
| -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
| + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
| +$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
| esac
|
| case $ac_var in #(
|
| _ | IFS | as_nl) ;; #(
|
| BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
| - *) { eval $ac_var=; unset $ac_var;} ;;
|
| + *) $as_unset $ac_var ;;
|
| esac ;;
|
| esac
|
| done
|
| @@ -14518,8 +13564,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
| (set) 2>&1 |
|
| case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
| *${as_nl}ac_space=\ *)
|
| - # `set' does not quote correctly, so add quotes: double-quote
|
| - # substitution turns \\\\ into \\, and sed turns \\ into \.
|
| + # `set' does not quote correctly, so add quotes (double-quote
|
| + # substitution turns \\\\ into \\, and sed turns \\ into \).
|
| sed -n \
|
| "s/'/'\\\\''/g;
|
| s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
| @@ -14542,11 +13588,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
| if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
| if test -w "$cache_file"; then
|
| test "x$cache_file" != "x/dev/null" &&
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
| + { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
| $as_echo "$as_me: updating cache $cache_file" >&6;}
|
| cat confcache >$cache_file
|
| else
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
| + { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
| $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
| fi
|
| fi
|
| @@ -14566,55 +13612,22 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
| ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
| # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
| # will be set to the directory where LIBOBJS objects are built.
|
| - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
| - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
| + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
| + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
| done
|
| LIBOBJS=$ac_libobjs
|
|
|
| LTLIBOBJS=$ac_ltlibobjs
|
|
|
|
|
| - if test -n "$EXEEXT"; then
|
| - am__EXEEXT_TRUE=
|
| - am__EXEEXT_FALSE='#'
|
| -else
|
| - am__EXEEXT_TRUE='#'
|
| - am__EXEEXT_FALSE=
|
| -fi
|
| -
|
| -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
| - as_fn_error "conditional \"AMDEP\" was never defined.
|
| -Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| -fi
|
| -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
| - as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
| -Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| -fi
|
| -if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
|
| - as_fn_error "conditional \"USE_VERSION_SCRIPT\" was never defined.
|
| -Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| -fi
|
| -if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
|
| - as_fn_error "conditional \"REBUILD_DOCS\" was never defined.
|
| -Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| -fi
|
| -if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
|
| - as_fn_error "conditional \"WITH_PYTHON\" was never defined.
|
| -Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| -fi
|
| -if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
|
| - as_fn_error "conditional \"WITH_TRIO_SOURCES\" was never defined.
|
| -Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
| -fi
|
|
|
| : ${CONFIG_STATUS=./config.status}
|
| ac_write_fail=0
|
| ac_clean_files_save=$ac_clean_files
|
| ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
| +{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
| $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
| -as_write_fail=0
|
| -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
| +cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| #! $SHELL
|
| # Generated by $as_me.
|
| # Run this file to recreate the current configuration.
|
| @@ -14624,18 +13637,17 @@ cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
| debug=false
|
| ac_cs_recheck=false
|
| ac_cs_silent=false
|
| -
|
| SHELL=\${CONFIG_SHELL-$SHELL}
|
| -export SHELL
|
| -_ASEOF
|
| -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
| -## -------------------- ##
|
| -## M4sh Initialization. ##
|
| -## -------------------- ##
|
| +_ACEOF
|
| +
|
| +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| +## --------------------- ##
|
| +## M4sh Initialization. ##
|
| +## --------------------- ##
|
|
|
| # Be more Bourne compatible
|
| DUALCASE=1; export DUALCASE # for MKS sh
|
| -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
| +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
| emulate sh
|
| NULLCMD=:
|
| # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
| @@ -14643,15 +13655,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
| alias -g '${1+"$@"}'='"$@"'
|
| setopt NO_GLOB_SUBST
|
| else
|
| - case `(set -o) 2>/dev/null` in #(
|
| - *posix*) :
|
| - set -o posix ;; #(
|
| - *) :
|
| - ;;
|
| + case `(set -o) 2>/dev/null` in
|
| + *posix*) set -o posix ;;
|
| esac
|
| +
|
| fi
|
|
|
|
|
| +
|
| +
|
| +# PATH needs CR
|
| +# Avoid depending upon Character Ranges.
|
| +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
| +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
| +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
| +as_cr_digits='0123456789'
|
| +as_cr_alnum=$as_cr_Letters$as_cr_digits
|
| +
|
| as_nl='
|
| '
|
| export as_nl
|
| @@ -14659,13 +13679,7 @@ export as_nl
|
| as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
| as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
| as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
| -# Prefer a ksh shell builtin over an external printf program on Solaris,
|
| -# but without wasting forks for bash or zsh.
|
| -if test -z "$BASH_VERSION$ZSH_VERSION" \
|
| - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
| - as_echo='print -r --'
|
| - as_echo_n='print -rn --'
|
| -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
| +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
| as_echo='printf %s\n'
|
| as_echo_n='printf %s'
|
| else
|
| @@ -14676,7 +13690,7 @@ else
|
| as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
| as_echo_n_body='eval
|
| arg=$1;
|
| - case $arg in #(
|
| + case $arg in
|
| *"$as_nl"*)
|
| expr "X$arg" : "X\\(.*\\)$as_nl";
|
| arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
| @@ -14699,6 +13713,13 @@ if test "${PATH_SEPARATOR+set}" != set; then
|
| }
|
| fi
|
|
|
| +# Support unset when possible.
|
| +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
| + as_unset=unset
|
| +else
|
| + as_unset=false
|
| +fi
|
| +
|
|
|
| # IFS
|
| # We need space, tab and new line, in precisely that order. Quoting is
|
| @@ -14708,15 +13729,15 @@ fi
|
| IFS=" "" $as_nl"
|
|
|
| # Find who we are. Look in the path if we contain no directory separator.
|
| -case $0 in #((
|
| +case $0 in
|
| *[\\/]* ) as_myself=$0 ;;
|
| *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
| for as_dir in $PATH
|
| do
|
| IFS=$as_save_IFS
|
| test -z "$as_dir" && as_dir=.
|
| - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
| - done
|
| + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
| +done
|
| IFS=$as_save_IFS
|
|
|
| ;;
|
| @@ -14728,16 +13749,12 @@ if test "x$as_myself" = x; then
|
| fi
|
| if test ! -f "$as_myself"; then
|
| $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
| - exit 1
|
| + { (exit 1); exit 1; }
|
| fi
|
|
|
| -# Unset variables that we do not need and which cause bugs (e.g. in
|
| -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
| -# suppresses any "Segmentation fault" message there. '((' could
|
| -# trigger a bug in pdksh 5.2.14.
|
| -for as_var in BASH_ENV ENV MAIL MAILPATH
|
| -do eval test x\${$as_var+set} = xset \
|
| - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
| +# Work around bugs in pre-3.0 UWIN ksh.
|
| +for as_var in ENV MAIL MAILPATH
|
| +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
| done
|
| PS1='$ '
|
| PS2='> '
|
| @@ -14749,89 +13766,7 @@ export LC_ALL
|
| LANGUAGE=C
|
| export LANGUAGE
|
|
|
| -# CDPATH.
|
| -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
| -
|
| -
|
| -# as_fn_error ERROR [LINENO LOG_FD]
|
| -# ---------------------------------
|
| -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
| -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
| -# script with status $?, using 1 if that was 0.
|
| -as_fn_error ()
|
| -{
|
| - as_status=$?; test $as_status -eq 0 && as_status=1
|
| - if test "$3"; then
|
| - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
| - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
| - fi
|
| - $as_echo "$as_me: error: $1" >&2
|
| - as_fn_exit $as_status
|
| -} # as_fn_error
|
| -
|
| -
|
| -# as_fn_set_status STATUS
|
| -# -----------------------
|
| -# Set $? to STATUS, without forking.
|
| -as_fn_set_status ()
|
| -{
|
| - return $1
|
| -} # as_fn_set_status
|
| -
|
| -# as_fn_exit STATUS
|
| -# -----------------
|
| -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
| -as_fn_exit ()
|
| -{
|
| - set +e
|
| - as_fn_set_status $1
|
| - exit $1
|
| -} # as_fn_exit
|
| -
|
| -# as_fn_unset VAR
|
| -# ---------------
|
| -# Portably unset VAR.
|
| -as_fn_unset ()
|
| -{
|
| - { eval $1=; unset $1;}
|
| -}
|
| -as_unset=as_fn_unset
|
| -# as_fn_append VAR VALUE
|
| -# ----------------------
|
| -# Append the text in VALUE to the end of the definition contained in VAR. Take
|
| -# advantage of any shell optimizations that allow amortized linear growth over
|
| -# repeated appends, instead of the typical quadratic growth present in naive
|
| -# implementations.
|
| -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
| - eval 'as_fn_append ()
|
| - {
|
| - eval $1+=\$2
|
| - }'
|
| -else
|
| - as_fn_append ()
|
| - {
|
| - eval $1=\$$1\$2
|
| - }
|
| -fi # as_fn_append
|
| -
|
| -# as_fn_arith ARG...
|
| -# ------------------
|
| -# Perform arithmetic evaluation on the ARGs, and store the result in the
|
| -# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
| -# must be portable across $(()) and expr.
|
| -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
| - eval 'as_fn_arith ()
|
| - {
|
| - as_val=$(( $* ))
|
| - }'
|
| -else
|
| - as_fn_arith ()
|
| - {
|
| - as_val=`expr "$@" || test $? -eq 1`
|
| - }
|
| -fi # as_fn_arith
|
| -
|
| -
|
| +# Required to use basename.
|
| if expr a : '\(a\)' >/dev/null 2>&1 &&
|
| test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
| as_expr=expr
|
| @@ -14845,12 +13780,8 @@ else
|
| as_basename=false
|
| fi
|
|
|
| -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
| - as_dirname=dirname
|
| -else
|
| - as_dirname=false
|
| -fi
|
|
|
| +# Name of the executable.
|
| as_me=`$as_basename -- "$0" ||
|
| $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
| X"$0" : 'X\(//\)$' \| \
|
| @@ -14870,25 +13801,76 @@ $as_echo X/"$0" |
|
| }
|
| s/.*/./; q'`
|
|
|
| -# Avoid depending upon Character Ranges.
|
| -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
| -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
| -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
| -as_cr_digits='0123456789'
|
| -as_cr_alnum=$as_cr_Letters$as_cr_digits
|
| +# CDPATH.
|
| +$as_unset CDPATH
|
| +
|
| +
|
| +
|
| + as_lineno_1=$LINENO
|
| + as_lineno_2=$LINENO
|
| + test "x$as_lineno_1" != "x$as_lineno_2" &&
|
| + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
| +
|
| + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
| + # uniformly replaced by the line number. The first 'sed' inserts a
|
| + # line-number line after each line using $LINENO; the second 'sed'
|
| + # does the real work. The second script uses 'N' to pair each
|
| + # line-number line with the line containing $LINENO, and appends
|
| + # trailing '-' during substitution so that $LINENO is not a special
|
| + # case at line end.
|
| + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
| + # scripts with optimization help from Paolo Bonzini. Blame Lee
|
| + # E. McMahon (1931-1989) for sed's syntax. :-)
|
| + sed -n '
|
| + p
|
| + /[$]LINENO/=
|
| + ' <$as_myself |
|
| + sed '
|
| + s/[$]LINENO.*/&-/
|
| + t lineno
|
| + b
|
| + :lineno
|
| + N
|
| + :loop
|
| + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
| + t loop
|
| + s/-\n.*//
|
| + ' >$as_me.lineno &&
|
| + chmod +x "$as_me.lineno" ||
|
| + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
| + { (exit 1); exit 1; }; }
|
| +
|
| + # Don't try to exec as it changes $[0], causing all sort of problems
|
| + # (the dirname of $[0] is not the place where we might find the
|
| + # original and so on. Autoconf is especially sensitive to this).
|
| + . "./$as_me.lineno"
|
| + # Exit status is that of the last command.
|
| + exit
|
| +}
|
| +
|
| +
|
| +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
| + as_dirname=dirname
|
| +else
|
| + as_dirname=false
|
| +fi
|
|
|
| ECHO_C= ECHO_N= ECHO_T=
|
| -case `echo -n x` in #(((((
|
| +case `echo -n x` in
|
| -n*)
|
| - case `echo 'xy\c'` in
|
| + case `echo 'x\c'` in
|
| *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
| - xy) ECHO_C='\c';;
|
| - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
| - ECHO_T=' ';;
|
| + *) ECHO_C='\c';;
|
| esac;;
|
| *)
|
| ECHO_N='-n';;
|
| esac
|
| +if expr a : '\(a\)' >/dev/null 2>&1 &&
|
| + test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
| + as_expr=expr
|
| +else
|
| + as_expr=false
|
| +fi
|
|
|
| rm -f conf$$ conf$$.exe conf$$.file
|
| if test -d conf$$.dir; then
|
| @@ -14917,56 +13899,8 @@ fi
|
| rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
| rmdir conf$$.dir 2>/dev/null
|
|
|
| -
|
| -# as_fn_mkdir_p
|
| -# -------------
|
| -# Create "$as_dir" as a directory, including parents if necessary.
|
| -as_fn_mkdir_p ()
|
| -{
|
| -
|
| - case $as_dir in #(
|
| - -*) as_dir=./$as_dir;;
|
| - esac
|
| - test -d "$as_dir" || eval $as_mkdir_p || {
|
| - as_dirs=
|
| - while :; do
|
| - case $as_dir in #(
|
| - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
| - *) as_qdir=$as_dir;;
|
| - esac
|
| - as_dirs="'$as_qdir' $as_dirs"
|
| - as_dir=`$as_dirname -- "$as_dir" ||
|
| -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
| - X"$as_dir" : 'X\(//\)[^/]' \| \
|
| - X"$as_dir" : 'X\(//\)$' \| \
|
| - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
| -$as_echo X"$as_dir" |
|
| - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\/\)[^/].*/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\/\)$/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\).*/{
|
| - s//\1/
|
| - q
|
| - }
|
| - s/.*/./; q'`
|
| - test -d "$as_dir" && break
|
| - done
|
| - test -z "$as_dirs" || eval "mkdir $as_dirs"
|
| - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
| -
|
| -
|
| -} # as_fn_mkdir_p
|
| if mkdir -p . 2>/dev/null; then
|
| - as_mkdir_p='mkdir -p "$as_dir"'
|
| + as_mkdir_p=:
|
| else
|
| test -d ./-p && rmdir ./-p
|
| as_mkdir_p=false
|
| @@ -14985,10 +13919,10 @@ else
|
| if test -d "$1"; then
|
| test -d "$1/.";
|
| else
|
| - case $1 in #(
|
| + case $1 in
|
| -*)set "./$1";;
|
| esac;
|
| - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
| + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
| ???[sx]*):;;*)false;;esac;fi
|
| '\'' sh
|
| '
|
| @@ -15003,19 +13937,13 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
|
| exec 6>&1
|
| -## ----------------------------------- ##
|
| -## Main body of $CONFIG_STATUS script. ##
|
| -## ----------------------------------- ##
|
| -_ASEOF
|
| -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
|
| -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| -# Save the log message, to keep $0 and so on meaningful, and to
|
| +# Save the log message, to keep $[0] and so on meaningful, and to
|
| # report actual input values of CONFIG_FILES etc. instead of their
|
| # values after options handling.
|
| ac_log="
|
| -This file was extended by $as_me, which was
|
| -generated by GNU Autoconf 2.65. Invocation command line was
|
| +This file was extended by sqlite $as_me 3.7.6.3, which was
|
| +generated by GNU Autoconf 2.62. Invocation command line was
|
|
|
| CONFIG_FILES = $CONFIG_FILES
|
| CONFIG_HEADERS = $CONFIG_HEADERS
|
| @@ -15028,15 +13956,6 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
|
| _ACEOF
|
|
|
| -case $ac_config_files in *"
|
| -"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
| -esac
|
| -
|
| -case $ac_config_headers in *"
|
| -"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
| -esac
|
| -
|
| -
|
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| # Files that config.status was made for.
|
| config_files="$ac_config_files"
|
| @@ -15047,22 +13966,19 @@ _ACEOF
|
|
|
| cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| ac_cs_usage="\
|
| -\`$as_me' instantiates files and other configuration actions
|
| -from templates according to the current configuration. Unless the files
|
| -and actions are specified as TAGs, all are instantiated by default.
|
| +\`$as_me' instantiates files from templates according to the
|
| +current configuration.
|
|
|
| -Usage: $0 [OPTION]... [TAG]...
|
| +Usage: $0 [OPTIONS] [FILE]...
|
|
|
| -h, --help print this help, then exit
|
| -V, --version print version number and configuration settings, then exit
|
| - --config print configuration, then exit
|
| - -q, --quiet, --silent
|
| - do not print progress messages
|
| + -q, --quiet do not print progress messages
|
| -d, --debug don't remove temporary files
|
| --recheck update $as_me by reconfiguring in the same conditions
|
| - --file=FILE[:TEMPLATE]
|
| + --file=FILE[:TEMPLATE]
|
| instantiate the configuration file FILE
|
| - --header=FILE[:TEMPLATE]
|
| + --header=FILE[:TEMPLATE]
|
| instantiate the configuration header FILE
|
|
|
| Configuration files:
|
| @@ -15074,24 +13990,22 @@ $config_headers
|
| Configuration commands:
|
| $config_commands
|
|
|
| -Report bugs to the package provider."
|
| +Report bugs to <bug-autoconf@gnu.org>."
|
|
|
| _ACEOF
|
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
| ac_cs_version="\\
|
| -config.status
|
| -configured by $0, generated by GNU Autoconf 2.65,
|
| - with options \\"\$ac_cs_config\\"
|
| +sqlite config.status 3.7.6.3
|
| +configured by $0, generated by GNU Autoconf 2.62,
|
| + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
|
| -Copyright (C) 2009 Free Software Foundation, Inc.
|
| +Copyright (C) 2008 Free Software Foundation, Inc.
|
| This config.status script is free software; the Free Software Foundation
|
| gives unlimited permission to copy, distribute and modify it."
|
|
|
| ac_pwd='$ac_pwd'
|
| srcdir='$srcdir'
|
| INSTALL='$INSTALL'
|
| -MKDIR_P='$MKDIR_P'
|
| AWK='$AWK'
|
| test -n "\$AWK" || AWK=awk
|
| _ACEOF
|
| @@ -15120,8 +14034,6 @@ do
|
| ac_cs_recheck=: ;;
|
| --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
| $as_echo "$ac_cs_version"; exit ;;
|
| - --config | --confi | --conf | --con | --co | --c )
|
| - $as_echo "$ac_cs_config"; exit ;;
|
| --debug | --debu | --deb | --de | --d | -d )
|
| debug=: ;;
|
| --file | --fil | --fi | --f )
|
| @@ -15129,19 +14041,20 @@ do
|
| case $ac_optarg in
|
| *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
| esac
|
| - as_fn_append CONFIG_FILES " '$ac_optarg'"
|
| + CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
| ac_need_defaults=false;;
|
| --header | --heade | --head | --hea )
|
| $ac_shift
|
| case $ac_optarg in
|
| *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
| esac
|
| - as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
| + CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
| ac_need_defaults=false;;
|
| --he | --h)
|
| # Conflict between --help and --header
|
| - as_fn_error "ambiguous option: \`$1'
|
| -Try \`$0 --help' for more information.";;
|
| + { $as_echo "$as_me: error: ambiguous option: $1
|
| +Try \`$0 --help' for more information." >&2
|
| + { (exit 1); exit 1; }; };;
|
| --help | --hel | -h )
|
| $as_echo "$ac_cs_usage"; exit ;;
|
| -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
| @@ -15149,10 +14062,11 @@ Try \`$0 --help' for more information.";;
|
| ac_cs_silent=: ;;
|
|
|
| # This is an error.
|
| - -*) as_fn_error "unrecognized option: \`$1'
|
| -Try \`$0 --help' for more information." ;;
|
| + -*) { $as_echo "$as_me: error: unrecognized option: $1
|
| +Try \`$0 --help' for more information." >&2
|
| + { (exit 1); exit 1; }; } ;;
|
|
|
| - *) as_fn_append ac_config_targets " $1"
|
| + *) ac_config_targets="$ac_config_targets $1"
|
| ac_need_defaults=false ;;
|
|
|
| esac
|
| @@ -15193,7 +14107,6 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| #
|
| # INIT-COMMANDS
|
| #
|
| -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
|
|
|
| # The HP-UX ksh and POSIX shell print the target directory to stdout
|
| @@ -15203,9 +14116,6 @@ AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
| sed_quote_subst='$sed_quote_subst'
|
| double_quote_subst='$double_quote_subst'
|
| delay_variable_subst='$delay_variable_subst'
|
| -AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
|
| -DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
|
| -OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
|
| macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
|
| macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
|
| enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
|
| @@ -15234,6 +14144,7 @@ lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
|
| lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
|
| reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
|
| reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
|
| +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
|
| deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
|
| file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
|
| AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
|
| @@ -15339,6 +14250,7 @@ LN_S \
|
| lt_SP2NL \
|
| lt_NL2SP \
|
| reload_flag \
|
| +OBJDUMP \
|
| deplibs_check_method \
|
| file_magic_cmd \
|
| AR \
|
| @@ -15459,13 +14371,14 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| for ac_config_target in $ac_config_targets
|
| do
|
| case $ac_config_target in
|
| - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
| - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
| "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
| - "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;;
|
| - "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;;
|
| + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
| + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
| + "sqlite3.pc") CONFIG_FILES="$CONFIG_FILES sqlite3.pc" ;;
|
|
|
| - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
| + *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
| +$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
| + { (exit 1); exit 1; }; };;
|
| esac
|
| done
|
|
|
| @@ -15492,7 +14405,7 @@ $debug ||
|
| trap 'exit_status=$?
|
| { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
| ' 0
|
| - trap 'as_fn_exit 1' 1 2 13 15
|
| + trap '{ (exit 1); exit 1; }' 1 2 13 15
|
| }
|
| # Create a (secure) tmp directory for tmp files.
|
|
|
| @@ -15503,7 +14416,11 @@ $debug ||
|
| {
|
| tmp=./conf$$-$RANDOM
|
| (umask 077 && mkdir "$tmp")
|
| -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
| +} ||
|
| +{
|
| + $as_echo "$as_me: cannot create a temporary directory in ." >&2
|
| + { (exit 1); exit 1; }
|
| +}
|
|
|
| # Set up the scripts for CONFIG_FILES section.
|
| # No need to generate them if there are no CONFIG_FILES.
|
| @@ -15511,16 +14428,10 @@ $debug ||
|
| if test -n "$CONFIG_FILES"; then
|
|
|
|
|
| -ac_cr=`echo X | tr X '\015'`
|
| -# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
| -# But we know of no other shell where ac_cr would be empty at this
|
| -# point, so we can use a bashism as a fallback.
|
| -if test "x$ac_cr" = x; then
|
| - eval ac_cr=\$\'\\r\'
|
| -fi
|
| +ac_cr='
|
| '
|
| ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
| if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
| - ac_cs_awk_cr='\r'
|
| + ac_cs_awk_cr='\\r'
|
| else
|
| ac_cs_awk_cr=$ac_cr
|
| fi
|
| @@ -15534,18 +14445,23 @@ _ACEOF
|
| echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
| echo "_ACEOF"
|
| } >conf$$subs.sh ||
|
| - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
| +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
| ac_delim='%!_!# '
|
| for ac_last_try in false false false false false :; do
|
| . ./conf$$subs.sh ||
|
| - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
| +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
| + { (exit 1); exit 1; }; }
|
|
|
| - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
| - if test $ac_delim_n = $ac_delim_num; then
|
| + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
|
| break
|
| elif $ac_last_try; then
|
| - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
| +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| else
|
| ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
| fi
|
| @@ -15567,7 +14483,7 @@ s/'"$ac_delim"'$//
|
| t delim
|
| :nl
|
| h
|
| -s/\(.\{148\}\)..*/\1/
|
| +s/\(.\{148\}\).*/\1/
|
| t more1
|
| s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
| p
|
| @@ -15581,7 +14497,7 @@ s/.\{148\}//
|
| t nl
|
| :delim
|
| h
|
| -s/\(.\{148\}\)..*/\1/
|
| +s/\(.\{148\}\).*/\1/
|
| t more2
|
| s/["\\]/\\&/g; s/^/"/; s/$/"/
|
| p
|
| @@ -15634,7 +14550,9 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
| else
|
| cat
|
| fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
| - || as_fn_error "could not setup config files machinery" "$LINENO" 5
|
| + || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
| +$as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| _ACEOF
|
|
|
| # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
| @@ -15675,7 +14593,9 @@ for ac_last_try in false false :; do
|
| if test -z "$ac_t"; then
|
| break
|
| elif $ac_last_try; then
|
| - as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
|
| +$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| else
|
| ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
| fi
|
| @@ -15741,9 +14661,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| }
|
| split(mac1, mac2, "(") #)
|
| macro = mac2[1]
|
| - prefix = substr(line, 1, index(line, defundef) - 1)
|
| if (D_is_set[macro]) {
|
| # Preserve the white space surrounding the "#".
|
| + prefix = substr(line, 1, index(line, defundef) - 1)
|
| print prefix "define", macro P[macro] D[macro]
|
| next
|
| } else {
|
| @@ -15751,7 +14671,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| # in the case of _POSIX_SOURCE, which is predefined and required
|
| # on some systems where configure will not decide to define it.
|
| if (defundef == "undef") {
|
| - print "/*", prefix defundef, macro, "*/"
|
| + print "/*", line, "*/"
|
| next
|
| }
|
| }
|
| @@ -15760,7 +14680,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| _ACAWK
|
| _ACEOF
|
| cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| - as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
| +$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi # test -n "$CONFIG_HEADERS"
|
|
|
|
|
| @@ -15773,7 +14695,9 @@ do
|
| esac
|
| case $ac_mode$ac_tag in
|
| :[FHL]*:*);;
|
| - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
| + :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
| +$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
| + { (exit 1); exit 1; }; };;
|
| :[FH]-) ac_tag=-:-;;
|
| :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
| esac
|
| @@ -15801,10 +14725,12 @@ do
|
| [\\/$]*) false;;
|
| *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
| esac ||
|
| - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
| + { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
| +$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
| + { (exit 1); exit 1; }; };;
|
| esac
|
| case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
| - as_fn_append ac_file_inputs " '$ac_f'"
|
| + ac_file_inputs="$ac_file_inputs '$ac_f'"
|
| done
|
|
|
| # Let's still pretend it is `configure' which instantiates (i.e., don't
|
| @@ -15815,7 +14741,7 @@ do
|
| `' by configure.'
|
| if test x"$ac_file" != x-; then
|
| configure_input="$ac_file. $configure_input"
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
| + { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
| $as_echo "$as_me: creating $ac_file" >&6;}
|
| fi
|
| # Neutralize special characters interpreted by sed in replacement strings.
|
| @@ -15828,7 +14754,9 @@ $as_echo "$as_me: creating $ac_file" >&6;}
|
|
|
| case $ac_tag in
|
| *:-:* | *:-) cat >"$tmp/stdin" \
|
| - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
| + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
| +$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
| + { (exit 1); exit 1; }; } ;;
|
| esac
|
| ;;
|
| esac
|
| @@ -15856,7 +14784,47 @@ $as_echo X"$ac_file" |
|
| q
|
| }
|
| s/.*/./; q'`
|
| - as_dir="$ac_dir"; as_fn_mkdir_p
|
| + { as_dir="$ac_dir"
|
| + case $as_dir in #(
|
| + -*) as_dir=./$as_dir;;
|
| + esac
|
| + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
| + as_dirs=
|
| + while :; do
|
| + case $as_dir in #(
|
| + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
| + *) as_qdir=$as_dir;;
|
| + esac
|
| + as_dirs="'$as_qdir' $as_dirs"
|
| + as_dir=`$as_dirname -- "$as_dir" ||
|
| +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
| + X"$as_dir" : 'X\(//\)[^/]' \| \
|
| + X"$as_dir" : 'X\(//\)$' \| \
|
| + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
| +$as_echo X"$as_dir" |
|
| + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
| + s//\1/
|
| + q
|
| + }
|
| + /^X\(\/\/\)[^/].*/{
|
| + s//\1/
|
| + q
|
| + }
|
| + /^X\(\/\/\)$/{
|
| + s//\1/
|
| + q
|
| + }
|
| + /^X\(\/\).*/{
|
| + s//\1/
|
| + q
|
| + }
|
| + s/.*/./; q'`
|
| + test -d "$as_dir" && break
|
| + done
|
| + test -z "$as_dirs" || eval "mkdir $as_dirs"
|
| + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
| +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
| + { (exit 1); exit 1; }; }; }
|
| ac_builddir=.
|
|
|
| case "$ac_dir" in
|
| @@ -15902,17 +14870,13 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
| [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
| *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
| esac
|
| - ac_MKDIR_P=$MKDIR_P
|
| - case $MKDIR_P in
|
| - [\\/$]* | ?:[\\/]* ) ;;
|
| - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
| - esac
|
| _ACEOF
|
|
|
| cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| # If the template does not know about datarootdir, expand it.
|
| # FIXME: This hack should be removed a few years after 2.60.
|
| ac_datarootdir_hack=; ac_datarootdir_seen=
|
| +
|
| ac_sed_dataroot='
|
| /datarootdir/ {
|
| p
|
| @@ -15922,11 +14886,12 @@ ac_sed_dataroot='
|
| /@docdir@/p
|
| /@infodir@/p
|
| /@localedir@/p
|
| -/@mandir@/p'
|
| +/@mandir@/p
|
| +'
|
| case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
| *datarootdir*) ac_datarootdir_seen=yes;;
|
| *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
| + { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
| $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
| _ACEOF
|
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| @@ -15936,7 +14901,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
| s&@infodir@&$infodir&g
|
| s&@localedir@&$localedir&g
|
| s&@mandir@&$mandir&g
|
| - s&\\\${datarootdir}&$datarootdir&g' ;;
|
| + s&\\\${datarootdir}&$datarootdir&g' ;;
|
| esac
|
| _ACEOF
|
|
|
| @@ -15961,16 +14926,17 @@ s&@builddir@&$ac_builddir&;t t
|
| s&@abs_builddir@&$ac_abs_builddir&;t t
|
| s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
| s&@INSTALL@&$ac_INSTALL&;t t
|
| -s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
| $ac_datarootdir_hack
|
| "
|
| eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
| - || as_fn_error "could not create $ac_file" "$LINENO" 5
|
| + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
| +$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
| + { (exit 1); exit 1; }; }
|
|
|
| test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
| { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
| { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
| + { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
| which seems to be undefined. Please make sure it is defined." >&5
|
| $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
| which seems to be undefined. Please make sure it is defined." >&2;}
|
| @@ -15980,7 +14946,9 @@ which seems to be undefined. Please make sure it is defined." >&2;}
|
| -) cat "$tmp/out" && rm -f "$tmp/out";;
|
| *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
| esac \
|
| - || as_fn_error "could not create $ac_file" "$LINENO" 5
|
| + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
| +$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| ;;
|
| :H)
|
| #
|
| @@ -15991,158 +14959,35 @@ which seems to be undefined. Please make sure it is defined." >&2;}
|
| $as_echo "/* $configure_input */" \
|
| && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
| } >"$tmp/config.h" \
|
| - || as_fn_error "could not create $ac_file" "$LINENO" 5
|
| + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
| +$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
| + { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
| $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
| else
|
| rm -f "$ac_file"
|
| mv "$tmp/config.h" "$ac_file" \
|
| - || as_fn_error "could not create $ac_file" "$LINENO" 5
|
| + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
| +$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi
|
| else
|
| $as_echo "/* $configure_input */" \
|
| && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
| - || as_fn_error "could not create -" "$LINENO" 5
|
| + || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
| +$as_echo "$as_me: error: could not create -" >&2;}
|
| + { (exit 1); exit 1; }; }
|
| fi
|
| -# Compute "$ac_file"'s index in $config_headers.
|
| -_am_arg="$ac_file"
|
| -_am_stamp_count=1
|
| -for _am_header in $config_headers :; do
|
| - case $_am_header in
|
| - $_am_arg | $_am_arg:* )
|
| - break ;;
|
| - * )
|
| - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
| - esac
|
| -done
|
| -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
| -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
| - X"$_am_arg" : 'X\(//\)[^/]' \| \
|
| - X"$_am_arg" : 'X\(//\)$' \| \
|
| - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
| -$as_echo X"$_am_arg" |
|
| - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\/\)[^/].*/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\/\)$/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\).*/{
|
| - s//\1/
|
| - q
|
| - }
|
| - s/.*/./; q'`/stamp-h$_am_stamp_count
|
| ;;
|
|
|
| - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
| + :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
| $as_echo "$as_me: executing $ac_file commands" >&6;}
|
| ;;
|
| esac
|
|
|
|
|
| case $ac_file$ac_mode in
|
| - "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
| - # Autoconf 2.62 quotes --file arguments for eval, but not when files
|
| - # are listed without --file. Let's play safe and only enable the eval
|
| - # if we detect the quoting.
|
| - case $CONFIG_FILES in
|
| - *\'*) eval set x "$CONFIG_FILES" ;;
|
| - *) set x $CONFIG_FILES ;;
|
| - esac
|
| - shift
|
| - for mf
|
| - do
|
| - # Strip MF so we end up with the name of the file.
|
| - mf=`echo "$mf" | sed -e 's/:.*$//'`
|
| - # Check whether this is an Automake generated Makefile or not.
|
| - # We used to match only the files named `Makefile.in', but
|
| - # some people rename them; so instead we look at the file content.
|
| - # Grep'ing the first line is not enough: some people post-process
|
| - # each Makefile.in and add a new line on top of each file to say so.
|
| - # Grep'ing the whole file is not good either: AIX grep has a line
|
| - # limit of 2048, but all sed's we know have understand at least 4000.
|
| - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
| - dirpart=`$as_dirname -- "$mf" ||
|
| -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
| - X"$mf" : 'X\(//\)[^/]' \| \
|
| - X"$mf" : 'X\(//\)$' \| \
|
| - X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
| -$as_echo X"$mf" |
|
| - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\/\)[^/].*/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\/\)$/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\).*/{
|
| - s//\1/
|
| - q
|
| - }
|
| - s/.*/./; q'`
|
| - else
|
| - continue
|
| - fi
|
| - # Extract the definition of DEPDIR, am__include, and am__quote
|
| - # from the Makefile without running `make'.
|
| - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
| - test -z "$DEPDIR" && continue
|
| - am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
| - test -z "am__include" && continue
|
| - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
| - # When using ansi2knr, U may be empty or an underscore; expand it
|
| - U=`sed -n 's/^U = //p' < "$mf"`
|
| - # Find all dependency output files, they are included files with
|
| - # $(DEPDIR) in their names. We invoke sed twice because it is the
|
| - # simplest approach to changing $(DEPDIR) to its actual value in the
|
| - # expansion.
|
| - for file in `sed -n "
|
| - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
| - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
| - # Make sure the directory exists.
|
| - test -f "$dirpart/$file" && continue
|
| - fdir=`$as_dirname -- "$file" ||
|
| -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
| - X"$file" : 'X\(//\)[^/]' \| \
|
| - X"$file" : 'X\(//\)$' \| \
|
| - X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
| -$as_echo X"$file" |
|
| - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\/\)[^/].*/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\/\)$/{
|
| - s//\1/
|
| - q
|
| - }
|
| - /^X\(\/\).*/{
|
| - s//\1/
|
| - q
|
| - }
|
| - s/.*/./; q'`
|
| - as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
| - # echo "creating $dirpart/$file"
|
| - echo '# dummy' > "$dirpart/$file"
|
| - done
|
| - done
|
| -}
|
| - ;;
|
| "libtool":C)
|
|
|
| # See if we are running on zsh, and set the options which allow our
|
| @@ -16196,15 +15041,6 @@ available_tags=""
|
|
|
| # ### BEGIN LIBTOOL CONFIG
|
|
|
| -# Assembler program.
|
| -AS=$AS
|
| -
|
| -# DLL creation program.
|
| -DLLTOOL=$DLLTOOL
|
| -
|
| -# Object dumper program.
|
| -OBJDUMP=$OBJDUMP
|
| -
|
| # Which release of libtool.m4 was used?
|
| macro_version=$macro_version
|
| macro_revision=$macro_revision
|
| @@ -16274,6 +15110,9 @@ NL2SP=$lt_lt_NL2SP
|
| reload_flag=$lt_reload_flag
|
| reload_cmds=$lt_reload_cmds
|
|
|
| +# An object symbol dumper.
|
| +OBJDUMP=$lt_OBJDUMP
|
| +
|
| # Method to check whether dependent libraries are shared objects.
|
| deplibs_check_method=$lt_deplibs_check_method
|
|
|
| @@ -16789,12 +15628,15 @@ _LT_EOF
|
| done # for ac_tag
|
|
|
|
|
| -as_fn_exit 0
|
| +{ (exit 0); exit 0; }
|
| _ACEOF
|
| +chmod +x $CONFIG_STATUS
|
| ac_clean_files=$ac_clean_files_save
|
|
|
| test $ac_write_fail = 0 ||
|
| - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
| + { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
| +$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
| + { (exit 1); exit 1; }; }
|
|
|
|
|
| # configure is writing to config.log, and then calls config.status.
|
| @@ -16815,13 +15657,10 @@ if test "$no_create" != yes; then
|
| exec 5>>config.log
|
| # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
| # would make configure fail if this is the last instruction.
|
| - $ac_cs_success || as_fn_exit $?
|
| + $ac_cs_success || { (exit 1); exit 1; }
|
| fi
|
| if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
| - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
| -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
| + { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
|
| +$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
|
| fi
|
|
|
| -
|
| -chmod +x xml2-config
|
| -echo Done configuring
|
|
|