92a822c869
gnetman is a program which currently supports advanced SPICE netlisting from gschem (part of the gEDA tool suite). The primary use so far has been for complex IC design. Supported features include multi-level hierarchy, instance arrays, and buses. If you're just doing flat designs for PC boards or smaller SPICE simulations, the usual path is to use the spice-sdb netlister for gnetlist instead. The long term goal of gnetman is far greater. Two projects under consideration include a schematic generator, and a technology mapping back-end for Icarus Verilog. Basically, gnetman is a netlist manipulation database well suited for low-level manipulation of netlists.
1489 lines
53 KiB
Text
1489 lines
53 KiB
Text
$NetBSD: patch-ar,v 1.1.1.1 2004/07/17 23:49:28 dmcmahill Exp $
|
|
|
|
--- configure.orig Tue Apr 27 12:46:13 2004
|
|
+++ 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
|
|
@@ -271,7 +272,7 @@ PACKAGE_STRING=
|
|
PACKAGE_BUGREPORT=
|
|
|
|
ac_unique_file="src/batch/bamain.c"
|
|
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE LEX LEXLIB LEX_OUTPUT_ROOT RANLIB ac_ct_RANLIB YACC LIBOBJS LTLIBOBJS'
|
|
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE LEX LEXLIB LEX_OUTPUT_ROOT RANLIB ac_ct_RANLIB YACC TCL_CONFIG_SH TCL_LDFLAGS TCL_CFLAGS LIBOBJS LTLIBOBJS'
|
|
ac_subst_files=''
|
|
|
|
# Initialize some variables set by options.
|
|
@@ -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; }
|
|
@@ -761,9 +762,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
|
|
@@ -850,12 +851,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.
|
|
@@ -866,7 +900,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
|
|
@@ -880,8 +914,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
|
|
@@ -893,7 +926,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 $@
|
|
|
|
@@ -970,19 +1003,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.
|
|
@@ -1016,12 +1049,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;
|
|
}
|
|
@@ -1050,7 +1083,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
|
|
@@ -1069,7 +1102,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
|
|
@@ -1149,7 +1182,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"
|
|
@@ -1166,13 +1199,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.
|
|
@@ -1257,6 +1290,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
|
|
@@ -1273,6 +1307,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.
|
|
@@ -1280,20 +1315,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
|
|
;;
|
|
@@ -1437,7 +1472,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
|
|
@@ -1945,7 +1980,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
|
|
@@ -1965,8 +1999,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
|
|
@@ -1986,23 +2020,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
|
|
@@ -2076,8 +2110,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
|
|
@@ -2102,7 +2136,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
|
|
@@ -2153,7 +2186,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
|
|
@@ -2173,11 +2205,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=$?
|
|
@@ -2190,7 +2232,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
|
|
@@ -2206,7 +2248,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
|
|
@@ -2223,11 +2264,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=$?
|
|
@@ -2240,7 +2291,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
|
|
@@ -2267,7 +2318,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
|
|
@@ -2295,6 +2345,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);};
|
|
@@ -2321,11 +2381,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=$?
|
|
@@ -2338,7 +2408,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
|
|
@@ -2366,19 +2436,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 ();' \
|
|
@@ -2386,14 +2465,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 ()
|
|
{
|
|
@@ -2404,11 +2482,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=$?
|
|
@@ -2421,9 +2509,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
|
|
@@ -2440,11 +2527,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=$?
|
|
@@ -2456,7 +2553,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
|
|
@@ -2470,7 +2567,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'
|
|
@@ -2672,7 +2769,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-lfl $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2696,11 +2792,21 @@ yywrap ();
|
|
_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=$?
|
|
@@ -2713,7 +2819,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_fl_yywrap=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_fl_yywrap" >&5
|
|
@@ -2729,7 +2836,6 @@ else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
LIBS="-ll $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
-#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2753,11 +2859,21 @@ yywrap ();
|
|
_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=$?
|
|
@@ -2770,7 +2886,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
ac_cv_lib_l_yywrap=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_l_yywrap" >&5
|
|
@@ -2832,11 +2949,21 @@ cat >conftest.$ac_ext <<_ACEOF
|
|
_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=$?
|
|
@@ -2848,7 +2975,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
|
|
LIBS=$ac_save_LIBS
|
|
rm -f "${LEX_OUTPUT_ROOT}.c"
|
|
|
|
@@ -2878,6 +3006,7 @@ fi
|
|
# 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
|
|
@@ -2894,6 +3023,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.
|
|
@@ -2901,20 +3031,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
|
|
;;
|
|
@@ -3066,6 +3196,63 @@ done
|
|
test -n "$YACC" || YACC="yacc"
|
|
|
|
|
|
+# Extract the first word of "tclConfig.sh", so it can be a program name with args.
|
|
+set dummy tclConfig.sh; ac_word=$2
|
|
+echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
+if test "${ac_cv_path_TCL_CONFIG_SH+set}" = set; then
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
+else
|
|
+ case $TCL_CONFIG_SH in
|
|
+ [\\/]* | ?:[\\/]*)
|
|
+ ac_cv_path_TCL_CONFIG_SH="$TCL_CONFIG_SH" # Let the user override the test with a path.
|
|
+ ;;
|
|
+ *)
|
|
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in /usr/lib /usr/local/lib /usr/pkg/lib /opt/tcl/lib
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
+ ac_cv_path_TCL_CONFIG_SH="$as_dir/$ac_word$ac_exec_ext"
|
|
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+
|
|
+ test -z "$ac_cv_path_TCL_CONFIG_SH" && ac_cv_path_TCL_CONFIG_SH="{ { echo "$as_me:$LINENO: error: You must have tcl installed" >&5
|
|
+echo "$as_me: error: You must have tcl installed" >&2;}
|
|
+ { (exit 1); exit 1; }; }"
|
|
+ ;;
|
|
+esac
|
|
+fi
|
|
+TCL_CONFIG_SH=$ac_cv_path_TCL_CONFIG_SH
|
|
+
|
|
+if test -n "$TCL_CONFIG_SH"; then
|
|
+ echo "$as_me:$LINENO: result: $TCL_CONFIG_SH" >&5
|
|
+echo "${ECHO_T}$TCL_CONFIG_SH" >&6
|
|
+else
|
|
+ echo "$as_me:$LINENO: result: no" >&5
|
|
+echo "${ECHO_T}no" >&6
|
|
+fi
|
|
+
|
|
+echo "$as_me:$LINENO: checking for tcl libraries" >&5
|
|
+echo $ECHO_N "checking for tcl libraries... $ECHO_C" >&6
|
|
+. $TCL_CONFIG_SH
|
|
+TCL_LDFLAGS="$TCL_LIB_SPEC $TCL_LIBS"
|
|
+echo "$as_me:$LINENO: result: $TCL_LDFLAGS" >&5
|
|
+echo "${ECHO_T}$TCL_LDFLAGS" >&6
|
|
+
|
|
+
|
|
+echo "$as_me:$LINENO: checking for tcl include flags" >&5
|
|
+echo $ECHO_N "checking for tcl include flags... $ECHO_C" >&6
|
|
+TCL_CFLAGS="$TCL_INCLUDE_SPEC"
|
|
+
|
|
+echo "$as_me:$LINENO: result: $TCL_CFLAGS" >&5
|
|
+echo "${ECHO_T}$TCL_CFLAGS" >&6
|
|
+
|
|
|
|
|
|
ac_config_files="$ac_config_files Makefile sch/Makefile src/Makefile src/batch/Makefile src/cir/Makefile src/database/Makefile src/tcl/Makefile src/include/Makefile src/sch/Makefile src/util/Makefile src/lib/Makefile sym/Makefile test/Makefile doc/Makefile"
|
|
@@ -3097,13 +3284,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;
|
|
} |
|
|
@@ -3133,13 +3320,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
|
|
|
|
@@ -3150,7 +3337,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'
|
|
@@ -3201,9 +3388,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
|
|
@@ -3222,7 +3410,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
|
|
@@ -3401,16 +3589,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
|
|
@@ -3437,7 +3626,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
|
|
@@ -3481,9 +3670,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
|
|
@@ -3500,11 +3689,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
|
|
@@ -3748,6 +3936,9 @@ s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t
|
|
s,@RANLIB@,$RANLIB,;t t
|
|
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
|
s,@YACC@,$YACC,;t t
|
|
+s,@TCL_CONFIG_SH@,$TCL_CONFIG_SH,;t t
|
|
+s,@TCL_LDFLAGS@,$TCL_LDFLAGS,;t t
|
|
+s,@TCL_CFLAGS@,$TCL_CFLAGS,;t t
|
|
s,@LIBOBJS@,$LIBOBJS,;t t
|
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
|
CEOF
|
|
@@ -3779,9 +3970,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
|
|
@@ -3799,21 +3990,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; }
|
|
@@ -3829,10 +4020,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; }
|
|
@@ -3870,12 +4061,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
|
|
@@ -3897,7 +4121,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.
|
|
@@ -3906,24 +4130,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
|
|
@@ -3965,12 +4189,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'
|
|
@@ -3979,11 +4203,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
|
|
|
|
@@ -3997,28 +4221,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
|
|
|
|
@@ -4041,9 +4266,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
|
|
@@ -4057,13 +4282,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
|
|
@@ -4072,7 +4297,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
|
|
@@ -4099,7 +4324,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
|
|
@@ -4133,10 +4358,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; }
|
|
@@ -4152,10 +4377,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; }
|
|
@@ -4193,16 +4418,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
|
|
@@ -4228,12 +4478,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
|
|
@@ -4251,10 +4534,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; }
|
|
@@ -4290,10 +4573,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; }
|
|
@@ -4309,10 +4592,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; }
|