310c94b1f2
Mbrowse is an SNMP MIB browser based on GTK and net-snmp. SNMP v1 and v2c are supported. Pkgsrc changes: - The 'pre-configure' target avoids an irritating warning message during the configure stage. - patch-aa works around an "identifier undeclared" error. patch-ab updates the configure script accordingly.
2257 lines
75 KiB
Text
2257 lines
75 KiB
Text
$NetBSD: patch-ab,v 1.1.1.1 2006/02/14 21:47:48 heinz Exp $
|
|
|
|
--- configure.orig Wed Mar 12 17:37:41 2003
|
|
+++ configure
|
|
@@ -1,9 +1,8 @@
|
|
#! /bin/sh
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
-# 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.
|
|
## --------------------- ##
|
|
@@ -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
|
|
@@ -630,7 +631,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
|
|
@@ -670,10 +671,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; }
|
|
@@ -765,9 +766,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
|
|
@@ -868,12 +869,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.
|
|
@@ -884,7 +918,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
|
|
@@ -898,8 +932,7 @@ test -n "$ac_init_help" && exit 0
|
|
if $ac_init_version; then
|
|
cat <<\_ACEOF
|
|
|
|
-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
|
|
@@ -911,7 +944,7 @@ This file contains any messages produced
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
It was created by $as_me, which was
|
|
-generated by GNU Autoconf 2.57. Invocation command line was
|
|
+generated by GNU Autoconf 2.59. Invocation command line was
|
|
|
|
$ $0 $@
|
|
|
|
@@ -988,19 +1021,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.
|
|
@@ -1034,12 +1067,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;
|
|
}
|
|
@@ -1068,7 +1101,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
|
|
@@ -1087,7 +1120,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
|
|
@@ -1167,7 +1200,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"
|
|
@@ -1184,13 +1217,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.
|
|
@@ -1275,6 +1308,7 @@ ac_configure="$SHELL $ac_aux_dir/configu
|
|
# 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
|
|
@@ -1291,6 +1325,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.
|
|
@@ -1298,20 +1333,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
|
|
;;
|
|
@@ -1455,7 +1490,7 @@ done
|
|
|
|
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
|
|
@@ -2040,7 +2075,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
|
|
@@ -2060,8 +2094,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
|
|
@@ -2081,23 +2115,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
|
|
@@ -2171,8 +2205,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
|
|
@@ -2197,7 +2231,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
|
|
@@ -2248,7 +2281,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
|
|
@@ -2268,11 +2300,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=$?
|
|
@@ -2285,7 +2327,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
|
|
@@ -2301,7 +2343,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
|
|
@@ -2318,11 +2359,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=$?
|
|
@@ -2335,7 +2386,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
|
|
@@ -2362,7 +2413,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
|
|
@@ -2390,6 +2440,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);};
|
|
@@ -2416,11 +2476,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=$?
|
|
@@ -2433,7 +2503,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
|
|
@@ -2461,19 +2531,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 ();' \
|
|
@@ -2481,14 +2560,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 ()
|
|
{
|
|
@@ -2499,11 +2577,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=$?
|
|
@@ -2516,9 +2604,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
|
|
@@ -2535,11 +2622,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=$?
|
|
@@ -2551,7 +2648,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
|
|
@@ -2565,7 +2662,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'
|
|
@@ -2662,7 +2759,6 @@ else
|
|
ac_func_search_save_LIBS=$LIBS
|
|
ac_cv_search_strerror=no
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2686,11 +2782,21 @@ strerror ();
|
|
_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=$?
|
|
@@ -2702,12 +2808,12 @@ else
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
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 "$ac_cv_search_strerror" = no; then
|
|
for ac_lib in cposix; do
|
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2731,11 +2837,21 @@ strerror ();
|
|
_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=$?
|
|
@@ -2748,7 +2864,8 @@ else
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
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
|
|
done
|
|
fi
|
|
LIBS=$ac_func_search_save_LIBS
|
|
@@ -3101,7 +3218,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
|
|
@@ -3121,11 +3237,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=$?
|
|
@@ -3138,7 +3264,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
|
|
@@ -3154,7 +3280,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
|
|
@@ -3171,11 +3296,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=$?
|
|
@@ -3188,7 +3323,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
|
|
@@ -3215,7 +3350,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
|
|
@@ -3243,6 +3377,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);};
|
|
@@ -3269,11 +3413,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=$?
|
|
@@ -3286,7 +3440,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
|
|
@@ -3314,19 +3468,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 ();' \
|
|
@@ -3334,14 +3497,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 ()
|
|
{
|
|
@@ -3352,11 +3514,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=$?
|
|
@@ -3369,9 +3541,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
|
|
@@ -3388,11 +3559,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=$?
|
|
@@ -3404,7 +3585,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
|
|
@@ -3418,7 +3599,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'
|
|
@@ -3527,7 +3708,6 @@ for ac_arg in "" -qlanglvl=ansi -std1 -A
|
|
do
|
|
CC="$ac_save_CC $ac_arg"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3574,11 +3754,21 @@ return f (e, argv, 0) != argv[0] || f
|
|
_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=$?
|
|
@@ -3590,7 +3780,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
|
|
CC="$ac_save_CC"
|
|
|
|
@@ -3636,7 +3826,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
|
|
@@ -3647,7 +3836,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
|
|
@@ -3659,6 +3848,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
|
|
@@ -3679,7 +3869,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
|
|
@@ -3697,6 +3886,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
|
|
@@ -3743,7 +3933,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
|
|
@@ -3754,7 +3943,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
|
|
@@ -3766,6 +3955,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
|
|
@@ -3786,7 +3976,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
|
|
@@ -3804,6 +3993,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
|
|
@@ -3864,7 +4054,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
|
|
@@ -3885,11 +4074,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=$?
|
|
@@ -3902,12 +4101,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
|
|
@@ -3929,7 +4127,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
|
|
@@ -3954,7 +4151,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
|
|
@@ -3966,9 +4162,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
|
|
|
|
@@ -3979,7 +4175,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);
|
|
}
|
|
@@ -4004,7 +4200,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
|
|
@@ -4182,7 +4378,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
|
|
@@ -4206,11 +4401,21 @@ getservbyname ();
|
|
_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=$?
|
|
@@ -4223,7 +4428,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_socket_getservbyname=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_getservbyname" >&5
|
|
@@ -4243,21 +4449,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"
|
|
@@ -4288,11 +4501,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=$?
|
|
@@ -4305,7 +4528,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
|
|
@@ -4321,7 +4545,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
|
|
@@ -4345,11 +4568,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=$?
|
|
@@ -4362,7 +4595,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
|
|
@@ -4387,7 +4621,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
|
|
@@ -4411,11 +4644,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=$?
|
|
@@ -4428,7 +4671,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
|
|
@@ -4451,7 +4695,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-lcrypto $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4475,11 +4718,21 @@ EVP_md5 ();
|
|
_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=$?
|
|
@@ -4492,7 +4745,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_crypto_EVP_md5=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_crypto_EVP_md5" >&5
|
|
@@ -4515,7 +4769,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-lkstat $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4539,11 +4792,21 @@ kstat_lookup ();
|
|
_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=$?
|
|
@@ -4556,7 +4819,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_kstat_kstat_lookup=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_kstat_kstat_lookup" >&5
|
|
@@ -4589,7 +4853,6 @@ echo $ECHO_N "checking for $guess_type-s
|
|
|
|
if test "x4.2" = "x" ; then
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4624,11 +4887,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=$?
|
|
@@ -4648,7 +4921,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
$snmp_fail="yes"
|
|
|
|
fi
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
else
|
|
snmp_min_version=4.2
|
|
if test "$cross_compiling" = yes; then
|
|
@@ -4659,7 +4932,6 @@ See \`config.log' for more details." >&2
|
|
{ (exit 1); exit 1; }; }
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4699,7 +4971,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
}
|
|
|
|
#ifdef HAVE_NETSNMP
|
|
- version2 = strdup( NetSnmpVersionInfo );
|
|
+ version2 = strdup( netsnmp_get_version() );
|
|
#else
|
|
version2 = strdup( VersionInfo);
|
|
#endif
|
|
@@ -4762,7 +5034,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
snmp_fail="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
|
|
|
|
@@ -4801,7 +5073,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-lsnmp $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -4825,11 +5096,21 @@ bprintf ();
|
|
_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=$?
|
|
@@ -4842,7 +5123,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_snmp_bprintf=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_snmp_bprintf" >&5
|
|
@@ -4966,7 +5248,6 @@ echo $ECHO_N "checking for GTK - version
|
|
echo $ac_n "cross compiling; assumed OK... $ac_c"
|
|
else
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5068,7 +5349,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
( exit $ac_status )
|
|
no_gtk=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
|
|
CFLAGS="$ac_save_CFLAGS"
|
|
LIBS="$ac_save_LIBS"
|
|
@@ -5094,7 +5375,6 @@ echo "${ECHO_T}no" >&6
|
|
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
|
LIBS="$LIBS $GTK_LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -5114,11 +5394,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=$?
|
|
@@ -5147,7 +5437,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
|
echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
|
|
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
|
|
CFLAGS="$ac_save_CFLAGS"
|
|
LIBS="$ac_save_LIBS"
|
|
fi
|
|
@@ -5224,13 +5515,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;
|
|
} |
|
|
@@ -5260,13 +5551,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
|
|
|
|
@@ -5277,7 +5568,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'
|
|
@@ -5342,9 +5633,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
|
|
@@ -5363,7 +5655,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
|
|
@@ -5542,16 +5834,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
|
|
@@ -5578,7 +5871,7 @@ _ASBOX
|
|
cat >&5 <<_CSEOF
|
|
|
|
This file was extended by $as_me, 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
|
|
@@ -5622,9 +5915,9 @@ 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
|
|
--header=FILE[:TEMPLATE]
|
|
- instantiate the configuration header FILE
|
|
+ instantiate the configuration header FILE
|
|
|
|
Configuration files:
|
|
$config_files
|
|
@@ -5641,11 +5934,10 @@ _ACEOF
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
|
ac_cs_version="\\
|
|
config.status
|
|
-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
|
|
@@ -5912,9 +6204,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
|
|
@@ -5932,21 +6224,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; }
|
|
@@ -5962,10 +6254,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; }
|
|
@@ -6003,12 +6295,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
|
|
@@ -6030,7 +6355,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.
|
|
@@ -6039,24 +6364,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
|
|
@@ -6098,12 +6423,12 @@ cat >>$CONFIG_STATUS <<\_ACEOF
|
|
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
|
#
|
|
# ac_d sets the value in "#define NAME VALUE" lines.
|
|
-ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
|
-ac_dB='[ ].*$,\1#\2'
|
|
+ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
|
+ac_dB='[ ].*$,\1#\2'
|
|
ac_dC=' '
|
|
ac_dD=',;t'
|
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
|
-ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
|
+ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
|
ac_uB='$,\1#\2define\3'
|
|
ac_uC=' '
|
|
ac_uD=',;t'
|
|
@@ -6112,11 +6437,11 @@ for ac_file in : $CONFIG_HEADERS; do tes
|
|
# 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
|
|
|
|
@@ -6130,28 +6455,29 @@ 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;;
|
|
+ # Do quote $f, to prevent DOS paths from being IFS'd.
|
|
+ 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; }
|
|
# Remove the trailing spaces.
|
|
- sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
|
+ sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
|
|
|
_ACEOF
|
|
|
|
@@ -6174,9 +6500,9 @@ s/[\\&,]/\\&/g
|
|
s,[\\$`],\\&,g
|
|
t clear
|
|
: clear
|
|
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
|
+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
|
t end
|
|
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
|
+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
|
: end
|
|
_ACEOF
|
|
# If some macros were called several times there might be several times
|
|
@@ -6190,13 +6516,13 @@ rm -f confdef2sed.sed
|
|
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
|
# on some systems where configure will not decide to define it.
|
|
cat >>conftest.undefs <<\_ACEOF
|
|
-s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
|
+s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
|
_ACEOF
|
|
|
|
# Break up conftest.defines because some shells have a limit on the size
|
|
# of here documents, and old seds have small limits too (100 cmds).
|
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
|
-echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
|
+echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
|
echo ' :' >>$CONFIG_STATUS
|
|
rm -f conftest.tail
|
|
@@ -6205,7 +6531,7 @@ do
|
|
# Write a limited-size here document to $tmp/defines.sed.
|
|
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
|
# Speed up: don't consider the non `#define' lines.
|
|
- echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
|
+ echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
|
# Work around the forget-to-reset-the-flag bug.
|
|
echo 't clr' >>$CONFIG_STATUS
|
|
echo ': clr' >>$CONFIG_STATUS
|
|
@@ -6232,7 +6558,7 @@ do
|
|
# Write a limited-size here document to $tmp/undefs.sed.
|
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
|
# Speed up: don't consider the non `#undef'
|
|
- echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
|
+ echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
|
# Work around the forget-to-reset-the-flag bug.
|
|
echo 't clr' >>$CONFIG_STATUS
|
|
echo ': clr' >>$CONFIG_STATUS
|
|
@@ -6266,10 +6592,10 @@ echo "$as_me: $ac_file is unchanged" >&6
|
|
else
|
|
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; }
|
|
@@ -6285,10 +6611,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; }
|
|
@@ -6311,10 +6637,10 @@ echo "$as_me: error: cannot create direc
|
|
_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
|
|
echo "timestamp for $ac_file" >`(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; }
|
|
@@ -6333,16 +6659,41 @@ for ac_file in : $CONFIG_COMMANDS; do te
|
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
- X"$ac_dest" : 'X\(//\)[^/]' \| \
|
|
- X"$ac_dest" : 'X\(//\)$' \| \
|
|
- X"$ac_dest" : 'X\(/\)' \| \
|
|
- . : '\(.\)' 2>/dev/null ||
|
|
+ X"$ac_dest" : 'X\(//\)[^/]' \| \
|
|
+ X"$ac_dest" : 'X\(//\)$' \| \
|
|
+ X"$ac_dest" : 'X\(/\)' \| \
|
|
+ . : '\(.\)' 2>/dev/null ||
|
|
echo X"$ac_dest" |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
|
s/.*/./; q'`
|
|
+ { if $as_mkdir_p; then
|
|
+ mkdir -p "$ac_dir"
|
|
+ else
|
|
+ as_dir="$ac_dir"
|
|
+ as_dirs=
|
|
+ while test ! -d "$as_dir"; do
|
|
+ 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 ||
|
|
+echo X"$as_dir" |
|
|
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
+ /^X\(\/\/\)$/{ s//\1/; q; }
|
|
+ /^X\(\/\).*/{ s//\1/; q; }
|
|
+ s/.*/./; q'`
|
|
+ done
|
|
+ test ! -n "$as_dirs" || mkdir $as_dirs
|
|
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
|
+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
|
+ { (exit 1); exit 1; }; }; }
|
|
+
|
|
ac_builddir=.
|
|
|
|
if test "$ac_dir" != .; then
|
|
@@ -6368,12 +6719,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
|
|
|
|
|
|
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
|
@@ -6391,10 +6775,10 @@ echo "$as_me: executing $ac_dest command
|
|
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
|
dirpart=`(dirname "$mf") 2>/dev/null ||
|
|
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
- X"$mf" : 'X\(//\)[^/]' \| \
|
|
- X"$mf" : 'X\(//\)$' \| \
|
|
- X"$mf" : 'X\(/\)' \| \
|
|
- . : '\(.\)' 2>/dev/null ||
|
|
+ X"$mf" : 'X\(//\)[^/]' \| \
|
|
+ X"$mf" : 'X\(//\)$' \| \
|
|
+ X"$mf" : 'X\(/\)' \| \
|
|
+ . : '\(.\)' 2>/dev/null ||
|
|
echo X"$mf" |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
@@ -6430,10 +6814,10 @@ echo X"$mf" |
|
|
test -f "$dirpart/$file" && continue
|
|
fdir=`(dirname "$file") 2>/dev/null ||
|
|
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
- X"$file" : 'X\(//\)[^/]' \| \
|
|
- X"$file" : 'X\(//\)$' \| \
|
|
- X"$file" : 'X\(/\)' \| \
|
|
- . : '\(.\)' 2>/dev/null ||
|
|
+ X"$file" : 'X\(//\)[^/]' \| \
|
|
+ X"$file" : 'X\(//\)$' \| \
|
|
+ X"$file" : 'X\(/\)' \| \
|
|
+ . : '\(.\)' 2>/dev/null ||
|
|
echo X"$file" |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
@@ -6449,10 +6833,10 @@ echo X"$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; }
|