a0dfd2e4fb
this makes the shared lib naming match what tcl uses with regards to dots or no dots. This includes fixes for older a.out netbsd systems and several other OS's as well.
4199 lines
148 KiB
Text
4199 lines
148 KiB
Text
$NetBSD: patch-aa,v 1.3 2005/04/05 01:42:46 dmcmahill Exp $
|
|
|
|
--- itcl/configure.orig 2004-09-08 01:23:50.000000000 +0000
|
|
+++ itcl/configure
|
|
@@ -1,9 +1,8 @@
|
|
#! /bin/sh
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
-# Generated by GNU Autoconf 2.57 for itcl 3.3.
|
|
+# Generated by GNU Autoconf 2.59 for itcl 3.3.
|
|
#
|
|
-# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
|
-# Free Software Foundation, Inc.
|
|
+# Copyright (C) 2003 Free Software Foundation, Inc.
|
|
# This configure script is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy, distribute and modify it.
|
|
## --------------------- ##
|
|
@@ -20,9 +19,10 @@ if test -n "${ZSH_VERSION+set}" && (emul
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|
set -o posix
|
|
fi
|
|
+DUALCASE=1; export DUALCASE # for MKS sh
|
|
|
|
# Support unset when possible.
|
|
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
|
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
as_unset=unset
|
|
else
|
|
as_unset=false
|
|
@@ -41,7 +41,7 @@ for as_var in \
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
LC_TELEPHONE LC_TIME
|
|
do
|
|
- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
+ 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
|
|
@@ -218,16 +218,17 @@ rm -f conf$$ conf$$.exe conf$$.file
|
|
if mkdir -p . 2>/dev/null; then
|
|
as_mkdir_p=:
|
|
else
|
|
+ test -d ./-p && rmdir ./-p
|
|
as_mkdir_p=false
|
|
fi
|
|
|
|
as_executable_p="test -f"
|
|
|
|
# Sed expression to map a string onto a valid CPP name.
|
|
-as_tr_cpp="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.
|
|
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
|
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
|
|
# IFS
|
|
@@ -666,7 +667,7 @@ done
|
|
|
|
# Be sure to have absolute paths.
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
|
- localstatedir libdir includedir oldincludedir infodir mandir
|
|
+ localstatedir libdir includedir oldincludedir infodir mandir
|
|
do
|
|
eval ac_val=$`echo $ac_var`
|
|
case $ac_val in
|
|
@@ -706,10 +707,10 @@ if test -z "$srcdir"; then
|
|
# Try the directory containing this script, then its parent.
|
|
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
- X"$0" : 'X\(//\)[^/]' \| \
|
|
- X"$0" : 'X\(//\)$' \| \
|
|
- X"$0" : 'X\(/\)' \| \
|
|
- . : '\(.\)' 2>/dev/null ||
|
|
+ X"$0" : 'X\(//\)[^/]' \| \
|
|
+ X"$0" : 'X\(//\)$' \| \
|
|
+ X"$0" : 'X\(/\)' \| \
|
|
+ . : '\(.\)' 2>/dev/null ||
|
|
echo X"$0" |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
@@ -801,9 +802,9 @@ _ACEOF
|
|
cat <<_ACEOF
|
|
Installation directories:
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
|
- [$ac_default_prefix]
|
|
+ [$ac_default_prefix]
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
|
- [PREFIX]
|
|
+ [PREFIX]
|
|
|
|
By default, \`make install' will install all the files in
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
@@ -898,12 +899,45 @@ case $srcdir in
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
esac
|
|
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
|
-# absolute.
|
|
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
|
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
|
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
|
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
|
+
|
|
+# Do not use `cd foo && pwd` to compute absolute paths, because
|
|
+# the directories may not exist.
|
|
+case `pwd` in
|
|
+.) ac_abs_builddir="$ac_dir";;
|
|
+*)
|
|
+ case "$ac_dir" in
|
|
+ .) ac_abs_builddir=`pwd`;;
|
|
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
|
+ *) 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.
|
|
@@ -914,7 +948,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
|
|
echo
|
|
$SHELL $ac_srcdir/configure --help=recursive
|
|
elif test -f $ac_srcdir/configure.ac ||
|
|
- test -f $ac_srcdir/configure.in; then
|
|
+ test -f $ac_srcdir/configure.in; then
|
|
echo
|
|
$ac_configure --help
|
|
else
|
|
@@ -928,10 +962,9 @@ test -n "$ac_init_help" && exit 0
|
|
if $ac_init_version; then
|
|
cat <<\_ACEOF
|
|
itcl configure 3.3
|
|
-generated by GNU Autoconf 2.57
|
|
+generated by GNU Autoconf 2.59
|
|
|
|
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
|
-Free Software Foundation, Inc.
|
|
+Copyright (C) 2003 Free Software Foundation, Inc.
|
|
This configure script is free software; the Free Software Foundation
|
|
gives unlimited permission to copy, distribute and modify it.
|
|
_ACEOF
|
|
@@ -943,7 +976,7 @@ This file contains any messages produced
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
It was created by itcl $as_me 3.3, which was
|
|
-generated by GNU Autoconf 2.57. Invocation command line was
|
|
+generated by GNU Autoconf 2.59. Invocation command line was
|
|
|
|
$ $0 $@
|
|
|
|
@@ -1020,19 +1053,19 @@ do
|
|
2)
|
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
if test $ac_must_keep_next = true; then
|
|
- ac_must_keep_next=false # Got value, back to normal.
|
|
+ ac_must_keep_next=false # Got value, back to normal.
|
|
else
|
|
- case $ac_arg in
|
|
- *=* | --config-cache | -C | -disable-* | --disable-* \
|
|
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
|
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
|
- | -with-* | --with-* | -without-* | --without-* | --x)
|
|
- case "$ac_configure_args0 " in
|
|
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
|
- esac
|
|
- ;;
|
|
- -* ) ac_must_keep_next=true ;;
|
|
- esac
|
|
+ case $ac_arg in
|
|
+ *=* | --config-cache | -C | -disable-* | --disable-* \
|
|
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
|
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
|
+ | -with-* | --with-* | -without-* | --without-* | --x)
|
|
+ case "$ac_configure_args0 " in
|
|
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
|
+ esac
|
|
+ ;;
|
|
+ -* ) ac_must_keep_next=true ;;
|
|
+ esac
|
|
fi
|
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
|
# Get rid of the leading space.
|
|
@@ -1066,12 +1099,12 @@ _ASBOX
|
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
|
*ac_space=\ *)
|
|
sed -n \
|
|
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
|
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
|
+ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
|
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
|
;;
|
|
*)
|
|
sed -n \
|
|
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
;;
|
|
esac;
|
|
}
|
|
@@ -1100,7 +1133,7 @@ _ASBOX
|
|
for ac_var in $ac_subst_files
|
|
do
|
|
eval ac_val=$`echo $ac_var`
|
|
- echo "$ac_var='"'"'$ac_val'"'"'"
|
|
+ echo "$ac_var='"'"'$ac_val'"'"'"
|
|
done | sort
|
|
echo
|
|
fi
|
|
@@ -1119,7 +1152,7 @@ _ASBOX
|
|
echo "$as_me: caught signal $ac_signal"
|
|
echo "$as_me: exit $exit_status"
|
|
} >&5
|
|
- rm -f core core.* *.core &&
|
|
+ rm -f core *.core &&
|
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
|
exit $exit_status
|
|
' 0
|
|
@@ -1199,7 +1232,7 @@ fi
|
|
# value.
|
|
ac_cache_corrupted=false
|
|
for ac_var in `(set) 2>&1 |
|
|
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; 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_new_set=\$ac_env_${ac_var}_set
|
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
|
@@ -1216,13 +1249,13 @@ echo "$as_me: error: \`$ac_var' was not
|
|
,);;
|
|
*)
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
|
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
|
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
|
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
|
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
|
- ac_cache_corrupted=:
|
|
+ ac_cache_corrupted=:
|
|
fi;;
|
|
esac
|
|
# Pass precious variables to config.status.
|
|
@@ -1957,7 +1990,6 @@ ac_compiler=`set X $ac_compile; echo $2`
|
|
(exit $ac_status); }
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -1977,8 +2009,8 @@ ac_clean_files="$ac_clean_files a.out a.
|
|
# Try to create an executable without -o first, disregard a.out.
|
|
# It will help us diagnose broken compilers, and finding out an intuition
|
|
# of exeext.
|
|
-echo "$as_me:$LINENO: checking for C compiler default output" >&5
|
|
-echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
|
|
+echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
|
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
|
(eval $ac_link_default) 2>&5
|
|
@@ -1998,23 +2030,23 @@ do
|
|
test -f "$ac_file" || continue
|
|
case $ac_file in
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
|
- ;;
|
|
+ ;;
|
|
conftest.$ac_ext )
|
|
- # This is the source file.
|
|
- ;;
|
|
+ # This is the source file.
|
|
+ ;;
|
|
[ab].out )
|
|
- # We found the default executable, but exeext='' is most
|
|
- # certainly right.
|
|
- break;;
|
|
+ # We found the default executable, but exeext='' is most
|
|
+ # certainly right.
|
|
+ break;;
|
|
*.* )
|
|
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
- # FIXME: I believe we export ac_cv_exeext for Libtool,
|
|
- # but it would be cool to find out if it's true. Does anybody
|
|
- # maintain Libtool? --akim.
|
|
- export ac_cv_exeext
|
|
- break;;
|
|
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
+ # FIXME: I believe we export ac_cv_exeext for Libtool,
|
|
+ # but it would be cool to find out if it's true. Does anybody
|
|
+ # maintain Libtool? --akim.
|
|
+ export ac_cv_exeext
|
|
+ break;;
|
|
* )
|
|
- break;;
|
|
+ break;;
|
|
esac
|
|
done
|
|
else
|
|
@@ -2088,8 +2120,8 @@ for ac_file in conftest.exe conftest con
|
|
case $ac_file in
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
- export ac_cv_exeext
|
|
- break;;
|
|
+ export ac_cv_exeext
|
|
+ break;;
|
|
* ) break;;
|
|
esac
|
|
done
|
|
@@ -2114,7 +2146,6 @@ if test "${ac_cv_objext+set}" = set; the
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2165,7 +2196,6 @@ if test "${ac_cv_c_compiler_gnu+set}" =
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2185,11 +2215,21 @@ main ()
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -2202,7 +2242,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_compiler_gnu=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
|
|
|
fi
|
|
@@ -2218,7 +2258,6 @@ if test "${ac_cv_prog_cc_g+set}" = set;
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2235,11 +2274,21 @@ main ()
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -2252,7 +2301,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_prog_cc_g=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
|
@@ -2279,7 +2328,6 @@ else
|
|
ac_cv_prog_cc_stdc=no
|
|
ac_save_CC=$CC
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2307,6 +2355,16 @@ static char *f (char * (*g) (char **, in
|
|
va_end (v);
|
|
return s;
|
|
}
|
|
+
|
|
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
+ function prototypes and stuff, but not '\xHH' hex character constants.
|
|
+ These don't provoke an error unfortunately, instead are silently treated
|
|
+ as 'x'. The following induces an error, until -std1 is added to get
|
|
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
+ array size at least. It's necessary to write '\x00'==0 to get something
|
|
+ that's true only with -std1. */
|
|
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
+
|
|
int test (int i, double x);
|
|
struct s1 {int (*f) (int a);};
|
|
struct s2 {int (*f) (double a);};
|
|
@@ -2333,11 +2391,21 @@ do
|
|
CC="$ac_save_CC $ac_arg"
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -2350,7 +2418,7 @@ else
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
fi
|
|
-rm -f conftest.$ac_objext
|
|
+rm -f conftest.err conftest.$ac_objext
|
|
done
|
|
rm -f conftest.$ac_ext conftest.$ac_objext
|
|
CC=$ac_save_CC
|
|
@@ -2378,19 +2446,28 @@ cat >conftest.$ac_ext <<_ACEOF
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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 \
|
|
- ''\
|
|
- '#include <stdlib.h>' \
|
|
+ '' \
|
|
'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 ();' \
|
|
@@ -2398,14 +2475,13 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
'void exit (int);'
|
|
do
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
-#include <stdlib.h>
|
|
$ac_declaration
|
|
+#include <stdlib.h>
|
|
int
|
|
main ()
|
|
{
|
|
@@ -2416,11 +2492,21 @@ exit (42);
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -2433,9 +2519,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
continue
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2452,11 +2537,21 @@ exit (42);
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -2468,7 +2563,7 @@ else
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
done
|
|
rm -f conftest*
|
|
if test -n "$ac_declaration"; then
|
|
@@ -2482,7 +2577,7 @@ else
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
ac_ext=c
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
@@ -2517,7 +2612,6 @@ do
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2528,7 +2622,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
#else
|
|
# include <assert.h>
|
|
#endif
|
|
- Syntax error
|
|
+ Syntax error
|
|
_ACEOF
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
@@ -2540,6 +2634,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -2560,7 +2655,6 @@ rm -f conftest.err conftest.$ac_ext
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
|
# can be detected and how.
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2578,6 +2672,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -2624,7 +2719,6 @@ do
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2635,7 +2729,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
#else
|
|
# include <assert.h>
|
|
#endif
|
|
- Syntax error
|
|
+ Syntax error
|
|
_ACEOF
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
@@ -2647,6 +2741,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -2667,7 +2762,6 @@ rm -f conftest.err conftest.$ac_ext
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
|
# can be detected and how.
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2685,6 +2779,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -2735,6 +2830,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
+# OS/2's system install, which has a completely different semantic
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
|
@@ -2751,6 +2847,7 @@ do
|
|
case $as_dir/ in
|
|
./ | .// | /cC/* | \
|
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
|
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
/usr/ucb/* ) ;;
|
|
*)
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
@@ -2758,20 +2855,20 @@ case $as_dir/ in
|
|
# by default.
|
|
for ac_prog in ginstall scoinst install; do
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
- if test $ac_prog = install &&
|
|
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
- # AIX install. It has an incompatible calling convention.
|
|
- :
|
|
- elif test $ac_prog = install &&
|
|
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
- # program-specific install script used by HP pwplus--don't use.
|
|
- :
|
|
- else
|
|
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
- break 3
|
|
- fi
|
|
- fi
|
|
+ if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
+ if test $ac_prog = install &&
|
|
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
+ # AIX install. It has an incompatible calling convention.
|
|
+ :
|
|
+ elif test $ac_prog = install &&
|
|
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
+ # program-specific install script used by HP pwplus--don't use.
|
|
+ :
|
|
+ else
|
|
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
+ break 3
|
|
+ fi
|
|
+ fi
|
|
done
|
|
done
|
|
;;
|
|
@@ -2808,7 +2905,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=
|
|
|
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
|
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
|
|
+set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
@@ -2951,7 +3048,6 @@ if test "${ac_cv_header_stdc+set}" = set
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2972,11 +3068,21 @@ main ()
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -2989,12 +3095,11 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_header_stdc=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3016,7 +3121,6 @@ fi
|
|
if test $ac_cv_header_stdc = yes; then
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3041,7 +3145,6 @@ if test $ac_cv_header_stdc = yes; then
|
|
:
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3053,9 +3156,9 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
#else
|
|
# define ISLOWER(c) \
|
|
- (('a' <= (c) && (c) <= 'i') \
|
|
- || ('j' <= (c) && (c) <= 'r') \
|
|
- || ('s' <= (c) && (c) <= 'z'))
|
|
+ (('a' <= (c) && (c) <= 'i') \
|
|
+ || ('j' <= (c) && (c) <= 'r') \
|
|
+ || ('s' <= (c) && (c) <= 'z'))
|
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
#endif
|
|
|
|
@@ -3066,7 +3169,7 @@ main ()
|
|
int i;
|
|
for (i = 0; i < 256; i++)
|
|
if (XOR (islower (i), ISLOWER (i))
|
|
- || toupper (i) != TOUPPER (i))
|
|
+ || toupper (i) != TOUPPER (i))
|
|
exit(2);
|
|
exit (0);
|
|
}
|
|
@@ -3091,7 +3194,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
( exit $ac_status )
|
|
ac_cv_header_stdc=no
|
|
fi
|
|
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
fi
|
|
fi
|
|
@@ -3116,7 +3219,7 @@ fi
|
|
|
|
|
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
- inttypes.h stdint.h unistd.h
|
|
+ inttypes.h stdint.h unistd.h
|
|
do
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
@@ -3125,7 +3228,6 @@ if eval "test \"\${$as_ac_Header+set}\"
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3137,11 +3239,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -3154,7 +3266,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
eval "$as_ac_Header=no"
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+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
|
|
@@ -3183,7 +3295,6 @@ echo $ECHO_N "checking if the compiler u
|
|
OLDCC="$CC"
|
|
CC="$CC -pipe"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3200,11 +3311,21 @@ main ()
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -3220,7 +3341,7 @@ CC="$OLDCC"
|
|
echo "$as_me:$LINENO: result: no" >&5
|
|
echo "${ECHO_T}no" >&6
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
#--------------------------------------------------------------------
|
|
@@ -3234,7 +3355,6 @@ if test "${ac_cv_c_bigendian+set}" = set
|
|
else
|
|
# See if sys/param.h defines the BYTE_ORDER macro.
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3256,11 +3376,21 @@ main ()
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -3268,7 +3398,6 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(exit $ac_status); }; }; then
|
|
# It does; now see whether it defined to BIG_ENDIAN or not.
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3290,11 +3419,21 @@ main ()
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -3307,7 +3446,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_c_bigendian=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
else
|
|
echo "$as_me: failed program was:" >&5
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
@@ -3317,7 +3456,6 @@ if test "$cross_compiling" = yes; then
|
|
# try to guess the endianness by grepping values into an object file
|
|
ac_cv_c_bigendian=unknown
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3339,11 +3477,21 @@ main ()
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -3365,10 +3513,9 @@ else
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3407,10 +3554,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
( exit $ac_status )
|
|
ac_cv_c_bigendian=yes
|
|
fi
|
|
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
|
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
|
|
@@ -3446,21 +3593,28 @@ if test "${ac_cv_func_sin+set}" = set; t
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
+/* Define sin to an innocuous variant, in case <limits.h> declares sin.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define sin innocuous_sin
|
|
+
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char sin (); below.
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
<limits.h> exists even on freestanding compilers. */
|
|
+
|
|
#ifdef __STDC__
|
|
# include <limits.h>
|
|
#else
|
|
# include <assert.h>
|
|
#endif
|
|
+
|
|
+#undef sin
|
|
+
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
@@ -3491,11 +3645,21 @@ return f != sin;
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -3508,7 +3672,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_func_sin=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5
|
|
echo "${ECHO_T}$ac_cv_func_sin" >&6
|
|
@@ -3526,7 +3691,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-lieee $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3544,11 +3708,21 @@ main ();
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -3561,7 +3735,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_ieee_main=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_main" >&5
|
|
@@ -3584,7 +3759,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-linet $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3602,11 +3776,21 @@ main ();
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -3619,7 +3803,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_inet_main=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_inet_main" >&5
|
|
@@ -3641,7 +3826,6 @@ else
|
|
echo "$as_me:$LINENO: checking net/errno.h usability" >&5
|
|
echo $ECHO_N "checking net/errno.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3652,11 +3836,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -3669,7 +3863,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -3677,7 +3871,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking net/errno.h presence" >&5
|
|
echo $ECHO_N "checking net/errno.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3695,6 +3888,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -3714,33 +3908,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: net/errno.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: net/errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: net/errno.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: net/errno.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: net/errno.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: net/errno.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: net/errno.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: net/errno.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: net/errno.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: net/errno.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: net/errno.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: net/errno.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: net/errno.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: net/errno.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: net/errno.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: net/errno.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: net/errno.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: net/errno.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: net/errno.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: net/errno.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -3791,21 +3984,28 @@ if test "${ac_cv_func_connect+set}" = se
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
+/* Define connect to an innocuous variant, in case <limits.h> declares connect.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define connect innocuous_connect
|
|
+
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char connect (); below.
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
<limits.h> exists even on freestanding compilers. */
|
|
+
|
|
#ifdef __STDC__
|
|
# include <limits.h>
|
|
#else
|
|
# include <assert.h>
|
|
#endif
|
|
+
|
|
+#undef connect
|
|
+
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
@@ -3836,11 +4036,21 @@ return f != connect;
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -3853,7 +4063,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_func_connect=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
|
|
echo "${ECHO_T}$ac_cv_func_connect" >&6
|
|
@@ -3870,21 +4081,28 @@ if test "${ac_cv_func_setsockopt+set}" =
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
+/* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define setsockopt innocuous_setsockopt
|
|
+
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char setsockopt (); below.
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
<limits.h> exists even on freestanding compilers. */
|
|
+
|
|
#ifdef __STDC__
|
|
# include <limits.h>
|
|
#else
|
|
# include <assert.h>
|
|
#endif
|
|
+
|
|
+#undef setsockopt
|
|
+
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
@@ -3915,11 +4133,21 @@ return f != setsockopt;
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -3932,7 +4160,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_func_setsockopt=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
|
|
echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
|
|
@@ -3947,7 +4176,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-lsocket $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3971,11 +4199,21 @@ setsockopt ();
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -3988,7 +4226,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_socket_setsockopt=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
|
|
@@ -4011,21 +4250,28 @@ if test "${ac_cv_func_accept+set}" = set
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
+/* Define accept to an innocuous variant, in case <limits.h> declares accept.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define accept innocuous_accept
|
|
+
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char accept (); below.
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
<limits.h> exists even on freestanding compilers. */
|
|
+
|
|
#ifdef __STDC__
|
|
# include <limits.h>
|
|
#else
|
|
# include <assert.h>
|
|
#endif
|
|
+
|
|
+#undef accept
|
|
+
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
@@ -4056,11 +4302,21 @@ return f != accept;
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -4073,7 +4329,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_func_accept=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
|
|
echo "${ECHO_T}$ac_cv_func_accept" >&6
|
|
@@ -4090,21 +4347,28 @@ if test "${ac_cv_func_gethostbyname+set}
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
+/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define gethostbyname innocuous_gethostbyname
|
|
+
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
which can conflict with char gethostbyname (); below.
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
<limits.h> exists even on freestanding compilers. */
|
|
+
|
|
#ifdef __STDC__
|
|
# include <limits.h>
|
|
#else
|
|
# include <assert.h>
|
|
#endif
|
|
+
|
|
+#undef gethostbyname
|
|
+
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
@@ -4135,11 +4399,21 @@ return f != gethostbyname;
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -4152,7 +4426,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_func_gethostbyname=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
|
|
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
|
|
@@ -4167,7 +4442,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-lnsl $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4191,11 +4465,21 @@ gethostbyname ();
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -4208,7 +4492,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_nsl_gethostbyname=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
|
|
@@ -4231,7 +4516,6 @@ fi
|
|
echo "$as_me:$LINENO: checking dirent.h" >&5
|
|
echo $ECHO_N "checking dirent.h... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4267,11 +4551,21 @@ closedir(d);
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -4284,7 +4578,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
tcl_ok=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
|
if test $tcl_ok = no; then
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@@ -4308,7 +4603,6 @@ else
|
|
echo "$as_me:$LINENO: checking errno.h usability" >&5
|
|
echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4319,11 +4613,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -4336,7 +4640,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -4344,7 +4648,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking errno.h presence" >&5
|
|
echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4362,6 +4665,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -4381,33 +4685,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -4447,7 +4750,6 @@ else
|
|
echo "$as_me:$LINENO: checking float.h usability" >&5
|
|
echo $ECHO_N "checking float.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4458,11 +4760,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -4475,7 +4787,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -4483,7 +4795,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking float.h presence" >&5
|
|
echo $ECHO_N "checking float.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4501,6 +4812,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -4520,33 +4832,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: float.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: float.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: float.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: float.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: float.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: float.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: float.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: float.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: float.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: float.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: float.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: float.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: float.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: float.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: float.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: float.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: float.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: float.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: float.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: float.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -4586,7 +4897,6 @@ else
|
|
echo "$as_me:$LINENO: checking values.h usability" >&5
|
|
echo $ECHO_N "checking values.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4597,11 +4907,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -4614,7 +4934,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -4622,7 +4942,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking values.h presence" >&5
|
|
echo $ECHO_N "checking values.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4640,6 +4959,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -4659,33 +4979,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: values.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: values.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: values.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: values.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: values.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: values.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: values.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: values.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: values.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: values.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: values.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: values.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: values.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: values.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: values.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: values.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: values.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: values.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: values.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: values.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -4725,7 +5044,6 @@ else
|
|
echo "$as_me:$LINENO: checking limits.h usability" >&5
|
|
echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4736,11 +5054,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -4753,7 +5081,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -4761,7 +5089,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking limits.h presence" >&5
|
|
echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4779,6 +5106,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -4798,33 +5126,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: limits.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: limits.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: limits.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: limits.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -4867,7 +5194,6 @@ else
|
|
echo "$as_me:$LINENO: checking stdlib.h usability" >&5
|
|
echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4878,11 +5204,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -4895,7 +5231,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -4903,7 +5239,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking stdlib.h presence" >&5
|
|
echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4921,6 +5256,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -4940,33 +5276,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -4991,7 +5326,6 @@ fi
|
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5009,7 +5343,6 @@ fi
|
|
rm -f conftest*
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5027,7 +5360,6 @@ fi
|
|
rm -f conftest*
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5063,7 +5395,6 @@ else
|
|
echo "$as_me:$LINENO: checking string.h usability" >&5
|
|
echo $ECHO_N "checking string.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5074,11 +5405,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -5091,7 +5432,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -5099,7 +5440,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking string.h presence" >&5
|
|
echo $ECHO_N "checking string.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5117,6 +5457,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -5136,33 +5477,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -5187,7 +5527,6 @@ fi
|
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5205,7 +5544,6 @@ fi
|
|
rm -f conftest*
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5246,7 +5584,6 @@ else
|
|
echo "$as_me:$LINENO: checking sys/wait.h usability" >&5
|
|
echo $ECHO_N "checking sys/wait.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5257,11 +5594,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -5274,7 +5621,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -5282,7 +5629,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking sys/wait.h presence" >&5
|
|
echo $ECHO_N "checking sys/wait.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5300,6 +5646,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -5319,33 +5666,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: sys/wait.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: sys/wait.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: sys/wait.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: sys/wait.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: sys/wait.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: sys/wait.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: sys/wait.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: sys/wait.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: sys/wait.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: sys/wait.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: sys/wait.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: sys/wait.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: sys/wait.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: sys/wait.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: sys/wait.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: sys/wait.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: sys/wait.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: sys/wait.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: sys/wait.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: sys/wait.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -5385,7 +5731,6 @@ else
|
|
echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
|
|
echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5396,11 +5741,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -5413,7 +5768,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -5421,7 +5776,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
|
|
echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5439,6 +5793,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -5458,33 +5813,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -5530,7 +5884,6 @@ else
|
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5541,11 +5894,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -5558,7 +5921,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -5566,7 +5929,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5584,6 +5946,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -5603,33 +5966,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -5640,7 +6002,7 @@ echo $ECHO_N "checking for $ac_header...
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
- eval "$as_ac_Header=$ac_header_preproc"
|
|
+ eval "$as_ac_Header=\$ac_header_preproc"
|
|
fi
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
@@ -5883,7 +6245,7 @@ echo $ECHO_N "checking for Tcl private i
|
|
|
|
TCL_INCLUDES="-I${TCL_GENERIC_DIR_NATIVE} -I${TCL_PLATFORM_DIR_NATIVE}"
|
|
else
|
|
- TCL_TOP_DIR_NATIVE='$(TCL_SRC_DIR)'
|
|
+ TCL_TOP_DIR_NATIVE='$(TCL_HEADER_DIR)'
|
|
TCL_GENERIC_DIR_NATIVE='${TCL_TOP_DIR_NATIVE}/generic'
|
|
TCL_UNIX_DIR_NATIVE='${TCL_TOP_DIR_NATIVE}/unix'
|
|
TCL_WIN_DIR_NATIVE='${TCL_TOP_DIR_NATIVE}/win'
|
|
@@ -6069,7 +6431,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-ldl $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -6093,11 +6454,21 @@ dlopen ();
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -6110,7 +6481,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_dl_dlopen=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
|
|
@@ -6128,6 +6500,7 @@ fi
|
|
# (and we have no CC_SEARCH_FLAGS).
|
|
|
|
do64bit_ok=no
|
|
+ TCL_LIB_SPEC_RPATH=""
|
|
LDFLAGS_ORIG="$LDFLAGS"
|
|
TCL_EXPORT_FILE_SUFFIX=""
|
|
UNSHARED_LIB_SUFFIX=""
|
|
@@ -6444,7 +6817,14 @@ echo "${ECHO_T}Using $CC for compiling w
|
|
# AIX v<=4.1 has some different flags than 4.2+
|
|
if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then
|
|
#LIBOBJS="$LIBOBJS tclLoadAix.o"
|
|
- LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext"
|
|
+ case $LIBOBJS in
|
|
+ "tclLoadAix.$ac_objext" | \
|
|
+ *" tclLoadAix.$ac_objext" | \
|
|
+ "tclLoadAix.$ac_objext "* | \
|
|
+ *" tclLoadAix.$ac_objext "* ) ;;
|
|
+ *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext" ;;
|
|
+esac
|
|
+
|
|
DL_LIBS="-lld"
|
|
fi
|
|
|
|
@@ -6501,7 +6881,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-lbsd $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -6525,11 +6904,21 @@ gettimeofday ();
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -6542,7 +6931,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_bsd_gettimeofday=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
|
|
@@ -6613,7 +7003,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-ldld $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -6637,11 +7026,21 @@ shl_load ();
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -6654,7 +7053,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_dld_shl_load=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
|
|
@@ -6718,7 +7118,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-ldld $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -6742,11 +7141,21 @@ shl_load ();
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -6759,7 +7168,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_dld_shl_load=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
|
|
@@ -6781,6 +7191,21 @@ fi
|
|
fi
|
|
LD_LIBRARY_PATH_VAR="SHLIB_PATH"
|
|
;;
|
|
+ Interix-3.*)
|
|
+ SHLIB_CFLAGS=""
|
|
+ SHLIB_LD='${TCL_CC} -shared'
|
|
+ SHLIB_LD_LIBS=""
|
|
+ SHLIB_SUFFIX=".so"
|
|
+ DL_OBJS="tclLoadDl.o"
|
|
+ DL_LIBS="-ldl"
|
|
+ LDFLAGS="$LDFLAGS -Wl,-E"
|
|
+ CC_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}'
|
|
+ LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}'
|
|
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so',
|
|
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
|
|
+ TCL_LIB_SPEC_RPATH="-Wl,-R${exec_prefix}/lib"
|
|
+ TCL_LIB_VERSIONS_OK=nodots
|
|
+ ;;
|
|
IRIX-4.*)
|
|
SHLIB_CFLAGS="-G 0"
|
|
SHLIB_SUFFIX=".a"
|
|
@@ -6800,6 +7225,9 @@ fi
|
|
DL_OBJS="tclLoadDl.o"
|
|
DL_LIBS=""
|
|
LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
|
|
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
|
|
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
|
|
+ TCL_LIB_VERSIONS_OK=nodots
|
|
;;
|
|
IRIX-6.*|IRIX64-6.5*)
|
|
SHLIB_CFLAGS=""
|
|
@@ -6824,6 +7252,9 @@ fi
|
|
esac
|
|
LDFLAGS="$LDFLAGS -n32"
|
|
fi
|
|
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
|
|
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
|
|
+ TCL_LIB_VERSIONS_OK=nodots
|
|
;;
|
|
IRIX64-6.*)
|
|
SHLIB_CFLAGS=""
|
|
@@ -6847,6 +7278,9 @@ echo "$as_me: WARNING: 64bit mode not su
|
|
LDFLAGS="$LDFLAGS -64"
|
|
fi
|
|
fi
|
|
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
|
|
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
|
|
+ TCL_LIB_VERSIONS_OK=nodots
|
|
;;
|
|
Linux*)
|
|
SHLIB_CFLAGS="-fPIC"
|
|
@@ -6880,7 +7314,6 @@ else
|
|
echo "$as_me:$LINENO: checking dld.h usability" >&5
|
|
echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -6891,11 +7324,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -6908,7 +7351,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -6916,7 +7359,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking dld.h presence" >&5
|
|
echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -6934,6 +7376,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -6953,33 +7396,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -7021,6 +7463,9 @@ fi
|
|
CFLAGS="$CFLAGS -fno-inline"
|
|
fi
|
|
|
|
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
|
|
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
|
|
+ TCL_LIB_VERSIONS_OK=nodots
|
|
;;
|
|
GNU*)
|
|
SHLIB_CFLAGS="-fPIC"
|
|
@@ -7047,7 +7492,6 @@ else
|
|
echo "$as_me:$LINENO: checking dld.h usability" >&5
|
|
echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -7058,11 +7502,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -7075,7 +7529,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -7083,7 +7537,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking dld.h presence" >&5
|
|
echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -7101,6 +7554,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -7120,33 +7574,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: dld.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -7197,6 +7650,9 @@ fi
|
|
LD_SEARCH_FLAGS=""
|
|
;;
|
|
NetBSD-*|FreeBSD-[1-2].*)
|
|
+ if test "X${COMPILER_OPTIMIZATION_BUG}" = "XYES"; then
|
|
+ CFLAGS_OPTIMIZE=-O0
|
|
+ fi
|
|
# Not available on all versions: check for include file.
|
|
if test "${ac_cv_header_dlfcn_h+set}" = set; then
|
|
echo "$as_me:$LINENO: checking for dlfcn.h" >&5
|
|
@@ -7211,7 +7667,6 @@ else
|
|
echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
|
|
echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -7222,11 +7677,21 @@ $ac_includes_default
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -7239,7 +7704,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_header_compiler=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
@@ -7247,7 +7712,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
|
|
echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -7265,6 +7729,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
|
|
(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
|
|
@@ -7284,33 +7749,32 @@ echo "$as_me:$LINENO: result: $ac_header
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
# So? What about this header?
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
- yes:no )
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
+ yes:no: )
|
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
|
|
-echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
|
|
- (
|
|
- cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
-_ASBOX
|
|
- ) |
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
+ { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
|
|
+echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
|
|
+ ac_header_preproc=yes
|
|
;;
|
|
- no:yes )
|
|
+ no:yes:* )
|
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
|
|
echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
|
|
- { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
|
|
-echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
|
|
+echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
|
|
+echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
+echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
{ echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
|
|
echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
|
|
+ { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
|
|
+echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
|
|
(
|
|
cat <<\_ASBOX
|
|
-## ------------------------------------ ##
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
-## ------------------------------------ ##
|
|
+## ------------------------------- ##
|
|
+## Report this to the itcl lists. ##
|
|
+## ------------------------------- ##
|
|
_ASBOX
|
|
) |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -7331,16 +7795,13 @@ if test $ac_cv_header_dlfcn_h = yes; the
|
|
|
|
# NetBSD/SPARC needs -fPIC, -fpic will not do.
|
|
SHLIB_CFLAGS="-fPIC"
|
|
- SHLIB_LD="ld -Bshareable -x"
|
|
SHLIB_LD_LIBS=""
|
|
SHLIB_SUFFIX=".so"
|
|
DL_OBJS="tclLoadDl.o"
|
|
DL_LIBS=""
|
|
- LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
|
|
echo "$as_me:$LINENO: checking for ELF" >&5
|
|
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -7354,13 +7815,21 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
_ACEOF
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
$EGREP "yes" >/dev/null 2>&1; then
|
|
- echo "$as_me:$LINENO: result: yes" >&5
|
|
+
|
|
+ echo "$as_me:$LINENO: result: yes" >&5
|
|
echo "${ECHO_T}yes" >&6
|
|
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
|
|
+ SHLIB_LD='${TCL_CC} -shared -Wl,-x'
|
|
+ LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}'
|
|
+
|
|
else
|
|
- echo "$as_me:$LINENO: result: no" >&5
|
|
+
|
|
+ echo "$as_me:$LINENO: result: no" >&5
|
|
echo "${ECHO_T}no" >&6
|
|
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
|
|
+ SHLIB_LD="ld -Bshareable -x"
|
|
+ LD_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'
|
|
+ TCL_LIB_SPEC_RPATH="-R${exec_prefix}/lib"
|
|
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.0.0'
|
|
|
|
fi
|
|
rm -f conftest*
|
|
@@ -7396,7 +7865,6 @@ fi
|
|
echo "$as_me:$LINENO: checking for ELF" >&5
|
|
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -7687,6 +8155,9 @@ echo "$as_me: WARNING: \"64bit mode only
|
|
SHLIB_LD="/usr/ccs/bin/ld -G -z text"
|
|
LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
|
|
fi
|
|
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
|
|
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
|
|
+ TCL_LIB_VERSIONS_OK=nodots
|
|
;;
|
|
ULTRIX-4.*)
|
|
SHLIB_CFLAGS="-G 0"
|
|
@@ -7715,7 +8186,6 @@ echo "$as_me: WARNING: \"64bit mode only
|
|
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6
|
|
LDFLAGS="$LDFLAGS -Wl,-Bexport"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -7732,11 +8202,21 @@ int i;
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>&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 -s conftest$ac_exeext'
|
|
+ { 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=$?
|
|
@@ -7749,7 +8229,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
LDFLAGS=$hold_ldflags found=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $found" >&5
|
|
echo "${ECHO_T}$found" >&6
|
|
LD_SEARCH_FLAGS=""
|
|
@@ -7784,7 +8265,6 @@ echo "$as_me: WARNING: \"64bit support b
|
|
echo "$as_me:$LINENO: checking sys/exec.h" >&5
|
|
echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -7812,11 +8292,21 @@ main ()
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -7829,7 +8319,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
tcl_ok=unusable
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $tcl_ok" >&5
|
|
echo "${ECHO_T}$tcl_ok" >&6
|
|
if test $tcl_ok = usable; then
|
|
@@ -7841,7 +8331,6 @@ _ACEOF
|
|
echo "$as_me:$LINENO: checking a.out.h" >&5
|
|
echo $ECHO_N "checking a.out.h... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -7869,11 +8358,21 @@ main ()
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -7886,7 +8385,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
tcl_ok=unusable
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $tcl_ok" >&5
|
|
echo "${ECHO_T}$tcl_ok" >&6
|
|
if test $tcl_ok = usable; then
|
|
@@ -7898,7 +8397,6 @@ _ACEOF
|
|
echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
|
|
echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -7926,11 +8424,21 @@ main ()
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -7943,7 +8451,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
tcl_ok=unusable
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
echo "$as_me:$LINENO: result: $tcl_ok" >&5
|
|
echo "${ECHO_T}$tcl_ok" >&6
|
|
if test $tcl_ok = usable; then
|
|
@@ -8050,7 +8558,6 @@ echo $ECHO_N "checking for required earl
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -8067,11 +8574,21 @@ char *p = (char *)strtoll; char *q = (ch
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -8083,7 +8600,6 @@ else
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -8101,11 +8617,21 @@ char *p = (char *)strtoll; char *q = (ch
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -8118,9 +8644,9 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
tcl_cv_flag__isoc99_source=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then
|
|
@@ -8136,7 +8662,6 @@ _ACEOF
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -8153,11 +8678,21 @@ struct stat64 buf; int i = stat64("/", &
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -8169,7 +8704,6 @@ else
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -8187,11 +8721,21 @@ struct stat64 buf; int i = stat64("/", &
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -8204,9 +8748,9 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
tcl_cv_flag__largefile64_source=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then
|
|
@@ -8235,7 +8779,6 @@ else
|
|
tcl_cv_type_64bit=none
|
|
# See if the compiler knows natively about __int64
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -8252,11 +8795,21 @@ __int64 value = (__int64) 0;
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -8269,12 +8822,11 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
tcl_type_64bit="long long"
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
# See if we should use long anyway Note that we substitute in the
|
|
# type that is our current guess for a 64-bit type inside this check
|
|
# program, so it should be modified only carefully...
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -8293,11 +8845,21 @@ switch (0) {
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -8309,7 +8871,7 @@ else
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
if test "${tcl_cv_type_64bit}" = none ; then
|
|
@@ -8340,7 +8902,6 @@ echo $ECHO_N "checking for struct dirent
|
|
else
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -8358,11 +8919,21 @@ struct dirent64 p;
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -8375,7 +8946,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
tcl_cv_struct_dirent64=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
|
|
@@ -8394,7 +8965,6 @@ echo $ECHO_N "checking for struct stat64
|
|
else
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -8412,11 +8982,21 @@ struct stat64 p;
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -8429,7 +9009,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
tcl_cv_struct_stat64=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
if test "x${tcl_cv_struct_stat64}" = "xyes" ; then
|
|
@@ -8448,7 +9028,6 @@ echo $ECHO_N "checking for off64_t... $E
|
|
else
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -8466,11 +9045,21 @@ off64_t offset;
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
- (eval $ac_compile) 2>&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 -s conftest.$ac_objext'
|
|
+ { 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=$?
|
|
@@ -8483,7 +9072,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
tcl_cv_type_off64_t=no
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
fi
|
|
|
|
if test "x${tcl_cv_type_off64_t}" = "xyes" ; then
|
|
@@ -8591,7 +9180,7 @@ fi
|
|
MAKE_STUB_LIB="\${STLIB_LD} -out:\$@ \$(PKG_STUB_OBJECTS)"
|
|
else
|
|
MAKE_STATIC_LIB="\${STLIB_LD} \$@ \$(PKG_OBJECTS)"
|
|
- MAKE_SHARED_LIB="\${SHLIB_LD} -o \$@ \$(PKG_OBJECTS) \${SHLIB_LD_FLAGS} \${SHLIB_LD_LIBS}"
|
|
+ MAKE_SHARED_LIB="\${SHLIB_LD} -o \${@:C/\.so.*/.la/} \${PKG_OBJECTS:.o=.lo} \${SHLIB_LDFLAGS} \${SHLIB_LD_LIBS} -version-info 0:0"
|
|
MAKE_STUB_LIB="\${STLIB_LD} \$@ \$(PKG_STUB_OBJECTS)"
|
|
fi
|
|
|
|
@@ -8780,13 +9369,13 @@ _ACEOF
|
|
# `set' does not quote correctly, so add quotes (double-quote
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
sed -n \
|
|
- "s/'/'\\\\''/g;
|
|
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
+ "s/'/'\\\\''/g;
|
|
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
;;
|
|
*)
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
sed -n \
|
|
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
;;
|
|
esac;
|
|
} |
|
|
@@ -8816,13 +9405,13 @@ test "x$exec_prefix" = xNONE && exec_pre
|
|
# 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[ ]*=/{
|
|
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
s/:*\$(srcdir):*/:/;
|
|
s/:*\${srcdir}:*/:/;
|
|
s/:*@srcdir@:*/:/;
|
|
-s/^\([^=]*=[ ]*\):*/\1/;
|
|
+s/^\([^=]*=[ ]*\):*/\1/;
|
|
s/:*$//;
|
|
-s/^[^=]*=[ ]*$//;
|
|
+s/^[^=]*=[ ]*$//;
|
|
}'
|
|
fi
|
|
|
|
@@ -8836,13 +9425,13 @@ fi
|
|
cat >confdef2opt.sed <<\_ACEOF
|
|
t clear
|
|
: clear
|
|
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
|
+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
|
t quote
|
|
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
|
+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
|
t quote
|
|
d
|
|
: quote
|
|
-s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
|
+s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
|
s,\[,\\&,g
|
|
s,\],\\&,g
|
|
s,\$,$$,g
|
|
@@ -8864,7 +9453,7 @@ ac_ltlibobjs=
|
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
|
# 1. Remove the extension, and $U if already installed.
|
|
ac_i=`echo "$ac_i" |
|
|
- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
|
+ sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
|
# 2. Add them.
|
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
|
@@ -8908,9 +9497,10 @@ if test -n "${ZSH_VERSION+set}" && (emul
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|
set -o posix
|
|
fi
|
|
+DUALCASE=1; export DUALCASE # for MKS sh
|
|
|
|
# Support unset when possible.
|
|
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
|
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
as_unset=unset
|
|
else
|
|
as_unset=false
|
|
@@ -8929,7 +9519,7 @@ for as_var in \
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
LC_TELEPHONE LC_TIME
|
|
do
|
|
- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
+ 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
|
|
@@ -9108,16 +9698,17 @@ rm -f conf$$ conf$$.exe conf$$.file
|
|
if mkdir -p . 2>/dev/null; then
|
|
as_mkdir_p=:
|
|
else
|
|
+ test -d ./-p && rmdir ./-p
|
|
as_mkdir_p=false
|
|
fi
|
|
|
|
as_executable_p="test -f"
|
|
|
|
# Sed expression to map a string onto a valid CPP name.
|
|
-as_tr_cpp="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.
|
|
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
|
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
|
|
# IFS
|
|
@@ -9144,7 +9735,7 @@ _ASBOX
|
|
cat >&5 <<_CSEOF
|
|
|
|
This file was extended by itcl $as_me 3.3, which was
|
|
-generated by GNU Autoconf 2.57. Invocation command line was
|
|
+generated by GNU Autoconf 2.59. Invocation command line was
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
@@ -9188,7 +9779,7 @@ Usage: $0 [OPTIONS] [FILE]...
|
|
-d, --debug don't remove temporary files
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
|
--file=FILE[:TEMPLATE]
|
|
- instantiate the configuration file FILE
|
|
+ instantiate the configuration file FILE
|
|
|
|
Configuration files:
|
|
$config_files
|
|
@@ -9199,11 +9790,10 @@ _ACEOF
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
|
ac_cs_version="\\
|
|
itcl config.status 3.3
|
|
-configured by $0, generated by GNU Autoconf 2.57,
|
|
+configured by $0, generated by GNU Autoconf 2.59,
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
|
|
|
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
|
-Free Software Foundation, Inc.
|
|
+Copyright (C) 2003 Free Software Foundation, Inc.
|
|
This config.status script is free software; the Free Software Foundation
|
|
gives unlimited permission to copy, distribute and modify it."
|
|
srcdir=$srcdir
|
|
@@ -9503,9 +10093,9 @@ _ACEOF
|
|
(echo ':t
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
|
if test -z "$ac_sed_cmds"; then
|
|
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
else
|
|
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
fi
|
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
|
ac_beg=$ac_end
|
|
@@ -9523,21 +10113,21 @@ for ac_file in : $CONFIG_FILES; do test
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
case $ac_file in
|
|
- | *:- | *:-:* ) # input from stdin
|
|
- cat >$tmp/stdin
|
|
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
+ cat >$tmp/stdin
|
|
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
* ) ac_file_in=$ac_file.in ;;
|
|
esac
|
|
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
|
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
- X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
- X"$ac_file" : 'X\(//\)$' \| \
|
|
- X"$ac_file" : 'X\(/\)' \| \
|
|
- . : '\(.\)' 2>/dev/null ||
|
|
+ X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
+ X"$ac_file" : 'X\(//\)$' \| \
|
|
+ X"$ac_file" : 'X\(/\)' \| \
|
|
+ . : '\(.\)' 2>/dev/null ||
|
|
echo X"$ac_file" |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
@@ -9553,10 +10143,10 @@ echo X"$ac_file" |
|
|
as_dirs="$as_dir $as_dirs"
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
- X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
- X"$as_dir" : 'X\(//\)$' \| \
|
|
- X"$as_dir" : 'X\(/\)' \| \
|
|
- . : '\(.\)' 2>/dev/null ||
|
|
+ X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
+ X"$as_dir" : 'X\(//\)$' \| \
|
|
+ X"$as_dir" : 'X\(/\)' \| \
|
|
+ . : '\(.\)' 2>/dev/null ||
|
|
echo X"$as_dir" |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
@@ -9594,12 +10184,45 @@ case $srcdir in
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
esac
|
|
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
|
-# absolute.
|
|
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
|
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
|
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
|
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
|
+
|
|
+# Do not use `cd foo && pwd` to compute absolute paths, because
|
|
+# the directories may not exist.
|
|
+case `pwd` in
|
|
+.) ac_abs_builddir="$ac_dir";;
|
|
+*)
|
|
+ case "$ac_dir" in
|
|
+ .) ac_abs_builddir=`pwd`;;
|
|
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
|
+ *) 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
|
|
|
|
|
|
case $INSTALL in
|
|
@@ -9621,7 +10244,7 @@ echo "$as_me: creating $ac_file" >&6;}
|
|
configure_input="$ac_file. "
|
|
fi
|
|
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
|
- sed 's,.*/,,'` by configure."
|
|
+ sed 's,.*/,,'` by configure."
|
|
|
|
# First look for the input files in the build tree, otherwise in the
|
|
# src tree.
|
|
@@ -9630,24 +10253,24 @@ echo "$as_me: creating $ac_file" >&6;}
|
|
case $f in
|
|
-) echo $tmp/stdin ;;
|
|
[\\/$]*)
|
|
- # Absolute (can't be DOS-style, as IFS=:)
|
|
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
+ # Absolute (can't be DOS-style, as IFS=:)
|
|
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
|
{ (exit 1); exit 1; }; }
|
|
- echo $f;;
|
|
+ echo "$f";;
|
|
*) # Relative
|
|
- if test -f "$f"; then
|
|
- # Build tree
|
|
- echo $f
|
|
- elif test -f "$srcdir/$f"; then
|
|
- # Source tree
|
|
- echo $srcdir/$f
|
|
- else
|
|
- # /dev/null tree
|
|
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
+ if test -f "$f"; then
|
|
+ # Build tree
|
|
+ echo "$f"
|
|
+ elif test -f "$srcdir/$f"; then
|
|
+ # Source tree
|
|
+ echo "$srcdir/$f"
|
|
+ else
|
|
+ # /dev/null tree
|
|
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
|
{ (exit 1); exit 1; }; }
|
|
- fi;;
|
|
+ fi;;
|
|
esac
|
|
done` || { (exit 1); exit 1; }
|
|
_ACEOF
|