"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tcl8.6/win/configure" between
ds9.8.2.tar.gz and ds9.8.2.1.tar.gz

About: SAOImage DS9 is an astronomical imaging and data visualization application that supports FITS images and binary tables, multiple frame buffers, region manipulation, and many scale algorithms and colormaps.

configure  (ds9.8.2):configure  (ds9.8.2.1)
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59. # Generated by GNU Autoconf 2.69.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
# #
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation # This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it. # gives unlimited permission to copy, distribute and modify it.
## --------------------- ## ## -------------------- ##
## M4sh Initialization. ## ## M4sh Initialization. ##
## --------------------- ## ## -------------------- ##
# Be Bourne compatible # Be more Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
emulate sh emulate sh
NULLCMD=: NULLCMD=:
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature. # is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"' alias -g '${1+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then setopt NO_GLOB_SUBST
set -o posix else
case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
esac
fi fi
DUALCASE=1; export DUALCASE # for MKS sh
# Support unset when possible. as_nl='
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then '
as_unset=unset export as_nl
else # Printing a long string crashes Solaris 7 /usr/bin/printf.
as_unset=false 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
as_echo='printf %s\n'
as_echo_n='printf %s'
else
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
as_echo_n='/usr/ucb/echo -n'
else
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
as_echo_n_body='eval
arg=$1;
case $arg in #(
*"$as_nl"*)
expr "X$arg" : "X\\(.*\\)$as_nl";
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
esac;
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
'
export as_echo_n_body
as_echo_n='sh -c $as_echo_n_body as_echo'
fi
export as_echo_body
as_echo='sh -c $as_echo_body as_echo'
fi fi
# Work around bugs in pre-3.0 UWIN ksh. # The user is always right.
$as_unset ENV MAIL MAILPATH if test "${PATH_SEPARATOR+set}" != set; then
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
PATH_SEPARATOR=';'
}
fi
# IFS
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
IFS=" "" $as_nl"
# Find who we are. Look in the path if we contain no directory separator.
as_myself=
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
IFS=$as_save_IFS
;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file n
ame" >&2
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 || :
done
PS1='$ ' PS1='$ '
PS2='> ' PS2='> '
PS4='+ ' PS4='+ '
# NLS nuisances. # NLS nuisances.
for as_var in \ LC_ALL=C
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ export LC_ALL
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LANGUAGE=C
LC_TELEPHONE LC_TIME export LANGUAGE
# CDPATH.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
# Use a proper internal environment variable to ensure we don't fall
# into an infinite loop, continuously re-executing ourselves.
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
_as_can_reexec=no; export _as_can_reexec;
# 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.
# Preserve -v and -x to the replacement shell.
BASH_ENV=/dev/null
ENV=/dev/null
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
case $- in # ((((
*v*x* | *x*v* ) as_opts=-vx ;;
*v* ) as_opts=-v ;;
*x* ) as_opts=-x ;;
* ) as_opts= ;;
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
# out after a failed `exec'.
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
as_fn_exit 255
fi
# We don't want this to propagate to other subprocesses.
{ _as_can_reexec=; unset _as_can_reexec;}
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
test -x / || 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 do
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then IFS=$as_save_IFS
eval $as_var=C; export $as_var 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 :
export CONFIG_SHELL
# 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.
# Preserve -v and -x to the replacement shell.
BASH_ENV=/dev/null
ENV=/dev/null
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
case $- in # ((((
*v*x* | *x*v* ) as_opts=-vx ;;
*v* ) as_opts=-v ;;
*x* ) as_opts=-x ;;
* ) as_opts= ;;
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
# out after a failed `exec'.
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
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 else
$as_unset $as_var $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 fi
done 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
# Required to use basename. ## --------------------- ##
if expr a : '\(a\)' >/dev/null 2>&1; then ## 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_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
test -f "$1" && test -x "$1"
} # as_fn_executable_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 STATUS 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=$1; test $as_status -eq 0 && as_status=1
if test "$4"; then
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
fi
$as_echo "$as_me: error: $2" >&2
as_fn_exit $as_status
} # as_fn_error
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr as_expr=expr
else else
as_expr=false as_expr=false
fi fi
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
as_basename=basename as_basename=basename
else else
as_basename=false as_basename=false
fi fi
# Name of the executable. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_me=`$as_basename "$0" || as_dirname=dirname
else
as_dirname=false
fi
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
. : '\(.\)' 2>/dev/null || $as_echo X/"$0" |
echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } s//\1/
/^X\/\(\/\/\)$/{ s//\1/; q; } q
/^X\/\(\/\).*/{ s//\1/; q; } }
s/.*/./; q'` /^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges. # Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789' as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits as_cr_alnum=$as_cr_Letters$as_cr_digits
# The user is always right. as_lineno_1=$LINENO as_lineno_1a=$LINENO
if test "${PATH_SEPARATOR+set}" != set; then as_lineno_2=$LINENO as_lineno_2a=$LINENO
echo "#! /bin/sh" >conf$$.sh eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
echo "exit 0" >>conf$$.sh test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
chmod +x conf$$.sh # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then sed -n '
PATH_SEPARATOR=';' p
else /[$]LINENO/=
PATH_SEPARATOR=: ' <$as_myself |
fi
rm -f conf$$.sh
fi
as_lineno_1=$LINENO
as_lineno_2=$LINENO
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x$as_lineno_3" = "x$as_lineno_2" || {
# Find who we are. Look in the path if we contain no path at all
# relative or not.
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
;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
{ (exit 1); exit 1; }; }
fi
case $CONFIG_SHELL in
'')
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=.
for as_base in sh bash ksh sh5; do
case $as_dir in
/*)
if ("$as_dir/$as_base" -c '
as_lineno_1=$LINENO
as_lineno_2=$LINENO
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=;
export BASH_ENV; }
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
CONFIG_SHELL=$as_dir/$as_base
export CONFIG_SHELL
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
fi;;
esac
done
done
;;
esac
# 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 before each line; the second 'sed' does the real
# work. The second script uses 'N' to pair each line-number line
# with the numbered line, 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
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
sed '=' <$as_myself |
sed ' sed '
s/[$]LINENO.*/&-/
t lineno
b
:lineno
N N
s,$,-, :loop
: loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
t loop t loop
s,-$,, s/-\n.*//
s,^['$as_cr_digits']*\n,,
' >$as_me.lineno && ' >$as_me.lineno &&
chmod +x $as_me.lineno || chmod +x "$as_me.lineno" ||
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX s
" >&2 hell" >&2; as_fn_exit 1; }
{ (exit 1); exit 1; }; }
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
# already done that, so ensure we don't try to do so again and fall
# in an infinite loop. This has already happened in practice.
_as_can_reexec=no; export _as_can_reexec
# Don't try to exec as it changes $[0], causing all sort of problems # 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 # (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensible to this). # original and so on. Autoconf is especially sensitive to this).
. ./$as_me.lineno . "./$as_me.lineno"
# Exit status is that of the last command. # Exit status is that of the last command.
exit exit
} }
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in ECHO_C= ECHO_N= ECHO_T=
*c*,-n*) ECHO_N= ECHO_C=' case `echo -n x` in #(((((
' ECHO_T=' ' ;; -n*)
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; case `echo 'xy\c'` in
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; *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 esac
if expr a : '\(a\)' >/dev/null 2>&1; then rm -f conf$$ conf$$.exe conf$$.file
as_expr=expr if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
else else
as_expr=false rm -f conf$$.dir
mkdir conf$$.dir 2>/dev/null
fi fi
if (echo >conf$$.file) 2>/dev/null; then
rm -f conf$$ conf$$.exe conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
# We could just check for DJGPP; but this test a) works b) is more generic
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
if test -f conf$$.exe; then
# Don't use ln at all; we don't have any links
as_ln_s='cp -p'
else
as_ln_s='ln -s' 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 -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -pR'
fi fi
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else else
as_ln_s='cp -p' as_ln_s='cp -pR'
fi fi
rm -f conf$$ conf$$.exe conf$$.file rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
if mkdir -p . 2>/dev/null; then if mkdir -p . 2>/dev/null; then
as_mkdir_p=: as_mkdir_p='mkdir -p "$as_dir"'
else else
test -d ./-p && rmdir ./-p test -d ./-p && rmdir ./-p
as_mkdir_p=false as_mkdir_p=false
fi fi
as_executable_p="test -f" as_test_x='test -x'
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name. # 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'" 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. # Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
# IFS test -n "$DJDIR" || exec 7<&0 </dev/null
# We need space, tab and new line, in precisely that order. exec 6>&1
as_nl='
'
IFS=" $as_nl"
# CDPATH.
$as_unset CDPATH
# Name of the host. # Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
# so uname gets run too. # so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
exec 6>&1
# #
# Initializations. # Initializations.
# #
ac_default_prefix=/usr/local ac_default_prefix=/usr/local
ac_clean_files=
ac_config_libobj_dir=. ac_config_libobj_dir=.
LIBOBJS=
cross_compiling=no cross_compiling=no
subdirs= subdirs=
MFLAGS= MFLAGS=
MAKEFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document.
# This variable seems obsolete. It should probably be removed, and
# only ac_max_sed_lines should be used.
: ${ac_max_here_lines=38}
# Identity of this package. # Identity of this package.
PACKAGE_NAME= PACKAGE_NAME=
PACKAGE_TARNAME= PACKAGE_TARNAME=
PACKAGE_VERSION= PACKAGE_VERSION=
PACKAGE_STRING= PACKAGE_STRING=
PACKAGE_BUGREPORT= PACKAGE_BUGREPORT=
PACKAGE_URL=
ac_unique_file="../generic/tcl.h" ac_unique_file="../generic/tcl.h"
# Factoring default headers for most tests. # Factoring default headers for most tests.
ac_includes_default="\ ac_includes_default="\
#include <stdio.h> #include <stdio.h>
#if HAVE_SYS_TYPES_H #ifdef HAVE_SYS_TYPES_H
# include <sys/types.h> # include <sys/types.h>
#endif #endif
#if HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> # include <sys/stat.h>
#endif #endif
#if STDC_HEADERS #ifdef STDC_HEADERS
# include <stdlib.h> # include <stdlib.h>
# include <stddef.h> # include <stddef.h>
#else #else
# if HAVE_STDLIB_H # ifdef HAVE_STDLIB_H
# include <stdlib.h> # include <stdlib.h>
# endif # endif
#endif #endif
#if HAVE_STRING_H #ifdef HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# include <memory.h> # include <memory.h>
# endif # endif
# include <string.h> # include <string.h>
#endif #endif
#if HAVE_STRINGS_H #ifdef HAVE_STRINGS_H
# include <strings.h> # include <strings.h>
#endif #endif
#if HAVE_INTTYPES_H #ifdef HAVE_INTTYPES_H
# include <inttypes.h> # include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif #endif
#if HAVE_UNISTD_H #ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif" #endif"
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION ac_subst_vars='LTLIBOBJS
PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bind LIBOBJS
ir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir inc RES
ludedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS EC RC_DEFINES
HO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EG RC_DEFINE
REP AR ac_ct_AR RANLIB ac_ct_RANLIB RC ac_ct_RC SET_MAKE TCL_THREADS CYGPATH CEL RC_INCLUDE
IB_DIR DL_LIBS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING ZLIB_DLL_FILE ZLIB_LI RC_TYPE
BS ZLIB_OBJS CFLAGS_DEFAULT LDFLAGS_DEFAULT VC_MANIFEST_EMBED_DLL VC_MANIFEST_EM RC_OUT
BED_EXE TCL_WIN_VERSION MACHINE TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_REG_MINOR_VERSION
TCL_PATCH_LEVEL PKG_CFG_ARGS TCL_EXE TCL_LIB_FILE TCL_LIB_FLAG TCL_STATIC_LIB_FI TCL_REG_MAJOR_VERSION
LE TCL_STATIC_LIB_FLAG TCL_IMPORT_LIB_FILE TCL_IMPORT_LIB_FLAG TCL_LIB_SPEC TCL_ TCL_REG_VERSION
STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_STUB_LIB_PATH TCL_INCLUDE_ TCL_DDE_MINOR_VERSION
SPEC TCL_BUILD_STUB_LIB_SPEC TCL_BUILD_STUB_LIB_PATH TCL_DLL_FILE TCL_SRC_DIR TC TCL_DDE_MAJOR_VERSION
L_BIN_DIR TCL_DBGX CFG_TCL_SHARED_LIB_SUFFIX CFG_TCL_UNSHARED_LIB_SUFFIX CFG_TCL TCL_DDE_VERSION
_EXPORT_FILE_SUFFIX EXTRA_CFLAGS DEPARG CC_OBJNAME CC_EXENAME LDFLAGS_DEBUG LDFL TCL_PACKAGE_PATH
AGS_OPTIMIZE LDFLAGS_CONSOLE LDFLAGS_WINDOW STLIB_LD SHLIB_LD SHLIB_LD_LIBS SHLI TCL_LIB_VERSIONS_OK
B_CFLAGS SHLIB_SUFFIX TCL_SHARED_BUILD LIBS_GUI DLLSUFFIX LIBPREFIX LIBSUFFIX EX TCL_EXP_FILE
ESUFFIX LIBRARIES MAKE_LIB MAKE_STUB_LIB POST_MAKE_LIB MAKE_DLL MAKE_EXE TCL_BUI TCL_BUILD_EXP_FILE
LD_LIB_SPEC TCL_CC_SEARCH_FLAGS TCL_LD_SEARCH_FLAGS TCL_NEEDS_EXP_FILE TCL_BUILD TCL_NEEDS_EXP_FILE
_EXP_FILE TCL_EXP_FILE TCL_LIB_VERSIONS_OK TCL_PACKAGE_PATH TCL_DDE_VERSION TCL_ TCL_LD_SEARCH_FLAGS
DDE_MAJOR_VERSION TCL_DDE_MINOR_VERSION TCL_REG_VERSION TCL_REG_MAJOR_VERSION TC TCL_CC_SEARCH_FLAGS
L_REG_MINOR_VERSION RC_OUT RC_TYPE RC_INCLUDE RC_DEFINE RC_DEFINES RES LIBOBJS L TCL_BUILD_LIB_SPEC
TLIBOBJS' MAKE_EXE
MAKE_DLL
POST_MAKE_LIB
MAKE_STUB_LIB
MAKE_LIB
LIBRARIES
EXESUFFIX
LIBSUFFIX
LIBPREFIX
DLLSUFFIX
LIBS_GUI
TCL_SHARED_BUILD
SHLIB_SUFFIX
SHLIB_CFLAGS
SHLIB_LD_LIBS
SHLIB_LD
STLIB_LD
LDFLAGS_WINDOW
LDFLAGS_CONSOLE
LDFLAGS_OPTIMIZE
LDFLAGS_DEBUG
CC_EXENAME
CC_OBJNAME
DEPARG
EXTRA_CFLAGS
CFG_TCL_EXPORT_FILE_SUFFIX
CFG_TCL_UNSHARED_LIB_SUFFIX
CFG_TCL_SHARED_LIB_SUFFIX
TCL_DBGX
TCL_BIN_DIR
TCL_SRC_DIR
TCL_DLL_FILE
TCL_BUILD_STUB_LIB_PATH
TCL_BUILD_STUB_LIB_SPEC
TCL_INCLUDE_SPEC
TCL_STUB_LIB_PATH
TCL_STUB_LIB_SPEC
TCL_STUB_LIB_FLAG
TCL_STUB_LIB_FILE
TCL_LIB_SPEC
TCL_IMPORT_LIB_FLAG
TCL_IMPORT_LIB_FILE
TCL_STATIC_LIB_FLAG
TCL_STATIC_LIB_FILE
TCL_LIB_FLAG
TCL_LIB_FILE
TCL_EXE
PKG_CFG_ARGS
TCL_PATCH_LEVEL
TCL_MINOR_VERSION
TCL_MAJOR_VERSION
TCL_VERSION
MACHINE
TCL_WIN_VERSION
VC_MANIFEST_EMBED_EXE
VC_MANIFEST_EMBED_DLL
LDFLAGS_DEFAULT
CFLAGS_DEFAULT
ZLIB_OBJS
ZLIB_LIBS
ZLIB_DLL_FILE
CFLAGS_WARNING
CFLAGS_OPTIMIZE
CFLAGS_DEBUG
DL_LIBS
CELIB_DIR
CYGPATH
TCL_THREADS
SET_MAKE
RC
RANLIB
AR
EGREP
GREP
CPP
OBJEXT
EXEEXT
ac_ct_CC
CPPFLAGS
LDFLAGS
CFLAGS
CC
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'
ac_subst_files='' ac_subst_files=''
ac_user_opts='
enable_option_checking
enable_threads
with_encoding
enable_shared
enable_time64bit
enable_64bit
enable_wince
with_celib
enable_symbols
enable_embedded_manifest
'
ac_precious_vars='build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
LIBS
CPPFLAGS
CPP'
# Initialize some variables set by options. # Initialize some variables set by options.
ac_init_help= ac_init_help=
ac_init_version=false ac_init_version=false
ac_unrecognized_opts=
ac_unrecognized_sep=
# The variables have the same names as the options, with # The variables have the same names as the options, with
# dashes changed to underlines. # dashes changed to underlines.
cache_file=/dev/null cache_file=/dev/null
exec_prefix=NONE exec_prefix=NONE
no_create= no_create=
no_recursion= no_recursion=
prefix=NONE prefix=NONE
program_prefix=NONE program_prefix=NONE
program_suffix=NONE program_suffix=NONE
program_transform_name=s,x,x, program_transform_name=s,x,x,
skipping to change at line 333 skipping to change at line 807
srcdir= srcdir=
verbose= verbose=
x_includes=NONE x_includes=NONE
x_libraries=NONE x_libraries=NONE
# Installation directory options. # Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo" # These are left unexpanded so users can "make install exec_prefix=/foo"
# and all the variables that are supposed to be based on exec_prefix # and all the variables that are supposed to be based on exec_prefix
# by default will actually change. # by default will actually change.
# Use braces instead of parens because sh, perl, etc. also accept them. # Use braces instead of parens because sh, perl, etc. also accept them.
# (The list follows the same order as the GNU Coding Standards.)
bindir='${exec_prefix}/bin' bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin' sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec' libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share' datarootdir='${prefix}/share'
datadir='${datarootdir}'
sysconfdir='${prefix}/etc' sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com' sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var' localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include' includedir='${prefix}/include'
oldincludedir='/usr/include' oldincludedir='/usr/include'
infodir='${prefix}/info' docdir='${datarootdir}/doc/${PACKAGE}'
mandir='${prefix}/man' infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
ac_prev= ac_prev=
ac_dashdash=
for ac_option for ac_option
do do
# If the previous option needs an argument, assign it. # If the previous option needs an argument, assign it.
if test -n "$ac_prev"; then if test -n "$ac_prev"; then
eval "$ac_prev=\$ac_option" eval $ac_prev=\$ac_option
ac_prev= ac_prev=
continue continue
fi fi
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` case $ac_option in
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
*=) ac_optarg= ;;
*) ac_optarg=yes ;;
esac
# Accept the important Cygnus configure options, so we can diagnose typos. # Accept the important Cygnus configure options, so we can diagnose typos.
case $ac_option in case $ac_dashdash$ac_option in
--)
ac_dashdash=yes ;;
-bindir | --bindir | --bindi | --bind | --bin | --bi) -bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;; ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
bindir=$ac_optarg ;; bindir=$ac_optarg ;;
-build | --build | --buil | --bui | --bu) -build | --build | --buil | --bui | --bu)
ac_prev=build_alias ;; ac_prev=build_alias ;;
-build=* | --build=* | --buil=* | --bui=* | --bu=*) -build=* | --build=* | --buil=* | --bui=* | --bu=*)
build_alias=$ac_optarg ;; build_alias=$ac_optarg ;;
skipping to change at line 382 skipping to change at line 871
-cache-file | --cache-file | --cache-fil | --cache-fi \ -cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;; ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
cache_file=$ac_optarg ;; cache_file=$ac_optarg ;;
--config-cache | -C) --config-cache | -C)
cache_file=config.cache ;; cache_file=config.cache ;;
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) -datadir | --datadir | --datadi | --datad)
ac_prev=datadir ;; ac_prev=datadir ;;
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ -datadir=* | --datadir=* | --datadi=* | --datad=*)
| --da=*)
datadir=$ac_optarg ;; datadir=$ac_optarg ;;
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
| --dataroo | --dataro | --datar)
ac_prev=datarootdir ;;
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
datarootdir=$ac_optarg ;;
-disable-* | --disable-*) -disable-* | --disable-*)
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names. # Reject names that are not valid shell variable names.
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 as_fn_error $? "invalid feature name: $ac_useropt"
{ (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt
ac_feature=`echo $ac_feature | sed 's/-/_/g'` ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
eval "enable_$ac_feature=no" ;; case $ac_user_opts in
*"
"enable_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disabl
e-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac
eval enable_$ac_useropt=no ;;
-docdir | --docdir | --docdi | --doc | --do)
ac_prev=docdir ;;
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
docdir=$ac_optarg ;;
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
ac_prev=dvidir ;;
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
dvidir=$ac_optarg ;;
-enable-* | --enable-*) -enable-* | --enable-*)
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names. # Reject names that are not valid shell variable names.
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 as_fn_error $? "invalid feature name: $ac_useropt"
{ (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt
ac_feature=`echo $ac_feature | sed 's/-/_/g'` ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_option in case $ac_user_opts in
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *"
*) ac_optarg=yes ;; "enable_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable
-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac esac
eval "enable_$ac_feature='$ac_optarg'" ;; eval enable_$ac_useropt=\$ac_optarg ;;
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
| --exec | --exe | --ex) | --exec | --exe | --ex)
ac_prev=exec_prefix ;; ac_prev=exec_prefix ;;
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
| --exec=* | --exe=* | --ex=*) | --exec=* | --exe=* | --ex=*)
exec_prefix=$ac_optarg ;; exec_prefix=$ac_optarg ;;
skipping to change at line 435 skipping to change at line 950
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
ac_init_help=recursive ;; ac_init_help=recursive ;;
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
ac_init_help=short ;; ac_init_help=short ;;
-host | --host | --hos | --ho) -host | --host | --hos | --ho)
ac_prev=host_alias ;; ac_prev=host_alias ;;
-host=* | --host=* | --hos=* | --ho=*) -host=* | --host=* | --hos=* | --ho=*)
host_alias=$ac_optarg ;; host_alias=$ac_optarg ;;
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
ac_prev=htmldir ;;
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
| --ht=*)
htmldir=$ac_optarg ;;
-includedir | --includedir | --includedi | --included | --include \ -includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc) | --includ | --inclu | --incl | --inc)
ac_prev=includedir ;; ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
| --includ=* | --inclu=* | --incl=* | --inc=*) | --includ=* | --inclu=* | --incl=* | --inc=*)
includedir=$ac_optarg ;; includedir=$ac_optarg ;;
-infodir | --infodir | --infodi | --infod | --info | --inf) -infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;; ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
skipping to change at line 459 skipping to change at line 980
-libdir=* | --libdir=* | --libdi=* | --libd=*) -libdir=* | --libdir=* | --libdi=* | --libd=*)
libdir=$ac_optarg ;; libdir=$ac_optarg ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe) | --libexe | --libex | --libe)
ac_prev=libexecdir ;; ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
| --libexe=* | --libex=* | --libe=*) | --libexe=* | --libex=* | --libe=*)
libexecdir=$ac_optarg ;; libexecdir=$ac_optarg ;;
-localedir | --localedir | --localedi | --localed | --locale)
ac_prev=localedir ;;
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
localedir=$ac_optarg ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \ -localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst \ | --localstate | --localstat | --localsta | --localst | --locals)
| --locals | --local | --loca | --loc | --lo)
ac_prev=localstatedir ;; ac_prev=localstatedir ;;
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
localstatedir=$ac_optarg ;; localstatedir=$ac_optarg ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;; ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
mandir=$ac_optarg ;; mandir=$ac_optarg ;;
-nfp | --nfp | --nf) -nfp | --nfp | --nf)
# Obsolete; use --without-fp. # Obsolete; use --without-fp.
with_fp=no ;; with_fp=no ;;
skipping to change at line 530 skipping to change at line 1054
ac_prev=program_transform_name ;; ac_prev=program_transform_name ;;
-program-transform-name=* | --program-transform-name=* \ -program-transform-name=* | --program-transform-name=* \
| --program-transform-nam=* | --program-transform-na=* \ | --program-transform-nam=* | --program-transform-na=* \
| --program-transform-n=* | --program-transform-=* \ | --program-transform-n=* | --program-transform-=* \
| --program-transform=* | --program-transfor=* \ | --program-transform=* | --program-transfor=* \
| --program-transfo=* | --program-transf=* \ | --program-transfo=* | --program-transf=* \
| --program-trans=* | --program-tran=* \ | --program-trans=* | --program-tran=* \
| --progr-tra=* | --program-tr=* | --program-t=*) | --progr-tra=* | --program-tr=* | --program-t=*)
program_transform_name=$ac_optarg ;; program_transform_name=$ac_optarg ;;
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
ac_prev=pdfdir ;;
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
pdfdir=$ac_optarg ;;
-psdir | --psdir | --psdi | --psd | --ps)
ac_prev=psdir ;;
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
psdir=$ac_optarg ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil) | -silent | --silent | --silen | --sile | --sil)
silent=yes ;; silent=yes ;;
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;; ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*) | --sbi=* | --sb=*)
sbindir=$ac_optarg ;; sbindir=$ac_optarg ;;
skipping to change at line 580 skipping to change at line 1114
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
target_alias=$ac_optarg ;; target_alias=$ac_optarg ;;
-v | -verbose | --verbose | --verbos | --verbo | --verb) -v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;; verbose=yes ;;
-version | --version | --versio | --versi | --vers | -V) -version | --version | --versio | --versi | --vers | -V)
ac_init_version=: ;; ac_init_version=: ;;
-with-* | --with-*) -with-* | --with-*)
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names. # Reject names that are not valid shell variable names.
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid package name: $ac_package" >&2 as_fn_error $? "invalid package name: $ac_useropt"
{ (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt
ac_package=`echo $ac_package| sed 's/-/_/g'` ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_option in case $ac_user_opts in
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *"
*) ac_optarg=yes ;; "with_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$
ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac esac
eval "with_$ac_package='$ac_optarg'" ;; eval with_$ac_useropt=\$ac_optarg ;;
-without-* | --without-*) -without-* | --without-*)
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names. # Reject names that are not valid shell variable names.
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid package name: $ac_package" >&2 as_fn_error $? "invalid package name: $ac_useropt"
{ (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt
ac_package=`echo $ac_package | sed 's/-/_/g'` ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
eval "with_$ac_package=no" ;; case $ac_user_opts in
*"
"with_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--withou
t-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac
eval with_$ac_useropt=no ;;
--x) --x)
# Obsolete; use --with-x. # Obsolete; use --with-x.
with_x=yes ;; with_x=yes ;;
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
| --x-incl | --x-inc | --x-in | --x-i) | --x-incl | --x-inc | --x-in | --x-i)
ac_prev=x_includes ;; ac_prev=x_includes ;;
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
x_includes=$ac_optarg ;; x_includes=$ac_optarg ;;
-x-libraries | --x-libraries | --x-librarie | --x-librari \ -x-libraries | --x-libraries | --x-librarie | --x-librari \
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ac_prev=x_libraries ;; ac_prev=x_libraries ;;
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
x_libraries=$ac_optarg ;; x_libraries=$ac_optarg ;;
-*) { echo "$as_me: error: unrecognized option: $ac_option -*) as_fn_error $? "unrecognized option: \`$ac_option'
Try \`$0 --help' for more information." >&2 Try \`$0 --help' for more information"
{ (exit 1); exit 1; }; }
;; ;;
*=*) *=*)
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
# Reject names that are not valid shell variable names. # Reject names that are not valid shell variable names.
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && case $ac_envvar in #(
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 '' | [0-9]* | *[!_$as_cr_alnum]* )
{ (exit 1); exit 1; }; } as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` esac
eval "$ac_envvar='$ac_optarg'" eval $ac_envvar=\$ac_optarg
export $ac_envvar ;; export $ac_envvar ;;
*) *)
# FIXME: should be removed in autoconf 3.0. # FIXME: should be removed in autoconf 3.0.
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_opti : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_opt
on} ion}"
;; ;;
esac esac
done done
if test -n "$ac_prev"; then if test -n "$ac_prev"; then
ac_option=--`echo $ac_prev | sed 's/_/-/g'` ac_option=--`echo $ac_prev | sed 's/_/-/g'`
{ echo "$as_me: error: missing argument to $ac_option" >&2 as_fn_error $? "missing argument to $ac_option"
{ (exit 1); exit 1; }; }
fi fi
# Be sure to have absolute paths. if test -n "$ac_unrecognized_opts"; then
for ac_var in exec_prefix prefix case $enable_option_checking in
do no) ;;
eval ac_val=$`echo $ac_var` fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
case $ac_val in *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; s" >&2 ;;
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var
: $ac_val" >&2
{ (exit 1); exit 1; }; };;
esac esac
done fi
# Be sure to have absolute paths. # Check all directory arguments for consistency.
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
localstatedir libdir includedir oldincludedir infodir mandir datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
libdir localedir mandir
do do
eval ac_val=$`echo $ac_var` eval ac_val=\$$ac_var
# Remove trailing slashes.
case $ac_val in
*/ )
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
eval $ac_var=\$ac_val;;
esac
# Be sure to have absolute directory names.
case $ac_val in case $ac_val in
[\\/$]* | ?:[\\/]* ) ;; [\\/$]* | ?:[\\/]* ) continue;;
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
: $ac_val" >&2
{ (exit 1); exit 1; }; };;
esac esac
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
done done
# There might be people who depend on the old broken behavior: `$host' # There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc. # used to hold the argument of --host etc.
# FIXME: To remove some day. # FIXME: To remove some day.
build=$build_alias build=$build_alias
host=$host_alias host=$host_alias
target=$target_alias target=$target_alias
# FIXME: To remove some day. # FIXME: To remove some day.
if test "x$host_alias" != x; then if test "x$host_alias" != x; then
if test "x$build_alias" = x; then if test "x$build_alias" = x; then
cross_compiling=maybe cross_compiling=maybe
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --ho
st.
If a cross compiler is detected then cross compile mode will be used." >&2
elif test "x$build_alias" != "x$host_alias"; then elif test "x$build_alias" != "x$host_alias"; then
cross_compiling=yes cross_compiling=yes
fi fi
fi fi
ac_tool_prefix= ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias- test -n "$host_alias" && ac_tool_prefix=$host_alias-
test "$silent" = yes && exec 6>/dev/null 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"
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
as_fn_error $? "pwd does not report name of working directory"
# Find the source files, if location was not specified. # Find the source files, if location was not specified.
if test -z "$srcdir"; then if test -z "$srcdir"; then
ac_srcdir_defaulted=yes ac_srcdir_defaulted=yes
# Try the directory containing this script, then its parent. # Try the directory containing this script, then the parent directory.
ac_confdir=`(dirname "$0") 2>/dev/null || ac_confdir=`$as_dirname -- "$as_myself" ||
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$0" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \
X"$0" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
. : '\(.\)' 2>/dev/null || $as_echo X"$as_myself" |
echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } s//\1/
/^X\(\/\/\)[^/].*/{ s//\1/; q; } q
/^X\(\/\/\)$/{ s//\1/; q; } }
/^X\(\/\).*/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{
s/.*/./; q'` s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
srcdir=$ac_confdir srcdir=$ac_confdir
if test ! -r $srcdir/$ac_unique_file; then if test ! -r "$srcdir/$ac_unique_file"; then
srcdir=.. srcdir=..
fi fi
else else
ac_srcdir_defaulted=no ac_srcdir_defaulted=no
fi fi
if test ! -r $srcdir/$ac_unique_file; then if test ! -r "$srcdir/$ac_unique_file"; then
if test "$ac_srcdir_defaulted" = yes; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
or .." >&2 fi
{ (exit 1); exit 1; }; } ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
else ac_abs_confdir=`(
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
{ (exit 1); exit 1; }; } pwd)`
fi # When building in place, set srcdir=.
fi if test "$ac_abs_confdir" = "$ac_pwd"; then
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || srcdir=.
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work fi
" >&2 # Remove unnecessary trailing slashes from srcdir.
{ (exit 1); exit 1; }; } # Double slashes in file names in object file debugging info
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` # mess up M-x gdb in Emacs.
ac_env_build_alias_set=${build_alias+set} case $srcdir in
ac_env_build_alias_value=$build_alias */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
ac_cv_env_build_alias_set=${build_alias+set} esac
ac_cv_env_build_alias_value=$build_alias for ac_var in $ac_precious_vars; do
ac_env_host_alias_set=${host_alias+set} eval ac_env_${ac_var}_set=\${${ac_var}+set}
ac_env_host_alias_value=$host_alias eval ac_env_${ac_var}_value=\$${ac_var}
ac_cv_env_host_alias_set=${host_alias+set} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
ac_cv_env_host_alias_value=$host_alias eval ac_cv_env_${ac_var}_value=\$${ac_var}
ac_env_target_alias_set=${target_alias+set} done
ac_env_target_alias_value=$target_alias
ac_cv_env_target_alias_set=${target_alias+set}
ac_cv_env_target_alias_value=$target_alias
ac_env_CC_set=${CC+set}
ac_env_CC_value=$CC
ac_cv_env_CC_set=${CC+set}
ac_cv_env_CC_value=$CC
ac_env_CFLAGS_set=${CFLAGS+set}
ac_env_CFLAGS_value=$CFLAGS
ac_cv_env_CFLAGS_set=${CFLAGS+set}
ac_cv_env_CFLAGS_value=$CFLAGS
ac_env_LDFLAGS_set=${LDFLAGS+set}
ac_env_LDFLAGS_value=$LDFLAGS
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
ac_cv_env_LDFLAGS_value=$LDFLAGS
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_env_CPPFLAGS_value=$CPPFLAGS
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
ac_env_CPP_set=${CPP+set}
ac_env_CPP_value=$CPP
ac_cv_env_CPP_set=${CPP+set}
ac_cv_env_CPP_value=$CPP
# #
# Report the --help message. # Report the --help message.
# #
if test "$ac_init_help" = "long"; then if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # 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. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures this package to adapt to many kinds of systems. \`configure' configures this package to adapt to many kinds of systems.
skipping to change at line 787 skipping to change at line 1330
To assign environment variables (e.g., CC, CFLAGS...), specify them as To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables. VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets. Defaults for the options are specified in brackets.
Configuration: Configuration:
-h, --help display this help and exit -h, --help display this help and exit
--help=short display options specific to this package --help=short display options specific to this package
--help=recursive display the short help of all the included packages --help=recursive display the short help of all the included packages
-V, --version display version information and exit -V, --version display version information and exit
-q, --quiet, --silent do not print \`checking...' messages -q, --quiet, --silent do not print \`checking ...' messages
--cache-file=FILE cache test results in FILE [disabled] --cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for \`--cache-file=config.cache' -C, --config-cache alias for \`--cache-file=config.cache'
-n, --no-create do not create output files -n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or \`..'] --srcdir=DIR find the sources in DIR [configure dir or \`..']
_ACEOF
cat <<_ACEOF
Installation directories: Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX --prefix=PREFIX install architecture-independent files in PREFIX
[$ac_default_prefix] [$ac_default_prefix]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX] [PREFIX]
By default, \`make install' will install all the files in By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix', an installation prefix other than \`$ac_default_prefix' using \`--prefix',
for instance \`--prefix=\$HOME'. for instance \`--prefix=\$HOME'.
For better control, use the options below. For better control, use the options below.
Fine tuning of the installation directories: Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin] --bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin] --sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec] --libexecdir=DIR program executables [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var]
--localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib]
--libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include]
--includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--infodir=DIR info documentation [PREFIX/info] --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--mandir=DIR man documentation [PREFIX/man] --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]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
_ACEOF _ACEOF
cat <<\_ACEOF cat <<\_ACEOF
_ACEOF _ACEOF
fi fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
cat <<\_ACEOF cat <<\_ACEOF
Optional Features: Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-threads build with threads (default: on) --enable-threads build with threads (default: on)
--enable-shared build and link with shared libraries (default: on) --enable-shared build and link with shared libraries (default: on)
--enable-time64bit force 64-bit time_t for 32-bit build (default: off) --enable-time64bit force 64-bit time_t for 32-bit build (default: off)
--enable-64bit enable 64bit support (where applicable) --enable-64bit enable 64bit support (where applicable)
--enable-wince enable Win/CE support (where applicable) --enable-wince enable Win/CE support (where applicable)
--enable-symbols build with debugging symbols (default: off) --enable-symbols build with debugging symbols (default: off)
--enable-embedded-manifest --enable-embedded-manifest
embed manifest if possible (default: yes) embed manifest if possible (default: yes)
skipping to change at line 855 skipping to change at line 1403
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-encoding encoding for configuration values --with-encoding encoding for configuration values
--with-celib=DIR use Windows/CE support library from DIR --with-celib=DIR use Windows/CE support library from DIR
Some influential environment variables: Some influential environment variables:
CC C compiler command CC C compiler command
CFLAGS C compiler flags CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir> nonstandard directory <lib dir>
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have LIBS libraries to pass to the linker, e.g. -l<library>
headers in a nonstandard directory <include dir> CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor CPP C preprocessor
Use these variables to override the choices made by `configure' or to help Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations. it to find libraries and programs with nonstandard names/locations.
Report bugs to the package provider.
_ACEOF _ACEOF
ac_status=$?
fi fi
if test "$ac_init_help" = "recursive"; then if test "$ac_init_help" = "recursive"; then
# If there are subdirs, report their specific --help. # If there are subdirs, report their specific --help.
ac_popdir=`pwd`
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
test -d $ac_dir || continue test -d "$ac_dir" ||
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
continue
ac_builddir=. ac_builddir=.
if test "$ac_dir" != .; then case "$ac_dir" in
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
# A "../" for each directory in $ac_dir_suffix. *)
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
else # A ".." for each directory in $ac_dir_suffix.
ac_dir_suffix= ac_top_builddir= ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
fi case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
case $srcdir in case $srcdir in
.) # No --srcdir option. We are building in place. .) # We are building in place.
ac_srcdir=. ac_srcdir=.
if test -z "$ac_top_builddir"; then ac_top_srcdir=$ac_top_builddir_sub
ac_top_srcdir=. ac_abs_top_srcdir=$ac_pwd ;;
else [\\/]* | ?:[\\/]* ) # Absolute name.
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
fi ;;
[\\/]* | ?:[\\/]* ) # Absolute path.
ac_srcdir=$srcdir$ac_dir_suffix; ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir ;; ac_top_srcdir=$srcdir
*) # Relative path. ac_abs_top_srcdir=$srcdir ;;
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix *) # Relative name.
ac_top_srcdir=$ac_top_builddir$srcdir ;; ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_top_build_prefix$srcdir
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
# Do not use `cd foo && pwd` to compute absolute paths, because cd "$ac_dir" || { ac_status=$?; continue; }
# the directories may not exist. # Check for guested configure.
case `pwd` in if test -f "$ac_srcdir/configure.gnu"; then
.) ac_abs_builddir="$ac_dir";; echo &&
*) $SHELL "$ac_srcdir/configure.gnu" --help=recursive
case "$ac_dir" in elif test -f "$ac_srcdir/configure"; then
.) ac_abs_builddir=`pwd`;; echo &&
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; $SHELL "$ac_srcdir/configure" --help=recursive
*) ac_abs_builddir=`pwd`/"$ac_dir";;
esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
case ${ac_top_builddir}. in
.) ac_abs_top_builddir=$ac_abs_builddir;;
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
case $ac_srcdir in
.) ac_abs_srcdir=$ac_abs_builddir;;
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
case $ac_top_srcdir in
.) ac_abs_top_srcdir=$ac_abs_builddir;;
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
esac;;
esac
cd $ac_dir
# Check for guested configure; otherwise get Cygnus style configure.
if test -f $ac_srcdir/configure.gnu; then
echo
$SHELL $ac_srcdir/configure.gnu --help=recursive
elif test -f $ac_srcdir/configure; then
echo
$SHELL $ac_srcdir/configure --help=recursive
elif test -f $ac_srcdir/configure.ac ||
test -f $ac_srcdir/configure.in; then
echo
$ac_configure --help
else else
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi fi || ac_status=$?
cd $ac_popdir cd "$ac_pwd" || { ac_status=$?; break; }
done done
fi fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
configure
generated by GNU Autoconf 2.69
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it. gives unlimited permission to copy, distribute and modify it.
_ACEOF _ACEOF
exit 0 exit
fi fi
exec 5>config.log
cat >&5 <<_ACEOF ## ------------------------ ##
## 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; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_compile
# ac_fn_c_try_cpp LINENO
# ----------------------
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_cpp ()
{
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; } > conftest.i && {
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
ac_retval=1
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_cpp
# 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
ac_retval=$ac_status
fi
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_run
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
# ---------------------------------------------
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
# accordingly.
ac_fn_c_check_decl ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
as_decl_name=`echo $2|sed 's/ *(.*//'`
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is dec
lared" >&5
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
if eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main ()
{
#ifndef $as_decl_name
#ifdef __cplusplus
(void) $as_decl_use;
#else
(void) $as_decl_name;
#endif
#endif
;
return 0;
}
_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; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_decl
# 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 eval \${$3+:} false; 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; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_header_compile
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
# -------------------------------------------
# Tests whether TYPE exists after having included INCLUDES, setting cache
# variable VAR accordingly.
ac_fn_c_check_type ()
{
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 eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6
else
eval "$3=no"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main ()
{
if (sizeof ($2))
return 0;
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main ()
{
if (sizeof (($2)))
return 0;
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
else
eval "$3=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
eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_type
cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by $as_me, which was It was created by $as_me, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
_ACEOF _ACEOF
exec 5>>config.log
{ {
cat <<_ASUNAME cat <<_ASUNAME
## --------- ## ## --------- ##
## Platform. ## ## Platform. ##
## --------- ## ## --------- ##
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 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` /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/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
/bin/arch = `(/bin/arch) 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/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
hostinfo = `(hostinfo) 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` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
/usr/bin/oslevel = `(/usr/bin/oslevel) 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` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
_ASUNAME _ASUNAME
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
echo "PATH: $as_dir" $as_echo "PATH: $as_dir"
done done
IFS=$as_save_IFS
} >&5 } >&5
cat >&5 <<_ACEOF cat >&5 <<_ACEOF
## ----------- ## ## ----------- ##
## Core tests. ## ## Core tests. ##
## ----------- ## ## ----------- ##
_ACEOF _ACEOF
# Keep a trace of the command line. # Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up. # Strip out --no-create and --no-recursion so they do not pile up.
# Strip out --silent because we don't want to record it for future runs. # Strip out --silent because we don't want to record it for future runs.
# Also quote any args containing shell meta-characters. # Also quote any args containing shell meta-characters.
# Make two passes to allow for proper duplicate-argument suppression. # Make two passes to allow for proper duplicate-argument suppression.
ac_configure_args= ac_configure_args=
ac_configure_args0= ac_configure_args0=
ac_configure_args1= ac_configure_args1=
ac_sep=
ac_must_keep_next=false ac_must_keep_next=false
for ac_pass in 1 2 for ac_pass in 1 2
do do
for ac_arg for ac_arg
do do
case $ac_arg in case $ac_arg in
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil) | -silent | --silent | --silen | --sile | --sil)
continue ;; continue ;;
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) *\'*)
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac esac
case $ac_pass in case $ac_pass in
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2) 2)
ac_configure_args1="$ac_configure_args1 '$ac_arg'" as_fn_append ac_configure_args1 " '$ac_arg'"
if test $ac_must_keep_next = true; then if test $ac_must_keep_next = true; then
ac_must_keep_next=false # Got value, back to normal. ac_must_keep_next=false # Got value, back to normal.
else else
case $ac_arg in case $ac_arg in
*=* | --config-cache | -C | -disable-* | --disable-* \ *=* | --config-cache | -C | -disable-* | --disable-* \
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
| -with-* | --with-* | -without-* | --without-* | --x) | -with-* | --with-* | -without-* | --without-* | --x)
case "$ac_configure_args0 " in case "$ac_configure_args0 " in
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
esac esac
;; ;;
-* ) ac_must_keep_next=true ;; -* ) ac_must_keep_next=true ;;
esac esac
fi fi
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" as_fn_append ac_configure_args " '$ac_arg'"
# Get rid of the leading space.
ac_sep=" "
;; ;;
esac esac
done done
done done
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_ { ac_configure_args0=; unset ac_configure_args0;}
configure_args0=; export ac_configure_args0; } { ac_configure_args1=; unset ac_configure_args1;}
$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 # When interrupted or exit'd, cleanup temporary files, and complete
# config.log. We remove comments because anyway the quotes in there # config.log. We remove comments because anyway the quotes in there
# would cause problems or look ugly. # would cause problems or look ugly.
# WARNING: Be sure not to use single quotes in there, as some shells, # WARNING: Use '\'' to represent an apostrophe within the trap.
# such as our DU 5.0 friend, will then `close' the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
trap 'exit_status=$? trap 'exit_status=$?
# Save into config.log some information that might help in debugging. # Save into config.log some information that might help in debugging.
{ {
echo echo
cat <<\_ASBOX $as_echo "## ---------------- ##
## ---------------- ##
## Cache variables. ## ## Cache variables. ##
## ---------------- ## ## ---------------- ##"
_ASBOX
echo echo
# The following way of writing the cache mishandles newlines in values, # The following way of writing the cache mishandles newlines in values,
{ (
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\
''`; do
eval ac_val=\$$ac_var
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;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
*) { eval $ac_var=; unset $ac_var;} ;;
esac ;;
esac
done
(set) 2>&1 | (set) 2>&1 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
*ac_space=\ *) *${as_nl}ac_space=\ *)
sed -n \ sed -n \
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; "s/'\''/'\''\\\\'\'''\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'" s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/
'/p" p"
;; ;; #(
*) *)
sed -n \ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
;; ;;
esac; esac |
} sort
)
echo echo
cat <<\_ASBOX $as_echo "## ----------------- ##
## ----------------- ##
## Output variables. ## ## Output variables. ##
## ----------------- ## ## ----------------- ##"
_ASBOX
echo echo
for ac_var in $ac_subst_vars for ac_var in $ac_subst_vars
do do
eval ac_val=$`echo $ac_var` eval ac_val=\$$ac_var
echo "$ac_var='"'"'$ac_val'"'"'" case $ac_val in
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`
;;
esac
$as_echo "$ac_var='\''$ac_val'\''"
done | sort done | sort
echo echo
if test -n "$ac_subst_files"; then if test -n "$ac_subst_files"; then
cat <<\_ASBOX $as_echo "## ------------------- ##
## ------------- ## ## File substitutions. ##
## Output files. ## ## ------------------- ##"
## ------------- ##
_ASBOX
echo echo
for ac_var in $ac_subst_files for ac_var in $ac_subst_files
do do
eval ac_val=$`echo $ac_var` eval ac_val=\$$ac_var
echo "$ac_var='"'"'$ac_val'"'"'" case $ac_val in
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"
`;;
esac
$as_echo "$ac_var='\''$ac_val'\''"
done | sort done | sort
echo echo
fi fi
if test -s confdefs.h; then if test -s confdefs.h; then
cat <<\_ASBOX $as_echo "## ----------- ##
## ----------- ##
## confdefs.h. ## ## confdefs.h. ##
## ----------- ## ## ----------- ##"
_ASBOX
echo echo
sed "/^$/d" confdefs.h | sort cat confdefs.h
echo echo
fi fi
test "$ac_signal" != 0 && test "$ac_signal" != 0 &&
echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: caught signal $ac_signal"
echo "$as_me: exit $exit_status" $as_echo "$as_me: exit $exit_status"
} >&5 } >&5
rm -f core *.core && rm -f core *.core core.conftest.* &&
rm -rf conftest* confdefs* conf$$* $ac_clean_files && rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
exit $exit_status exit $exit_status
' 0 ' 0
for ac_signal in 1 2 13 15; do for ac_signal in 1 2 13 15; do
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
done done
ac_signal=0 ac_signal=0
# confdefs.h avoids OS command line length limits that DEFS can exceed. # confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h rm -f -r conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo >confdefs.h $as_echo "/* confdefs.h */" > confdefs.h
# Predefined preprocessor variables. # Predefined preprocessor variables.
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define PACKAGE_NAME "$PACKAGE_NAME" #define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
_ACEOF _ACEOF
skipping to change at line 1180 skipping to change at line 1962
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define PACKAGE_STRING "$PACKAGE_STRING" #define PACKAGE_STRING "$PACKAGE_STRING"
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF
#define PACKAGE_URL "$PACKAGE_URL"
_ACEOF
# Let the site file select an alternate cache file if it wants to. # Let the site file select an alternate cache file if it wants to.
# Prefer explicitly selected file to automatically selected ones. # Prefer an explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then ac_site_file1=NONE
if test "x$prefix" != xNONE; then ac_site_file2=NONE
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" if test -n "$CONFIG_SITE"; then
else # We do not want a PATH search for config.site.
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/con case $CONFIG_SITE in #((
fig.site" -*) ac_site_file1=./$CONFIG_SITE;;
fi */*) ac_site_file1=$CONFIG_SITE;;
*) ac_site_file1=./$CONFIG_SITE;;
esac
elif test "x$prefix" != xNONE; then
ac_site_file1=$prefix/share/config.site
ac_site_file2=$prefix/etc/config.site
else
ac_site_file1=$ac_default_prefix/share/config.site
ac_site_file2=$ac_default_prefix/etc/config.site
fi fi
for ac_site_file in $CONFIG_SITE; do for ac_site_file in "$ac_site_file1" "$ac_site_file2"
if test -r "$ac_site_file"; then do
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 test "x$ac_site_file" = xNONE && continue
echo "$as_me: loading site script $ac_site_file" >&6;} 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
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
sed 's/^/| /' "$ac_site_file" >&5 sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file" . "$ac_site_file" \
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "failed to load site script $ac_site_file
See \`config.log' for more details" "$LINENO" 5; }
fi fi
done done
if test -r "$cache_file"; then if test -r "$cache_file"; then
# Some versions of bash will fail to source /dev/null (special # Some versions of bash will fail to source /dev/null (special files
# files actually), so we avoid doing that. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
if test -f "$cache_file"; then if test /dev/null != "$cache_file" && test -f "$cache_file"; then
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;} $as_echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in case $cache_file in
[\\/]* | ?:[\\/]* ) . $cache_file;; [\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . ./$cache_file;; *) . "./$cache_file";;
esac esac
fi fi
else else
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;} $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file >$cache_file
fi fi
# Check that the precious variables saved in the cache have kept the same # Check that the precious variables saved in the cache have kept the same
# value. # value.
ac_cache_corrupted=false ac_cache_corrupted=false
for ac_var in `(set) 2>&1 | for ac_var in $ac_precious_vars; do
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_old_set=\$ac_cv_env_${ac_var}_set
eval ac_new_set=\$ac_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set
eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_old_val=\$ac_cv_env_${ac_var}_value
eval ac_new_val="\$ac_env_${ac_var}_value" eval ac_new_val=\$ac_env_${ac_var}_value
case $ac_old_set,$ac_new_set in case $ac_old_set,$ac_new_set in
set,) set,)
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$a
previous run" >&5 c_old_val' in the previous run" >&5
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" > $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous ru
&2;} n" >&2;}
ac_cache_corrupted=: ;; ac_cache_corrupted=: ;;
,set) ,set)
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in
>&5 the previous run" >&5
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
ac_cache_corrupted=: ;; ac_cache_corrupted=: ;;
,);; ,);;
*) *)
if test "x$ac_old_val" != "x$ac_new_val"; then if test "x$ac_old_val" != "x$ac_new_val"; then
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous # differences in whitespace do not lead to failure.
run:" >&5 ac_old_val_w=`echo x $ac_old_val`
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_new_val_w=`echo x $ac_new_val`
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 if test "$ac_old_val_w" != "$ac_new_val_w"; then
echo "$as_me: former value: $ac_old_val" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 since the previous run:" >&5
echo "$as_me: current value: $ac_new_val" >&2;} $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
ac_cache_corrupted=: ac_cache_corrupted=:
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace c
hanges in \`$ac_var' since the previous run:" >&5
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the p
revious 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: former value: \`$ac_old_val'" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'"
>&5
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
fi;; fi;;
esac esac
# Pass precious variables to config.status. # Pass precious variables to config.status.
if test "$ac_new_set" = set; then if test "$ac_new_set" = set; then
case $ac_new_val in case $ac_new_val in
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
*) ac_arg=$ac_var=$ac_new_val ;; *) ac_arg=$ac_var=$ac_new_val ;;
esac esac
case " $ac_configure_args " in case " $ac_configure_args " in
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; *) as_fn_append ac_configure_args " '$ac_arg'" ;;
esac esac
fi fi
done done
if $ac_cache_corrupted; then if $ac_cache_corrupted; then
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the b { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
uild" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
echo "$as_me: error: changes in the environment can compromise the build" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file compromise the build" >&5
' and start over" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov 2;}
er" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over"
{ (exit 1); exit 1; }; } "$LINENO" 5
fi fi
## -------------------- ##
## Main body of script. ##
## -------------------- ##
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
# The following define is needed when building with Cygwin since newer # The following define is needed when building with Cygwin since newer
# versions of autoconf incorrectly set SHELL to /bin/bash instead of # versions of autoconf incorrectly set SHELL to /bin/bash instead of
# /bin/sh. The bash shell seems to suffer from some strange failures. # /bin/sh. The bash shell seems to suffer from some strange failures.
skipping to change at line 1331 skipping to change at line 2142
fi fi
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2 set dummy ${ac_tool_prefix}gcc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then if ${ac_cv_prog_CC+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}gcc" ac_cv_prog_CC="${ac_tool_prefix}gcc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
CC=$ac_cv_prog_CC CC=$ac_cv_prog_CC
if test -n "$CC"; then if test -n "$CC"; then
echo "$as_me:$LINENO: result: $CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 $as_echo "$CC" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_CC"; then if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args. # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2 set dummy gcc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then if ${ac_cv_prog_ac_ct_CC+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="gcc" ac_cv_prog_ac_ct_CC="gcc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6 $as_echo "$ac_ct_CC" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
CC=$ac_ct_CC 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 else
CC="$ac_cv_prog_CC" CC="$ac_cv_prog_CC"
fi fi
if test -z "$CC"; then if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na
with args. me with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2 set dummy ${ac_tool_prefix}cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then if ${ac_cv_prog_CC+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}cc" ac_cv_prog_CC="${ac_tool_prefix}cc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
CC=$ac_cv_prog_CC CC=$ac_cv_prog_CC
if test -n "$CC"; then if test -n "$CC"; then
echo "$as_me:$LINENO: result: $CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 $as_echo "$CC" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
fi
if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="cc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi fi
done
done
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
CC=$ac_ct_CC
else
CC="$ac_cv_prog_CC"
fi
fi fi
if test -z "$CC"; then if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args. # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2 set dummy cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then if ${ac_cv_prog_CC+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
ac_prog_rejected=no ac_prog_rejected=no
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
ac_prog_rejected=yes ac_prog_rejected=yes
continue continue
fi fi
ac_cv_prog_CC="cc" ac_cv_prog_CC="cc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
if test $ac_prog_rejected = yes; then if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it. # We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC set dummy $ac_cv_prog_CC
shift shift
if test $# != 0; then if test $# != 0; then
# We chose a different compiler from the bogus one. # We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen # 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. # first if we set CC to just the basename; use the full file name.
shift shift
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
fi fi
fi fi
fi fi
fi fi
CC=$ac_cv_prog_CC CC=$ac_cv_prog_CC
if test -n "$CC"; then if test -n "$CC"; then
echo "$as_me:$LINENO: result: $CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 $as_echo "$CC" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$CC"; then if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
for ac_prog in cl for ac_prog in cl.exe
do do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then if ${ac_cv_prog_CC+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
CC=$ac_cv_prog_CC CC=$ac_cv_prog_CC
if test -n "$CC"; then if test -n "$CC"; then
echo "$as_me:$LINENO: result: $CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 $as_echo "$CC" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
test -n "$CC" && break test -n "$CC" && break
done done
fi fi
if test -z "$CC"; then if test -z "$CC"; then
ac_ct_CC=$CC ac_ct_CC=$CC
for ac_prog in cl for ac_prog in cl.exe
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then if ${ac_cv_prog_ac_ct_CC+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="$ac_prog" ac_cv_prog_ac_ct_CC="$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6 $as_echo "$ac_ct_CC" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
test -n "$ac_ct_CC" && break test -n "$ac_ct_CC" && break
done done
CC=$ac_ct_CC 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
fi fi
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd'
in \$PATH :" >&5
See \`config.log' for more details." >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
echo "$as_me: error: no acceptable C compiler found in \$PATH as_fn_error $? "no acceptable C compiler found in \$PATH
See \`config.log' for more details." >&2;} See \`config.log' for more details" "$LINENO" 5; }
{ (exit 1); exit 1; }; }
# Provide some information about the compiler. # Provide some information about the compiler.
echo "$as_me:$LINENO:" \ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
"checking for C compiler version" >&5 set X $ac_compile
ac_compiler=`set X $ac_compile; echo $2` ac_compiler=$2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 for ac_option in --version -v -V -qversion; do
(eval $ac_compiler --version </dev/null >&5) 2>&5 { { ac_try="$ac_compiler $ac_option >&5"
ac_status=$? case "(($ac_try" in
echo "$as_me:$LINENO: \$? = $ac_status" >&5 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
(exit $ac_status); } *) ac_try_echo=$ac_try;;
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 esac
(eval $ac_compiler -v </dev/null >&5) 2>&5 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
ac_status=$? $as_echo "$ac_try_echo"; } >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
(exit $ac_status); }
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
(eval $ac_compiler -V </dev/null >&5) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 if test -s conftest.err; then
(exit $ac_status); } 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 >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
ac_clean_files_save=$ac_clean_files ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.exe b.out" 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. # Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition # It will help us diagnose broken compilers, and finding out an intuition
# of exeext. # of exeext.
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works"
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 >&5
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` $as_echo_n "checking whether the C compiler works... " >&6; }
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
(eval $ac_link_default) 2>&5
ac_status=$? # The possible output files:
echo "$as_me:$LINENO: \$? = $ac_status" >&5 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
(exit $ac_status); }; then
# Find the output, starting from the most likely. This scheme is ac_rmfiles=
# not robust to junk in `.', hence go to wildcards (a.*) only as a last for ac_file in $ac_files
# resort. do
case $ac_file in
# Be careful to initialize this variable, since it used to be cached. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. *.inf | *.dSYM | *.o | *.obj ) ;;
ac_cv_exeext= * ) ac_rmfiles="$ac_rmfiles $ac_file";;
# b.out is created by i960 compilers. esac
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 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 do
test -f "$ac_file" || continue test -f "$ac_file" || continue
case $ac_file in case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
obj ) *.inf | *.dSYM | *.o | *.obj )
;;
conftest.$ac_ext )
# This is the source file.
;; ;;
[ab].out ) [ab].out )
# We found the default executable, but exeext='' is most # We found the default executable, but exeext='' is most
# certainly right. # certainly right.
break;; break;;
*.* ) *.* )
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
# FIXME: I believe we export ac_cv_exeext for Libtool, then :; else
# but it would be cool to find out if it's true. Does anybody ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
# maintain Libtool? --akim. fi
export ac_cv_exeext # 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;;
* ) * )
break;; break;;
esac esac
done done
else test "$ac_cv_exeext" = no && ac_cv_exeext=
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables else
See \`config.log' for more details." >&5 ac_file=''
echo "$as_me: error: C compiler cannot create executables
See \`config.log' for more details." >&2;}
{ (exit 77); exit 77; }; }
fi 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_error 77 "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 ac_exeext=$ac_cv_exeext
echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6
# Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&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'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
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
{ { 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
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
fi
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
rm -f a.out a.exe conftest$ac_cv_exeext b.out rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save ac_clean_files=$ac_clean_files_save
# Check the compiler produces executables we can run. If not, either { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
# the compiler is broken, or we cross compile. $as_echo_n "checking for suffix of executables... " >&6; }
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 if { { ac_try="$ac_link"
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 case "(($ac_try" in
echo "$as_me:$LINENO: result: $cross_compiling" >&5 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
echo "${ECHO_T}$cross_compiling" >&6 *) ac_try_echo=$ac_try;;
esac
echo "$as_me:$LINENO: checking for suffix of executables" >&5 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 $as_echo "$ac_try_echo"; } >&5
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval "$ac_link") 2>&5
(eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
(exit $ac_status); }; then test $ac_status = 0; }; then :
# If both `conftest.exe' and `conftest' are `present' (well, observable) # If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with # work properly (i.e., refer to `conftest.exe'), while it won't with
# `rm'. # `rm'.
for ac_file in conftest.exe conftest conftest.*; do for ac_file in conftest.exe conftest conftest.*; do
test -f "$ac_file" || continue test -f "$ac_file" || continue
case $ac_file in case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *. obj ) ;; *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
export ac_cv_exeext
break;; break;;
* ) break;; * ) break;;
esac esac
done done
else else
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
compile and link $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
See \`config.log' for more details." >&5 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
echo "$as_me: error: cannot compute suffix of executables: cannot compile and li See \`config.log' for more details" "$LINENO" 5; }
nk fi
See \`config.log' for more details." >&2;} rm -f conftest conftest$ac_cv_exeext
{ (exit 1); exit 1; }; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
fi $as_echo "$ac_cv_exeext" >&6; }
rm -f conftest$ac_cv_exeext
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6
rm -f conftest.$ac_ext rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT ac_exeext=$EXEEXT
echo "$as_me:$LINENO: checking for suffix of object files" >&5 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 /* end confdefs.h. */
if test "${ac_cv_objext+set}" = set; then #include <stdio.h>
echo $ECHO_N "(cached) $ECHO_C" >&6 int
else main ()
cat >conftest.$ac_ext <<_ACEOF {
/* confdefs.h. */ FILE *f = fopen ("conftest.out", "w");
return ferror (f) || fclose (f) != 0;
;
return 0;
}
_ACEOF _ACEOF
cat confdefs.h >>conftest.$ac_ext ac_clean_files="$ac_clean_files conftest.out"
cat >>conftest.$ac_ext <<_ACEOF # 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 ${ac_cv_objext+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.o conftest.obj rm -f conftest.o conftest.obj
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 if { { ac_try="$ac_compile"
(eval $ac_compile) 2>&5 case "(($ac_try" in
ac_status=$? *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
echo "$as_me:$LINENO: \$? = $ac_status" >&5 *) ac_try_echo=$ac_try;;
(exit $ac_status); }; then esac
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 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 case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
break;; break;;
esac esac
done done
else else
echo "$as_me: failed program was:" >&5 $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot c { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
ompile $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
See \`config.log' for more details." >&5 as_fn_error $? "cannot compute suffix of object files: cannot compile
echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; }
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
fi fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6 $as_echo "$ac_cv_objext" >&6; }
OBJEXT=$ac_cv_objext OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT ac_objext=$OBJEXT
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 compiler" >&5
if test "${ac_cv_c_compiler_gnu+set}" = set; then $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${ac_cv_c_compiler_gnu+:} false; then :
$as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
#ifndef __GNUC__ #ifndef __GNUC__
choke me choke me
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_compiler_gnu=yes ac_compiler_gnu=yes
else else
echo "$as_me: failed program was:" >&5 ac_compiler_gnu=no
sed 's/^/| /' conftest.$ac_ext >&5
ac_compiler_gnu=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu ac_cv_c_compiler_gnu=$ac_compiler_gnu
fi fi
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
GCC=`test $ac_compiler_gnu = yes && echo yes` if test $ac_compiler_gnu = yes; then
GCC=yes
else
GCC=
fi
ac_test_CFLAGS=${CFLAGS+set} ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS ac_save_CFLAGS=$CFLAGS
CFLAGS="-g" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; }
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if ${ac_cv_prog_cc_g+:} false; then :
if test "${ac_cv_prog_cc_g+set}" = set; then $as_echo_n "(cached) " >&6
echo $ECHO_N "(cached) $ECHO_C" >&6 else
else ac_save_c_werror_flag=$ac_c_werror_flag
cat >conftest.$ac_ext <<_ACEOF ac_c_werror_flag=yes
/* confdefs.h. */ ac_cv_prog_cc_g=no
_ACEOF CFLAGS="-g"
cat confdefs.h >>conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes ac_cv_prog_cc_g=yes
else else
echo "$as_me: failed program was:" >&5 CFLAGS=""
sed 's/^/| /' conftest.$ac_ext >&5 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 ()
{
ac_cv_prog_cc_g=no ;
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 fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_c_werror_flag=$ac_save_c_werror_flag
fi fi
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 $as_echo "$ac_cv_prog_cc_g" >&6; }
if test "$ac_test_CFLAGS" = set; then if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then if test "$GCC" = yes; then
CFLAGS="-g -O2" CFLAGS="-g -O2"
else else
CFLAGS="-g" CFLAGS="-g"
fi fi
else else
if test "$GCC" = yes; then if test "$GCC" = yes; then
CFLAGS="-O2" CFLAGS="-O2"
else else
CFLAGS= CFLAGS=
fi fi
fi fi
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 89" >&5
if test "${ac_cv_prog_cc_stdc+set}" = set; then $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${ac_cv_prog_cc_c89+:} false; then :
$as_echo_n "(cached) " >&6
else else
ac_cv_prog_cc_stdc=no ac_cv_prog_cc_c89=no
ac_save_CC=$CC ac_save_CC=$CC
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> struct stat;
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; }; struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int); FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i) static char *e (p, i)
char **p; char **p;
int i; int i;
{ {
return p[i]; return p[i];
} }
static char *f (char * (*g) (char **, int), char **p, ...) static char *f (char * (*g) (char **, int), char **p, ...)
skipping to change at line 2027 skipping to change at line 2855
va_list v; va_list v;
va_start (v,p); va_start (v,p);
s = g (p, va_arg (v,int)); s = g (p, va_arg (v,int));
va_end (v); va_end (v);
return s; return s;
} }
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has /* 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. function prototypes and stuff, but not '\xHH' hex character constants.
These don't provoke an error unfortunately, instead are silently treated These don't provoke an error unfortunately, instead are silently treated
as 'x'. The following induces an error, until -std1 is added to get 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 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 array size at least. It's necessary to write '\x00'==0 to get something
that's true only with -std1. */ that's true only with -std. */
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 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); int test (int i, double x);
struct s1 {int (*f) (int a);}; struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);}; struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i nt); int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i nt);
int argc; int argc;
char **argv; char **argv;
int int
main () main ()
{ {
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
# Don't try gcc -ansi; that turns off useful extensions and for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
# breaks some systems' header files. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
# AIX -qlanglvl=ansi
# Ultrix and OSF/1 -std1
# HP-UX 10.20 and later -Ae
# HP-UX older versions -Aa -D_HPUX_SOURCE
# SVR4 -Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
NS__"
do do
CC="$ac_save_CC $ac_arg" CC="$ac_save_CC $ac_arg"
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_cv_prog_cc_c89=$ac_arg
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_stdc=$ac_arg
break
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi fi
rm -f conftest.err conftest.$ac_objext rm -f core conftest.err conftest.$ac_objext
test "x$ac_cv_prog_cc_c89" != "xno" && break
done done
rm -f conftest.$ac_ext conftest.$ac_objext rm -f conftest.$ac_ext
CC=$ac_save_CC CC=$ac_save_CC
fi fi
# AC_CACHE_VAL
case "x$ac_cv_prog_cc_stdc" in case "x$ac_cv_prog_cc_c89" in
x|xno) x)
echo "$as_me:$LINENO: result: none needed" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;; $as_echo "none needed" >&6; } ;;
xno)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
$as_echo "unsupported" >&6; } ;;
*) *)
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 CC="$CC $ac_cv_prog_cc_c89"
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
CC="$CC $ac_cv_prog_cc_stdc" ;; $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
esac esac
if test "x$ac_cv_prog_cc_c89" != xno; then :
# Some people use a C++ compiler to compile C. Since we use `exit',
# in C++ we need to declare it. In case someone uses the same compiler
# for both compiling C and C++ we need to have the C++ compiler decide
# the declaration of exit, since it's the most demanding environment.
cat >conftest.$ac_ext <<_ACEOF
#ifndef __cplusplus
choke me
#endif
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
for ac_declaration in \
'' \
'extern "C" void std::exit (int) throw (); using std::exit;' \
'extern "C" void std::exit (int); using std::exit;' \
'extern "C" void exit (int) throw ();' \
'extern "C" void exit (int);' \
'void exit (int);'
do
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_declaration
#include <stdlib.h>
int
main ()
{
exit (42);
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
continue
fi
rm -f 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. */
$ac_declaration
int
main ()
{
exit (42);
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done
rm -f conftest*
if test -n "$ac_declaration"; then
echo '#ifdef __cplusplus' >>confdefs.h
echo $ac_declaration >>confdefs.h
echo '#endif' >>confdefs.h
fi fi
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
echo "$as_me:$LINENO: checking for inline" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6 $as_echo_n "checking for inline... " >&6; }
if test "${ac_cv_c_inline+set}" = set; then if ${ac_cv_c_inline+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
ac_cv_c_inline=no ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do for ac_kw in inline __inline__ __inline; do
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#ifndef __cplusplus #ifndef __cplusplus
typedef int foo_t; typedef int foo_t;
static $ac_kw foo_t static_foo () {return 0; } static $ac_kw foo_t static_foo () {return 0; }
$ac_kw foo_t foo () {return 0; } $ac_kw foo_t foo () {return 0; }
#endif #endif
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ac_cv_c_inline=$ac_kw
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_c_inline=$ac_kw; break
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
test "$ac_cv_c_inline" != no && break
done done
fi fi
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6 $as_echo "$ac_cv_c_inline" >&6; }
case $ac_cv_c_inline in case $ac_cv_c_inline in
inline | yes) ;; inline | yes) ;;
*) *)
case $ac_cv_c_inline in case $ac_cv_c_inline in
no) ac_val=;; no) ac_val=;;
*) ac_val=$ac_cv_c_inline;; *) ac_val=$ac_cv_c_inline;;
esac esac
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#ifndef __cplusplus #ifndef __cplusplus
skipping to change at line 2327 skipping to change at line 2964
#endif #endif
_ACEOF _ACEOF
;; ;;
esac esac
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 >&5
$as_echo_n "checking how to run the C preprocessor... " >&6; }
# On Suns, sometimes $CPP names a directory. # On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then if test -n "$CPP" && test -d "$CPP"; then
CPP= CPP=
fi fi
if test -z "$CPP"; then if test -z "$CPP"; then
if test "${ac_cv_prog_CPP+set}" = set; then if ${ac_cv_prog_CPP+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
# Double quotes because CPP needs to be expanded # Double quotes because CPP needs to be expanded
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
do do
ac_preproc_ok=false ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes for ac_c_preproc_warn_flag in '' yes
do do
# Use a header file that comes with gcc, so configuring glibc # Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works. # with a fresh cross-compiler works.
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
# <limits.h> exists even on freestanding compilers. # <limits.h> exists even on freestanding compilers.
# On the NeXT, cc -E runs the code through the compiler's parser, # 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. # not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#ifdef __STDC__ #ifdef __STDC__
# include <limits.h> # include <limits.h>
#else #else
# include <assert.h> # include <assert.h>
#endif #endif
Syntax error Syntax error
_ACEOF _ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 if ac_fn_c_try_cpp "$LINENO"; then :
(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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
:
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
else
# Broken: fails on valid input. # Broken: fails on valid input.
continue continue
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
# OK, works on sane cases. Now check whether non-existent headers # OK, works on sane cases. Now check whether nonexistent headers
# can be detected and how. # can be detected and how.
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <ac_nonexistent.h> #include <ac_nonexistent.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 if ac_fn_c_try_cpp "$LINENO"; then :
(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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
# Broken: success on invalid input. # Broken: success on invalid input.
continue continue
else else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
# Passes both tests. # Passes both tests.
ac_preproc_ok=: ac_preproc_ok=:
break break
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
done done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok; then if $ac_preproc_ok; then :
break break
fi fi
done done
ac_cv_prog_CPP=$CPP ac_cv_prog_CPP=$CPP
fi fi
CPP=$ac_cv_prog_CPP CPP=$ac_cv_prog_CPP
else else
ac_cv_prog_CPP=$CPP ac_cv_prog_CPP=$CPP
fi fi
echo "$as_me:$LINENO: result: $CPP" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6 $as_echo "$CPP" >&6; }
ac_preproc_ok=false ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes for ac_c_preproc_warn_flag in '' yes
do do
# Use a header file that comes with gcc, so configuring glibc # Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works. # with a fresh cross-compiler works.
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
# <limits.h> exists even on freestanding compilers. # <limits.h> exists even on freestanding compilers.
# On the NeXT, cc -E runs the code through the compiler's parser, # 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. # not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#ifdef __STDC__ #ifdef __STDC__
# include <limits.h> # include <limits.h>
#else #else
# include <assert.h> # include <assert.h>
#endif #endif
Syntax error Syntax error
_ACEOF _ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 if ac_fn_c_try_cpp "$LINENO"; then :
(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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
:
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
else
# Broken: fails on valid input. # Broken: fails on valid input.
continue continue
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
# OK, works on sane cases. Now check whether non-existent headers # OK, works on sane cases. Now check whether nonexistent headers
# can be detected and how. # can be detected and how.
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <ac_nonexistent.h> #include <ac_nonexistent.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 if ac_fn_c_try_cpp "$LINENO"; then :
(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
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
# Broken: success on invalid input. # Broken: success on invalid input.
continue continue
else else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
# Passes both tests. # Passes both tests.
ac_preproc_ok=: ac_preproc_ok=:
break break
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
done done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok; then if $ac_preproc_ok; then :
:
else else
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
See \`config.log' for more details." >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&2;} See \`config.log' for more details" "$LINENO" 5; }
{ (exit 1); exit 1; }; }
fi fi
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
echo "$as_me:$LINENO: checking for egrep" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lin
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 es and -e" >&5
if test "${ac_cv_prog_egrep+set}" = set; then $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${ac_cv_path_GREP+:} false; then :
else $as_echo_n "(cached) " >&6
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 else
then ac_cv_prog_egrep='grep -E' if test -z "$GREP"; then
else ac_cv_prog_egrep='egrep' 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"
as_fn_executable_p "$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 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/us
r/xpg4/bin" "$LINENO" 5
fi
else
ac_cv_path_GREP=$GREP
fi fi
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 fi
EGREP=$ac_cv_prog_egrep { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
$as_echo "$ac_cv_path_GREP" >&6; }
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 GREP="$ac_cv_path_GREP"
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "checking for egrep... " >&6; }
if ${ac_cv_path_EGREP+:} false; then :
$as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
/* confdefs.h. */ then ac_cv_path_EGREP="$GREP -E"
_ACEOF else
cat confdefs.h >>conftest.$ac_ext if test -z "$EGREP"; then
cat >>conftest.$ac_ext <<_ACEOF 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"
as_fn_executable_p "$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 || bre
ak
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/u
sr/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 ${ac_cv_header_stdc+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <float.h> #include <float.h>
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_header_stdc=yes ac_cv_header_stdc=yes
else else
echo "$as_me: failed program was:" >&5 ac_cv_header_stdc=no
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_header_stdc=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <string.h> #include <string.h>
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "memchr" >/dev/null 2>&1; then $EGREP "memchr" >/dev/null 2>&1; then :
:
else else
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f conftest* rm -f conftest*
fi fi
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdlib.h> #include <stdlib.h>
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "free" >/dev/null 2>&1; then $EGREP "free" >/dev/null 2>&1; then :
:
else else
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f conftest* rm -f conftest*
fi fi
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if test "$cross_compiling" = yes; then if test "$cross_compiling" = yes; then :
: :
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <ctype.h> #include <ctype.h>
#include <stdlib.h>
#if ((' ' & 0x0FF) == 0x020) #if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else #else
# define ISLOWER(c) \ # define ISLOWER(c) \
(('a' <= (c) && (c) <= 'i') \ (('a' <= (c) && (c) <= 'i') \
|| ('j' <= (c) && (c) <= 'r') \ || ('j' <= (c) && (c) <= 'r') \
|| ('s' <= (c) && (c) <= 'z')) || ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif #endif
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int int
main () main ()
{ {
int i; int i;
for (i = 0; i < 256; i++) for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) if (XOR (islower (i), ISLOWER (i))
|| toupper (i) != TOUPPER (i)) || toupper (i) != TOUPPER (i))
exit(2); return 2;
exit (0); return 0;
} }
_ACEOF _ACEOF
rm -f conftest$ac_exeext if ac_fn_c_try_run "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) else
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
t.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
fi fi
fi fi
fi fi
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6 $as_echo "$ac_cv_header_stdc" >&6; }
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define STDC_HEADERS 1" >>confdefs.h
#define STDC_HEADERS 1
_ACEOF
fi fi
if test -n "$ac_tool_prefix"; then 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. # 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 set dummy ${ac_tool_prefix}ar; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_AR+set}" = set; then if ${ac_cv_prog_AR+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$AR"; then if test -n "$AR"; then
ac_cv_prog_AR="$AR" # Let the user override the test. ac_cv_prog_AR="$AR" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_AR="${ac_tool_prefix}ar" ac_cv_prog_AR="${ac_tool_prefix}ar"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
AR=$ac_cv_prog_AR AR=$ac_cv_prog_AR
if test -n "$AR"; then if test -n "$AR"; then
echo "$as_me:$LINENO: result: $AR" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
echo "${ECHO_T}$AR" >&6 $as_echo "$AR" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_AR"; then if test -z "$ac_cv_prog_AR"; then
ac_ct_AR=$AR ac_ct_AR=$AR
# Extract the first word of "ar", so it can be a program name with args. # Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2 set dummy ar; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then if ${ac_cv_prog_ac_ct_AR+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_AR"; then if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_AR="ar" ac_cv_prog_ac_ct_AR="ar"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then if test -n "$ac_ct_AR"; then
echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
echo "${ECHO_T}$ac_ct_AR" >&6 $as_echo "$ac_ct_AR" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
AR=$ac_ct_AR if test "x$ac_ct_AR" = x; then
AR=""
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
AR=$ac_ct_AR
fi
else else
AR="$ac_cv_prog_AR" AR="$ac_cv_prog_AR"
fi fi
if test -n "$ac_tool_prefix"; then 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. # 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 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_RANLIB+set}" = set; then if ${ac_cv_prog_RANLIB+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$RANLIB"; then if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
RANLIB=$ac_cv_prog_RANLIB RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then if test -n "$RANLIB"; then
echo "$as_me:$LINENO: result: $RANLIB" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6 $as_echo "$RANLIB" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_RANLIB"; then if test -z "$ac_cv_prog_RANLIB"; then
ac_ct_RANLIB=$RANLIB ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program name with args. # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2 set dummy ranlib; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_RANLIB"; then if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_RANLIB="ranlib" ac_cv_prog_ac_ct_RANLIB="ranlib"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then if test -n "$ac_ct_RANLIB"; then
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6 $as_echo "$ac_ct_RANLIB" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
RANLIB=$ac_ct_RANLIB if test "x$ac_ct_RANLIB" = x; then
RANLIB=""
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
RANLIB=$ac_ct_RANLIB
fi
else else
RANLIB="$ac_cv_prog_RANLIB" RANLIB="$ac_cv_prog_RANLIB"
fi fi
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
set dummy ${ac_tool_prefix}windres; ac_word=$2 set dummy ${ac_tool_prefix}windres; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_RC+set}" = set; then if ${ac_cv_prog_RC+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$RC"; then if test -n "$RC"; then
ac_cv_prog_RC="$RC" # Let the user override the test. ac_cv_prog_RC="$RC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_RC="${ac_tool_prefix}windres" ac_cv_prog_RC="${ac_tool_prefix}windres"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
RC=$ac_cv_prog_RC RC=$ac_cv_prog_RC
if test -n "$RC"; then if test -n "$RC"; then
echo "$as_me:$LINENO: result: $RC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
echo "${ECHO_T}$RC" >&6 $as_echo "$RC" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_RC"; then if test -z "$ac_cv_prog_RC"; then
ac_ct_RC=$RC ac_ct_RC=$RC
# Extract the first word of "windres", so it can be a program name with args. # Extract the first word of "windres", so it can be a program name with args.
set dummy windres; ac_word=$2 set dummy windres; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_RC+set}" = set; then if ${ac_cv_prog_ac_ct_RC+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_RC"; then if test -n "$ac_ct_RC"; then
ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test. ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_RC="windres" ac_cv_prog_ac_ct_RC="windres"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
fi fi
fi fi
ac_ct_RC=$ac_cv_prog_ac_ct_RC ac_ct_RC=$ac_cv_prog_ac_ct_RC
if test -n "$ac_ct_RC"; then if test -n "$ac_ct_RC"; then
echo "$as_me:$LINENO: result: $ac_ct_RC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
echo "${ECHO_T}$ac_ct_RC" >&6 $as_echo "$ac_ct_RC" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
RC=$ac_ct_RC if test "x$ac_ct_RC" = x; then
RC=""
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
RC=$ac_ct_RC
fi
else else
RC="$ac_cv_prog_RC" RC="$ac_cv_prog_RC"
fi fi
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Checks to see if the make program sets the $MAKE variable. # Checks to see if the make program sets the $MAKE variable.
#-------------------------------------------------------------------- #--------------------------------------------------------------------
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(M
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 AKE)" >&5
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
set x ${MAKE-make} set x ${MAKE-make}
ac_make=`echo "" | sed 'y,:./+-,___p_,'` ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
cat >conftest.make <<\_ACEOF cat >conftest.make <<\_ACEOF
SHELL = /bin/sh SHELL = /bin/sh
all: all:
@echo '@@@%%%=$(MAKE)=@@@%%%' @echo '@@@%%%=$(MAKE)=@@@%%%'
_ACEOF _ACEOF
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
case `${MAKE-make} -f conftest.make 2>/dev/null` in 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=yes;;
*) *)
eval ac_cv_prog_make_${ac_make}_set=no;; eval ac_cv_prog_make_${ac_make}_set=no;;
esac esac
rm -f conftest.make rm -f conftest.make
fi fi
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
echo "$as_me:$LINENO: result: yes" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
echo "${ECHO_T}yes" >&6 $as_echo "yes" >&6; }
SET_MAKE= SET_MAKE=
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
SET_MAKE="MAKE=${MAKE-make}" SET_MAKE="MAKE=${MAKE-make}"
fi fi
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Determines the correct binary file extension (.o, .obj, .exe etc.) # Determines the correct binary file extension (.o, .obj, .exe etc.)
#-------------------------------------------------------------------- #--------------------------------------------------------------------
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Check whether --enable-threads or --disable-threads was given. # Check whether --enable-threads or --disable-threads was given.
#-------------------------------------------------------------------- #--------------------------------------------------------------------
echo "$as_me:$LINENO: checking for building with threads" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for building with threads"
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6 >&5
# Check whether --enable-threads or --disable-threads was given. $as_echo_n "checking for building with threads... " >&6; }
if test "${enable_threads+set}" = set; then # Check whether --enable-threads was given.
enableval="$enable_threads" if test "${enable_threads+set}" = set; then :
tcl_ok=$enableval enableval=$enable_threads; tcl_ok=$enableval
else else
tcl_ok=yes tcl_ok=yes
fi; fi
if test "$tcl_ok" = "yes"; then if test "$tcl_ok" = "yes"; then
echo "$as_me:$LINENO: result: yes (default)" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
echo "${ECHO_T}yes (default)" >&6 $as_echo "yes (default)" >&6; }
TCL_THREADS=1 TCL_THREADS=1
cat >>confdefs.h <<\_ACEOF $as_echo "#define TCL_THREADS 1" >>confdefs.h
#define TCL_THREADS 1
_ACEOF
# USE_THREAD_ALLOC tells us to try the special thread-based # USE_THREAD_ALLOC tells us to try the special thread-based
# allocator that significantly reduces lock contention # allocator that significantly reduces lock contention
cat >>confdefs.h <<\_ACEOF $as_echo "#define USE_THREAD_ALLOC 1" >>confdefs.h
#define USE_THREAD_ALLOC 1
_ACEOF
else else
TCL_THREADS=0 TCL_THREADS=0
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# Embedded configuration information, encoding to use for the values, TIP #59 # Embedded configuration information, encoding to use for the values, TIP #59
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# Check whether --with-encoding or --without-encoding was given. # Check whether --with-encoding was given.
if test "${with_encoding+set}" = set; then if test "${with_encoding+set}" = set; then :
withval="$with_encoding" withval=$with_encoding; with_tcencoding=${withval}
with_tcencoding=${withval} fi
fi;
if test x"${with_tcencoding}" != x ; then if test x"${with_tcencoding}" != x ; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define TCL_CFGVAL_ENCODING "${with_tcencoding}" #define TCL_CFGVAL_ENCODING "${with_tcencoding}"
_ACEOF _ACEOF
else else
# Default encoding on windows is not "iso8859-1" # Default encoding on windows is not "iso8859-1"
cat >>confdefs.h <<\_ACEOF $as_echo "#define TCL_CFGVAL_ENCODING \"cp1252\"" >>confdefs.h
#define TCL_CFGVAL_ENCODING "cp1252"
_ACEOF
fi fi
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# The statements below define a collection of symbols related to # The statements below define a collection of symbols related to
# building libtcl as a shared library instead of a static library. # building libtcl as a shared library instead of a static library.
#-------------------------------------------------------------------- #--------------------------------------------------------------------
echo "$as_me:$LINENO: checking how to build libraries" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&
echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6 5
# Check whether --enable-shared or --disable-shared was given. $as_echo_n "checking how to build libraries... " >&6; }
if test "${enable_shared+set}" = set; then # Check whether --enable-shared was given.
enableval="$enable_shared" if test "${enable_shared+set}" = set; then :
tcl_ok=$enableval enableval=$enable_shared; tcl_ok=$enableval
else else
tcl_ok=yes tcl_ok=yes
fi; fi
if test "${enable_shared+set}" = set; then if test "${enable_shared+set}" = set; then
enableval="$enable_shared" enableval="$enable_shared"
tcl_ok=$enableval tcl_ok=$enableval
else else
tcl_ok=yes tcl_ok=yes
fi fi
if test "$tcl_ok" = "yes" ; then if test "$tcl_ok" = "yes" ; then
echo "$as_me:$LINENO: result: shared" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5
echo "${ECHO_T}shared" >&6 $as_echo "shared" >&6; }
SHARED_BUILD=1 SHARED_BUILD=1
else else
echo "$as_me:$LINENO: result: static" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
echo "${ECHO_T}static" >&6 $as_echo "static" >&6; }
SHARED_BUILD=0 SHARED_BUILD=0
cat >>confdefs.h <<\_ACEOF $as_echo "#define STATIC_BUILD 1" >>confdefs.h
#define STATIC_BUILD 1
_ACEOF
fi fi
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Check whether --enable-time64bit was given. # Check whether --enable-time64bit was given.
#-------------------------------------------------------------------- #--------------------------------------------------------------------
echo "$as_me:$LINENO: checking force of 64-bit time_t" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking force of 64-bit time_t" >&5
echo $ECHO_N "checking force of 64-bit time_t... $ECHO_C" >&6 $as_echo_n "checking force of 64-bit time_t... " >&6; }
# Check whether --enable-time64bit or --disable-time64bit was given. # Check whether --enable-time64bit was given.
if test "${enable_time64bit+set}" = set; then if test "${enable_time64bit+set}" = set; then :
enableval="$enable_time64bit" enableval=$enable_time64bit; tcl_ok=$enableval
tcl_ok=$enableval
else else
tcl_ok=no tcl_ok=no
fi; fi
echo "$as_me:$LINENO: result: \"$tcl_ok\"" >&5
echo "${ECHO_T}\"$tcl_ok\"" >&6 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$tcl_ok\"" >&5
$as_echo "\"$tcl_ok\"" >&6; }
if test "$tcl_ok" = "yes"; then if test "$tcl_ok" = "yes"; then
CFLAGS="${CFLAGS} -D_USE_64BIT_TIME_T" CFLAGS="${CFLAGS} -D_USE_64BIT_TIME_T"
fi fi
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# The statements below define a collection of compile flags. This # The statements below define a collection of compile flags. This
# macro depends on the value of SHARED_BUILD, and should be called # macro depends on the value of SHARED_BUILD, and should be called
# after SC_ENABLE_SHARED checks the configure switches. # after SC_ENABLE_SHARED checks the configure switches.
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# On IRIX 5.3, sys/types and inttypes.h are conflicting. # 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 \ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
inttypes.h stdint.h unistd.h inttypes.h stdint.h unistd.h
do do :
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_header" >&5 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 s_default
if eval "test \"\${$as_ac_Header+set}\" = set"; then "
echo $ECHO_N "(cached) $ECHO_C" >&6 if eval test \"x\$"$as_ac_Header"\" = x"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. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF _ACEOF
fi fi
done done
# Step 0: Enable 64 bit support? # Step 0: Enable 64 bit support?
echo "$as_me:$LINENO: checking if 64bit support is requested" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is reques
echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6 ted" >&5
# Check whether --enable-64bit or --disable-64bit was given. $as_echo_n "checking if 64bit support is requested... " >&6; }
if test "${enable_64bit+set}" = set; then # Check whether --enable-64bit was given.
enableval="$enable_64bit" if test "${enable_64bit+set}" = set; then :
do64bit=$enableval enableval=$enable_64bit; do64bit=$enableval
else else
do64bit=no do64bit=no
fi; fi
echo "$as_me:$LINENO: result: $do64bit" >&5
echo "${ECHO_T}$do64bit" >&6 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
$as_echo "$do64bit" >&6; }
# Cross-compiling options for Windows/CE builds # Cross-compiling options for Windows/CE builds
echo "$as_me:$LINENO: checking if Windows/CE build is requested" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Windows/CE build is req
echo $ECHO_N "checking if Windows/CE build is requested... $ECHO_C" >&6 uested" >&5
# Check whether --enable-wince or --disable-wince was given. $as_echo_n "checking if Windows/CE build is requested... " >&6; }
if test "${enable_wince+set}" = set; then # Check whether --enable-wince was given.
enableval="$enable_wince" if test "${enable_wince+set}" = set; then :
doWince=$enableval enableval=$enable_wince; doWince=$enableval
else else
doWince=no doWince=no
fi; fi
echo "$as_me:$LINENO: result: $doWince" >&5
echo "${ECHO_T}$doWince" >&6 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $doWince" >&5
$as_echo "$doWince" >&6; }
echo "$as_me:$LINENO: checking for Windows/CE celib directory" >&5
echo $ECHO_N "checking for Windows/CE celib directory... $ECHO_C" >&6 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows/CE celib direc
tory" >&5
# Check whether --with-celib or --without-celib was given. $as_echo_n "checking for Windows/CE celib directory... " >&6; }
if test "${with_celib+set}" = set; then
withval="$with_celib" # Check whether --with-celib was given.
CELIB_DIR=$withval if test "${with_celib+set}" = set; then :
withval=$with_celib; CELIB_DIR=$withval
else else
CELIB_DIR=NO_CELIB CELIB_DIR=NO_CELIB
fi; fi
echo "$as_me:$LINENO: result: $CELIB_DIR" >&5
echo "${ECHO_T}$CELIB_DIR" >&6 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CELIB_DIR" >&5
$as_echo "$CELIB_DIR" >&6; }
# Set some defaults (may get changed below) # Set some defaults (may get changed below)
EXTRA_CFLAGS="" EXTRA_CFLAGS=""
cat >>confdefs.h <<\_ACEOF $as_echo "#define MODULE_SCOPE extern" >>confdefs.h
#define MODULE_SCOPE extern
_ACEOF
# Extract the first word of "cygpath", so it can be a program name with args . # Extract the first word of "cygpath", so it can be a program name with args .
set dummy cygpath; ac_word=$2 set dummy cygpath; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CYGPATH+set}" = set; then if ${ac_cv_prog_CYGPATH+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$CYGPATH"; then if test -n "$CYGPATH"; then
ac_cv_prog_CYGPATH="$CYGPATH" # Let the user override the test. ac_cv_prog_CYGPATH="$CYGPATH" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CYGPATH="cygpath -m" ac_cv_prog_CYGPATH="cygpath -m"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS
test -z "$ac_cv_prog_CYGPATH" && ac_cv_prog_CYGPATH="echo" test -z "$ac_cv_prog_CYGPATH" && ac_cv_prog_CYGPATH="echo"
fi fi
fi fi
CYGPATH=$ac_cv_prog_CYGPATH CYGPATH=$ac_cv_prog_CYGPATH
if test -n "$CYGPATH"; then if test -n "$CYGPATH"; then
echo "$as_me:$LINENO: result: $CYGPATH" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CYGPATH" >&5
echo "${ECHO_T}$CYGPATH" >&6 $as_echo "$CYGPATH" >&6; }
else else
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
fi fi
SHLIB_SUFFIX=".dll" SHLIB_SUFFIX=".dll"
# MACHINE is IX86 for LINK, but this is used by the manifest, # MACHINE is IX86 for LINK, but this is used by the manifest,
# which requires x86|amd64|ia64. # which requires x86|amd64|ia64.
MACHINE="X86" MACHINE="X86"
if test "$GCC" = "yes"; then if test "$GCC" = "yes"; then
echo "$as_me:$LINENO: checking for cross-compile version of gcc" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cross-compile versio
echo $ECHO_N "checking for cross-compile version of gcc... $ECHO_C" >&6 n of gcc" >&5
if test "${ac_cv_cross+set}" = set; then $as_echo_n "checking for cross-compile version of gcc... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${ac_cv_cross+:} false; then :
$as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#ifndef _WIN32 #ifndef _WIN32
#error cross-compiler #error cross-compiler
#endif #endif
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_cross=no ac_cv_cross=no
else else
echo "$as_me: failed program was:" >&5 ac_cv_cross=yes
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_cross=yes
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $ac_cv_cross" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cross" >&5
echo "${ECHO_T}$ac_cv_cross" >&6 $as_echo "$ac_cv_cross" >&6; }
if test "$ac_cv_cross" = "yes"; then if test "$ac_cv_cross" = "yes"; then
case "$do64bit" in case "$do64bit" in
amd64|x64|yes) amd64|x64|yes)
CC="x86_64-w64-mingw32-gcc" CC="x86_64-w64-mingw32-gcc"
LD="x86_64-w64-mingw32-ld" LD="x86_64-w64-mingw32-ld"
AR="x86_64-w64-mingw32-ar" AR="x86_64-w64-mingw32-ar"
RANLIB="x86_64-w64-mingw32-ranlib" RANLIB="x86_64-w64-mingw32-ranlib"
RC="x86_64-w64-mingw32-windres" RC="x86_64-w64-mingw32-windres"
;; ;;
skipping to change at line 3378 skipping to change at line 3927
# Windows native paths while Cygwin should work # Windows native paths while Cygwin should work
# with both. Avoid the bug by passing a POSIX # with both. Avoid the bug by passing a POSIX
# path when using the Cygwin toolchain. # path when using the Cygwin toolchain.
if test "$GCC" = "yes" && test "$CYGPATH" != "echo" ; then if test "$GCC" = "yes" && test "$CYGPATH" != "echo" ; then
conftest=/tmp/conftest.rc conftest=/tmp/conftest.rc
echo "STRINGTABLE BEGIN" > $conftest echo "STRINGTABLE BEGIN" > $conftest
echo "101 \"name\"" >> $conftest echo "101 \"name\"" >> $conftest
echo "END" >> $conftest echo "END" >> $conftest
echo "$as_me:$LINENO: checking for Windows native path bug in windres" >& { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native path
5 bug in windres" >&5
echo $ECHO_N "checking for Windows native path bug in windres... $ECHO_C" >&6 $as_echo_n "checking for Windows native path bug in windres... " >&6; }
cyg_conftest=`$CYGPATH $conftest` cyg_conftest=`$CYGPATH $conftest`
if { ac_try='$RC -o conftest.res.o $cyg_conftest' if { ac_try='$RC -o conftest.res.o $cyg_conftest'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
(exit $ac_status); }; } ; then test $ac_status = 0; }; } ; then
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
else else
echo "$as_me:$LINENO: result: yes" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
echo "${ECHO_T}yes" >&6 $as_echo "yes" >&6; }
CYGPATH=echo CYGPATH=echo
fi fi
conftest= conftest=
cyg_conftest= cyg_conftest=
fi fi
if test "$CYGPATH" = "echo"; then if test "$CYGPATH" = "echo"; then
DEPARG='"$<"' DEPARG='"$<"'
else else
DEPARG='"$(shell $(CYGPATH) $<)"' DEPARG='"$(shell $(CYGPATH) $<)"'
fi fi
# set various compiler flags depending on whether we are using gcc or cl # set various compiler flags depending on whether we are using gcc or cl
if test "${GCC}" = "yes" ; then if test "${GCC}" = "yes" ; then
extra_cflags="-pipe" extra_cflags="-pipe"
extra_ldflags="-pipe -static-libgcc" extra_ldflags="-pipe -static-libgcc"
echo "$as_me:$LINENO: checking for mingw32 version of gcc" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mingw32 version of
echo $ECHO_N "checking for mingw32 version of gcc... $ECHO_C" >&6 gcc" >&5
if test "${ac_cv_win32+set}" = set; then $as_echo_n "checking for mingw32 version of gcc... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${ac_cv_win32+:} false; then :
$as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#ifdef _WIN32 #ifdef _WIN32
#error win32 #error win32
#endif #endif
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_win32=no ac_cv_win32=no
else else
echo "$as_me: failed program was:" >&5 ac_cv_win32=yes
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_win32=yes
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $ac_cv_win32" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_win32" >&5
echo "${ECHO_T}$ac_cv_win32" >&6 $as_echo "$ac_cv_win32" >&6; }
if test "$ac_cv_win32" != "yes"; then if test "$ac_cv_win32" != "yes"; then
{ { echo "$as_me:$LINENO: error: ${CC} cannot produce win32 executabl as_fn_error $? "${CC} cannot produce win32 executables." "$LINENO" 5
es." >&5
echo "$as_me: error: ${CC} cannot produce win32 executables." >&2;}
{ (exit 1); exit 1; }; }
fi fi
hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -mwindows -municode -Dmain=xxmain" hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -mwindows -municode -Dmain=xxmain"
echo "$as_me:$LINENO: checking for working -municode linker flag" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working -municode l
echo $ECHO_N "checking for working -municode linker flag... $ECHO_C" >&6 inker flag" >&5
if test "${ac_cv_municode+set}" = set; then $as_echo_n "checking for working -municode linker flag... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${ac_cv_municode+:} false; then :
$as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */ # ac_fn_c_try_link LINENO
_ACEOF # -----------------------
cat confdefs.h >>conftest.$ac_ext # Try to link conftest.$ac_ext, and return whether this succeeded.
cat >>conftest.$ac_ext <<_ACEOF 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 ||
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; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_link
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <windows.h> #include <windows.h>
int APIENTRY wWinMain(HINSTANCE a, HINSTANCE b, LPWSTR c, int d) {return 0;} int APIENTRY wWinMain(HINSTANCE a, HINSTANCE b, LPWSTR c, int d) {return 0;}
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext if ac_fn_c_try_link "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_municode=yes ac_cv_municode=yes
else else
echo "$as_me: failed program was:" >&5 ac_cv_municode=no
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_municode=no
fi fi
rm -f conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $ac_cv_municode" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_municode" >&5
echo "${ECHO_T}$ac_cv_municode" >&6 $as_echo "$ac_cv_municode" >&6; }
CFLAGS=$hold_cflags CFLAGS=$hold_cflags
if test "$ac_cv_municode" = "yes" ; then if test "$ac_cv_municode" = "yes" ; then
extra_ldflags="$extra_ldflags -municode" extra_ldflags="$extra_ldflags -municode"
else else
extra_cflags="$extra_cflags -DTCL_BROKEN_MAINARGS" extra_cflags="$extra_cflags -DTCL_BROKEN_MAINARGS"
fi fi
fi fi
echo "$as_me:$LINENO: checking compiler flags" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler flags" >&5
echo $ECHO_N "checking compiler flags... $ECHO_C" >&6 $as_echo_n "checking compiler flags... " >&6; }
if test "${GCC}" = "yes" ; then if test "${GCC}" = "yes" ; then
SHLIB_LD="" SHLIB_LD=""
SHLIB_LD_LIBS='${LIBS}' SHLIB_LD_LIBS='${LIBS}'
LIBS="-lnetapi32 -lkernel32 -luser32 -ladvapi32 -luserenv -lws2_32" LIBS="-lnetapi32 -lkernel32 -luser32 -ladvapi32 -luserenv -lws2_32"
# mingw needs to link ole32 and oleaut32 for [send], but MSVC doesn't # mingw needs to link ole32 and oleaut32 for [send], but MSVC doesn't
LIBS_GUI="-lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -luuid -lole32 -loleaut32" LIBS_GUI="-lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -luuid -lole32 -loleaut32"
STLIB_LD='${AR} cr' STLIB_LD='${AR} cr'
RC_OUT=-o RC_OUT=-o
RC_TYPE= RC_TYPE=
RC_INCLUDE=--include RC_INCLUDE=--include
RC_DEFINE=--define RC_DEFINE=--define
RES=res.o RES=res.o
MAKE_LIB="\${STLIB_LD} \$@" MAKE_LIB="\${STLIB_LD} \$@"
MAKE_STUB_LIB="\${STLIB_LD} \$@" MAKE_STUB_LIB="\${STLIB_LD} \$@"
POST_MAKE_LIB="\${RANLIB} \$@" POST_MAKE_LIB="\${RANLIB} \$@"
MAKE_EXE="\${CC} -o \$@" MAKE_EXE="\${CC} -o \$@"
LIBPREFIX="lib" LIBPREFIX="lib"
if test "${SHARED_BUILD}" = "0" ; then if test "${SHARED_BUILD}" = "0" ; then
# static # static
echo "$as_me:$LINENO: result: using static flags" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using static flags"
echo "${ECHO_T}using static flags" >&6 >&5
$as_echo "using static flags" >&6; }
runtime= runtime=
LIBRARIES="\${STATIC_LIBRARIES}" LIBRARIES="\${STATIC_LIBRARIES}"
EXESUFFIX="s\${DBGX}.exe" EXESUFFIX="s\${DBGX}.exe"
else else
# dynamic # dynamic
echo "$as_me:$LINENO: result: using shared flags" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using shared flags"
echo "${ECHO_T}using shared flags" >&6 >&5
$as_echo "using shared flags" >&6; }
# ad-hoc check to see if CC supports -shared. # ad-hoc check to see if CC supports -shared.
if "${CC}" -shared 2>&1 | egrep ': -shared not supported' >/dev/null; then if "${CC}" -shared 2>&1 | egrep ': -shared not supported' >/dev/null; then
{ { echo "$as_me:$LINENO: error: ${CC} does not support the -shar as_fn_error $? "${CC} does not support the -shared option.
ed option. You will need to upgrade to a newer version of the toolchain." "
You will need to upgrade to a newer version of the toolchain." > $LINENO" 5
&5
echo "$as_me: error: ${CC} does not support the -shared option.
You will need to upgrade to a newer version of the toolchain." >
&2;}
{ (exit 1); exit 1; }; }
fi fi
runtime= runtime=
# Add SHLIB_LD_LIBS to the Make rule, not here. # Add SHLIB_LD_LIBS to the Make rule, not here.
EXESUFFIX="\${DBGX}.exe" EXESUFFIX="\${DBGX}.exe"
LIBRARIES="\${SHARED_LIBRARIES}" LIBRARIES="\${SHARED_LIBRARIES}"
fi fi
# Link with gcc since ld does not link to default libs like # Link with gcc since ld does not link to default libs like
# -luser32 and -lmsvcrt by default. # -luser32 and -lmsvcrt by default.
skipping to change at line 3632 skipping to change at line 4166
# #
# MK NOTE: Tk should use a different mechanism. This causes # MK NOTE: Tk should use a different mechanism. This causes
# interesting problems, such as wish dying at startup. # interesting problems, such as wish dying at startup.
#LDFLAGS_WINDOW="-mwindows -e _WinMain@16 ${extra_ldflags}" #LDFLAGS_WINDOW="-mwindows -e _WinMain@16 ${extra_ldflags}"
LDFLAGS_CONSOLE="-mconsole ${extra_ldflags}" LDFLAGS_CONSOLE="-mconsole ${extra_ldflags}"
LDFLAGS_WINDOW="-mwindows ${extra_ldflags}" LDFLAGS_WINDOW="-mwindows ${extra_ldflags}"
case "$do64bit" in case "$do64bit" in
amd64|x64|yes) amd64|x64|yes)
MACHINE="AMD64" ; # assume AMD64 as default 64-bit build MACHINE="AMD64" ; # assume AMD64 as default 64-bit build
echo "$as_me:$LINENO: result: Using 64-bit $MACHINE mode" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using 64-bit
echo "${ECHO_T} Using 64-bit $MACHINE mode" >&6 $MACHINE mode" >&5
$as_echo " Using 64-bit $MACHINE mode" >&6; }
;; ;;
ia64) ia64)
MACHINE="IA64" MACHINE="IA64"
echo "$as_me:$LINENO: result: Using 64-bit $MACHINE mode" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using 64-bit
echo "${ECHO_T} Using 64-bit $MACHINE mode" >&6 $MACHINE mode" >&5
$as_echo " Using 64-bit $MACHINE mode" >&6; }
;; ;;
*) *)
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#ifndef _WIN64 #ifndef _WIN64
#error 32-bit #error 32-bit
#endif #endif
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_win_64bit=yes tcl_win_64bit=yes
else else
echo "$as_me: failed program was:" >&5 tcl_win_64bit=no
sed 's/^/| /' conftest.$ac_ext >&5
tcl_win_64bit=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test "$tcl_win_64bit" = "yes" ; then if test "$tcl_win_64bit" = "yes" ; then
do64bit=amd64 do64bit=amd64
MACHINE="AMD64" MACHINE="AMD64"
echo "$as_me:$LINENO: result: Using 64-bit $MACHINE mo { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using
de" >&5 64-bit $MACHINE mode" >&5
echo "${ECHO_T} Using 64-bit $MACHINE mode" >&6 $as_echo " Using 64-bit $MACHINE mode" >&6; }
fi fi
;; ;;
esac esac
else else
if test "${SHARED_BUILD}" = "0" ; then if test "${SHARED_BUILD}" = "0" ; then
# static # static
echo "$as_me:$LINENO: result: using static flags" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using static flags"
echo "${ECHO_T}using static flags" >&6 >&5
$as_echo "using static flags" >&6; }
runtime=-MT runtime=-MT
LIBRARIES="\${STATIC_LIBRARIES}" LIBRARIES="\${STATIC_LIBRARIES}"
EXESUFFIX="s\${DBGX}.exe" EXESUFFIX="s\${DBGX}.exe"
else else
# dynamic # dynamic
echo "$as_me:$LINENO: result: using shared flags" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using shared flags"
echo "${ECHO_T}using shared flags" >&6 >&5
$as_echo "using shared flags" >&6; }
runtime=-MD runtime=-MD
# Add SHLIB_LD_LIBS to the Make rule, not here. # Add SHLIB_LD_LIBS to the Make rule, not here.
LIBRARIES="\${SHARED_LIBRARIES}" LIBRARIES="\${SHARED_LIBRARIES}"
EXESUFFIX="\${DBGX}.exe" EXESUFFIX="\${DBGX}.exe"
case "x`echo \${VisualStudioVersion}`" in case "x`echo \${VisualStudioVersion}`" in
x1[4-9]*) x1[4-9]*)
lflags="${lflags} -nodefaultlib:libucrt.lib" lflags="${lflags} -nodefaultlib:libucrt.lib"
;; ;;
*) *)
;; ;;
skipping to change at line 3750 skipping to change at line 4256
amd64|x64|yes) amd64|x64|yes)
MACHINE="AMD64" ; # assume AMD64 as default 64-bit build MACHINE="AMD64" ; # assume AMD64 as default 64-bit build
PATH64="${MSSDK}/Bin/Win64/x86/AMD64" PATH64="${MSSDK}/Bin/Win64/x86/AMD64"
;; ;;
ia64) ia64)
MACHINE="IA64" MACHINE="IA64"
PATH64="${MSSDK}/Bin/Win64" PATH64="${MSSDK}/Bin/Win64"
;; ;;
esac esac
if test ! -d "${PATH64}" ; then if test ! -d "${PATH64}" ; then
{ echo "$as_me:$LINENO: WARNING: Could not find 64-bit $MACHINE S { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find
DK" >&5 64-bit $MACHINE SDK" >&5
echo "$as_me: WARNING: Could not find 64-bit $MACHINE SDK" >&2;} $as_echo "$as_me: WARNING: Could not find 64-bit $MACHINE SDK" >&2;}
fi fi
echo "$as_me:$LINENO: result: Using 64-bit $MACHINE mode" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using 64-bit $MAC
echo "${ECHO_T} Using 64-bit $MACHINE mode" >&6 HINE mode" >&5
$as_echo " Using 64-bit $MACHINE mode" >&6; }
fi fi
LIBS="netapi32.lib kernel32.lib user32.lib advapi32.lib userenv.lib ws2_3 2.lib" LIBS="netapi32.lib kernel32.lib user32.lib advapi32.lib userenv.lib ws2_3 2.lib"
case "x`echo \${VisualStudioVersion}`" in case "x`echo \${VisualStudioVersion}`" in
x1[4-9]*) x1[4-9]*)
LIBS="$LIBS ucrt.lib" LIBS="$LIBS ucrt.lib"
;; ;;
*) *)
;; ;;
esac esac
if test "$do64bit" != "no" ; then if test "$do64bit" != "no" ; then
# The space-based-path will work for the Makefile, but will # The space-based-path will work for the Makefile, but will
# not work if AC_TRY_COMPILE is called. TEA has the # not work if AC_TRY_COMPILE is called. TEA has the
# TEA_PATH_NOSPACE to avoid this issue. # TEA_PATH_NOSPACE to avoid this issue.
# Check if _WIN64 is already recognized, and if so we don't # Check if _WIN64 is already recognized, and if so we don't
# need to modify CC. # need to modify CC.
echo "$as_me:$LINENO: checking whether _WIN64 is declared" >&5 ac_fn_c_check_decl "$LINENO" "_WIN64" "ac_cv_have_decl__WIN64" "$ac_i
echo $ECHO_N "checking whether _WIN64 is declared... $ECHO_C" >&6 ncludes_default"
if test "${ac_cv_have_decl__WIN64+set}" = set; then if test "x$ac_cv_have_decl__WIN64" = xyes; then :
echo $ECHO_N "(cached) $ECHO_C" >&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
int
main ()
{
#ifndef _WIN64
char *p = (char *) _WIN64;
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_decl__WIN64=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_have_decl__WIN64=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_have_decl__WIN64" >&5
echo "${ECHO_T}$ac_cv_have_decl__WIN64" >&6
if test $ac_cv_have_decl__WIN64 = yes; then
:
else else
CC="\"${PATH64}/cl.exe\" -I\"${MSSDK}/Include\" \ CC="\"${PATH64}/cl.exe\" -I\"${MSSDK}/Include\" \
-I\"${MSSDK}/Include/crt\" \ -I\"${MSSDK}/Include/crt\" \
-I\"${MSSDK}/Include/crt/sys\"" -I\"${MSSDK}/Include/crt/sys\""
fi fi
RC="\"${MSSDK}/bin/rc.exe\"" RC="\"${MSSDK}/bin/rc.exe\""
CFLAGS_DEBUG="-nologo -Zi -Od ${runtime}d" CFLAGS_DEBUG="-nologo -Zi -Od ${runtime}d"
# Do not use -O2 for Win64 - this has proved buggy in code gen. # Do not use -O2 for Win64 - this has proved buggy in code gen.
CFLAGS_OPTIMIZE="-nologo -O1 ${runtime}" CFLAGS_OPTIMIZE="-nologo -O1 ${runtime}"
skipping to change at line 3898 skipping to change at line 4349
if test ! -d "${SDKROOT}" ; then if test ! -d "${SDKROOT}" ; then
SDKROOT="C:/Windows CE Tools" SDKROOT="C:/Windows CE Tools"
fi fi
fi fi
# The space-based-path will work for the Makefile, but will # The space-based-path will work for the Makefile, but will
# not work if AC_TRY_COMPILE is called. # not work if AC_TRY_COMPILE is called.
WCEROOT=`echo "$WCEROOT" | sed -e 's!\\\!/!g'` WCEROOT=`echo "$WCEROOT" | sed -e 's!\\\!/!g'`
SDKROOT=`echo "$SDKROOT" | sed -e 's!\\\!/!g'` SDKROOT=`echo "$SDKROOT" | sed -e 's!\\\!/!g'`
CELIB_DIR=`echo "$CELIB_DIR" | sed -e 's!\\\!/!g'` CELIB_DIR=`echo "$CELIB_DIR" | sed -e 's!\\\!/!g'`
if test ! -d "${CELIB_DIR}/inc"; then if test ! -d "${CELIB_DIR}/inc"; then
{ { echo "$as_me:$LINENO: error: Invalid celib directory \"${CELI as_fn_error $? "Invalid celib directory \"${CELIB_DIR}\"" "$LINEN
B_DIR}\"" >&5 O" 5
echo "$as_me: error: Invalid celib directory \"${CELIB_DIR}\"" >&2;}
{ (exit 1); exit 1; }; }
fi fi
if test ! -d "${SDKROOT}/${OSVERSION}/${PLATFORM}/Lib/${TARGETCPU}"\ if test ! -d "${SDKROOT}/${OSVERSION}/${PLATFORM}/Lib/${TARGETCPU}"\
-o ! -d "${WCEROOT}/EVC/${OSVERSION}/bin"; then -o ! -d "${WCEROOT}/EVC/${OSVERSION}/bin"; then
{ { echo "$as_me:$LINENO: error: could not find PocketPC SDK or t as_fn_error $? "could not find PocketPC SDK or target compiler to
arget compiler to enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" >&5 enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" "$LINENO" 5
echo "$as_me: error: could not find PocketPC SDK or target compiler to enable Wi
nCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" >&2;}
{ (exit 1); exit 1; }; }
else else
CEINCLUDE="${SDKROOT}/${OSVERSION}/${PLATFORM}/include" CEINCLUDE="${SDKROOT}/${OSVERSION}/${PLATFORM}/include"
if test -d "${CEINCLUDE}/${TARGETCPU}" ; then if test -d "${CEINCLUDE}/${TARGETCPU}" ; then
CEINCLUDE="${CEINCLUDE}/${TARGETCPU}" CEINCLUDE="${CEINCLUDE}/${TARGETCPU}"
fi fi
CELIBPATH="${SDKROOT}/${OSVERSION}/${PLATFORM}/Lib/${TARGETCPU}" CELIBPATH="${SDKROOT}/${OSVERSION}/${PLATFORM}/Lib/${TARGETCPU}"
fi fi
fi fi
if test "$doWince" != "no" ; then if test "$doWince" != "no" ; then
skipping to change at line 4002 skipping to change at line 4449
if test "$doWince" != "no" -a "${TARGETCPU}" != "X86"; then if test "$doWince" != "no" -a "${TARGETCPU}" != "X86"; then
LDFLAGS_CONSOLE="-link ${lflags}" LDFLAGS_CONSOLE="-link ${lflags}"
LDFLAGS_WINDOW=${LDFLAGS_CONSOLE} LDFLAGS_WINDOW=${LDFLAGS_CONSOLE}
else else
LDFLAGS_CONSOLE="-link -subsystem:console ${lflags}" LDFLAGS_CONSOLE="-link -subsystem:console ${lflags}"
LDFLAGS_WINDOW="-link -subsystem:windows ${lflags}" LDFLAGS_WINDOW="-link -subsystem:windows ${lflags}"
fi fi
fi fi
if test "$do64bit" != "no" ; then if test "$do64bit" != "no" ; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define TCL_CFG_DO64BIT 1" >>confdefs.h
#define TCL_CFG_DO64BIT 1
_ACEOF
fi fi
if test "${GCC}" = "yes" ; then if test "${GCC}" = "yes" ; then
echo "$as_me:$LINENO: checking for SEH support in compiler" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SEH support in comp
echo $ECHO_N "checking for SEH support in compiler... $ECHO_C" >&6 iler" >&5
if test "${tcl_cv_seh+set}" = set; then $as_echo_n "checking for SEH support in compiler... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${tcl_cv_seh+:} false; then :
$as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then if test "$cross_compiling" = yes; then :
tcl_cv_seh=no tcl_cv_seh=no
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#undef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN
int main(int argc, char** argv) { int main(int argc, char** argv) {
int a, b = 0; int a, b = 0;
__try { __try {
a = 666 / b; a = 666 / b;
} }
__except (EXCEPTION_EXECUTE_HANDLER) { __except (EXCEPTION_EXECUTE_HANDLER) {
return 0; return 0;
} }
return 1; return 1;
} }
_ACEOF _ACEOF
rm -f conftest$ac_exeext if ac_fn_c_try_run "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_cv_seh=yes tcl_cv_seh=yes
else else
echo "$as_me: program exited with status $ac_status" >&5 tcl_cv_seh=no
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status )
tcl_cv_seh=no
fi fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
t.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $tcl_cv_seh" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_seh" >&5
echo "${ECHO_T}$tcl_cv_seh" >&6 $as_echo "$tcl_cv_seh" >&6; }
if test "$tcl_cv_seh" = "no" ; then if test "$tcl_cv_seh" = "no" ; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define HAVE_NO_SEH 1" >>confdefs.h
#define HAVE_NO_SEH 1
_ACEOF
fi fi
# #
# Check to see if the excpt.h include file provided contains the # Check to see if the excpt.h include file provided contains the
# definition for EXCEPTION_DISPOSITION; if not, which is the case # definition for EXCEPTION_DISPOSITION; if not, which is the case
# with Cygwin's version as of 2002-04-10, define it to be int, # with Cygwin's version as of 2002-04-10, define it to be int,
# sufficient for getting the current code to work. # sufficient for getting the current code to work.
# #
echo "$as_me:$LINENO: checking for EXCEPTION_DISPOSITION support in inclu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXCEPTION_DISPOSITI
de files" >&5 ON support in include files" >&5
echo $ECHO_N "checking for EXCEPTION_DISPOSITION support in include files... $EC $as_echo_n "checking for EXCEPTION_DISPOSITION support in include files... " >&6
HO_C" >&6 ; }
if test "${tcl_cv_eh_disposition+set}" = set; then if ${tcl_cv_eh_disposition+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN
# include <windows.h> # include <windows.h>
# undef WIN32_LEAN_AND_MEAN # undef WIN32_LEAN_AND_MEAN
int int
main () main ()
{ {
EXCEPTION_DISPOSITION x; EXCEPTION_DISPOSITION x;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_cv_eh_disposition=yes tcl_cv_eh_disposition=yes
else else
echo "$as_me: failed program was:" >&5 tcl_cv_eh_disposition=no
sed 's/^/| /' conftest.$ac_ext >&5
tcl_cv_eh_disposition=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $tcl_cv_eh_disposition" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_eh_disposition" >&5
echo "${ECHO_T}$tcl_cv_eh_disposition" >&6 $as_echo "$tcl_cv_eh_disposition" >&6; }
if test "$tcl_cv_eh_disposition" = "no" ; then if test "$tcl_cv_eh_disposition" = "no" ; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define EXCEPTION_DISPOSITION int" >>confdefs.h
#define EXCEPTION_DISPOSITION int
_ACEOF
fi fi
# Check to see if winnt.h defines CHAR, SHORT, and LONG # Check to see if winnt.h defines CHAR, SHORT, and LONG
# even if VOID has already been #defined. The win32api # even if VOID has already been #defined. The win32api
# used by mingw and cygwin is known to do this. # used by mingw and cygwin is known to do this.
echo "$as_me:$LINENO: checking for winnt.h that ignores VOID define" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winnt.h that ignore
echo $ECHO_N "checking for winnt.h that ignores VOID define... $ECHO_C" >&6 s VOID define" >&5
if test "${tcl_cv_winnt_ignore_void+set}" = set; then $as_echo_n "checking for winnt.h that ignores VOID define... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${tcl_cv_winnt_ignore_void+:} false; then :
$as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#define VOID void #define VOID void
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#undef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN
int int
main () main ()
{ {
CHAR c; CHAR c;
SHORT s; SHORT s;
LONG l; LONG l;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_cv_winnt_ignore_void=yes tcl_cv_winnt_ignore_void=yes
else else
echo "$as_me: failed program was:" >&5 tcl_cv_winnt_ignore_void=no
sed 's/^/| /' conftest.$ac_ext >&5
tcl_cv_winnt_ignore_void=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $tcl_cv_winnt_ignore_void" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_winnt_ignore_void" >&5
echo "${ECHO_T}$tcl_cv_winnt_ignore_void" >&6 $as_echo "$tcl_cv_winnt_ignore_void" >&6; }
if test "$tcl_cv_winnt_ignore_void" = "yes" ; then if test "$tcl_cv_winnt_ignore_void" = "yes" ; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define HAVE_WINNT_IGNORE_VOID 1" >>confdefs.h
#define HAVE_WINNT_IGNORE_VOID 1
_ACEOF
fi fi
# See if the compiler supports casting to a union type. # See if the compiler supports casting to a union type.
# This is used to stop gcc from printing a compiler # This is used to stop gcc from printing a compiler
# warning when initializing a union member. # warning when initializing a union member.
echo "$as_me:$LINENO: checking for cast to union support" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cast to union suppo
echo $ECHO_N "checking for cast to union support... $ECHO_C" >&6 rt" >&5
if test "${tcl_cv_cast_to_union+set}" = set; then $as_echo_n "checking for cast to union support... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${tcl_cv_cast_to_union+:} false; then :
$as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
union foo { int i; double d; }; union foo { int i; double d; };
union foo f = (union foo) (int) 0; union foo f = (union foo) (int) 0;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_cv_cast_to_union=yes tcl_cv_cast_to_union=yes
else else
echo "$as_me: failed program was:" >&5 tcl_cv_cast_to_union=no
sed 's/^/| /' conftest.$ac_ext >&5
tcl_cv_cast_to_union=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $tcl_cv_cast_to_union" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cast_to_union" >&5
echo "${ECHO_T}$tcl_cv_cast_to_union" >&6 $as_echo "$tcl_cv_cast_to_union" >&6; }
if test "$tcl_cv_cast_to_union" = "yes"; then if test "$tcl_cv_cast_to_union" = "yes"; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define HAVE_CAST_TO_UNION 1" >>confdefs.h
#define HAVE_CAST_TO_UNION 1
_ACEOF
fi fi
fi fi
# DL_LIBS is empty, but then we match the Unix version # DL_LIBS is empty, but then we match the Unix version
# Cross-compiling # Cross-compiling
case ${host_alias} in case ${host_alias} in
*mingw32*) *mingw32*)
TCL_EXE="tclsh" TCL_EXE="tclsh"
skipping to change at line 4310 skipping to change at line 4645
*) *)
TCL_EXE="TCL_LIBRARY=\"\${LIBRARY_DIR}\"; export TCL_LIBRARY; ./\${TCLSH}" TCL_EXE="TCL_LIBRARY=\"\${LIBRARY_DIR}\"; export TCL_LIBRARY; ./\${TCLSH}"
;; ;;
esac esac
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# Add stuff for zlib; note that this is mostly done in the makefile now # Add stuff for zlib; note that this is mostly done in the makefile now
# as we just assume that the platform hasn't got a usable z.lib # as we just assume that the platform hasn't got a usable z.lib
#------------------------------------------------------------------------ #------------------------------------------------------------------------
if test "${enable_shared+set}" = "set"; then if test "${enable_shared+set}" = "set"; then :
enableval="$enable_shared" enableval="$enable_shared"
tcl_ok=$enableval tcl_ok=$enableval
else else
tcl_ok=yes tcl_ok=yes
fi fi
if test "$tcl_ok" = "yes"; then :
if test "$tcl_ok" = "yes"; then
ZLIB_DLL_FILE=\${ZLIB_DLL_FILE} ZLIB_DLL_FILE=\${ZLIB_DLL_FILE}
if test "$do64bit" != "no"; then if test "$do64bit" != "no"; then :
if test "$GCC" == "yes"; then if test "$GCC" == "yes"; then :
ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win64/libz.dll.a ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win64/libz.dll.a
else else
ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win64/zdll.lib ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win64/zdll.lib
fi fi
else else
skipping to change at line 4349 skipping to change at line 4683
ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win32/zdll.lib ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win32/zdll.lib
fi fi
else else
ZLIB_OBJS=\${ZLIB_OBJS} ZLIB_OBJS=\${ZLIB_OBJS}
fi fi
cat >>confdefs.h <<\_ACEOF $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
#define HAVE_ZLIB 1
_ACEOF
echo "$as_me:$LINENO: checking for intptr_t" >&5
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
if test "${ac_cv_type_intptr_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&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
int
main ()
{
if ((intptr_t *) 0)
return 0;
if (sizeof (intptr_t))
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_intptr_t=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_type_intptr_t=no ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_defa
fi ult"
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext if test "x$ac_cv_type_intptr_t" = xyes; then :
fi
echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
if test $ac_cv_type_intptr_t = yes; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
#define HAVE_INTPTR_T 1
_ACEOF
else else
echo "$as_me:$LINENO: checking for pointer-size signed integer type" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pointer-size signed in
echo $ECHO_N "checking for pointer-size signed integer type... $ECHO_C" >&6 teger type" >&5
if test "${tcl_cv_intptr_t+set}" = set; then $as_echo_n "checking for pointer-size signed integer type... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${tcl_cv_intptr_t+:} false; then :
$as_echo_n "(cached) " >&6
else else
for tcl_cv_intptr_t in "int" "long" "long long" none; do for tcl_cv_intptr_t in "int" "long" "long long" none; do
if test "$tcl_cv_intptr_t" != none; then if test "$tcl_cv_intptr_t" != none; then
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default $ac_includes_default
int int
main () main ()
{ {
static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_intptr_t))]; static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_intptr_t))];
test_array [0] = 0 test_array [0] = 0;
return test_array [0];
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_ok=yes tcl_ok=yes
else else
echo "$as_me: failed program was:" >&5 tcl_ok=no
sed 's/^/| /' conftest.$ac_ext >&5
tcl_ok=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
test "$tcl_ok" = yes && break; fi test "$tcl_ok" = yes && break; fi
done done
fi fi
echo "$as_me:$LINENO: result: $tcl_cv_intptr_t" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_intptr_t" >&5
echo "${ECHO_T}$tcl_cv_intptr_t" >&6 $as_echo "$tcl_cv_intptr_t" >&6; }
if test "$tcl_cv_intptr_t" != none; then if test "$tcl_cv_intptr_t" != none; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define intptr_t $tcl_cv_intptr_t #define intptr_t $tcl_cv_intptr_t
_ACEOF _ACEOF
fi fi
fi fi
echo "$as_me:$LINENO: checking for uintptr_t" >&5 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_de
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6 fault"
if test "${ac_cv_type_uintptr_t+set}" = set; then if test "x$ac_cv_type_uintptr_t" = xyes; then :
echo $ECHO_N "(cached) $ECHO_C" >&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
int
main ()
{
if ((uintptr_t *) 0)
return 0;
if (sizeof (uintptr_t))
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_uintptr_t=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_type_uintptr_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
if test $ac_cv_type_uintptr_t = yes; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
#define HAVE_UINTPTR_T 1
_ACEOF
else else
echo "$as_me:$LINENO: checking for pointer-size unsigned integer type" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pointer-size unsigned
echo $ECHO_N "checking for pointer-size unsigned integer type... $ECHO_C" >&6 integer type" >&5
if test "${tcl_cv_uintptr_t+set}" = set; then $as_echo_n "checking for pointer-size unsigned integer type... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${tcl_cv_uintptr_t+:} false; then :
$as_echo_n "(cached) " >&6
else else
for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \ for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \
none; do none; do
if test "$tcl_cv_uintptr_t" != none; then if test "$tcl_cv_uintptr_t" != none; then
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default $ac_includes_default
int int
main () main ()
{ {
static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_uintptr_t))] ; static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_uintptr_t))] ;
test_array [0] = 0 test_array [0] = 0;
return test_array [0];
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_ok=yes tcl_ok=yes
else else
echo "$as_me: failed program was:" >&5 tcl_ok=no
sed 's/^/| /' conftest.$ac_ext >&5
tcl_ok=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
test "$tcl_ok" = yes && break; fi test "$tcl_ok" = yes && break; fi
done done
fi fi
echo "$as_me:$LINENO: result: $tcl_cv_uintptr_t" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_uintptr_t" >&5
echo "${ECHO_T}$tcl_cv_uintptr_t" >&6 $as_echo "$tcl_cv_uintptr_t" >&6; }
if test "$tcl_cv_uintptr_t" != none; then if test "$tcl_cv_uintptr_t" != none; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define uintptr_t $tcl_cv_uintptr_t #define uintptr_t $tcl_cv_uintptr_t
_ACEOF _ACEOF
fi fi
fi fi
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Perform additinal compiler tests. # Perform additinal compiler tests.
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# See if declarations like FINDEX_INFO_LEVELS are # See if declarations like FINDEX_INFO_LEVELS are
# missing from winbase.h. This is known to be # missing from winbase.h. This is known to be
# a problem with VC++ 5.2. # a problem with VC++ 5.2.
echo "$as_me:$LINENO: checking for FINDEX_INFO_LEVELS in winbase.h" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FINDEX_INFO_LEVELS in winb
echo $ECHO_N "checking for FINDEX_INFO_LEVELS in winbase.h... $ECHO_C" >&6 ase.h" >&5
if test "${tcl_cv_findex_enums+set}" = set; then $as_echo_n "checking for FINDEX_INFO_LEVELS in winbase.h... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${tcl_cv_findex_enums+:} false; then :
$as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#undef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN
int int
main () main ()
{ {
FINDEX_INFO_LEVELS i; FINDEX_INFO_LEVELS i;
FINDEX_SEARCH_OPS j; FINDEX_SEARCH_OPS j;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_cv_findex_enums=yes tcl_cv_findex_enums=yes
else else
echo "$as_me: failed program was:" >&5 tcl_cv_findex_enums=no
sed 's/^/| /' conftest.$ac_ext >&5
tcl_cv_findex_enums=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $tcl_cv_findex_enums" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_findex_enums" >&5
echo "${ECHO_T}$tcl_cv_findex_enums" >&6 $as_echo "$tcl_cv_findex_enums" >&6; }
if test "$tcl_cv_findex_enums" = "no"; then if test "$tcl_cv_findex_enums" = "no"; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define HAVE_NO_FINDEX_ENUMS 1" >>confdefs.h
#define HAVE_NO_FINDEX_ENUMS 1
_ACEOF
fi fi
# See if the compiler supports intrinsics. # See if the compiler supports intrinsics.
echo "$as_me:$LINENO: checking for intrinsics support in compiler" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intrinsics support in comp
echo $ECHO_N "checking for intrinsics support in compiler... $ECHO_C" >&6 iler" >&5
if test "${tcl_cv_intrinsics+set}" = set; then $as_echo_n "checking for intrinsics support in compiler... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${tcl_cv_intrinsics+:} false; then :
$as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#undef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN
#include <intrin.h> #include <intrin.h>
int int
main () main ()
{ {
__cpuidex(0,0,0); __cpuidex(0,0,0);
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext if ac_fn_c_try_link "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_cv_intrinsics=yes tcl_cv_intrinsics=yes
else else
echo "$as_me: failed program was:" >&5 tcl_cv_intrinsics=no
sed 's/^/| /' conftest.$ac_ext >&5
tcl_cv_intrinsics=no
fi fi
rm -f conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $tcl_cv_intrinsics" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_intrinsics" >&5
echo "${ECHO_T}$tcl_cv_intrinsics" >&6 $as_echo "$tcl_cv_intrinsics" >&6; }
if test "$tcl_cv_intrinsics" = "yes"; then if test "$tcl_cv_intrinsics" = "yes"; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define HAVE_INTRIN_H 1" >>confdefs.h
#define HAVE_INTRIN_H 1
_ACEOF
fi fi
# See if the <wspiapi.h> header file is present # See if the <wspiapi.h> header file is present
echo "$as_me:$LINENO: checking for wspiapi.h" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wspiapi.h" >&5
echo $ECHO_N "checking for wspiapi.h... $ECHO_C" >&6 $as_echo_n "checking for wspiapi.h... " >&6; }
if test "${tcl_cv_wspiapi_h+set}" = set; then if ${tcl_cv_wspiapi_h+:} false; then :
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <wspiapi.h> #include <wspiapi.h>
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_cv_wspiapi_h=yes tcl_cv_wspiapi_h=yes
else else
echo "$as_me: failed program was:" >&5 tcl_cv_wspiapi_h=no
sed 's/^/| /' conftest.$ac_ext >&5
tcl_cv_wspiapi_h=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $tcl_cv_wspiapi_h" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_wspiapi_h" >&5
echo "${ECHO_T}$tcl_cv_wspiapi_h" >&6 $as_echo "$tcl_cv_wspiapi_h" >&6; }
if test "$tcl_cv_wspiapi_h" = "yes"; then if test "$tcl_cv_wspiapi_h" = "yes"; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define HAVE_WSPIAPI_H 1" >>confdefs.h
#define HAVE_WSPIAPI_H 1
_ACEOF
fi fi
# See if declarations like FINDEX_INFO_LEVELS are # See if declarations like FINDEX_INFO_LEVELS are
# missing from winbase.h. This is known to be # missing from winbase.h. This is known to be
# a problem with VC++ 5.2. # a problem with VC++ 5.2.
echo "$as_me:$LINENO: checking for FINDEX_INFO_LEVELS in winbase.h" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FINDEX_INFO_LEVELS in winb
echo $ECHO_N "checking for FINDEX_INFO_LEVELS in winbase.h... $ECHO_C" >&6 ase.h" >&5
if test "${tcl_cv_findex_enums+set}" = set; then $as_echo_n "checking for FINDEX_INFO_LEVELS in winbase.h... " >&6; }
echo $ECHO_N "(cached) $ECHO_C" >&6 if ${tcl_cv_findex_enums+:} false; then :
$as_echo_n "(cached) " >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#undef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN
int int
main () main ()
{ {
FINDEX_INFO_LEVELS i; FINDEX_INFO_LEVELS i;
FINDEX_SEARCH_OPS j; FINDEX_SEARCH_OPS j;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext if ac_fn_c_try_compile "$LINENO"; then :
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
tcl_cv_findex_enums=yes tcl_cv_findex_enums=yes
else else
echo "$as_me: failed program was:" >&5 tcl_cv_findex_enums=no
sed 's/^/| /' conftest.$ac_ext >&5
tcl_cv_findex_enums=no
fi fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:$LINENO: result: $tcl_cv_findex_enums" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_findex_enums" >&5
echo "${ECHO_T}$tcl_cv_findex_enums" >&6 $as_echo "$tcl_cv_findex_enums" >&6; }
if test "$tcl_cv_findex_enums" = "no"; then if test "$tcl_cv_findex_enums" = "no"; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define HAVE_NO_FINDEX_ENUMS 1" >>confdefs.h
#define HAVE_NO_FINDEX_ENUMS 1
_ACEOF
fi fi
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Set the default compiler switches based on the --enable-symbols # Set the default compiler switches based on the --enable-symbols
# option. This macro depends on C flags, and should be called # option. This macro depends on C flags, and should be called
# after SC_CONFIG_CFLAGS macro is called. # after SC_CONFIG_CFLAGS macro is called.
#-------------------------------------------------------------------- #--------------------------------------------------------------------
echo "$as_me:$LINENO: checking for build with symbols" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&
echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6 5
# Check whether --enable-symbols or --disable-symbols was given. $as_echo_n "checking for build with symbols... " >&6; }
if test "${enable_symbols+set}" = set; then # Check whether --enable-symbols was given.
enableval="$enable_symbols" if test "${enable_symbols+set}" = set; then :
tcl_ok=$enableval enableval=$enable_symbols; tcl_ok=$enableval
else else
tcl_ok=no tcl_ok=no
fi; fi
# FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFA ULT. # FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFA ULT.
if test "$tcl_ok" = "no"; then if test "$tcl_ok" = "no"; then
CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)' CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)' LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
DBGX="" DBGX=""
cat >>confdefs.h <<\_ACEOF $as_echo "#define NDEBUG 1" >>confdefs.h
#define NDEBUG 1
_ACEOF
echo "$as_me:$LINENO: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
echo "${ECHO_T}no" >&6 $as_echo "no" >&6; }
cat >>confdefs.h <<\_ACEOF $as_echo "#define TCL_CFG_OPTIMIZED 1" >>confdefs.h
#define TCL_CFG_OPTIMIZED 1
_ACEOF
else else
CFLAGS_DEFAULT='$(CFLAGS_DEBUG)' CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)' LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'
DBGX=g DBGX=g
if test "$tcl_ok" = "yes"; then if test "$tcl_ok" = "yes"; then
echo "$as_me:$LINENO: result: yes (standard debugging)" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugg
echo "${ECHO_T}yes (standard debugging)" >&6 ing)" >&5
$as_echo "yes (standard debugging)" >&6; }
fi fi
fi fi
if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h
#define TCL_MEM_DEBUG 1
_ACEOF
fi fi
if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then
cat >>confdefs.h <<\_ACEOF $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h
#define TCL_COMPILE_DEBUG 1
_ACEOF
cat >>confdefs.h <<\_ACEOF $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h
#define TCL_COMPILE_STATS 1
_ACEOF
fi fi
if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
if test "$tcl_ok" = "all"; then if test "$tcl_ok" = "all"; then
echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem
>&5 compile debugging" >&5
echo "${ECHO_T}enabled symbols mem compile debugging" >&6 $as_echo "enabled symbols mem compile debugging" >&6; }
else else
echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debu
echo "${ECHO_T}enabled $tcl_ok debugging" >&6 gging" >&5
$as_echo "enabled $tcl_ok debugging" >&6; }
fi fi
fi fi
TCL_DBGX=${DBGX} TCL_DBGX=${DBGX}
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Embed the manifest if we can determine how # Embed the manifest if we can determine how
#-------------------------------------------------------------------- #--------------------------------------------------------------------
echo "$as_me:$LINENO: checking whether to embed manifest" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to embed manifest"
echo $ECHO_N "checking whether to embed manifest... $ECHO_C" >&6 >&5
# Check whether --enable-embedded-manifest or --disable-embedded-manifest wa $as_echo_n "checking whether to embed manifest... " >&6; }
s given. # Check whether --enable-embedded-manifest was given.
if test "${enable_embedded_manifest+set}" = set; then if test "${enable_embedded_manifest+set}" = set; then :
enableval="$enable_embedded_manifest" enableval=$enable_embedded_manifest; embed_ok=$enableval
embed_ok=$enableval
else else
embed_ok=yes embed_ok=yes
fi; fi
VC_MANIFEST_EMBED_DLL= VC_MANIFEST_EMBED_DLL=
VC_MANIFEST_EMBED_EXE= VC_MANIFEST_EMBED_EXE=
result=no result=no
if test "$embed_ok" = "yes" -a "${SHARED_BUILD}" = "1" \ if test "$embed_ok" = "yes" -a "${SHARED_BUILD}" = "1" \
-a "$GCC" != "yes" ; then -a "$GCC" != "yes" ; then
# Add the magic to embed the manifest into the dll/exe # Add the magic to embed the manifest into the dll/exe
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#if defined(_MSC_VER) && _MSC_VER >= 1400 #if defined(_MSC_VER) && _MSC_VER >= 1400
print("manifest needed") print("manifest needed")
#endif #endif
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "manifest needed" >/dev/null 2>&1; then $EGREP "manifest needed" >/dev/null 2>&1; then :
# Could do a CHECK_PROG for mt, but should always be with MSVC8+ # Could do a CHECK_PROG for mt, but should always be with MSVC8+
# Could add 'if test -f' check, but manifest should be created # Could add 'if test -f' check, but manifest should be created
# in this compiler case # in this compiler case
# Add in a manifest argument that may be specified # Add in a manifest argument that may be specified
# XXX Needs improvement so that the test for existence accounts # XXX Needs improvement so that the test for existence accounts
# XXX for a provided (known) manifest # XXX for a provided (known) manifest
VC_MANIFEST_EMBED_DLL="if test -f \$@.manifest ; then mt.exe -nologo -man ifest \$@.manifest -outputresource:\$@\;2 ; fi" VC_MANIFEST_EMBED_DLL="if test -f \$@.manifest ; then mt.exe -nologo -man ifest \$@.manifest -outputresource:\$@\;2 ; fi"
VC_MANIFEST_EMBED_EXE="if test -f \$@.manifest ; then mt.exe -nologo -man ifest \$@.manifest -outputresource:\$@\;1 ; fi" VC_MANIFEST_EMBED_EXE="if test -f \$@.manifest ; then mt.exe -nologo -man ifest \$@.manifest -outputresource:\$@\;1 ; fi"
result=yes result=yes
if test "x" != x ; then if test "x" != x ; then
result="yes ()" result="yes ()"
fi fi
fi fi
rm -f conftest* rm -f conftest*
fi fi
echo "$as_me:$LINENO: result: $result" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
echo "${ECHO_T}$result" >&6 $as_echo "$result" >&6; }
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# tclConfig.sh refers to this by a different name # tclConfig.sh refers to this by a different name
#------------------------------------------------------------------------ #------------------------------------------------------------------------
TCL_SHARED_BUILD=${SHARED_BUILD} TCL_SHARED_BUILD=${SHARED_BUILD}
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Perform final evaluations of variables with possible substitutions. # Perform final evaluations of variables with possible substitutions.
#-------------------------------------------------------------------- #--------------------------------------------------------------------
skipping to change at line 5065 skipping to change at line 5094
eval "TCL_DLL_FILE=tcl${VER}${DLLSUFFIX}" eval "TCL_DLL_FILE=tcl${VER}${DLLSUFFIX}"
eval "TCL_STUB_LIB_FILE=\"${LIBPREFIX}tclstub${VER}${LIBSUFFIX}\"" eval "TCL_STUB_LIB_FILE=\"${LIBPREFIX}tclstub${VER}${LIBSUFFIX}\""
eval "TCL_STUB_LIB_FLAG=\"-ltclstub${VER}${LIBFLAGSUFFIX}\"" eval "TCL_STUB_LIB_FLAG=\"-ltclstub${VER}${LIBFLAGSUFFIX}\""
eval "TCL_BUILD_STUB_LIB_SPEC=\"-L`$CYGPATH $(pwd)` ${TCL_STUB_LIB_FLAG}\"" eval "TCL_BUILD_STUB_LIB_SPEC=\"-L`$CYGPATH $(pwd)` ${TCL_STUB_LIB_FLAG}\""
eval "TCL_STUB_LIB_SPEC=\"-L${libdir} ${TCL_STUB_LIB_FLAG}\"" eval "TCL_STUB_LIB_SPEC=\"-L${libdir} ${TCL_STUB_LIB_FLAG}\""
eval "TCL_BUILD_STUB_LIB_PATH=\"`$CYGPATH $(pwd)`/${TCL_STUB_LIB_FILE}\"" eval "TCL_BUILD_STUB_LIB_PATH=\"`$CYGPATH $(pwd)`/${TCL_STUB_LIB_FILE}\""
eval "TCL_STUB_LIB_PATH=\"${libdir}/${TCL_STUB_LIB_FILE}\"" eval "TCL_STUB_LIB_PATH=\"${libdir}/${TCL_STUB_LIB_FILE}\""
eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl${VER}${LIBSUFFIX}\"" eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl${VER}${LIBSUFFIX}\""
eval "TCL_BUILD_LIB_SPEC=\"-L`$CYGPATH $(pwd)` -ltcl${VER}${LIBFLAGSUFFIX}\"" eval "TCL_BUILD_LIB_SPEC=\"-L`$CYGPATH $(pwd)` -ltcl${VER}${FLAGSUFFIX}\""
eval "TCL_LIB_SPEC=\"-L${libdir} -ltcl${VER}${LIBFLAGSUFFIX}\"" eval "TCL_LIB_SPEC=\"-L${libdir} -ltcl${VER}${FLAGSUFFIX}\""
# Install time header dir can be set via --includedir # Install time header dir can be set via --includedir
eval "TCL_INCLUDE_SPEC=\"-I${includedir}\"" eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
eval "DLLSUFFIX=${DLLSUFFIX}" eval "DLLSUFFIX=${DLLSUFFIX}"
eval "LIBPREFIX=${LIBPREFIX}" eval "LIBPREFIX=${LIBPREFIX}"
eval "LIBSUFFIX=${LIBSUFFIX}" eval "LIBSUFFIX=${LIBSUFFIX}"
eval "EXESUFFIX=${EXESUFFIX}" eval "EXESUFFIX=${EXESUFFIX}"
CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX} CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}
skipping to change at line 5134 skipping to change at line 5163
# empty on win # empty on win
# win/tcl.m4 doesn't set (CFLAGS) # win/tcl.m4 doesn't set (CFLAGS)
# win/tcl.m4 doesn't set (LDFLAGS) # win/tcl.m4 doesn't set (LDFLAGS)
# empty on win, but needs sub'ing # empty on win, but needs sub'ing
# win only # win only
ac_config_files="$ac_config_files Makefi ac_config_files="$ac_config_files Makefile tclConfig.sh tcl.hpj tclsh.exe.manife
le tclConfig.sh tcl.hpj tclsh.exe.manifest" st"
cat >confcache <<\_ACEOF cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure # This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure # tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache. # scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems. If it contains results you don't # It is not useful on other systems. If it contains results you don't
# want to keep, you may remove or edit it. # want to keep, you may remove or edit it.
# #
# config.status only pays attention to the cache file if you give it # config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure. # the --recheck option to rerun configure.
# #
# `ac_cv_env_foo' variables (set or unset) will be overridden when # `ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the # loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values. # following values.
_ACEOF _ACEOF
# The following way of writing the cache mishandles newlines in values, # The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient. # but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values. # So, we kill variables containing newlines.
# Ultrix sh set writes to stderr and can't be redirected directly, # Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars. # and sets the high bit in the cache file unless we assign to the vars.
{ (
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; d
o
eval ac_val=\$$ac_var
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;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
*) { eval $ac_var=; unset $ac_var;} ;;
esac ;;
esac
done
(set) 2>&1 | (set) 2>&1 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in case $as_nl`(ac_space=' '; set) 2>&1` in #(
*ac_space=\ *) *${as_nl}ac_space=\ *)
# `set' does not quote correctly, so add quotes (double-quote # `set' does not quote correctly, so add quotes: double-quote
# substitution turns \\\\ into \\, and sed turns \\ into \). # substitution turns \\\\ into \\, and sed turns \\ into \.
sed -n \ sed -n \
"s/'/'\\\\''/g; "s/'/'\\\\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
;; ;; #(
*) *)
# `set' quotes correctly as required by POSIX, so do not add quotes. # `set' quotes correctly as required by POSIX, so do not add quotes.
sed -n \ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
;; ;;
esac; esac |
} | sort
) |
sed ' sed '
/^ac_cv_env_/b end
t clear t clear
: clear :clear
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
t end t end
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
: end' >>confcache :end' >>confcache
if diff $cache_file confcache >/dev/null 2>&1; then :; else if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
if test -w $cache_file; then if test -w "$cache_file"; then
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" if test "x$cache_file" != "x/dev/null"; then
cat confcache >$cache_file { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
$as_echo "$as_me: updating cache $cache_file" >&6;}
if test ! -f "$cache_file" || test -h "$cache_file"; then
cat confcache >"$cache_file"
else
case $cache_file in #(
*/* | ?:*)
mv -f confcache "$cache_file"$$ &&
mv -f "$cache_file"$$ "$cache_file" ;; #(
*)
mv -f confcache "$cache_file" ;;
esac
fi
fi
else else
echo "not updating unwritable cache $cache_file" { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cach
e_file" >&5
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
fi fi
fi fi
rm -f confcache rm -f confcache
test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix. # Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
ac_vpsub='/^[ ]*VPATH[ ]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@srcdir@:*/:/;
s/^\([^=]*=[ ]*\):*/\1/;
s/:*$//;
s/^[^=]*=[ ]*$//;
}'
fi
# Transform confdefs.h into DEFS. # Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules. # Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion. # Protect against Makefile macro expansion.
# #
# If the first sed substitution is executed (which looks for macros that # If the first sed substitution is executed (which looks for macros that
# take arguments), then we branch to the quote section. Otherwise, # take arguments), then branch to the quote section. Otherwise,
# look for a macro that doesn't take arguments. # look for a macro that doesn't take arguments.
cat >confdef2opt.sed <<\_ACEOF ac_script='
:mline
/\\$/{
N
s,\\\n,,
b mline
}
t clear t clear
: clear :clear
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\) s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)
,-D\1=\2,g /-D\1=\2/g
t quote t quote
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2 ,g s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2 /g
t quote t quote
d b any
: quote :quote
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
s,\[,\\&,g s/\[/\\&/g
s,\],\\&,g s/\]/\\&/g
s,\$,$$,g s/\$/$$/g
p H
_ACEOF :any
# We use echo to avoid assuming a particular line-breaking character. ${
# The extra dot is to prevent the shell from consuming trailing g
# line-breaks from the sub-command output. A line-break within s/^\n//
# single-quotes doesn't work because, if this script is created in a s/\n/ /g
# platform that uses two characters for line-breaks (e.g., DOS), tr p
# would break. }
ac_LF_and_DOT=`echo; echo .` '
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` DEFS=`sed -n "$ac_script" confdefs.h`
rm -f confdef2opt.sed
ac_libobjs= ac_libobjs=
ac_ltlibobjs= ac_ltlibobjs=
U=
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
# 1. Remove the extension, and $U if already installed. # 1. Remove the extension, and $U if already installed.
ac_i=`echo "$ac_i" | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
# 2. Add them. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" # will be set to the directory where LIBOBJS objects are built.
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
done done
LIBOBJS=$ac_libobjs LIBOBJS=$ac_libobjs
LTLIBOBJS=$ac_ltlibobjs LTLIBOBJS=$ac_ltlibobjs
: ${CONFIG_STATUS=./config.status} : "${CONFIG_STATUS=./config.status}"
ac_write_fail=0
ac_clean_files_save=$ac_clean_files ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS" ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;} $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF as_write_fail=0
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
#! $SHELL #! $SHELL
# Generated by $as_me. # Generated by $as_me.
# Run this file to recreate the current configuration. # Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging # Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists. # configure, is in config.log if it exists.
debug=false debug=false
ac_cs_recheck=false ac_cs_recheck=false
ac_cs_silent=false ac_cs_silent=false
SHELL=\${CONFIG_SHELL-$SHELL}
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF SHELL=\${CONFIG_SHELL-$SHELL}
## --------------------- ## export SHELL
## M4sh Initialization. ## _ASEOF
## --------------------- ## cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##
# Be Bourne compatible # Be more Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
emulate sh emulate sh
NULLCMD=: NULLCMD=:
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature. # is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"' alias -g '${1+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then setopt NO_GLOB_SUBST
set -o posix else
case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
esac
fi fi
DUALCASE=1; export DUALCASE # for MKS sh
# Support unset when possible. as_nl='
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then '
as_unset=unset export as_nl
else # Printing a long string crashes Solaris 7 /usr/bin/printf.
as_unset=false 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
as_echo='printf %s\n'
as_echo_n='printf %s'
else
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
as_echo_n='/usr/ucb/echo -n'
else
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
as_echo_n_body='eval
arg=$1;
case $arg in #(
*"$as_nl"*)
expr "X$arg" : "X\\(.*\\)$as_nl";
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
esac;
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
'
export as_echo_n_body
as_echo_n='sh -c $as_echo_n_body as_echo'
fi
export as_echo_body
as_echo='sh -c $as_echo_body as_echo'
fi
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
PATH_SEPARATOR=';'
}
fi fi
# Work around bugs in pre-3.0 UWIN ksh. # IFS
$as_unset ENV MAIL MAILPATH # We need space, tab and new line, in precisely that order. Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
IFS=" "" $as_nl"
# Find who we are. Look in the path if we contain no directory separator.
as_myself=
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
IFS=$as_save_IFS
;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file n
ame" >&2
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 || :
done
PS1='$ ' PS1='$ '
PS2='> ' PS2='> '
PS4='+ ' PS4='+ '
# NLS nuisances. # NLS nuisances.
for as_var in \ LC_ALL=C
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ export LC_ALL
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LANGUAGE=C
LC_TELEPHONE LC_TIME export LANGUAGE
do
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
eval $as_var=C; export $as_var
else
$as_unset $as_var
fi
done
# Required to use basename. # CDPATH.
if expr a : '\(a\)' >/dev/null 2>&1; then (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
# as_fn_error STATUS 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=$1; test $as_status -eq 0 && as_status=1
if test "$4"; then
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
fi
$as_echo "$as_me: error: $2" >&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
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr as_expr=expr
else else
as_expr=false as_expr=false
fi fi
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
as_basename=basename as_basename=basename
else else
as_basename=false as_basename=false
fi fi
# Name of the executable. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_me=`$as_basename "$0" || as_dirname=dirname
else
as_dirname=false
fi
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
. : '\(.\)' 2>/dev/null || $as_echo X/"$0" |
echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } s//\1/
/^X\/\(\/\/\)$/{ s//\1/; q; } q
/^X\/\(\/\).*/{ s//\1/; q; } }
s/.*/./; q'` /^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges. # Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789' as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits as_cr_alnum=$as_cr_Letters$as_cr_digits
# The user is always right. ECHO_C= ECHO_N= ECHO_T=
if test "${PATH_SEPARATOR+set}" != set; then case `echo -n x` in #(((((
echo "#! /bin/sh" >conf$$.sh -n*)
echo "exit 0" >>conf$$.sh case `echo 'xy\c'` in
chmod +x conf$$.sh *c*) ECHO_T=' ';; # ECHO_T is single tab character.
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then xy) ECHO_C='\c';;
PATH_SEPARATOR=';' *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
else ECHO_T=' ';;
PATH_SEPARATOR=: esac;;
fi *)
rm -f conf$$.sh ECHO_N='-n';;
fi
as_lineno_1=$LINENO
as_lineno_2=$LINENO
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x$as_lineno_3" = "x$as_lineno_2" || {
# Find who we are. Look in the path if we contain no path at all
# relative or not.
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
;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute
path" >&5
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
{ (exit 1); exit 1; }; }
fi
case $CONFIG_SHELL in
'')
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=.
for as_base in sh bash ksh sh5; do
case $as_dir in
/*)
if ("$as_dir/$as_base" -c '
as_lineno_1=$LINENO
as_lineno_2=$LINENO
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=;
export BASH_ENV; }
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
CONFIG_SHELL=$as_dir/$as_base
export CONFIG_SHELL
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
fi;;
esac
done
done
;;
esac
# 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 before each line; the second 'sed' does the real
# work. The second script uses 'N' to pair each line-number line
# with the numbered line, 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
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
sed '=' <$as_myself |
sed '
N
s,$,-,
: loop
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
t loop
s,-$,,
s,^['$as_cr_digits']*\n,,
' >$as_me.lineno &&
chmod +x $as_me.lineno ||
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a P
OSIX shell" >&5
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 sensible to this).
. ./$as_me.lineno
# Exit status is that of the last command.
exit
}
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
*c*,-n*) ECHO_N= ECHO_C='
' ECHO_T=' ' ;;
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac esac
if expr a : '\(a\)' >/dev/null 2>&1; then rm -f conf$$ conf$$.exe conf$$.file
as_expr=expr if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
else else
as_expr=false rm -f conf$$.dir
mkdir conf$$.dir 2>/dev/null
fi fi
if (echo >conf$$.file) 2>/dev/null; then
rm -f conf$$ conf$$.exe conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
# We could just check for DJGPP; but this test a) works b) is more generic
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
if test -f conf$$.exe; then
# Don't use ln at all; we don't have any links
as_ln_s='cp -p'
else
as_ln_s='ln -s' 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 -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -pR'
fi fi
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else else
as_ln_s='cp -p' as_ln_s='cp -pR'
fi fi
rm -f conf$$ conf$$.exe conf$$.file 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 if mkdir -p . 2>/dev/null; then
as_mkdir_p=: as_mkdir_p='mkdir -p "$as_dir"'
else else
test -d ./-p && rmdir ./-p test -d ./-p && rmdir ./-p
as_mkdir_p=false as_mkdir_p=false
fi fi
as_executable_p="test -f" # as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
test -f "$1" && test -x "$1"
} # as_fn_executable_p
as_test_x='test -x'
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name. # 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'" 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. # Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" $as_nl"
# CDPATH.
$as_unset CDPATH
exec 6>&1 exec 6>&1
## ----------------------------------- ##
## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ##
_ASEOF
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
# Open the log real soon, to keep \$[0] and so on meaningful, and to cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. Logging --version etc. is OK. # values after options handling.
exec 5>>config.log ac_log="
{
echo
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
} >&5
cat >&5 <<_CSEOF
This file was extended by $as_me, which was This file was extended by $as_me, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@ $ $0 $@
_CSEOF on `(hostname || uname -n) 2>/dev/null | sed 1q`
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 "
echo >&5
_ACEOF
# Files that config.status was made for.
if test -n "$ac_config_files"; then
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
fi
if test -n "$ac_config_headers"; then _ACEOF
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
fi
if test -n "$ac_config_links"; then case $ac_config_files in *"
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS "*) set x $ac_config_files; shift; ac_config_files=$*;;
fi esac
if test -n "$ac_config_commands"; then cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS # Files that config.status was made for.
fi config_files="$ac_config_files"
cat >>$CONFIG_STATUS <<\_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ac_cs_usage="\ ac_cs_usage="\
\`$as_me' instantiates files from templates according to the \`$as_me' instantiates files and other configuration actions
current configuration. from templates according to the current configuration. Unless the files
and actions are specified as TAGs, all are instantiated by default.
Usage: $0 [OPTIONS] [FILE]... Usage: $0 [OPTION]... [TAG]...
-h, --help print this help, then exit -h, --help print this help, then exit
-V, --version print version number, then exit -V, --version print version number and configuration settings, then exit
-q, --quiet do not print progress messages --config print configuration, then exit
-q, --quiet, --silent
do not print progress messages
-d, --debug don't remove temporary files -d, --debug don't remove temporary files
--recheck update $as_me by reconfiguring in the same conditions --recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE] --file=FILE[:TEMPLATE]
instantiate the configuration file FILE instantiate the configuration file FILE
Configuration files: Configuration files:
$config_files $config_files
Report bugs to <bug-autoconf@gnu.org>." Report bugs to the package provider."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g
'`"
ac_cs_version="\\ ac_cs_version="\\
config.status config.status
configured by $0, generated by GNU Autoconf 2.59, configured by $0, generated by GNU Autoconf 2.69,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"\$ac_cs_config\\"
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it." gives unlimited permission to copy, distribute and modify it."
srcdir=$srcdir
ac_pwd='$ac_pwd'
srcdir='$srcdir'
test -n "\$AWK" || AWK=awk
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# If no file are specified by the user, then we need to provide default # The default lists apply if the user does not specify any file.
# value. By we need to know if files were specified by the user.
ac_need_defaults=: ac_need_defaults=:
while test $# != 0 while test $# != 0
do do
case $1 in case $1 in
--*=*) --*=?*)
ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
ac_shift=:
;;
--*=)
ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=
ac_shift=: ac_shift=:
;; ;;
-*) *)
ac_option=$1 ac_option=$1
ac_optarg=$2 ac_optarg=$2
ac_shift=shift ac_shift=shift
;; ;;
*) # This is not an option, so the user has probably given explicit
# arguments.
ac_option=$1
ac_need_defaults=false;;
esac esac
case $ac_option in case $ac_option in
# Handling of the options. # Handling of the options.
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
ac_cs_recheck=: ;; ac_cs_recheck=: ;;
--version | --vers* | -V ) --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
echo "$ac_cs_version"; exit 0 ;; $as_echo "$ac_cs_version"; exit ;;
--he | --h) --config | --confi | --conf | --con | --co | --c )
# Conflict between --help and --header $as_echo "$ac_cs_config"; exit ;;
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 --debug | --debu | --deb | --de | --d | -d )
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
{ (exit 1); exit 1; }; };;
--help | --hel | -h )
echo "$ac_cs_usage"; exit 0 ;;
--debug | --d* | -d )
debug=: ;; debug=: ;;
--file | --fil | --fi | --f ) --file | --fil | --fi | --f )
$ac_shift $ac_shift
CONFIG_FILES="$CONFIG_FILES $ac_optarg" case $ac_optarg in
ac_need_defaults=false;; *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
--header | --heade | --head | --hea ) '') as_fn_error $? "missing file argument" ;;
$ac_shift esac
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" as_fn_append CONFIG_FILES " '$ac_optarg'"
ac_need_defaults=false;; ac_need_defaults=false;;
--he | --h | --help | --hel | -h )
$as_echo "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil | --si | --s) | -silent | --silent | --silen | --sile | --sil | --si | --s)
ac_cs_silent=: ;; ac_cs_silent=: ;;
# This is an error. # This is an error.
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 -*) as_fn_error $? "unrecognized option: \`$1'
Try \`$0 --help' for more information." >&5 Try \`$0 --help' for more information." ;;
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
{ (exit 1); exit 1; }; } ;;
*) ac_config_targets="$ac_config_targets $1" ;; *) as_fn_append ac_config_targets " $1"
ac_need_defaults=false ;;
esac esac
shift shift
done done
ac_configure_extra_args= ac_configure_extra_args=
if $ac_cs_silent; then if $ac_cs_silent; then
exec 6>/dev/null exec 6>/dev/null
ac_configure_extra_args="$ac_configure_extra_args --silent" ac_configure_extra_args="$ac_configure_extra_args --silent"
fi fi
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
if \$ac_cs_recheck; then if \$ac_cs_recheck; then
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --n
create --no-recursion" >&6 o-recursion
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-r shift
ecursion \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
CONFIG_SHELL='$SHELL'
export CONFIG_SHELL
exec "\$@"
fi fi
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1