"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
tin-2.4.4.tar.xz and tin-2.4.5.tar.xz

About: TIN is a threaded NNTP and spool based UseNet newsreader.

configure  (tin-2.4.4.tar.xz):configure  (tin-2.4.5.tar.xz)
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by Autoconf 2.52.20181006. # Generated by Autoconf 2.52.20200802.
# #
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc. # Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation # This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it. # gives unlimited permission to copy, distribute and modify it.
# Avoid depending upon Character Ranges. # Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_Letters=$as_cr_letters$as_cr_LETTERS
skipping to change at line 719 skipping to change at line 719
--with-build-cppflags=XXX the build C preprocessor-flags ($BUILD_CPPFLAGS) --with-build-cppflags=XXX the build C preprocessor-flags ($BUILD_CPPFLAGS)
--with-build-ldflags=XXX the build linker-flags ($BUILD_LDFLAGS) --with-build-ldflags=XXX the build linker-flags ($BUILD_LDFLAGS)
--with-build-libs=XXX the build libraries (${BUILD_LIBS}) --with-build-libs=XXX the build libraries (${BUILD_LIBS})
--disable-heapsort disable heapsort() as alternative to qsort --disable-heapsort disable heapsort() as alternative to qsort
--with-ispell (default: from system path) --with-ispell (default: from system path)
--with-metamail (default: from system path) --with-metamail (default: from system path)
--with-sum (default: from system path) --with-sum (default: from system path)
--with-editor=PROG specify editor (default: vi) --with-editor=PROG specify editor (default: vi)
--with-mailer=PROG specify default mailer-program (default: mailx) --with-mailer=PROG specify default mailer-program (default: mailx)
--with-mailbox=DIR directory for incoming mailboxes (default: empty) --with-mailbox=DIR directory for incoming mailboxes (default: empty)
--with-pkg-config{=path} enable/disable use of pkg-config
--disable-pgp-gpg disable PGP/GPG Support --disable-pgp-gpg disable PGP/GPG Support
--with-pgp (default: from system path) --with-pgp (default: from system path)
--with-pgpk (default: from system path) --with-pgpk (default: from system path)
--with-gpg (default: from system path) --with-gpg (default: from system path)
--with-slrnface (default: from system path) --with-slrnface (default: from system path)
--with-shell=PROG default $SHELL program (default: sh) --with-shell=PROG default $SHELL program (default: sh)
--disable-nntp disable reading via NNTP --disable-nntp disable reading via NNTP
--enable-nntp-only enable reading via NNTP only --enable-nntp-only enable reading via NNTP only
--enable-debug turn on debug support --enable-debug turn on debug support
--disable-echo do not display "compiling" commands --disable-echo do not display "compiling" commands
--enable-prototypes check for optional prototypes --enable-prototypes check for optional prototypes
--enable-warnings turn on GCC compiler warnings --enable-warnings turn on GCC compiler warnings
--with-x use the X Window System
--with-libdir=PATH news-library (default: /usr/lib/news) --with-libdir=PATH news-library (default: /usr/lib/news)
--with-spooldir=PATH news spool-directory (default: /var/spool/news) --with-spooldir=PATH news spool-directory (default: /var/spool/news)
--with-nov-dir=PATH news overview-directory (default: $SPOOLDIR) --with-nov-dir=PATH news overview-directory (default: $SPOOLDIR)
--with-nov-fname specify names of overview files (default: .overview) --with-nov-fname specify names of overview files (default: .overview)
--with-inews-dir=PATH directory containing "inews" (default: $INEWSPATH) --with-inews-dir=PATH directory containing "inews" (default: $INEWSPATH)
--with-socks=path link with socks library if available --with-socks=path link with socks library if available
--with-socks5=path link with socks5 library if available --with-socks5=path link with socks5 library if available
--disable-fcntl disable fcntl() locking --disable-fcntl disable fcntl() locking
--enable-lockf enable lockf() locking --enable-lockf enable lockf() locking
--enable-flock enable flock() locking --enable-flock enable flock() locking
--with-screen=xxx specify screen type, which must be one of: --with-screen=xxx specify screen type, which must be one of:
termcap, terminfo, curses, ncurses, ncursesw, or termcap, terminfo, curses, ncurses, ncursesw, or
pdcurses (replaces options --enable-curses and pdcurses (replaces options --enable-curses and
--with-ncurses) --with-ncurses)
--with-curses-dir=DIR directory in which (n)curses is installed --with-curses-dir=DIR directory in which (n)curses is installed
--with-ncurses link with ncurses if available (deprecated) --with-ncurses link with ncurses if available (deprecated)
--enable-curses use curses interface (deprecated) --enable-curses use curses interface (deprecated)
--with-pkg-config{=path} enable/disable use of pkg-config
--with-pcre=PATH use installed pcre versus bundled --with-pcre=PATH use installed pcre versus bundled
--with-dbmalloc test: use Conor Cahill's dbmalloc library --with-dbmalloc test: use Conor Cahill's dbmalloc library
--with-dmalloc test: use Gray Watson's dmalloc library --with-dmalloc test: use Gray Watson's dmalloc library
--with-trace use debugging/traces for screen output --with-trace use debugging/traces for screen output
--with-domain-name sets $DOMAIN_NAME (default: empty) --with-domain-name sets $DOMAIN_NAME (default: empty)
--with-nntp-default-server --with-nntp-default-server
(sets NNTP_DEFAULT_SERVER) (sets NNTP_DEFAULT_SERVER)
(default: news.$DOMAIN_NAME) (default: news.$DOMAIN_NAME)
--enable-mh-mail-handling --enable-mh-mail-handling
use MH style mail handling for mailgroups use MH style mail handling for mailgroups
--enable-cancel-locks enable creation of Cancel-Locks --enable-cancel-locks enable creation of Cancel-Locks
--with-cancel-locks=PATH use installed canlock versus bundled
--disable-gsasl don't use GNU SASL --disable-gsasl don't use GNU SASL
--disable-8bit-keys disable 8-bit keycode support --disable-8bit-keys disable 8-bit keycode support
--disable-color disable ANSI-color support --disable-color disable ANSI-color support
--disable-etiquette disable printing of posting-etiquette --disable-etiquette disable printing of posting-etiquette
--disable-break-long-lines --disable-break-long-lines
don't break long mime-encoded lines don't break long mime-encoded lines
--disable-mime-strict-charset --disable-mime-strict-charset
force MM_CHARSET obeyance force MM_CHARSET obeyance
--with-mime-default-charset=CHARSET --with-mime-default-charset=CHARSET
fallback for $MM_CHARSET (default: US-ASCII) fallback for $MM_CHARSET (default: US-ASCII)
skipping to change at line 802 skipping to change at line 804
--with-libiconv-prefix=DIR --with-libiconv-prefix=DIR
search for libiconv in DIR/include and DIR/lib search for libiconv in DIR/include and DIR/lib
--disable-nls do not use Native Language Support --disable-nls do not use Native Language Support
--with-included-gettext use the GNU gettext library included here --with-included-gettext use the GNU gettext library included here
--with-textdomain=PKG NLS text-domain (default is package name) --with-textdomain=PKG NLS text-domain (default is package name)
--disable-included-msgs use included messages, for i18n support --disable-included-msgs use included messages, for i18n support
--with-Xaw3d link with Xaw 3d library --with-Xaw3d link with Xaw 3d library
--with-Xaw3dxft link with Xaw 3d xft library --with-Xaw3dxft link with Xaw 3d xft library
--with-neXtaw link with neXT Athena library --with-neXtaw link with neXT Athena library
--with-XawPlus link with Athena-Plus library --with-XawPlus link with Athena-Plus library
--with-x use the X Window System
Some influential environment variables: Some influential environment variables:
CC C compiler command CC C compiler command
CFLAGS C compiler flags CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir> nonstandard directory <lib dir>
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
headers in a nonstandard directory <include dir> headers in a nonstandard directory <include dir>
CPP C preprocessor CPP C preprocessor
skipping to change at line 872 skipping to change at line 873
gives unlimited permission to copy, distribute and modify it. gives unlimited permission to copy, distribute and modify it.
EOF EOF
exit 0 exit 0
fi fi
exec 5>config.log exec 5>config.log
cat >&5 <<EOF cat >&5 <<EOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by $as_me, which was It was created by $as_me, which was
generated by GNU Autoconf 2.52.20181006. Invocation command line was generated by GNU Autoconf 2.52.20200802. Invocation command line was
$ $0 $@ $ $0 $@
EOF EOF
{ {
cat <<_ASUNAME cat <<_ASUNAME
## ---------- ## ## ---------- ##
## Platform. ## ## Platform. ##
## ---------- ## ## ---------- ##
skipping to change at line 996 skipping to change at line 997
# Prefer explicitly selected file to automatically selected ones. # Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then if test -z "$CONFIG_SITE"; then
if test "x$prefix" != xNONE; then if test "x$prefix" != xNONE; then
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
else else
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/con fig.site" CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/con fig.site"
fi fi
fi fi
for ac_site_file in $CONFIG_SITE; do for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then if test -r "$ac_site_file"; then
{ echo "$as_me:996: loading site script $ac_site_file" >&5 { echo "$as_me:997: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;} echo "$as_me: loading site script $ac_site_file" >&6;}
cat "$ac_site_file" >&5 cat "$ac_site_file" >&5
. "$ac_site_file" . "$ac_site_file"
fi fi
done done
if test -r "$cache_file"; then if test -r "$cache_file"; then
# Some versions of bash will fail to source /dev/null (special # Some versions of bash will fail to source /dev/null (special
# files actually), so we avoid doing that. # files actually), so we avoid doing that.
if test -f "$cache_file"; then if test -f "$cache_file"; then
{ echo "$as_me:1007: loading cache $cache_file" >&5 { echo "$as_me:1008: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;} echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in case $cache_file in
[\\/]* | ?:[\\/]* ) . $cache_file;; [\\/]* | ?:[\\/]* ) . $cache_file;;
*) . ./$cache_file;; *) . ./$cache_file;;
esac esac
fi fi
else else
{ echo "$as_me:1015: creating cache $cache_file" >&5 { echo "$as_me:1016: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;} echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file >$cache_file
fi fi
# Check that the precious variables saved in the cache have kept the same # Check that the precious variables saved in the cache have kept the same
# value. # value.
ac_cache_corrupted=false ac_cache_corrupted=false
for ac_var in `(set) 2>&1 | for ac_var in `(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_old_set=\$ac_cv_env_${ac_var}_set
eval ac_new_set=\$ac_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set
eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_old_val="\$ac_cv_env_${ac_var}_value"
eval ac_new_val="\$ac_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value"
case $ac_old_set,$ac_new_set in case $ac_old_set,$ac_new_set in
set,) set,)
{ echo "$as_me:1031: error: \`$ac_var' was set to \`$ac_old_val' in the pr evious run" >&5 { echo "$as_me:1032: error: \`$ac_var' was set to \`$ac_old_val' in the pr evious run" >&5
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" > &2;} echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" > &2;}
ac_cache_corrupted=: ;; ac_cache_corrupted=: ;;
,set) ,set)
{ echo "$as_me:1035: error: \`$ac_var' was not set in the previous run" >& 5 { echo "$as_me:1036: error: \`$ac_var' was not set in the previous run" >& 5
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
ac_cache_corrupted=: ;; ac_cache_corrupted=: ;;
,);; ,);;
*) *)
if test "x$ac_old_val" != "x$ac_new_val"; then if test "x$ac_old_val" != "x$ac_new_val"; then
{ echo "$as_me:1041: error: \`$ac_var' has changed since the previous ru n:" >&5 { echo "$as_me:1042: error: \`$ac_var' has changed since the previous ru n:" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
{ echo "$as_me:1043: former value: $ac_old_val" >&5 { echo "$as_me:1044: former value: $ac_old_val" >&5
echo "$as_me: former value: $ac_old_val" >&2;} echo "$as_me: former value: $ac_old_val" >&2;}
{ echo "$as_me:1045: current value: $ac_new_val" >&5 { echo "$as_me:1046: current value: $ac_new_val" >&5
echo "$as_me: current value: $ac_new_val" >&2;} echo "$as_me: current value: $ac_new_val" >&2;}
ac_cache_corrupted=: ac_cache_corrupted=:
fi;; fi;;
esac esac
# Pass precious variables to config.status. It doesn't matter if # Pass precious variables to config.status. It doesn't matter if
# we pass some twice (in addition to the command line arguments). # we pass some twice (in addition to the command line arguments).
if test "$ac_new_set" = set; then if test "$ac_new_set" = set; then
case $ac_new_val in case $ac_new_val in
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
ac_configure_args="$ac_configure_args '$ac_arg'" ac_configure_args="$ac_configure_args '$ac_arg'"
;; ;;
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
;; ;;
esac esac
fi fi
done done
if $ac_cache_corrupted; then if $ac_cache_corrupted; then
{ echo "$as_me:1064: error: changes in the environment can compromise the buil d" >&5 { echo "$as_me:1065: error: changes in the environment can compromise the buil d" >&5
echo "$as_me: error: changes in the environment can compromise the build" >&2;} echo "$as_me: error: changes in the environment can compromise the build" >&2;}
{ { echo "$as_me:1066: error: run \`make distclean' and/or \`rm $cache_file' a nd start over" >&5 { { echo "$as_me:1067: error: run \`make distclean' and/or \`rm $cache_file' a nd start over" >&5
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov er" >&2;} echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov er" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return=return ac_main_return=return
case `echo "testing\c" 2>/dev/null; echo 1,2,3`,`echo -n testing 2>/dev/null; ec ho 1,2,3` in case `echo "testing\c" 2>/dev/null; echo 1,2,3`,`echo -n testing 2>/dev/null; ec ho 1,2,3` in
*c*,-n*) ECHO_N= ECHO_C= # newlines do not sed ;-) only broken shells woul d use this case anyway *c*,-n*) ECHO_N= ECHO_C= # newlines do not sed ;-) only broken shells woul d use this case anyway
ECHO_T=' ' ;; ECHO_T=' ' ;;
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac esac
echo "#! $SHELL" >conftest.sh echo "#! $SHELL" >conftest.sh
echo "exit 0" >>conftest.sh echo "exit 0" >>conftest.sh
chmod +x conftest.sh chmod +x conftest.sh
if { (echo "$as_me:1087: PATH=\".;.\"; conftest.sh") >&5 if { (echo "$as_me:1088: PATH=\".;.\"; conftest.sh") >&5
(PATH=".;."; conftest.sh) 2>&5 (PATH=".;."; conftest.sh) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1090: \$? = $ac_status" >&5 echo "$as_me:1091: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
ac_path_separator=';' ac_path_separator=';'
else else
ac_path_separator=: ac_path_separator=:
fi fi
PATH_SEPARATOR="$ac_path_separator" PATH_SEPARATOR="$ac_path_separator"
rm -f conftest.sh rm -f conftest.sh
ac_config_headers="$ac_config_headers include/autoconf.h:include/autoconf.hin" ac_config_headers="$ac_config_headers include/autoconf.h:include/autoconf.hin"
PACKAGE=tin PACKAGE=tin
VERSION=2.4.4 VERSION=2.4.5
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PACKAGE "$PACKAGE" #define PACKAGE "$PACKAGE"
EOF EOF
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define VERSION "$VERSION" #define VERSION "$VERSION"
EOF EOF
EXTRAO_DEP='#' EXTRAO_DEP='#'
skipping to change at line 1130 skipping to change at line 1132
ac_aux_dir=$ac_dir ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install.sh -c" ac_install_sh="$ac_aux_dir/install.sh -c"
break break
elif test -f $ac_dir/shtool; then elif test -f $ac_dir/shtool; then
ac_aux_dir=$ac_dir ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/shtool install -c" ac_install_sh="$ac_aux_dir/shtool install -c"
break break
fi fi
done done
if test -z "$ac_aux_dir"; then if test -z "$ac_aux_dir"; then
{ { echo "$as_me:1130: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 { { echo "$as_me:1132: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_guess="$SHELL $ac_aux_dir/config.guess"
ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_config_sub="$SHELL $ac_aux_dir/config.sub"
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
# Make sure we can run config.sub. # Make sure we can run config.sub.
$ac_config_sub sun4 >/dev/null 2>&1 || $ac_config_sub sun4 >/dev/null 2>&1 ||
{ { echo "$as_me:1140: error: cannot run $ac_config_sub" >&5 { { echo "$as_me:1142: error: cannot run $ac_config_sub" >&5
echo "$as_me: error: cannot run $ac_config_sub" >&2;} echo "$as_me: error: cannot run $ac_config_sub" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
echo "$as_me:1144: checking build system type" >&5 echo "$as_me:1146: checking build system type" >&5
echo $ECHO_N "checking build system type... $ECHO_C" >&6 echo $ECHO_N "checking build system type... $ECHO_C" >&6
if test "${ac_cv_build+set}" = set; then if test "${ac_cv_build+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_cv_build_alias=$build_alias ac_cv_build_alias=$build_alias
test -z "$ac_cv_build_alias" && test -z "$ac_cv_build_alias" &&
ac_cv_build_alias=`$ac_config_guess` ac_cv_build_alias=`$ac_config_guess`
test -z "$ac_cv_build_alias" && test -z "$ac_cv_build_alias" &&
{ { echo "$as_me:1153: error: cannot guess build type; you must specify one" > &5 { { echo "$as_me:1155: error: cannot guess build type; you must specify one" > &5
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
{ { echo "$as_me:1157: error: $ac_config_sub $ac_cv_build_alias failed." >&5 { { echo "$as_me:1159: error: $ac_config_sub $ac_cv_build_alias failed." >&5
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
echo "$as_me:1162: result: $ac_cv_build" >&5 echo "$as_me:1164: result: $ac_cv_build" >&5
echo "${ECHO_T}$ac_cv_build" >&6 echo "${ECHO_T}$ac_cv_build" >&6
build=$ac_cv_build build=$ac_cv_build
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then
echo "$as_me:1170: checking host system type" >&5 echo "$as_me:1172: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6 echo $ECHO_N "checking host system type... $ECHO_C" >&6
if test "${ac_cv_host+set}" = set; then if test "${ac_cv_host+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_cv_host_alias=$host_alias ac_cv_host_alias=$host_alias
test -z "$ac_cv_host_alias" && test -z "$ac_cv_host_alias" &&
ac_cv_host_alias=$ac_cv_build_alias ac_cv_host_alias=$ac_cv_build_alias
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
{ { echo "$as_me:1179: error: $ac_config_sub $ac_cv_host_alias failed" >&5 { { echo "$as_me:1181: error: $ac_config_sub $ac_cv_host_alias failed" >&5
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
echo "$as_me:1184: result: $ac_cv_host" >&5 echo "$as_me:1186: result: $ac_cv_host" >&5
echo "${ECHO_T}$ac_cv_host" >&6 echo "${ECHO_T}$ac_cv_host" >&6
host=$ac_cv_host host=$ac_cv_host
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
system_name="$host_os" system_name="$host_os"
else else
system_name="`(uname -s -r) 2>/dev/null`" system_name="`(uname -s -r) 2>/dev/null`"
if test -z "$system_name" ; then if test -z "$system_name" ; then
skipping to change at line 1210 skipping to change at line 1212
#define SYSTEM_NAME "$system_name" #define SYSTEM_NAME "$system_name"
EOF EOF
if test "${cf_cv_system_name+set}" = set; then if test "${cf_cv_system_name+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cf_cv_system_name="$system_name" cf_cv_system_name="$system_name"
fi fi
test -z "$system_name" && system_name="$cf_cv_system_name" test -z "$system_name" && system_name="$cf_cv_system_name"
test -n "$cf_cv_system_name" && echo "$as_me:1210: result: Configuring for $cf_c v_system_name" >&5 test -n "$cf_cv_system_name" && echo "$as_me:1212: result: Configuring for $cf_c v_system_name" >&5
echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6
if test ".$system_name" != ".$cf_cv_system_name" ; then if test ".$system_name" != ".$cf_cv_system_name" ; then
echo "$as_me:1214: result: Cached system name ($system_name) does not agr ee with actual ($cf_cv_system_name)" >&5 echo "$as_me:1216: result: Cached system name ($system_name) does not agr ee with actual ($cf_cv_system_name)" >&5
echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf _cv_system_name)" >&6 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf _cv_system_name)" >&6
{ { echo "$as_me:1216: error: \"Please remove config.cache and try again. \"" >&5 { { echo "$as_me:1218: error: \"Please remove config.cache and try again. \"" >&5
echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;} echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
echo "$as_me:1221: checking for PATH separator" >&5 echo "$as_me:1223: checking for PATH separator" >&5
echo $ECHO_N "checking for PATH separator... $ECHO_C" >&6 echo $ECHO_N "checking for PATH separator... $ECHO_C" >&6
case $cf_cv_system_name in case $cf_cv_system_name in
os2*) PATH_SEPARATOR=';' ;; os2*) PATH_SEPARATOR=';' ;;
*) ${PATH_SEPARATOR:=':'} ;; *) ${PATH_SEPARATOR:=':'} ;;
esac esac
echo "$as_me:1228: result: $PATH_SEPARATOR" >&5 echo "$as_me:1230: result: $PATH_SEPARATOR" >&5
echo "${ECHO_T}$PATH_SEPARATOR" >&6 echo "${ECHO_T}$PATH_SEPARATOR" >&6
# Check whether --with-install-prefix or --without-install-prefix was given. # Check whether --with-install-prefix or --without-install-prefix was given.
if test "${with_install_prefix+set}" = set; then if test "${with_install_prefix+set}" = set; then
withval="$with_install_prefix" withval="$with_install_prefix"
else else
withval="${DESTDIR:-/}" withval="${DESTDIR:-/}"
fi; if true ; then fi; if true ; then
skipping to change at line 1264 skipping to change at line 1266
case ".$withval" in case ".$withval" in
.NONE/*) .NONE/*)
withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
;; ;;
esac esac
;; ;;
.no|.NONE/*) .no|.NONE/*)
withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
;; ;;
*) *)
{ { echo "$as_me:1264: error: expected a pathname, not \"$withval\"" >&5 { { echo "$as_me:1266: error: expected a pathname, not \"$withval\"" >&5
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; ;;
esac esac
fi fi
eval DESTDIR="$withval" eval DESTDIR="$withval"
case ".$DESTDIR" in # (vi case ".$DESTDIR" in # (vi
./) DESTDIR= ./) DESTDIR=
skipping to change at line 1300 skipping to change at line 1302
_ACEOF _ACEOF
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
rm conftest.sed rm conftest.sed
### Compiler/options that autoconf doesn't get right ### Compiler/options that autoconf doesn't get right
case "$host_os" in case "$host_os" in
aix*) #(vi aix*) #(vi
if test "$CC" = ""; then if test "$CC" = ""; then
# Extract the first word of "xlc", so it can be a program name with args. # Extract the first word of "xlc", so it can be a program name with args.
set dummy xlc; ac_word=$2 set dummy xlc; ac_word=$2
echo "$as_me:1300: checking for $ac_word" >&5 echo "$as_me:1302: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_XLC+set}" = set; then if test "${ac_cv_path_XLC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $XLC in case $XLC in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_XLC="$XLC" # Let the user override the test with a path. ac_cv_path_XLC="$XLC" # Let the user override the test with a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_XLC="$ac_dir/$ac_word" ac_cv_path_XLC="$ac_dir/$ac_word"
echo "$as_me:1317: found $ac_dir/$ac_word" >&5 echo "$as_me:1319: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
XLC=$ac_cv_path_XLC XLC=$ac_cv_path_XLC
if test -n "$XLC"; then if test -n "$XLC"; then
echo "$as_me:1328: result: $XLC" >&5 echo "$as_me:1330: result: $XLC" >&5
echo "${ECHO_T}$XLC" >&6 echo "${ECHO_T}$XLC" >&6
else else
echo "$as_me:1331: result: no" >&5 echo "$as_me:1333: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test "$ac_cv_path_XLC" != ""; then if test "$ac_cv_path_XLC" != ""; then
CC="$ac_cv_path_XLC" CC="$ac_cv_path_XLC"
fi fi
fi fi
;; ;;
hpux*) #(vi hpux*) #(vi
test "$CC" != "cc" && test -z "$CFLAGS" && CFLAGS="-O" test "$CC" != "cc" && test -z "$CFLAGS" && CFLAGS="-O"
skipping to change at line 1360 skipping to change at line 1362
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return=return ac_main_return=return
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2 set dummy ${ac_tool_prefix}gcc; ac_word=$2
echo "$as_me:1360: checking for $ac_word" >&5 echo "$as_me:1362: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="${ac_tool_prefix}gcc" ac_cv_prog_CC="${ac_tool_prefix}gcc"
echo "$as_me:1375: found $ac_dir/$ac_word" >&5 echo "$as_me:1377: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
CC=$ac_cv_prog_CC CC=$ac_cv_prog_CC
if test -n "$CC"; then if test -n "$CC"; then
echo "$as_me:1383: result: $CC" >&5 echo "$as_me:1385: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 echo "${ECHO_T}$CC" >&6
else else
echo "$as_me:1386: result: no" >&5 echo "$as_me:1388: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
fi fi
if test -z "$ac_cv_prog_CC"; then if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args. # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2 set dummy gcc; ac_word=$2
echo "$as_me:1395: checking for $ac_word" >&5 echo "$as_me:1397: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="gcc" ac_cv_prog_ac_ct_CC="gcc"
echo "$as_me:1410: found $ac_dir/$ac_word" >&5 echo "$as_me:1412: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
echo "$as_me:1418: result: $ac_ct_CC" >&5 echo "$as_me:1420: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6 echo "${ECHO_T}$ac_ct_CC" >&6
else else
echo "$as_me:1421: result: no" >&5 echo "$as_me:1423: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
CC=$ac_ct_CC CC=$ac_ct_CC
else else
CC="$ac_cv_prog_CC" CC="$ac_cv_prog_CC"
fi fi
if test -z "$CC"; then if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2 set dummy ${ac_tool_prefix}cc; ac_word=$2
echo "$as_me:1434: checking for $ac_word" >&5 echo "$as_me:1436: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="${ac_tool_prefix}cc" ac_cv_prog_CC="${ac_tool_prefix}cc"
echo "$as_me:1449: found $ac_dir/$ac_word" >&5 echo "$as_me:1451: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
CC=$ac_cv_prog_CC CC=$ac_cv_prog_CC
if test -n "$CC"; then if test -n "$CC"; then
echo "$as_me:1457: result: $CC" >&5 echo "$as_me:1459: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 echo "${ECHO_T}$CC" >&6
else else
echo "$as_me:1460: result: no" >&5 echo "$as_me:1462: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
fi fi
if test -z "$ac_cv_prog_CC"; then if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC ac_ct_CC=$CC
# Extract the first word of "cc", so it can be a program name with args. # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2 set dummy cc; ac_word=$2
echo "$as_me:1469: checking for $ac_word" >&5 echo "$as_me:1471: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="cc" ac_cv_prog_ac_ct_CC="cc"
echo "$as_me:1484: found $ac_dir/$ac_word" >&5 echo "$as_me:1486: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
echo "$as_me:1492: result: $ac_ct_CC" >&5 echo "$as_me:1494: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6 echo "${ECHO_T}$ac_ct_CC" >&6
else else
echo "$as_me:1495: result: no" >&5 echo "$as_me:1497: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
CC=$ac_ct_CC CC=$ac_ct_CC
else else
CC="$ac_cv_prog_CC" CC="$ac_cv_prog_CC"
fi fi
fi fi
if test -z "$CC"; then if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args. # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2 set dummy cc; ac_word=$2
echo "$as_me:1508: checking for $ac_word" >&5 echo "$as_me:1510: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
ac_prog_rejected=no ac_prog_rejected=no
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
ac_prog_rejected=yes ac_prog_rejected=yes
continue continue
fi fi
ac_cv_prog_CC="cc" ac_cv_prog_CC="cc"
echo "$as_me:1528: found $ac_dir/$ac_word" >&5 echo "$as_me:1530: found $ac_dir/$ac_word" >&5
break break
done done
if test $ac_prog_rejected = yes; then if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it. # We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC set dummy $ac_cv_prog_CC
shift shift
if test $# != 0; then if test $# != 0; then
# We chose a different compiler from the bogus one. # We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen # However, it has the same basename, so the bogon will be chosen
skipping to change at line 1550 skipping to change at line 1552
shift shift
set dummy "$ac_dir/$ac_word" ${1+"$@"} set dummy "$ac_dir/$ac_word" ${1+"$@"}
shift shift
ac_cv_prog_CC="$@" ac_cv_prog_CC="$@"
fi fi
fi fi
fi fi
fi fi
CC=$ac_cv_prog_CC CC=$ac_cv_prog_CC
if test -n "$CC"; then if test -n "$CC"; then
echo "$as_me:1550: result: $CC" >&5 echo "$as_me:1552: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 echo "${ECHO_T}$CC" >&6
else else
echo "$as_me:1553: result: no" >&5 echo "$as_me:1555: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
fi fi
if test -z "$CC"; then if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
for ac_prog in cl for ac_prog in cl
do do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
echo "$as_me:1564: checking for $ac_word" >&5 echo "$as_me:1566: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
echo "$as_me:1579: found $ac_dir/$ac_word" >&5 echo "$as_me:1581: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
CC=$ac_cv_prog_CC CC=$ac_cv_prog_CC
if test -n "$CC"; then if test -n "$CC"; then
echo "$as_me:1587: result: $CC" >&5 echo "$as_me:1589: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 echo "${ECHO_T}$CC" >&6
else else
echo "$as_me:1590: result: no" >&5 echo "$as_me:1592: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
test -n "$CC" && break test -n "$CC" && break
done done
fi fi
if test -z "$CC"; then if test -z "$CC"; then
ac_ct_CC=$CC ac_ct_CC=$CC
for ac_prog in cl for ac_prog in cl
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
echo "$as_me:1603: checking for $ac_word" >&5 echo "$as_me:1605: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="$ac_prog" ac_cv_prog_ac_ct_CC="$ac_prog"
echo "$as_me:1618: found $ac_dir/$ac_word" >&5 echo "$as_me:1620: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
echo "$as_me:1626: result: $ac_ct_CC" >&5 echo "$as_me:1628: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6 echo "${ECHO_T}$ac_ct_CC" >&6
else else
echo "$as_me:1629: result: no" >&5 echo "$as_me:1631: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
test -n "$ac_ct_CC" && break test -n "$ac_ct_CC" && break
done done
CC=$ac_ct_CC CC=$ac_ct_CC
fi fi
fi fi
test -z "$CC" && { { echo "$as_me:1641: error: no acceptable cc found in \$PATH" >&5 test -z "$CC" && { { echo "$as_me:1643: error: no acceptable cc found in \$PATH" >&5
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
# Provide some information about the compiler. # Provide some information about the compiler.
echo "$as_me:1646:" \ echo "$as_me:1648:" \
"checking for C compiler version" >&5 "checking for C compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2` ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:1649: \"$ac_compiler --version </dev/null >&5\"") >&5 { (eval echo "$as_me:1651: \"$ac_compiler --version </dev/null >&5\"") >&5
(eval $ac_compiler --version </dev/null >&5) 2>&5 (eval $ac_compiler --version </dev/null >&5) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1652: \$? = $ac_status" >&5 echo "$as_me:1654: \$? = $ac_status" >&5
(exit $ac_status); } (exit $ac_status); }
{ (eval echo "$as_me:1654: \"$ac_compiler -v </dev/null >&5\"") >&5 { (eval echo "$as_me:1656: \"$ac_compiler -v </dev/null >&5\"") >&5
(eval $ac_compiler -v </dev/null >&5) 2>&5 (eval $ac_compiler -v </dev/null >&5) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1657: \$? = $ac_status" >&5 echo "$as_me:1659: \$? = $ac_status" >&5
(exit $ac_status); } (exit $ac_status); }
{ (eval echo "$as_me:1659: \"$ac_compiler -V </dev/null >&5\"") >&5 { (eval echo "$as_me:1661: \"$ac_compiler -V </dev/null >&5\"") >&5
(eval $ac_compiler -V </dev/null >&5) 2>&5 (eval $ac_compiler -V </dev/null >&5) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1662: \$? = $ac_status" >&5 echo "$as_me:1664: \$? = $ac_status" >&5
(exit $ac_status); } (exit $ac_status); }
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 1666 "configure" #line 1668 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main (void) main (void)
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
ac_clean_files_save=$ac_clean_files ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.exe" ac_clean_files="$ac_clean_files a.out a.exe"
# Try to create an executable without -o first, disregard a.out. # Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition # It will help us diagnose broken compilers, and finding out an intuition
# of exeext. # of exeext.
echo "$as_me:1682: checking for C compiler default output" >&5 echo "$as_me:1684: checking for C compiler default output" >&5
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
if { (eval echo "$as_me:1685: \"$ac_link_default\"") >&5 if { (eval echo "$as_me:1687: \"$ac_link_default\"") >&5
(eval $ac_link_default) 2>&5 (eval $ac_link_default) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1688: \$? = $ac_status" >&5 echo "$as_me:1690: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
# Find the output, starting from the most likely. This scheme is # Find the output, starting from the most likely. This scheme is
# not robust to junk in `.', hence go to wildcards (a.*) only as a last # not robust to junk in `.', hence go to wildcards (a.*) only as a last
# resort. # resort.
for ac_file in `ls a.exe conftest.exe 2>/dev/null; for ac_file in `ls a.exe conftest.exe 2>/dev/null;
ls a.out conftest 2>/dev/null; ls a.out conftest 2>/dev/null;
ls a.* conftest.* 2>/dev/null`; do ls a.* conftest.* 2>/dev/null`; do
case $ac_file in case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
a.out ) # We found the default executable, but exeext='' is most a.out ) # We found the default executable, but exeext='' is most
skipping to change at line 1711 skipping to change at line 1713
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
# FIXME: I believe we export ac_cv_exeext for Libtool --akim. # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
export ac_cv_exeext export ac_cv_exeext
break;; break;;
* ) break;; * ) break;;
esac esac
done done
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
{ { echo "$as_me:1711: error: C compiler cannot create executables" >&5 { { echo "$as_me:1713: error: C compiler cannot create executables" >&5
echo "$as_me: error: C compiler cannot create executables" >&2;} echo "$as_me: error: C compiler cannot create executables" >&2;}
{ (exit 77); exit 77; }; } { (exit 77); exit 77; }; }
fi fi
ac_exeext=$ac_cv_exeext ac_exeext=$ac_cv_exeext
echo "$as_me:1717: result: $ac_file" >&5 echo "$as_me:1719: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6 echo "${ECHO_T}$ac_file" >&6
# Check the compiler produces executables we can run. If not, either # Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile. # the compiler is broken, or we cross compile.
echo "$as_me:1722: checking whether the C compiler works" >&5 echo "$as_me:1724: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program. # If not cross compiling, check that we can run a simple program.
if test "$cross_compiling" != yes; then if test "$cross_compiling" != yes; then
if { ac_try='./$ac_file' if { ac_try='./$ac_file'
{ (eval echo "$as_me:1728: \"$ac_try\"") >&5 { (eval echo "$as_me:1730: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1731: \$? = $ac_status" >&5 echo "$as_me:1733: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cross_compiling=no cross_compiling=no
else else
if test "$cross_compiling" = maybe; then if test "$cross_compiling" = maybe; then
cross_compiling=yes cross_compiling=yes
else else
{ { echo "$as_me:1738: error: cannot run C compiled programs. { { echo "$as_me:1740: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&5 If you meant to cross compile, use \`--host'." >&5
echo "$as_me: error: cannot run C compiled programs. echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&2;} If you meant to cross compile, use \`--host'." >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
fi fi
fi fi
echo "$as_me:1746: result: yes" >&5 echo "$as_me:1748: result: yes" >&5
echo "${ECHO_T}yes" >&6 echo "${ECHO_T}yes" >&6
rm -f a.out a.exe conftest$ac_cv_exeext rm -f a.out a.exe conftest$ac_cv_exeext
ac_clean_files=$ac_clean_files_save ac_clean_files=$ac_clean_files_save
# Check the compiler produces executables we can run. If not, either # Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile. # the compiler is broken, or we cross compile.
echo "$as_me:1753: checking whether we are cross compiling" >&5 echo "$as_me:1755: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
echo "$as_me:1755: result: $cross_compiling" >&5 echo "$as_me:1757: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6 echo "${ECHO_T}$cross_compiling" >&6
echo "$as_me:1758: checking for executable suffix" >&5 echo "$as_me:1760: checking for executable suffix" >&5
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
if { (eval echo "$as_me:1760: \"$ac_link\"") >&5 if { (eval echo "$as_me:1762: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1763: \$? = $ac_status" >&5 echo "$as_me:1765: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
# If both `conftest.exe' and `conftest' are `present' (well, observable) # If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with # work properly (i.e., refer to `conftest.exe'), while it won't with
# `rm'. # `rm'.
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
case $ac_file in case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
export ac_cv_exeext export ac_cv_exeext
break;; break;;
* ) break;; * ) break;;
esac esac
done done
else else
{ { echo "$as_me:1779: error: cannot compute EXEEXT: cannot compile and link" >&5 { { echo "$as_me:1781: error: cannot compute EXEEXT: cannot compile and link" >&5
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
rm -f conftest$ac_cv_exeext rm -f conftest$ac_cv_exeext
echo "$as_me:1785: result: $ac_cv_exeext" >&5 echo "$as_me:1787: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6 echo "${ECHO_T}$ac_cv_exeext" >&6
rm -f conftest.$ac_ext rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT ac_exeext=$EXEEXT
echo "$as_me:1791: checking for object suffix" >&5 echo "$as_me:1793: checking for object suffix" >&5
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
if test "${ac_cv_objext+set}" = set; then if test "${ac_cv_objext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 1797 "configure" #line 1799 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main (void) main (void)
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.o conftest.obj rm -f conftest.o conftest.obj
if { (eval echo "$as_me:1809: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1811: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1812: \$? = $ac_status" >&5 echo "$as_me:1814: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
case $ac_file in case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.map | *.inf ) ;; *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.map | *.inf ) ;;
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
break;; break;;
esac esac
done done
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
{ { echo "$as_me:1824: error: cannot compute OBJEXT: cannot compile" >&5 { { echo "$as_me:1826: error: cannot compute OBJEXT: cannot compile" >&5
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi fi
echo "$as_me:1831: result: $ac_cv_objext" >&5 echo "$as_me:1833: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6 echo "${ECHO_T}$ac_cv_objext" >&6
OBJEXT=$ac_cv_objext OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT ac_objext=$OBJEXT
echo "$as_me:1835: checking whether we are using the GNU C compiler" >&5 echo "$as_me:1837: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
if test "${ac_cv_c_compiler_gnu+set}" = set; then if test "${ac_cv_c_compiler_gnu+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 1841 "configure" #line 1843 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main (void) main (void)
{ {
#ifndef __GNUC__ #ifndef __GNUC__
choke me choke me
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:1856: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1858: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1859: \$? = $ac_status" >&5 echo "$as_me:1861: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:1862: \"$ac_try\"") >&5 { (eval echo "$as_me:1864: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1865: \$? = $ac_status" >&5 echo "$as_me:1867: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_compiler_gnu=yes ac_compiler_gnu=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
ac_compiler_gnu=no ac_compiler_gnu=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu ac_cv_c_compiler_gnu=$ac_compiler_gnu
fi fi
echo "$as_me:1877: result: $ac_cv_c_compiler_gnu" >&5 echo "$as_me:1879: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
GCC=`test $ac_compiler_gnu = yes && echo yes` GCC=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CFLAGS=${CFLAGS+set} ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS ac_save_CFLAGS=$CFLAGS
CFLAGS="-g" CFLAGS="-g"
echo "$as_me:1883: checking whether $CC accepts -g" >&5 echo "$as_me:1885: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
if test "${ac_cv_prog_cc_g+set}" = set; then if test "${ac_cv_prog_cc_g+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 1889 "configure" #line 1891 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main (void) main (void)
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:1901: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1903: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1904: \$? = $ac_status" >&5 echo "$as_me:1906: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:1907: \"$ac_try\"") >&5 { (eval echo "$as_me:1909: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1910: \$? = $ac_status" >&5 echo "$as_me:1912: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes ac_cv_prog_cc_g=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
ac_cv_prog_cc_g=no ac_cv_prog_cc_g=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:1920: result: $ac_cv_prog_cc_g" >&5 echo "$as_me:1922: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
if test "$ac_test_CFLAGS" = set; then if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then if test "$GCC" = yes; then
CFLAGS="-g -O2" CFLAGS="-g -O2"
else else
CFLAGS="-g" CFLAGS="-g"
fi fi
else else
skipping to change at line 1947 skipping to change at line 1949
# Some people use a C++ compiler to compile C. Since we use `exit', # Some people use a C++ compiler to compile C. Since we use `exit',
# in C++ we need to declare it. In case someone uses the same compiler # in C++ we need to declare it. In case someone uses the same compiler
# for both compiling C and C++ we need to have the C++ compiler decide # for both compiling C and C++ we need to have the C++ compiler decide
# the declaration of exit, since it's the most demanding environment. # the declaration of exit, since it's the most demanding environment.
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#ifndef __cplusplus #ifndef __cplusplus
choke me choke me
#endif #endif
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:1947: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1949: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1950: \$? = $ac_status" >&5 echo "$as_me:1952: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:1953: \"$ac_try\"") >&5 { (eval echo "$as_me:1955: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1956: \$? = $ac_status" >&5 echo "$as_me:1958: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
for ac_declaration in \ for ac_declaration in \
''\ ''\
'#include <stdlib.h>' \ '#include <stdlib.h>' \
'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \
'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \
'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int) throw ();' \
'extern "C" void exit (int);' \ 'extern "C" void exit (int);' \
'void exit (int);' 'void exit (int);'
do do
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 1968 "configure" #line 1970 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
$ac_declaration $ac_declaration
int int
main (void) main (void)
{ {
exit (42); exit (42);
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:1981: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1983: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1984: \$? = $ac_status" >&5 echo "$as_me:1986: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:1987: \"$ac_try\"") >&5 { (eval echo "$as_me:1989: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1990: \$? = $ac_status" >&5 echo "$as_me:1992: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
: :
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
continue continue
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2000 "configure" #line 2002 "configure"
#include "confdefs.h" #include "confdefs.h"
$ac_declaration $ac_declaration
int int
main (void) main (void)
{ {
exit (42); exit (42);
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:2012: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2014: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2015: \$? = $ac_status" >&5 echo "$as_me:2017: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:2018: \"$ac_try\"") >&5 { (eval echo "$as_me:2020: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2021: \$? = $ac_status" >&5 echo "$as_me:2023: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
break break
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
done done
rm -rf conftest* rm -rf conftest*
if test -n "$ac_declaration"; then if test -n "$ac_declaration"; then
skipping to change at line 2051 skipping to change at line 2053
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return=return ac_main_return=return
GCC_VERSION=none GCC_VERSION=none
if test "$GCC" = yes ; then if test "$GCC" = yes ; then
echo "$as_me:2051: checking version of $CC" >&5 echo "$as_me:2053: checking version of $CC" >&5
echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC[^ )]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC[^ )]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
test -z "$GCC_VERSION" && GCC_VERSION=unknown test -z "$GCC_VERSION" && GCC_VERSION=unknown
echo "$as_me:2055: result: $GCC_VERSION" >&5 echo "$as_me:2057: result: $GCC_VERSION" >&5
echo "${ECHO_T}$GCC_VERSION" >&6 echo "${ECHO_T}$GCC_VERSION" >&6
fi fi
echo "$as_me:2059: checking for $CC option to accept ANSI C" >&5 INTEL_COMPILER=no
if test "$GCC" = yes ; then
case $host_os in
linux*|gnu*)
echo "$as_me:2066: checking if this is really Intel C compiler" >
&5
echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
cf_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -no-gcc"
cat >conftest.$ac_ext <<_ACEOF
#line 2071 "configure"
#include "confdefs.h"
int
main (void)
{
#ifdef __INTEL_COMPILER
#else
make an error
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:2088: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:2091: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:2094: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:2097: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
INTEL_COMPILER=yes
cf_save_CFLAGS="$cf_save_CFLAGS -we147"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
CFLAGS="$cf_save_CFLAGS"
echo "$as_me:2108: result: $INTEL_COMPILER" >&5
echo "${ECHO_T}$INTEL_COMPILER" >&6
;;
esac
fi
CLANG_COMPILER=no
if test "$GCC" = yes ; then
echo "$as_me:2117: checking if this is really Clang C compiler" >&5
echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6
cf_save_CFLAGS="$CFLAGS"
cat >conftest.$ac_ext <<_ACEOF
#line 2121 "configure"
#include "confdefs.h"
int
main (void)
{
#ifdef __clang__
#else
make an error
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:2138: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:2141: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:2144: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:2147: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
CLANG_COMPILER=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
CFLAGS="$cf_save_CFLAGS"
echo "$as_me:2157: result: $CLANG_COMPILER" >&5
echo "${ECHO_T}$CLANG_COMPILER" >&6
fi
CLANG_VERSION=none
if test "x$CLANG_COMPILER" = "xyes" ; then
case "$CC" in
c[1-9][0-9]|*/c[1-9][0-9])
{ echo "$as_me:2166: WARNING: replacing broken compiler alias $CC
" >&5
echo "$as_me: WARNING: replacing broken compiler alias $CC" >&2;}
CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`"
CC=clang
;;
esac
echo "$as_me:2173: checking version of $CC" >&5
echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
CLANG_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG
[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
test -z "$CLANG_VERSION" && CLANG_VERSION=unknown
echo "$as_me:2177: result: $CLANG_VERSION" >&5
echo "${ECHO_T}$CLANG_VERSION" >&6
for cf_clang_opt in \
-Qunused-arguments \
-Wno-error=implicit-function-declaration
do
echo "$as_me:2184: checking if option $cf_clang_opt works" >&5
echo $ECHO_N "checking if option $cf_clang_opt works... $ECHO_C" >&6
cf_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $cf_clang_opt"
cat >conftest.$ac_ext <<_ACEOF
#line 2189 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main (void)
{
printf("hello!\n");
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:2203: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:2206: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:2209: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:2212: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
cf_clang_optok=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
cf_clang_optok=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
echo "$as_me:2223: result: $cf_clang_optok" >&5
echo "${ECHO_T}$cf_clang_optok" >&6
CFLAGS="$cf_save_CFLAGS"
if test $cf_clang_optok = yes; then
test -n "$verbose" && echo " adding option $cf_clang_o
pt" 1>&6
echo "${as_me:-configure}:2229: testing adding option $cf_clang_opt ..." 1>&5
test -n "$CFLAGS" && CFLAGS="$CFLAGS "
CFLAGS="${CFLAGS}$cf_clang_opt"
fi
done
fi
echo "$as_me:2238: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
if test "${ac_cv_prog_cc_stdc+set}" = set; then if test "${ac_cv_prog_cc_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_cv_prog_cc_stdc=no ac_cv_prog_cc_stdc=no
ac_save_CC=$CC ac_save_CC=$CC
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2067 "configure" #line 2246 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; }; struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int); FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i) static char *e (p, i)
char **p; char **p;
skipping to change at line 2116 skipping to change at line 2295
# breaks some systems' header files. # breaks some systems' header files.
# AIX -qlanglvl=ansi # AIX -qlanglvl=ansi
# Ultrix and OSF/1 -std1 # Ultrix and OSF/1 -std1
# HP-UX 10.20 and later -Ae # HP-UX 10.20 and later -Ae
# HP-UX older versions -Aa -D_HPUX_SOURCE # HP-UX older versions -Aa -D_HPUX_SOURCE
# SVR4 -Xc -D__EXTENSIONS__ # SVR4 -Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO NS__" for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO NS__"
do do
CC="$ac_save_CC $ac_arg" CC="$ac_save_CC $ac_arg"
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:2116: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2295: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2119: \$? = $ac_status" >&5 echo "$as_me:2298: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:2122: \"$ac_try\"") >&5 { (eval echo "$as_me:2301: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2125: \$? = $ac_status" >&5 echo "$as_me:2304: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_cv_prog_cc_stdc=$ac_arg ac_cv_prog_cc_stdc=$ac_arg
break break
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
fi fi
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
done done
rm -f conftest.$ac_ext conftest.$ac_objext rm -f conftest.$ac_ext conftest.$ac_objext
CC=$ac_save_CC CC=$ac_save_CC
fi fi
case "x$ac_cv_prog_cc_stdc" in case "x$ac_cv_prog_cc_stdc" in
x|xno) x|xno)
echo "$as_me:2142: result: none needed" >&5 echo "$as_me:2321: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;; echo "${ECHO_T}none needed" >&6 ;;
*) *)
echo "$as_me:2145: result: $ac_cv_prog_cc_stdc" >&5 echo "$as_me:2324: result: $ac_cv_prog_cc_stdc" >&5
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
CC="$CC $ac_cv_prog_cc_stdc" ;; CC="$CC $ac_cv_prog_cc_stdc" ;;
esac esac
# This should have been defined by AC_PROG_CC # This should have been defined by AC_PROG_CC
: ${CC:=cc} : ${CC:=cc}
echo "$as_me:2153: checking \$CFLAGS variable" >&5 echo "$as_me:2332: checking \$CFLAGS variable" >&5
echo $ECHO_N "checking \$CFLAGS variable... $ECHO_C" >&6 echo $ECHO_N "checking \$CFLAGS variable... $ECHO_C" >&6
case "x$CFLAGS" in case "x$CFLAGS" in
*-[IUD]*) *-[IUD]*)
echo "$as_me:2157: result: broken" >&5 echo "$as_me:2336: result: broken" >&5
echo "${ECHO_T}broken" >&6 echo "${ECHO_T}broken" >&6
{ echo "$as_me:2159: WARNING: your environment uses the CFLAGS variable t o hold CPPFLAGS options" >&5 { echo "$as_me:2338: WARNING: your environment uses the CFLAGS variable t o hold CPPFLAGS options" >&5
echo "$as_me: WARNING: your environment uses the CFLAGS variable to hold CPPFLAG S options" >&2;} echo "$as_me: WARNING: your environment uses the CFLAGS variable to hold CPPFLAG S options" >&2;}
cf_flags="$CFLAGS" cf_flags="$CFLAGS"
CFLAGS= CFLAGS=
for cf_arg in $cf_flags for cf_arg in $cf_flags
do do
cf_fix_cppflags=no cf_fix_cppflags=no
cf_new_cflags= cf_new_cflags=
cf_new_cppflags= cf_new_cppflags=
cf_new_extra_cppflags= cf_new_extra_cppflags=
skipping to change at line 2267 skipping to change at line 2446
if test -n "$cf_new_extra_cppflags" ; then if test -n "$cf_new_extra_cppflags" ; then
test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
done done
;; ;;
*) *)
echo "$as_me:2267: result: ok" >&5 echo "$as_me:2446: result: ok" >&5
echo "${ECHO_T}ok" >&6 echo "${ECHO_T}ok" >&6
;; ;;
esac esac
echo "$as_me:2272: checking \$CC variable" >&5 echo "$as_me:2451: checking \$CC variable" >&5
echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6 echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6
case "$CC" in case "$CC" in
*[\ \ ]-*) *[\ \ ]-*)
echo "$as_me:2276: result: broken" >&5 echo "$as_me:2455: result: broken" >&5
echo "${ECHO_T}broken" >&6 echo "${ECHO_T}broken" >&6
{ echo "$as_me:2278: WARNING: your environment uses the CC variable to ho ld CFLAGS/CPPFLAGS options" >&5 { echo "$as_me:2457: WARNING: your environment uses the CC variable to ho ld CFLAGS/CPPFLAGS options" >&5
echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPF LAGS options" >&2;} echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPF LAGS options" >&2;}
# humor him... # humor him...
cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]* [ ]-[^ ].*//'` cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]* [ ]-[^ ].*//'`
cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", sub str($0,1+length(prog))); }'` cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", sub str($0,1+length(prog))); }'`
CC="$cf_prog" CC="$cf_prog"
for cf_arg in $cf_flags for cf_arg in $cf_flags
do do
case "x$cf_arg" in case "x$cf_arg" in
x-[IUDfgOW]*) x-[IUDfgOW]*)
skipping to change at line 2395 skipping to change at line 2574
fi fi
;; ;;
*) *)
CC="$CC $cf_arg" CC="$CC $cf_arg"
;; ;;
esac esac
done done
test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6 test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6
echo "${as_me:-configure}:2395: testing resulting CC: '$CC' ..." 1>&5 echo "${as_me:-configure}:2574: testing resulting CC: '$CC' ..." 1>&5
test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6 test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6
echo "${as_me:-configure}:2399: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5 echo "${as_me:-configure}:2578: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5
test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6 test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6
echo "${as_me:-configure}:2403: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>& 5 echo "${as_me:-configure}:2582: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>& 5
;; ;;
*) *)
echo "$as_me:2407: result: ok" >&5 echo "$as_me:2586: result: ok" >&5
echo "${ECHO_T}ok" >&6 echo "${ECHO_T}ok" >&6
;; ;;
esac esac
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return=return ac_main_return=return
echo "$as_me:2418: checking how to run the C preprocessor" >&5 echo "$as_me:2597: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
# On Suns, sometimes $CPP names a directory. # On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then if test -n "$CPP" && test -d "$CPP"; then
CPP= CPP=
fi fi
if test -z "$CPP"; then if test -z "$CPP"; then
if test "${ac_cv_prog_CPP+set}" = set; then if test "${ac_cv_prog_CPP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
# Double quotes because CPP needs to be expanded # Double quotes because CPP needs to be expanded
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
do do
ac_preproc_ok=false ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes for ac_c_preproc_warn_flag in '' yes
do do
# Use a header file that comes with gcc, so configuring glibc # Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works. # with a fresh cross-compiler works.
# On the NeXT, cc -E runs the code through the compiler's parser, # On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case. # not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2439 "configure" #line 2618 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax error Syntax error
_ACEOF _ACEOF
if { (eval echo "$as_me:2444: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:2623: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$? ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1 rm -f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
echo "$as_me:2450: \$? = $ac_status" >&5 echo "$as_me:2629: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then (exit $ac_status); } >/dev/null; then
if test -s conftest.err; then if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_c_preproc_warn_flag
else else
ac_cpp_err= ac_cpp_err=
fi fi
else else
ac_cpp_err=yes ac_cpp_err=yes
fi fi
if test -z "$ac_cpp_err"; then if test -z "$ac_cpp_err"; then
skipping to change at line 2473 skipping to change at line 2652
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
# Broken: fails on valid input. # Broken: fails on valid input.
continue continue
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.$ac_ext
# OK, works on sane cases. Now check whether non-existent headers # OK, works on sane cases. Now check whether non-existent headers
# can be detected and how. # can be detected and how.
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2473 "configure" #line 2652 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ac_nonexistent.h> #include <ac_nonexistent.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:2477: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:2656: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$? ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1 rm -f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
echo "$as_me:2483: \$? = $ac_status" >&5 echo "$as_me:2662: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then (exit $ac_status); } >/dev/null; then
if test -s conftest.err; then if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_c_preproc_warn_flag
else else
ac_cpp_err= ac_cpp_err=
fi fi
else else
ac_cpp_err=yes ac_cpp_err=yes
fi fi
if test -z "$ac_cpp_err"; then if test -z "$ac_cpp_err"; then
skipping to change at line 2520 skipping to change at line 2699
fi fi
done done
ac_cv_prog_CPP=$CPP ac_cv_prog_CPP=$CPP
fi fi
CPP=$ac_cv_prog_CPP CPP=$ac_cv_prog_CPP
else else
ac_cv_prog_CPP=$CPP ac_cv_prog_CPP=$CPP
fi fi
echo "$as_me:2520: result: $CPP" >&5 echo "$as_me:2699: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6 echo "${ECHO_T}$CPP" >&6
ac_preproc_ok=false ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes for ac_c_preproc_warn_flag in '' yes
do do
# Use a header file that comes with gcc, so configuring glibc # Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works. # with a fresh cross-compiler works.
# On the NeXT, cc -E runs the code through the compiler's parser, # On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case. # not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2530 "configure" #line 2709 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax error Syntax error
_ACEOF _ACEOF
if { (eval echo "$as_me:2535: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:2714: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$? ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1 rm -f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
echo "$as_me:2541: \$? = $ac_status" >&5 echo "$as_me:2720: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then (exit $ac_status); } >/dev/null; then
if test -s conftest.err; then if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_c_preproc_warn_flag
else else
ac_cpp_err= ac_cpp_err=
fi fi
else else
ac_cpp_err=yes ac_cpp_err=yes
fi fi
if test -z "$ac_cpp_err"; then if test -z "$ac_cpp_err"; then
skipping to change at line 2564 skipping to change at line 2743
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
# Broken: fails on valid input. # Broken: fails on valid input.
continue continue
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.$ac_ext
# OK, works on sane cases. Now check whether non-existent headers # OK, works on sane cases. Now check whether non-existent headers
# can be detected and how. # can be detected and how.
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2564 "configure" #line 2743 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ac_nonexistent.h> #include <ac_nonexistent.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:2568: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:2747: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$? ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1 rm -f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
echo "$as_me:2574: \$? = $ac_status" >&5 echo "$as_me:2753: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then (exit $ac_status); } >/dev/null; then
if test -s conftest.err; then if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_c_preproc_warn_flag
else else
ac_cpp_err= ac_cpp_err=
fi fi
else else
ac_cpp_err=yes ac_cpp_err=yes
fi fi
if test -z "$ac_cpp_err"; then if test -z "$ac_cpp_err"; then
skipping to change at line 2602 skipping to change at line 2781
break break
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.$ac_ext
done done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then if $ac_preproc_ok; then
: :
else else
{ { echo "$as_me:2602: error: C preprocessor \"$CPP\" fails sanity check" >&5 { { echo "$as_me:2781: error: C preprocessor \"$CPP\" fails sanity check" >&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return=return ac_main_return=return
if test $ac_cv_c_compiler_gnu = yes; then if test $ac_cv_c_compiler_gnu = yes; then
echo "$as_me:2615: checking whether $CC needs -traditional" >&5 echo "$as_me:2794: checking whether $CC needs -traditional" >&5
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
if test "${ac_cv_prog_gcc_traditional+set}" = set; then if test "${ac_cv_prog_gcc_traditional+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_pattern="Autoconf.*'x'" ac_pattern="Autoconf.*'x'"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2622 "configure" #line 2801 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sgtty.h> #include <sgtty.h>
int Autoconf = TIOCGETP; int Autoconf = TIOCGETP;
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "$ac_pattern" >/dev/null 2>&1; then egrep "$ac_pattern" >/dev/null 2>&1; then
ac_cv_prog_gcc_traditional=yes ac_cv_prog_gcc_traditional=yes
else else
ac_cv_prog_gcc_traditional=no ac_cv_prog_gcc_traditional=no
fi fi
rm -rf conftest* rm -rf conftest*
if test $ac_cv_prog_gcc_traditional = no; then if test $ac_cv_prog_gcc_traditional = no; then
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2637 "configure" #line 2816 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <termio.h> #include <termio.h>
int Autoconf = TCGETA; int Autoconf = TCGETA;
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "$ac_pattern" >/dev/null 2>&1; then egrep "$ac_pattern" >/dev/null 2>&1; then
ac_cv_prog_gcc_traditional=yes ac_cv_prog_gcc_traditional=yes
fi fi
rm -rf conftest* rm -rf conftest*
fi fi
fi fi
echo "$as_me:2650: result: $ac_cv_prog_gcc_traditional" >&5 echo "$as_me:2829: result: $ac_cv_prog_gcc_traditional" >&5
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
if test $ac_cv_prog_gcc_traditional = yes; then if test $ac_cv_prog_gcc_traditional = yes; then
CC="$CC -traditional" CC="$CC -traditional"
fi fi
fi fi
echo "$as_me:2657: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo "$as_me:2836: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 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 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.make <<\EOF cat >conftest.make <<\EOF
all: all:
@echo 'ac_maketemp="${MAKE}"' @echo 'ac_maketemp="${MAKE}"'
EOF EOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
if test -n "$ac_maketemp"; then if test -n "$ac_maketemp"; then
eval ac_cv_prog_make_${ac_make}_set=yes eval ac_cv_prog_make_${ac_make}_set=yes
else else
eval ac_cv_prog_make_${ac_make}_set=no eval ac_cv_prog_make_${ac_make}_set=no
fi fi
rm -f conftest.make rm -f conftest.make
fi fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
echo "$as_me:2677: result: yes" >&5 echo "$as_me:2856: result: yes" >&5
echo "${ECHO_T}yes" >&6 echo "${ECHO_T}yes" >&6
SET_MAKE= SET_MAKE=
else else
echo "$as_me:2681: result: no" >&5 echo "$as_me:2860: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
SET_MAKE="MAKE=${MAKE-make}" SET_MAKE="MAKE=${MAKE-make}"
fi fi
# Find a good install program. We prefer a C program (faster), # Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or # so one script is as good as another. But avoid the broken or
# incompatible versions: # incompatible versions:
# SysV /etc/install, /usr/sbin/install # SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install # SunOS /usr/etc/install
# IRIX /sbin/install # IRIX /sbin/install
# AIX /bin/install # AIX /bin/install
# AmigaOS /C/install, which installs bootblocks on floppy discs # AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args # AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh. # ./install, which can be erroneously created by make from ./install.sh.
echo "$as_me:2698: checking for a BSD compatible install" >&5 echo "$as_me:2877: checking for a BSD compatible install" >&5
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
for ac_dir in $PATH; do for ac_dir in $PATH; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
# Account for people who put trailing slashes in PATH elements. # Account for people who put trailing slashes in PATH elements.
case $ac_dir/ in case $ac_dir/ in
skipping to change at line 2747 skipping to change at line 2926
if test "${ac_cv_path_install+set}" = set; then if test "${ac_cv_path_install+set}" = set; then
INSTALL=$ac_cv_path_install INSTALL=$ac_cv_path_install
else else
# As a last resort, use the slow shell script. We don't cache a # As a last resort, use the slow shell script. We don't cache a
# path for INSTALL within a source directory, because that will # path for INSTALL within a source directory, because that will
# break other packages using the cache if that directory is # break other packages using the cache if that directory is
# removed, or if the path is relative. # removed, or if the path is relative.
INSTALL=$ac_install_sh INSTALL=$ac_install_sh
fi fi
fi fi
echo "$as_me:2747: result: $INSTALL" >&5 echo "$as_me:2926: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6 echo "${ECHO_T}$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution. # It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
skipping to change at line 2780 skipping to change at line 2959
%% %%
time : NUMBER ':' NUMBER time : NUMBER ':' NUMBER
; ;
%% %%
int yylex() { return NUMBER; } int yylex() { return NUMBER; }
int main() { return yyparse(); } int main() { return yyparse(); }
EOF EOF
for cf_prog in 'bison -y' byacc yacc for cf_prog in 'bison -y' byacc yacc
do do
rm -f y.tab.ch rm -f y.tab.ch
echo "$as_me:2780: checking for $cf_prog" >&5 echo "$as_me:2959: checking for $cf_prog" >&5
echo $ECHO_N "checking for $cf_prog... $ECHO_C" >&6 echo $ECHO_N "checking for $cf_prog... $ECHO_C" >&6
cf_command="$cf_prog conftest.y" cf_command="$cf_prog conftest.y"
cf_result=no cf_result=no
if { (eval echo "$as_me:2784: \"$cf_command\"") >&5 if { (eval echo "$as_me:2963: \"$cf_command\"") >&5
(eval $cf_command) 2>&5 (eval $cf_command) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2787: \$? = $ac_status" >&5 echo "$as_me:2966: \$? = $ac_status" >&5
(exit $ac_status); } && test -s y.tab.c ; then (exit $ac_status); } && test -s y.tab.c ; then
mv y.tab.c conftest.c mv y.tab.c conftest.c
rm -f y.tab.h rm -f y.tab.h
if test "$cf_prog" = 'bison -y' ; then if test "$cf_prog" = 'bison -y' ; then
if { (eval echo "$as_me:2792: \"$ac_link\"") >&5 if { (eval echo "$as_me:2971: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2795: \$? = $ac_status" >&5 echo "$as_me:2974: \$? = $ac_status" >&5
(exit $ac_status); } && test -s conftest ; then (exit $ac_status); } && test -s conftest ; then
cf_result=yes cf_result=yes
fi fi
else else
cf_result=yes cf_result=yes
fi fi
fi fi
echo "$as_me:2803: result: $cf_result" >&5 echo "$as_me:2982: result: $cf_result" >&5
echo "${ECHO_T}$cf_result" >&6 echo "${ECHO_T}$cf_result" >&6
if test $cf_result = yes ; then if test $cf_result = yes ; then
cf_cv_prog_YACC="$cf_prog" cf_cv_prog_YACC="$cf_prog"
break break
fi fi
done done
fi fi
fi fi
YACC="$cf_cv_prog_YACC" YACC="$cf_cv_prog_YACC"
for ac_prog in lint alint lclint tdlint splint for ac_prog in lint alint lclint tdlint splint
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
echo "$as_me:2820: checking for $ac_word" >&5 echo "$as_me:2999: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_LINT+set}" = set; then if test "${ac_cv_prog_LINT+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$LINT"; then if test -n "$LINT"; then
ac_cv_prog_LINT="$LINT" # Let the user override the test. ac_cv_prog_LINT="$LINT" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LINT="$ac_prog" ac_cv_prog_LINT="$ac_prog"
echo "$as_me:2835: found $ac_dir/$ac_word" >&5 echo "$as_me:3014: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
LINT=$ac_cv_prog_LINT LINT=$ac_cv_prog_LINT
if test -n "$LINT"; then if test -n "$LINT"; then
echo "$as_me:2843: result: $LINT" >&5 echo "$as_me:3022: result: $LINT" >&5
echo "${ECHO_T}$LINT" >&6 echo "${ECHO_T}$LINT" >&6
else else
echo "$as_me:2846: result: no" >&5 echo "$as_me:3025: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
test -n "$LINT" && break test -n "$LINT" && break
done done
test -n "$LINT" || LINT=":" test -n "$LINT" || LINT=":"
echo "$as_me:2854: checking if the POSIX test-macros are already defined" >&5 echo "$as_me:3033: checking if the POSIX test-macros are already defined" >&5
echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6
if test "${cf_cv_posix_visible+set}" = set; then if test "${cf_cv_posix_visible+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2861 "configure" #line 3040 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
int int
main (void) main (void)
{ {
#if defined(__POSIX_VISIBLE) && ((__POSIX_VISIBLE - 0L) > 0) \ #if defined(__POSIX_VISIBLE) && ((__POSIX_VISIBLE - 0L) > 0) \
&& defined(__XSI_VISIBLE) && ((__XSI_VISIBLE - 0L) > 0) \ && defined(__XSI_VISIBLE) && ((__XSI_VISIBLE - 0L) > 0) \
&& defined(__BSD_VISIBLE) && ((__BSD_VISIBLE - 0L) > 0) \ && defined(__BSD_VISIBLE) && ((__BSD_VISIBLE - 0L) > 0) \
&& defined(__ISO_C_VISIBLE) && ((__ISO_C_VISIBLE - 0L) > 0) && defined(__ISO_C_VISIBLE) && ((__ISO_C_VISIBLE - 0L) > 0)
#error conflicting symbols found #error conflicting symbols found
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:2880: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3059: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2883: \$? = $ac_status" >&5 echo "$as_me:3062: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:2886: \"$ac_try\"") >&5 { (eval echo "$as_me:3065: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2889: \$? = $ac_status" >&5 echo "$as_me:3068: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_posix_visible=no cf_cv_posix_visible=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_posix_visible=yes cf_cv_posix_visible=yes
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:2900: result: $cf_cv_posix_visible" >&5 echo "$as_me:3079: result: $cf_cv_posix_visible" >&5
echo "${ECHO_T}$cf_cv_posix_visible" >&6 echo "${ECHO_T}$cf_cv_posix_visible" >&6
if test "$cf_cv_posix_visible" = no; then if test "$cf_cv_posix_visible" = no; then
cf_XOPEN_SOURCE=500 cf_XOPEN_SOURCE=500
cf_POSIX_C_SOURCE=199506L cf_POSIX_C_SOURCE=199506L
cf_xopen_source= cf_xopen_source=
case $host_os in case $host_os in
aix[4-7]*) aix[4-7]*)
skipping to change at line 2945 skipping to change at line 3124
cf_xopen_source="-D_HPUX_SOURCE" cf_xopen_source="-D_HPUX_SOURCE"
;; ;;
irix[56].*) irix[56].*)
cf_xopen_source="-D_SGI_SOURCE" cf_xopen_source="-D_SGI_SOURCE"
cf_XOPEN_SOURCE= cf_XOPEN_SOURCE=
;; ;;
linux*|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin) linux*|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin)
cf_gnu_xopen_source=$cf_XOPEN_SOURCE cf_gnu_xopen_source=$cf_XOPEN_SOURCE
echo "$as_me:2945: checking if this is the GNU C library" >&5 echo "$as_me:3124: checking if this is the GNU C library" >&5
echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6
if test "${cf_cv_gnu_library+set}" = set; then if test "${cf_cv_gnu_library+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2952 "configure" #line 3131 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#if __GLIBC__ > 0 && __GLIBC_MINOR__ >= 0 #if __GLIBC__ > 0 && __GLIBC_MINOR__ >= 0
return 0; return 0;
#elif __NEWLIB__ > 0 && __NEWLIB_MINOR__ >= 0 #elif __NEWLIB__ > 0 && __NEWLIB_MINOR__ >= 0
return 0; return 0;
#else #else
# error not GNU C library # error not GNU C library
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:2971: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3150: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2974: \$? = $ac_status" >&5 echo "$as_me:3153: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:2977: \"$ac_try\"") >&5 { (eval echo "$as_me:3156: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2980: \$? = $ac_status" >&5 echo "$as_me:3159: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_gnu_library=yes cf_cv_gnu_library=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_gnu_library=no cf_cv_gnu_library=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:2991: result: $cf_cv_gnu_library" >&5 echo "$as_me:3170: result: $cf_cv_gnu_library" >&5
echo "${ECHO_T}$cf_cv_gnu_library" >&6 echo "${ECHO_T}$cf_cv_gnu_library" >&6
if test x$cf_cv_gnu_library = xyes; then if test x$cf_cv_gnu_library = xyes; then
# With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE
# was changed to help a little. newlib incorporated the change about 4 # was changed to help a little. newlib incorporated the change about 4
# years later. # years later.
echo "$as_me:2999: checking if _DEFAULT_SOURCE can be used as a basis" >& 5 echo "$as_me:3178: checking if _DEFAULT_SOURCE can be used as a basis" >& 5
echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6
if test "${cf_cv_gnu_library_219+set}" = set; then if test "${cf_cv_gnu_library_219+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cf_save="$CPPFLAGS" cf_save="$CPPFLAGS"
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3011 "configure" #line 3190 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 19) || (__GLIBC __ > 2) #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 19) || (__GLIBC __ > 2)
return 0; return 0;
#elif (__NEWLIB__ == 2 && __NEWLIB_MINOR__ >= 4) || (__GL IBC__ > 3) #elif (__NEWLIB__ == 2 && __NEWLIB_MINOR__ >= 4) || (__GL IBC__ > 3)
return 0; return 0;
#else #else
# error GNU C library __GLIBC__.__GLIBC_MINOR__ is too old # error GNU C library __GLIBC__.__GLIBC_MINOR__ is too old
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3030: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3209: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3033: \$? = $ac_status" >&5 echo "$as_me:3212: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:3036: \"$ac_try\"") >&5 { (eval echo "$as_me:3215: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3039: \$? = $ac_status" >&5 echo "$as_me:3218: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_gnu_library_219=yes cf_cv_gnu_library_219=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_gnu_library_219=no cf_cv_gnu_library_219=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
CPPFLAGS="$cf_save" CPPFLAGS="$cf_save"
fi fi
echo "$as_me:3051: result: $cf_cv_gnu_library_219" >&5 echo "$as_me:3230: result: $cf_cv_gnu_library_219" >&5
echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 echo "${ECHO_T}$cf_cv_gnu_library_219" >&6
if test "x$cf_cv_gnu_library_219" = xyes; then if test "x$cf_cv_gnu_library_219" = xyes; then
cf_save="$CPPFLAGS" cf_save="$CPPFLAGS"
echo "$as_me:3056: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 echo "$as_me:3235: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5
echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT _SOURCE... $ECHO_C" >&6 echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT _SOURCE... $ECHO_C" >&6
if test "${cf_cv_gnu_dftsrc_219+set}" = set; then if test "${cf_cv_gnu_dftsrc_219+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cf_fix_cppflags=no cf_fix_cppflags=no
cf_new_cflags= cf_new_cflags=
cf_new_cppflags= cf_new_cppflags=
cf_new_extra_cppflags= cf_new_extra_cppflags=
skipping to change at line 3161 skipping to change at line 3340
fi fi
if test -n "$cf_new_extra_cppflags" ; then if test -n "$cf_new_extra_cppflags" ; then
test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3161 "configure" #line 3340 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <limits.h> #include <limits.h>
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#if (_XOPEN_SOURCE >= $cf_gnu_xopen_source) && (M B_LEN_MAX > 1) #if (_XOPEN_SOURCE >= $cf_gnu_xopen_source) && (M B_LEN_MAX > 1)
return 0; return 0;
#else #else
# error GNU C library is too old # error GNU C library is too old
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3181: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3360: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3184: \$? = $ac_status" >&5 echo "$as_me:3363: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:3187: \"$ac_try\"") >&5 { (eval echo "$as_me:3366: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3190: \$? = $ac_status" >&5 echo "$as_me:3369: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_gnu_dftsrc_219=yes cf_cv_gnu_dftsrc_219=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_gnu_dftsrc_219=no cf_cv_gnu_dftsrc_219=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:3201: result: $cf_cv_gnu_dftsrc_219" >&5 echo "$as_me:3380: result: $cf_cv_gnu_dftsrc_219" >&5
echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6
test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save"
else else
cf_cv_gnu_dftsrc_219=maybe cf_cv_gnu_dftsrc_219=maybe
fi fi
if test "x$cf_cv_gnu_dftsrc_219" != xyes; then if test "x$cf_cv_gnu_dftsrc_219" != xyes; then
echo "$as_me:3210: checking if we must define _GNU_SOURCE" >&5 echo "$as_me:3389: checking if we must define _GNU_SOURCE" >&5
echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6
if test "${cf_cv_gnu_source+set}" = set; then if test "${cf_cv_gnu_source+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3217 "configure" #line 3396 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifndef _XOPEN_SOURCE #ifndef _XOPEN_SOURCE
#error expected _XOPEN_SOURCE to be defined #error expected _XOPEN_SOURCE to be defined
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3232: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3411: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3235: \$? = $ac_status" >&5 echo "$as_me:3414: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:3238: \"$ac_try\"") >&5 { (eval echo "$as_me:3417: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3241: \$? = $ac_status" >&5 echo "$as_me:3420: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_gnu_source=no cf_cv_gnu_source=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_save="$CPPFLAGS" cf_save="$CPPFLAGS"
cf_fix_cppflags=no cf_fix_cppflags=no
cf_new_cflags= cf_new_cflags=
cf_new_cppflags= cf_new_cppflags=
skipping to change at line 3348 skipping to change at line 3527
fi fi
if test -n "$cf_new_extra_cppflags" ; then if test -n "$cf_new_extra_cppflags" ; then
test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3348 "configure" #line 3527 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifdef _XOPEN_SOURCE #ifdef _XOPEN_SOURCE
#error expected _XOPEN_SOURCE to be undefined #error expected _XOPEN_SOURCE to be undefined
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3363: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3542: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3366: \$? = $ac_status" >&5 echo "$as_me:3545: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:3369: \"$ac_try\"") >&5 { (eval echo "$as_me:3548: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3372: \$? = $ac_status" >&5 echo "$as_me:3551: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_gnu_source=no cf_cv_gnu_source=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_gnu_source=yes cf_cv_gnu_source=yes
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
CPPFLAGS="$cf_save" CPPFLAGS="$cf_save"
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:3387: result: $cf_cv_gnu_source" >&5 echo "$as_me:3566: result: $cf_cv_gnu_source" >&5
echo "${ECHO_T}$cf_cv_gnu_source" >&6 echo "${ECHO_T}$cf_cv_gnu_source" >&6
if test "$cf_cv_gnu_source" = yes if test "$cf_cv_gnu_source" = yes
then then
echo "$as_me:3392: checking if we should also define _DEFAULT_SOU RCE" >&5 echo "$as_me:3571: checking if we should also define _DEFAULT_SOU RCE" >&5
echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6
if test "${cf_cv_default_source+set}" = set; then if test "${cf_cv_default_source+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3402 "configure" #line 3581 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifdef _DEFAULT_SOURCE #ifdef _DEFAULT_SOURCE
#error expected _DEFAULT_SOURCE to be undefined #error expected _DEFAULT_SOURCE to be undefined
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3417: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3596: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3420: \$? = $ac_status" >&5 echo "$as_me:3599: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:3423: \"$ac_try\"") >&5 { (eval echo "$as_me:3602: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3426: \$? = $ac_status" >&5 echo "$as_me:3605: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_default_source=no cf_cv_default_source=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_default_source=yes cf_cv_default_source=yes
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:3437: result: $cf_cv_default_source" >&5 echo "$as_me:3616: result: $cf_cv_default_source" >&5
echo "${ECHO_T}$cf_cv_default_source" >&6 echo "${ECHO_T}$cf_cv_default_source" >&6
if test "$cf_cv_default_source" = yes if test "$cf_cv_default_source" = yes
then then
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE"
fi fi
fi fi
fi fi
skipping to change at line 3474 skipping to change at line 3653
cf_save_CPPFLAGS="$CPPFLAGS" cf_save_CPPFLAGS="$CPPFLAGS"
cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \ cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \
sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'`
cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \ cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'`
echo "$as_me:3474: checking if we should define _POSIX_C_SOURCE" >&5 echo "$as_me:3653: checking if we should define _POSIX_C_SOURCE" >&5
echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
if test "${cf_cv_posix_c_source+set}" = set; then if test "${cf_cv_posix_c_source+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
echo "${as_me:-configure}:3480: testing if the symbol is already defined go no f urther ..." 1>&5 echo "${as_me:-configure}:3659: testing if the symbol is already defined go no f urther ..." 1>&5
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3483 "configure" #line 3662 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifndef _POSIX_C_SOURCE #ifndef _POSIX_C_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3498: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3677: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3501: \$? = $ac_status" >&5 echo "$as_me:3680: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:3504: \"$ac_try\"") >&5 { (eval echo "$as_me:3683: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3507: \$? = $ac_status" >&5 echo "$as_me:3686: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_posix_c_source=no cf_cv_posix_c_source=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_want_posix_source=no cf_want_posix_source=no
case .$cf_POSIX_C_SOURCE in case .$cf_POSIX_C_SOURCE in
.[12]??*) .[12]??*)
cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE" cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
;; ;;
.2) .2)
cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE" cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
cf_want_posix_source=yes cf_want_posix_source=yes
;; ;;
.*) .*)
cf_want_posix_source=yes cf_want_posix_source=yes
;; ;;
esac esac
if test "$cf_want_posix_source" = yes ; then if test "$cf_want_posix_source" = yes ; then
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3528 "configure" #line 3707 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifdef _POSIX_SOURCE #ifdef _POSIX_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3543: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3722: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3546: \$? = $ac_status" >&5 echo "$as_me:3725: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:3549: \"$ac_try\"") >&5 { (eval echo "$as_me:3728: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3552: \$? = $ac_status" >&5 echo "$as_me:3731: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
: :
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE" cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "${as_me:-configure}:3563: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 echo "${as_me:-configure}:3742: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
CFLAGS="$cf_trim_CFLAGS" CFLAGS="$cf_trim_CFLAGS"
CPPFLAGS="$cf_trim_CPPFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS"
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source"
echo "${as_me:-configure}:3571: testing if the second compile does not leave our definition intact error ..." 1>&5 echo "${as_me:-configure}:3750: testing if the second compile does not leave our definition intact error ..." 1>&5
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3574 "configure" #line 3753 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifndef _POSIX_C_SOURCE #ifndef _POSIX_C_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3589: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3768: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3592: \$? = $ac_status" >&5 echo "$as_me:3771: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:3595: \"$ac_try\"") >&5 { (eval echo "$as_me:3774: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3598: \$? = $ac_status" >&5 echo "$as_me:3777: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
: :
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_posix_c_source=no cf_cv_posix_c_source=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
CFLAGS="$cf_save_CFLAGS" CFLAGS="$cf_save_CFLAGS"
CPPFLAGS="$cf_save_CPPFLAGS" CPPFLAGS="$cf_save_CPPFLAGS"
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:3614: result: $cf_cv_posix_c_source" >&5 echo "$as_me:3793: result: $cf_cv_posix_c_source" >&5
echo "${ECHO_T}$cf_cv_posix_c_source" >&6 echo "${ECHO_T}$cf_cv_posix_c_source" >&6
if test "$cf_cv_posix_c_source" != no ; then if test "$cf_cv_posix_c_source" != no ; then
CFLAGS="$cf_trim_CFLAGS" CFLAGS="$cf_trim_CFLAGS"
CPPFLAGS="$cf_trim_CPPFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS"
cf_fix_cppflags=no cf_fix_cppflags=no
cf_new_cflags= cf_new_cflags=
cf_new_cppflags= cf_new_cppflags=
cf_new_extra_cppflags= cf_new_extra_cppflags=
skipping to change at line 3754 skipping to change at line 3933
solaris2.*) solaris2.*)
cf_xopen_source="-D__EXTENSIONS__" cf_xopen_source="-D__EXTENSIONS__"
cf_cv_xopen_source=broken cf_cv_xopen_source=broken
;; ;;
sysv4.2uw2.*) # Novell/SCO UnixWare 2.x (tested on 2.1.2) sysv4.2uw2.*) # Novell/SCO UnixWare 2.x (tested on 2.1.2)
cf_XOPEN_SOURCE= cf_XOPEN_SOURCE=
cf_POSIX_C_SOURCE= cf_POSIX_C_SOURCE=
;; ;;
*) *)
echo "$as_me:3754: checking if we should define _XOPEN_SOURCE" >&5 echo "$as_me:3933: checking if we should define _XOPEN_SOURCE" >&5
echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
if test "${cf_cv_xopen_source+set}" = set; then if test "${cf_cv_xopen_source+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3761 "configure" #line 3940 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifndef _XOPEN_SOURCE #ifndef _XOPEN_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3780: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3959: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3783: \$? = $ac_status" >&5 echo "$as_me:3962: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:3786: \"$ac_try\"") >&5 { (eval echo "$as_me:3965: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3789: \$? = $ac_status" >&5 echo "$as_me:3968: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_xopen_source=no cf_cv_xopen_source=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_save="$CPPFLAGS" cf_save="$CPPFLAGS"
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3801 "configure" #line 3980 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifdef _XOPEN_SOURCE #ifdef _XOPEN_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3820: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3999: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3823: \$? = $ac_status" >&5 echo "$as_me:4002: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:3826: \"$ac_try\"") >&5 { (eval echo "$as_me:4005: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3829: \$? = $ac_status" >&5 echo "$as_me:4008: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_xopen_source=no cf_cv_xopen_source=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_xopen_source=$cf_XOPEN_SOURCE cf_cv_xopen_source=$cf_XOPEN_SOURCE
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
CPPFLAGS="$cf_save" CPPFLAGS="$cf_save"
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:3844: result: $cf_cv_xopen_source" >&5 echo "$as_me:4023: result: $cf_cv_xopen_source" >&5
echo "${ECHO_T}$cf_cv_xopen_source" >&6 echo "${ECHO_T}$cf_cv_xopen_source" >&6
if test "$cf_cv_xopen_source" != no ; then if test "$cf_cv_xopen_source" != no ; then
CFLAGS=`echo "$CFLAGS" | \ CFLAGS=`echo "$CFLAGS" | \
sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?$//g'`
CPPFLAGS=`echo "$CPPFLAGS" | \ CPPFLAGS=`echo "$CPPFLAGS" | \
sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
skipping to change at line 3974 skipping to change at line 4153
cf_save_CPPFLAGS="$CPPFLAGS" cf_save_CPPFLAGS="$CPPFLAGS"
cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \ cf_trim_CFLAGS=`echo "$cf_save_CFLAGS" | \
sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'`
cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \ cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \
sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'`
echo "$as_me:3974: checking if we should define _POSIX_C_SOURCE" >&5 echo "$as_me:4153: checking if we should define _POSIX_C_SOURCE" >&5
echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6
if test "${cf_cv_posix_c_source+set}" = set; then if test "${cf_cv_posix_c_source+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
echo "${as_me:-configure}:3980: testing if the symbol is already defined go no f urther ..." 1>&5 echo "${as_me:-configure}:4159: testing if the symbol is already defined go no f urther ..." 1>&5
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3983 "configure" #line 4162 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifndef _POSIX_C_SOURCE #ifndef _POSIX_C_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:3998: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4177: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4001: \$? = $ac_status" >&5 echo "$as_me:4180: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:4004: \"$ac_try\"") >&5 { (eval echo "$as_me:4183: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4007: \$? = $ac_status" >&5 echo "$as_me:4186: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_posix_c_source=no cf_cv_posix_c_source=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_want_posix_source=no cf_want_posix_source=no
case .$cf_POSIX_C_SOURCE in case .$cf_POSIX_C_SOURCE in
.[12]??*) .[12]??*)
cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE" cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
;; ;;
.2) .2)
cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE" cf_cv_posix_c_source="-D_POSIX_C_SOURCE=$cf_POSIX_C_SOURCE"
cf_want_posix_source=yes cf_want_posix_source=yes
;; ;;
.*) .*)
cf_want_posix_source=yes cf_want_posix_source=yes
;; ;;
esac esac
if test "$cf_want_posix_source" = yes ; then if test "$cf_want_posix_source" = yes ; then
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 4028 "configure" #line 4207 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifdef _POSIX_SOURCE #ifdef _POSIX_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:4043: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4222: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4046: \$? = $ac_status" >&5 echo "$as_me:4225: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:4049: \"$ac_try\"") >&5 { (eval echo "$as_me:4228: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4052: \$? = $ac_status" >&5 echo "$as_me:4231: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
: :
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE" cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE"
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "${as_me:-configure}:4063: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 echo "${as_me:-configure}:4242: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5
CFLAGS="$cf_trim_CFLAGS" CFLAGS="$cf_trim_CFLAGS"
CPPFLAGS="$cf_trim_CPPFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS"
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source"
echo "${as_me:-configure}:4071: testing if the second compile does not leave our definition intact error ..." 1>&5 echo "${as_me:-configure}:4250: testing if the second compile does not leave our definition intact error ..." 1>&5
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 4074 "configure" #line 4253 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifndef _POSIX_C_SOURCE #ifndef _POSIX_C_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:4089: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4268: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4092: \$? = $ac_status" >&5 echo "$as_me:4271: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:4095: \"$ac_try\"") >&5 { (eval echo "$as_me:4274: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4098: \$? = $ac_status" >&5 echo "$as_me:4277: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
: :
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_posix_c_source=no cf_cv_posix_c_source=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
CFLAGS="$cf_save_CFLAGS" CFLAGS="$cf_save_CFLAGS"
CPPFLAGS="$cf_save_CPPFLAGS" CPPFLAGS="$cf_save_CPPFLAGS"
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:4114: result: $cf_cv_posix_c_source" >&5 echo "$as_me:4293: result: $cf_cv_posix_c_source" >&5
echo "${ECHO_T}$cf_cv_posix_c_source" >&6 echo "${ECHO_T}$cf_cv_posix_c_source" >&6
if test "$cf_cv_posix_c_source" != no ; then if test "$cf_cv_posix_c_source" != no ; then
CFLAGS="$cf_trim_CFLAGS" CFLAGS="$cf_trim_CFLAGS"
CPPFLAGS="$cf_trim_CPPFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS"
cf_fix_cppflags=no cf_fix_cppflags=no
cf_new_cflags= cf_new_cflags=
cf_new_cppflags= cf_new_cppflags=
cf_new_extra_cppflags= cf_new_extra_cppflags=
skipping to change at line 4308 skipping to change at line 4487
test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
&& test -z "${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \
&& cf_fix_cppflags=no && cf_fix_cppflags=no
;; ;;
esac esac
done done
if test -n "$cf_new_cflags" ; then if test -n "$cf_new_cflags" ; then
test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6
echo "${as_me:-configure}:4308: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 echo "${as_me:-configure}:4487: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
test -n "$CFLAGS" && CFLAGS="$CFLAGS " test -n "$CFLAGS" && CFLAGS="$CFLAGS "
CFLAGS="${CFLAGS}$cf_new_cflags" CFLAGS="${CFLAGS}$cf_new_cflags"
fi fi
if test -n "$cf_new_cppflags" ; then if test -n "$cf_new_cppflags" ; then
test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6
echo "${as_me:-configure}:4318: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 echo "${as_me:-configure}:4497: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
fi fi
if test -n "$cf_new_extra_cppflags" ; then if test -n "$cf_new_extra_cppflags" ; then
test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cpp flags" 1>&6 test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cpp flags" 1>&6
echo "${as_me:-configure}:4328: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cp pflags ..." 1>&5 echo "${as_me:-configure}:4507: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cp pflags ..." 1>&5
test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
fi fi
if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then
echo "$as_me:4338: checking if _XOPEN_SOURCE really is set" >&5 echo "$as_me:4517: checking if _XOPEN_SOURCE really is set" >&5
echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6 echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 4341 "configure" #line 4520 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
int int
main (void) main (void)
{ {
#ifndef _XOPEN_SOURCE #ifndef _XOPEN_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:4356: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4535: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4359: \$? = $ac_status" >&5 echo "$as_me:4538: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:4362: \"$ac_try\"") >&5 { (eval echo "$as_me:4541: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4365: \$? = $ac_status" >&5 echo "$as_me:4544: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_XOPEN_SOURCE_set=yes cf_XOPEN_SOURCE_set=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_XOPEN_SOURCE_set=no cf_XOPEN_SOURCE_set=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
echo "$as_me:4374: result: $cf_XOPEN_SOURCE_set" >&5 echo "$as_me:4553: result: $cf_XOPEN_SOURCE_set" >&5
echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6 echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6
if test $cf_XOPEN_SOURCE_set = yes if test $cf_XOPEN_SOURCE_set = yes
then then
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 4379 "configure" #line 4558 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
int int
main (void) main (void)
{ {
#if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE #if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:4394: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4573: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4397: \$? = $ac_status" >&5 echo "$as_me:4576: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:4400: \"$ac_try\"") >&5 { (eval echo "$as_me:4579: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4403: \$? = $ac_status" >&5 echo "$as_me:4582: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_XOPEN_SOURCE_set_ok=yes cf_XOPEN_SOURCE_set_ok=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_XOPEN_SOURCE_set_ok=no cf_XOPEN_SOURCE_set_ok=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
if test $cf_XOPEN_SOURCE_set_ok = no if test $cf_XOPEN_SOURCE_set_ok = no
then then
{ echo "$as_me:4414: WARNING: _XOPEN_SOURCE is lower than requested" >&5 { echo "$as_me:4593: WARNING: _XOPEN_SOURCE is lower than requested" >&5
echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;}
fi fi
else else
echo "$as_me:4419: checking if we should define _XOPEN_SOURCE" >&5 echo "$as_me:4598: checking if we should define _XOPEN_SOURCE" >&5
echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6
if test "${cf_cv_xopen_source+set}" = set; then if test "${cf_cv_xopen_source+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 4426 "configure" #line 4605 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifndef _XOPEN_SOURCE #ifndef _XOPEN_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:4445: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4624: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4448: \$? = $ac_status" >&5 echo "$as_me:4627: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:4451: \"$ac_try\"") >&5 { (eval echo "$as_me:4630: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4454: \$? = $ac_status" >&5 echo "$as_me:4633: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_xopen_source=no cf_cv_xopen_source=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_save="$CPPFLAGS" cf_save="$CPPFLAGS"
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 4466 "configure" #line 4645 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
int int
main (void) main (void)
{ {
#ifdef _XOPEN_SOURCE #ifdef _XOPEN_SOURCE
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:4485: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4664: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4488: \$? = $ac_status" >&5 echo "$as_me:4667: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:4491: \"$ac_try\"") >&5 { (eval echo "$as_me:4670: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4494: \$? = $ac_status" >&5 echo "$as_me:4673: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_xopen_source=no cf_cv_xopen_source=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_xopen_source=$cf_XOPEN_SOURCE cf_cv_xopen_source=$cf_XOPEN_SOURCE
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
CPPFLAGS="$cf_save" CPPFLAGS="$cf_save"
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:4509: result: $cf_cv_xopen_source" >&5 echo "$as_me:4688: result: $cf_cv_xopen_source" >&5
echo "${ECHO_T}$cf_cv_xopen_source" >&6 echo "${ECHO_T}$cf_cv_xopen_source" >&6
if test "$cf_cv_xopen_source" != no ; then if test "$cf_cv_xopen_source" != no ; then
CFLAGS=`echo "$CFLAGS" | \ CFLAGS=`echo "$CFLAGS" | \
sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?$//g'`
CPPFLAGS=`echo "$CPPFLAGS" | \ CPPFLAGS=`echo "$CPPFLAGS" | \
sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"_XOPEN_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \
skipping to change at line 4628 skipping to change at line 4807
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
fi fi
fi fi
fi fi
fi # cf_cv_posix_visible fi # cf_cv_posix_visible
echo "$as_me:4628: checking if SIGWINCH is defined" >&5 echo "$as_me:4807: checking if SIGWINCH is defined" >&5
echo $ECHO_N "checking if SIGWINCH is defined... $ECHO_C" >&6 echo $ECHO_N "checking if SIGWINCH is defined... $ECHO_C" >&6
if test "${cf_cv_define_sigwinch+set}" = set; then if test "${cf_cv_define_sigwinch+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 4635 "configure" #line 4814 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/signal.h> #include <sys/signal.h>
int int
main (void) main (void)
{ {
int x = SIGWINCH int x = SIGWINCH; (void)x
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:4650: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4829: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4653: \$? = $ac_status" >&5 echo "$as_me:4832: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:4656: \"$ac_try\"") >&5 { (eval echo "$as_me:4835: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4659: \$? = $ac_status" >&5 echo "$as_me:4838: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_define_sigwinch=yes cf_cv_define_sigwinch=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 4666 "configure" #line 4845 "configure"
#include "confdefs.h" #include "confdefs.h"
#undef _XOPEN_SOURCE #undef _XOPEN_SOURCE
#undef _POSIX_SOURCE #undef _POSIX_SOURCE
#undef _POSIX_C_SOURCE #undef _POSIX_C_SOURCE
#include <sys/types.h> #include <sys/types.h>
#include <sys/signal.h> #include <sys/signal.h>
int int
main (void) main (void)
{ {
int x = SIGWINCH int x = SIGWINCH; (void)x
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:4684: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4863: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4687: \$? = $ac_status" >&5 echo "$as_me:4866: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:4690: \"$ac_try\"") >&5 { (eval echo "$as_me:4869: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4693: \$? = $ac_status" >&5 echo "$as_me:4872: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_define_sigwinch=maybe cf_cv_define_sigwinch=maybe
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_define_sigwinch=no cf_cv_define_sigwinch=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:4707: result: $cf_cv_define_sigwinch" >&5 echo "$as_me:4886: result: $cf_cv_define_sigwinch" >&5
echo "${ECHO_T}$cf_cv_define_sigwinch" >&6 echo "${ECHO_T}$cf_cv_define_sigwinch" >&6
if test "$cf_cv_define_sigwinch" = maybe ; then if test "$cf_cv_define_sigwinch" = maybe ; then
echo "$as_me:4711: checking for actual SIGWINCH definition" >&5 echo "$as_me:4890: checking for actual SIGWINCH definition" >&5
echo $ECHO_N "checking for actual SIGWINCH definition... $ECHO_C" >&6 echo $ECHO_N "checking for actual SIGWINCH definition... $ECHO_C" >&6
if test "${cf_cv_fixup_sigwinch+set}" = set; then if test "${cf_cv_fixup_sigwinch+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cf_cv_fixup_sigwinch=unknown cf_cv_fixup_sigwinch=unknown
cf_sigwinch=32 cf_sigwinch=32
while test $cf_sigwinch != 1 while test $cf_sigwinch != 1
do do
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 4722 "configure" #line 4901 "configure"
#include "confdefs.h" #include "confdefs.h"
#undef _XOPEN_SOURCE #undef _XOPEN_SOURCE
#undef _POSIX_SOURCE #undef _POSIX_SOURCE
#undef _POSIX_C_SOURCE #undef _POSIX_C_SOURCE
#include <sys/types.h> #include <sys/types.h>
#include <sys/signal.h> #include <sys/signal.h>
int int
main (void) main (void)
{ {
#if SIGWINCH != $cf_sigwinch #if SIGWINCH != $cf_sigwinch
make an error make an error
#endif #endif
int x = SIGWINCH int x = SIGWINCH; (void)x
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:4744: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4923: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4747: \$? = $ac_status" >&5 echo "$as_me:4926: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:4750: \"$ac_try\"") >&5 { (eval echo "$as_me:4929: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4753: \$? = $ac_status" >&5 echo "$as_me:4932: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_fixup_sigwinch=$cf_sigwinch cf_cv_fixup_sigwinch=$cf_sigwinch
break break
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
cf_sigwinch=`expr $cf_sigwinch - 1` cf_sigwinch=`expr $cf_sigwinch - 1`
done done
fi fi
echo "$as_me:4767: result: $cf_cv_fixup_sigwinch" >&5 echo "$as_me:4946: result: $cf_cv_fixup_sigwinch" >&5
echo "${ECHO_T}$cf_cv_fixup_sigwinch" >&6 echo "${ECHO_T}$cf_cv_fixup_sigwinch" >&6
if test "$cf_cv_fixup_sigwinch" != unknown ; then if test "$cf_cv_fixup_sigwinch" != unknown ; then
CPPFLAGS="$CPPFLAGS -DSIGWINCH=$cf_cv_fixup_sigwinch" CPPFLAGS="$CPPFLAGS -DSIGWINCH=$cf_cv_fixup_sigwinch"
fi fi
fi fi
case $cf_cv_system_name in case $cf_cv_system_name in
os2*) os2*)
CFLAGS="$CFLAGS -Zmt" CFLAGS="$CFLAGS -Zmt"
skipping to change at line 4804 skipping to change at line 4983
EOF EOF
case $cf_cv_system_name in case $cf_cv_system_name in
OS/2*|os2*) OS/2*|os2*)
if test "$DFT_LWR_MODEL" = libtool; then if test "$DFT_LWR_MODEL" = libtool; then
LIB_PREFIX='lib' LIB_PREFIX='lib'
else else
LIB_PREFIX='' LIB_PREFIX=''
fi fi
;; ;;
*-msvc*)
LIB_PREFIX=''
;;
*) LIB_PREFIX='lib' *) LIB_PREFIX='lib'
;; ;;
esac esac
LIB_PREFIX=$LIB_PREFIX LIB_PREFIX=$LIB_PREFIX
echo "$as_me:4809: checking whether ln -s works" >&5 echo "$as_me:4991: checking whether ln -s works" >&5
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
LN_S=$as_ln_s LN_S=$as_ln_s
if test "$LN_S" = "ln -s"; then if test "$LN_S" = "ln -s"; then
echo "$as_me:4813: result: yes" >&5 echo "$as_me:4995: result: yes" >&5
echo "${ECHO_T}yes" >&6 echo "${ECHO_T}yes" >&6
else else
echo "$as_me:4816: result: no, using $LN_S" >&5 echo "$as_me:4998: result: no, using $LN_S" >&5
echo "${ECHO_T}no, using $LN_S" >&6 echo "${ECHO_T}no, using $LN_S" >&6
fi fi
if test "$cross_compiling" = yes ; then if test "$cross_compiling" = yes ; then
# defaults that we might want to override # defaults that we might want to override
: ${BUILD_CFLAGS:=''} : ${BUILD_CFLAGS:=''}
: ${BUILD_CPPFLAGS:='-I$(INCDIR)'} : ${BUILD_CPPFLAGS:='-I$(INCDIR)'}
: ${BUILD_LDFLAGS:=''} : ${BUILD_LDFLAGS:=''}
: ${BUILD_LIBS:=''} : ${BUILD_LIBS:=''}
skipping to change at line 4839 skipping to change at line 5021
# Check whether --with-build-cc or --without-build-cc was given. # Check whether --with-build-cc or --without-build-cc was given.
if test "${with_build_cc+set}" = set; then if test "${with_build_cc+set}" = set; then
withval="$with_build_cc" withval="$with_build_cc"
BUILD_CC="$withval" BUILD_CC="$withval"
else else
for ac_prog in gcc clang c99 c89 cc cl for ac_prog in gcc clang c99 c89 cc cl
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
echo "$as_me:4839: checking for $ac_word" >&5 echo "$as_me:5021: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_BUILD_CC+set}" = set; then if test "${ac_cv_prog_BUILD_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$BUILD_CC"; then if test -n "$BUILD_CC"; then
ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test. ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_BUILD_CC="$ac_prog" ac_cv_prog_BUILD_CC="$ac_prog"
echo "$as_me:4854: found $ac_dir/$ac_word" >&5 echo "$as_me:5036: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
BUILD_CC=$ac_cv_prog_BUILD_CC BUILD_CC=$ac_cv_prog_BUILD_CC
if test -n "$BUILD_CC"; then if test -n "$BUILD_CC"; then
echo "$as_me:4862: result: $BUILD_CC" >&5 echo "$as_me:5044: result: $BUILD_CC" >&5
echo "${ECHO_T}$BUILD_CC" >&6 echo "${ECHO_T}$BUILD_CC" >&6
else else
echo "$as_me:4865: result: no" >&5 echo "$as_me:5047: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
test -n "$BUILD_CC" && break test -n "$BUILD_CC" && break
done done
test -n "$BUILD_CC" || BUILD_CC="none" test -n "$BUILD_CC" || BUILD_CC="none"
fi; fi;
echo "$as_me:4874: checking for native build C compiler" >&5 echo "$as_me:5056: checking for native build C compiler" >&5
echo $ECHO_N "checking for native build C compiler... $ECHO_C" >&6 echo $ECHO_N "checking for native build C compiler... $ECHO_C" >&6
echo "$as_me:4876: result: $BUILD_CC" >&5 echo "$as_me:5058: result: $BUILD_CC" >&5
echo "${ECHO_T}$BUILD_CC" >&6 echo "${ECHO_T}$BUILD_CC" >&6
echo "$as_me:4879: checking for native build C preprocessor" >&5 echo "$as_me:5061: checking for native build C preprocessor" >&5
echo $ECHO_N "checking for native build C preprocessor... $ECHO_C" >&6 echo $ECHO_N "checking for native build C preprocessor... $ECHO_C" >&6
# Check whether --with-build-cpp or --without-build-cpp was given. # Check whether --with-build-cpp or --without-build-cpp was given.
if test "${with_build_cpp+set}" = set; then if test "${with_build_cpp+set}" = set; then
withval="$with_build_cpp" withval="$with_build_cpp"
BUILD_CPP="$withval" BUILD_CPP="$withval"
else else
BUILD_CPP='${BUILD_CC} -E' BUILD_CPP='${BUILD_CC} -E'
fi; fi;
echo "$as_me:4889: result: $BUILD_CPP" >&5 echo "$as_me:5071: result: $BUILD_CPP" >&5
echo "${ECHO_T}$BUILD_CPP" >&6 echo "${ECHO_T}$BUILD_CPP" >&6
echo "$as_me:4892: checking for native build C flags" >&5 echo "$as_me:5074: checking for native build C flags" >&5
echo $ECHO_N "checking for native build C flags... $ECHO_C" >&6 echo $ECHO_N "checking for native build C flags... $ECHO_C" >&6
# Check whether --with-build-cflags or --without-build-cflags was given. # Check whether --with-build-cflags or --without-build-cflags was given.
if test "${with_build_cflags+set}" = set; then if test "${with_build_cflags+set}" = set; then
withval="$with_build_cflags" withval="$with_build_cflags"
BUILD_CFLAGS="$withval" BUILD_CFLAGS="$withval"
fi; fi;
echo "$as_me:4900: result: $BUILD_CFLAGS" >&5 echo "$as_me:5082: result: $BUILD_CFLAGS" >&5
echo "${ECHO_T}$BUILD_CFLAGS" >&6 echo "${ECHO_T}$BUILD_CFLAGS" >&6
echo "$as_me:4903: checking for native build C preprocessor-flags" >&5 echo "$as_me:5085: checking for native build C preprocessor-flags" >&5
echo $ECHO_N "checking for native build C preprocessor-flags... $ECHO_C" >&6 echo $ECHO_N "checking for native build C preprocessor-flags... $ECHO_C" >&6
# Check whether --with-build-cppflags or --without-build-cppflags was given. # Check whether --with-build-cppflags or --without-build-cppflags was given.
if test "${with_build_cppflags+set}" = set; then if test "${with_build_cppflags+set}" = set; then
withval="$with_build_cppflags" withval="$with_build_cppflags"
BUILD_CPPFLAGS="$withval" BUILD_CPPFLAGS="$withval"
fi; fi;
echo "$as_me:4911: result: $BUILD_CPPFLAGS" >&5 echo "$as_me:5093: result: $BUILD_CPPFLAGS" >&5
echo "${ECHO_T}$BUILD_CPPFLAGS" >&6 echo "${ECHO_T}$BUILD_CPPFLAGS" >&6
echo "$as_me:4914: checking for native build linker-flags" >&5 echo "$as_me:5096: checking for native build linker-flags" >&5
echo $ECHO_N "checking for native build linker-flags... $ECHO_C" >&6 echo $ECHO_N "checking for native build linker-flags... $ECHO_C" >&6
# Check whether --with-build-ldflags or --without-build-ldflags was given. # Check whether --with-build-ldflags or --without-build-ldflags was given.
if test "${with_build_ldflags+set}" = set; then if test "${with_build_ldflags+set}" = set; then
withval="$with_build_ldflags" withval="$with_build_ldflags"
BUILD_LDFLAGS="$withval" BUILD_LDFLAGS="$withval"
fi; fi;
echo "$as_me:4922: result: $BUILD_LDFLAGS" >&5 echo "$as_me:5104: result: $BUILD_LDFLAGS" >&5
echo "${ECHO_T}$BUILD_LDFLAGS" >&6 echo "${ECHO_T}$BUILD_LDFLAGS" >&6
echo "$as_me:4925: checking for native build linker-libraries" >&5 echo "$as_me:5107: checking for native build linker-libraries" >&5
echo $ECHO_N "checking for native build linker-libraries... $ECHO_C" >&6 echo $ECHO_N "checking for native build linker-libraries... $ECHO_C" >&6
# Check whether --with-build-libs or --without-build-libs was given. # Check whether --with-build-libs or --without-build-libs was given.
if test "${with_build_libs+set}" = set; then if test "${with_build_libs+set}" = set; then
withval="$with_build_libs" withval="$with_build_libs"
BUILD_LIBS="$withval" BUILD_LIBS="$withval"
fi; fi;
echo "$as_me:4933: result: $BUILD_LIBS" >&5 echo "$as_me:5115: result: $BUILD_LIBS" >&5
echo "${ECHO_T}$BUILD_LIBS" >&6 echo "${ECHO_T}$BUILD_LIBS" >&6
# this assumes we're on Unix. # this assumes we're on Unix.
BUILD_EXEEXT= BUILD_EXEEXT=
BUILD_OBJEXT=o BUILD_OBJEXT=o
: ${BUILD_CC:='${CC}'} : ${BUILD_CC:='${CC}'}
if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then
{ { echo "$as_me:4943: error: Cross-build requires two compilers. { { echo "$as_me:5125: error: Cross-build requires two compilers.
Use --with-build-cc to specify the native compiler." >&5 Use --with-build-cc to specify the native compiler." >&5
echo "$as_me: error: Cross-build requires two compilers. echo "$as_me: error: Cross-build requires two compilers.
Use --with-build-cc to specify the native compiler." >&2;} Use --with-build-cc to specify the native compiler." >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
else else
: ${BUILD_CC:='${CC}'} : ${BUILD_CC:='${CC}'}
: ${BUILD_CPP:='${CPP}'} : ${BUILD_CPP:='${CPP}'}
: ${BUILD_CFLAGS:='${CFLAGS}'} : ${BUILD_CFLAGS:='${CFLAGS}'}
: ${BUILD_CPPFLAGS:='${CPPFLAGS}'} : ${BUILD_CPPFLAGS:='${CPPFLAGS}'}
: ${BUILD_LDFLAGS:='${LDFLAGS}'} : ${BUILD_LDFLAGS:='${LDFLAGS}'}
: ${BUILD_LIBS:='${LIBS}'} : ${BUILD_LIBS:='${LIBS}'}
: ${BUILD_EXEEXT:='$x'} : ${BUILD_EXEEXT:='$x'}
: ${BUILD_OBJEXT:='o'} : ${BUILD_OBJEXT:='o'}
fi fi
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo "$as_me:4964: checking for $ac_word" >&5 echo "$as_me:5146: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_RANLIB+set}" = set; then if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$RANLIB"; then if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
echo "$as_me:4979: found $ac_dir/$ac_word" >&5 echo "$as_me:5161: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
RANLIB=$ac_cv_prog_RANLIB RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then if test -n "$RANLIB"; then
echo "$as_me:4987: result: $RANLIB" >&5 echo "$as_me:5169: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6 echo "${ECHO_T}$RANLIB" >&6
else else
echo "$as_me:4990: result: no" >&5 echo "$as_me:5172: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
fi fi
if test -z "$ac_cv_prog_RANLIB"; then if test -z "$ac_cv_prog_RANLIB"; then
ac_ct_RANLIB=$RANLIB ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program name with args. # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2 set dummy ranlib; ac_word=$2
echo "$as_me:4999: checking for $ac_word" >&5 echo "$as_me:5181: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$ac_ct_RANLIB"; then if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_RANLIB="ranlib" ac_cv_prog_ac_ct_RANLIB="ranlib"
echo "$as_me:5014: found $ac_dir/$ac_word" >&5 echo "$as_me:5196: found $ac_dir/$ac_word" >&5
break break
done done
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="':'" test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="':'"
fi fi
fi fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then if test -n "$ac_ct_RANLIB"; then
echo "$as_me:5023: result: $ac_ct_RANLIB" >&5 echo "$as_me:5205: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6 echo "${ECHO_T}$ac_ct_RANLIB" >&6
else else
echo "$as_me:5026: result: no" >&5 echo "$as_me:5208: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
RANLIB=$ac_ct_RANLIB RANLIB=$ac_ct_RANLIB
else else
RANLIB="$ac_cv_prog_RANLIB" RANLIB="$ac_cv_prog_RANLIB"
fi fi
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
set dummy ${ac_tool_prefix}ld; ac_word=$2 set dummy ${ac_tool_prefix}ld; ac_word=$2
echo "$as_me:5038: checking for $ac_word" >&5 echo "$as_me:5220: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_LD+set}" = set; then if test "${ac_cv_prog_LD+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$LD"; then if test -n "$LD"; then
ac_cv_prog_LD="$LD" # Let the user override the test. ac_cv_prog_LD="$LD" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LD="${ac_tool_prefix}ld" ac_cv_prog_LD="${ac_tool_prefix}ld"
echo "$as_me:5053: found $ac_dir/$ac_word" >&5 echo "$as_me:5235: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
LD=$ac_cv_prog_LD LD=$ac_cv_prog_LD
if test -n "$LD"; then if test -n "$LD"; then
echo "$as_me:5061: result: $LD" >&5 echo "$as_me:5243: result: $LD" >&5
echo "${ECHO_T}$LD" >&6 echo "${ECHO_T}$LD" >&6
else else
echo "$as_me:5064: result: no" >&5 echo "$as_me:5246: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
fi fi
if test -z "$ac_cv_prog_LD"; then if test -z "$ac_cv_prog_LD"; then
ac_ct_LD=$LD ac_ct_LD=$LD
# Extract the first word of "ld", so it can be a program name with args. # Extract the first word of "ld", so it can be a program name with args.
set dummy ld; ac_word=$2 set dummy ld; ac_word=$2
echo "$as_me:5073: checking for $ac_word" >&5 echo "$as_me:5255: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_LD+set}" = set; then if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$ac_ct_LD"; then if test -n "$ac_ct_LD"; then
ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test. ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_LD="ld" ac_cv_prog_ac_ct_LD="ld"
echo "$as_me:5088: found $ac_dir/$ac_word" >&5 echo "$as_me:5270: found $ac_dir/$ac_word" >&5
break break
done done
test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld" test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
fi fi
fi fi
ac_ct_LD=$ac_cv_prog_ac_ct_LD ac_ct_LD=$ac_cv_prog_ac_ct_LD
if test -n "$ac_ct_LD"; then if test -n "$ac_ct_LD"; then
echo "$as_me:5097: result: $ac_ct_LD" >&5 echo "$as_me:5279: result: $ac_ct_LD" >&5
echo "${ECHO_T}$ac_ct_LD" >&6 echo "${ECHO_T}$ac_ct_LD" >&6
else else
echo "$as_me:5100: result: no" >&5 echo "$as_me:5282: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
LD=$ac_ct_LD LD=$ac_ct_LD
else else
LD="$ac_cv_prog_LD" LD="$ac_cv_prog_LD"
fi fi
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2 set dummy ${ac_tool_prefix}ar; ac_word=$2
echo "$as_me:5112: checking for $ac_word" >&5 echo "$as_me:5294: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_AR+set}" = set; then if test "${ac_cv_prog_AR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$AR"; then if test -n "$AR"; then
ac_cv_prog_AR="$AR" # Let the user override the test. ac_cv_prog_AR="$AR" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_AR="${ac_tool_prefix}ar" ac_cv_prog_AR="${ac_tool_prefix}ar"
echo "$as_me:5127: found $ac_dir/$ac_word" >&5 echo "$as_me:5309: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
AR=$ac_cv_prog_AR AR=$ac_cv_prog_AR
if test -n "$AR"; then if test -n "$AR"; then
echo "$as_me:5135: result: $AR" >&5 echo "$as_me:5317: result: $AR" >&5
echo "${ECHO_T}$AR" >&6 echo "${ECHO_T}$AR" >&6
else else
echo "$as_me:5138: result: no" >&5 echo "$as_me:5320: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
fi fi
if test -z "$ac_cv_prog_AR"; then if test -z "$ac_cv_prog_AR"; then
ac_ct_AR=$AR ac_ct_AR=$AR
# Extract the first word of "ar", so it can be a program name with args. # Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2 set dummy ar; ac_word=$2
echo "$as_me:5147: checking for $ac_word" >&5 echo "$as_me:5329: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$ac_ct_AR"; then if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else else
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue $as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_AR="ar" ac_cv_prog_ac_ct_AR="ar"
echo "$as_me:5162: found $ac_dir/$ac_word" >&5 echo "$as_me:5344: found $ac_dir/$ac_word" >&5
break break
done done
test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar" test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
fi fi
fi fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then if test -n "$ac_ct_AR"; then
echo "$as_me:5171: result: $ac_ct_AR" >&5 echo "$as_me:5353: result: $ac_ct_AR" >&5
echo "${ECHO_T}$ac_ct_AR" >&6 echo "${ECHO_T}$ac_ct_AR" >&6
else else
echo "$as_me:5174: result: no" >&5 echo "$as_me:5356: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
AR=$ac_ct_AR AR=$ac_ct_AR
else else
AR="$ac_cv_prog_AR" AR="$ac_cv_prog_AR"
fi fi
echo "$as_me:5183: checking for options to update archives" >&5 echo "$as_me:5365: checking for options to update archives" >&5
echo $ECHO_N "checking for options to update archives... $ECHO_C" >&6 echo $ECHO_N "checking for options to update archives... $ECHO_C" >&6
if test "${cf_cv_ar_flags+set}" = set; then if test "${cf_cv_ar_flags+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cf_cv_ar_flags=unknown case $cf_cv_system_name in
for cf_ar_flags in -curvU -curv curv -crv crv -cqv cqv -rv rv *-msvc*)
do cf_cv_ar_flags=''
cat >mk_static_lib.sh <<-EOF
#!$SHELL
MSVC_BIN="$AR"
out="\$1"
shift
exec \$MSVC_BIN -out:"\$out" \$@
EOF
chmod +x mk_static_lib.sh
AR=`pwd`/mk_static_lib.sh
;;
*)
cf_cv_ar_flags=unknown
for cf_ar_flags in -curvU -curv curv -crv crv -cqv cqv -rv rv
do
# check if $ARFLAGS already contains this choice # check if $ARFLAGS already contains this choice
if test "x$ARFLAGS" != "x" ; then if test "x$ARFLAGS" != "x" ; then
cf_check_ar_flags=`echo "x$ARFLAGS" | sed -e "s/$cf_ar_fl cf_check_ar_flags=`echo "x$ARFLAGS" | sed -e "s/$
ags\$//" -e "s/$cf_ar_flags / /"` cf_ar_flags\$//" -e "s/$cf_ar_flags / /"`
if test "x$ARFLAGS" != "$cf_check_ar_flags" ; then if test "x$ARFLAGS" != "$cf_check_ar_flags" ; the
cf_cv_ar_flags= n
break cf_cv_ar_flags=
break
fi
fi fi
fi
rm -f conftest.$ac_cv_objext rm -f conftest.$ac_cv_objext
rm -f conftest.a rm -f conftest.a
cat >conftest.$ac_ext <<EOF cat >conftest.$ac_ext <<EOF
#line 5206 "configure" #line 5402 "configure"
int testdata[3] = { 123, 456, 789 }; int testdata[3] = { 123, 456, 789 };
EOF EOF
if { (eval echo "$as_me:5209: \"$ac_compile\"") >&5 if { (eval echo "$as_me:5405: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:5212: \$? = $ac_status" >&5 echo "$as_me:5408: \$? = $ac_status" >&5
(exit $ac_status); } ; then (exit $ac_status); } ; then
echo "$AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_c echo "$AR $ARFLAGS $cf_ar_flags conftest.a confte
v_objext" >&5 st.$ac_cv_objext" >&5
$AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_obje $AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac
xt 2>&5 1>/dev/null _cv_objext 2>&5 1>/dev/null
if test -f conftest.a ; then if test -f conftest.a ; then
cf_cv_ar_flags=$cf_ar_flags cf_cv_ar_flags=$cf_ar_flags
break break
fi fi
else else
test -n "$verbose" && echo " cannot compile test-progr test -n "$verbose" && echo " cannot compile te
am" 1>&6 st-program" 1>&6
echo "${as_me:-configure}:5223: testing cannot compile test-program ..." 1>&5 echo "${as_me:-configure}:5419: testing cannot compile test-program ..." 1>&5
break break
fi fi
done done
rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext
;;
esac
fi fi
echo "$as_me:5231: result: $cf_cv_ar_flags" >&5 echo "$as_me:5429: result: $cf_cv_ar_flags" >&5
echo "${ECHO_T}$cf_cv_ar_flags" >&6 echo "${ECHO_T}$cf_cv_ar_flags" >&6
if test -n "$ARFLAGS" ; then if test -n "$ARFLAGS" ; then
if test -n "$cf_cv_ar_flags" ; then if test -n "$cf_cv_ar_flags" ; then
ARFLAGS="$ARFLAGS $cf_cv_ar_flags" ARFLAGS="$ARFLAGS $cf_cv_ar_flags"
fi fi
else else
ARFLAGS=$cf_cv_ar_flags ARFLAGS=$cf_cv_ar_flags
fi fi
case "$host_cpu:$host_vendor:$host_os" in case "$host_cpu:$host_vendor:$host_os" in
# check for cygwin environment # check for cygwin environment
# -DSTATIC is needed for pcre # -DSTATIC is needed for pcre
*:*:*cygwin*) #(vi *:*:*cygwin*) #(vi
PCRE_DEFINES="$PCRE_DEFINES -DSTATIC" PCRE_DEFINES="$PCRE_DEFINES -DSTATIC"
;; ;;
# SEIUX doesn't have any useful preprocessor symbol # SEIUX doesn't have any useful preprocessor symbol
mips:sei:seiux*) #(vi mips:sei:seiux*) #(vi
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define SEIUX 1 #define SEIUX 1
EOF EOF
;; ;;
# ISC Interactive Unix likewise
i386:pc:isc*) #(vi
cat >>confdefs.h <<\EOF
#define ISC_UNIX 1
EOF
esac esac
echo "$as_me:5257: checking if you would like to use heapsort" >&5 echo "$as_me:5463: checking if you would like to use heapsort" >&5
echo $ECHO_N "checking if you would like to use heapsort... $ECHO_C" >&6 echo $ECHO_N "checking if you would like to use heapsort... $ECHO_C" >&6
# Check whether --enable-heapsort or --disable-heapsort was given. # Check whether --enable-heapsort or --disable-heapsort was given.
if test "${enable_heapsort+set}" = set; then if test "${enable_heapsort+set}" = set; then
enableval="$enable_heapsort" enableval="$enable_heapsort"
test "$enableval" != no && enableval=yes test "$enableval" != no && enableval=yes
if test "$enableval" != "yes" ; then if test "$enableval" != "yes" ; then
cf_use_heapsort=no cf_use_heapsort=no
else else
cf_use_heapsort=yes cf_use_heapsort=yes
fi fi
else else
enableval=yes enableval=yes
cf_use_heapsort=yes cf_use_heapsort=yes
fi; fi;
echo "$as_me:5274: result: $cf_use_heapsort" >&5 echo "$as_me:5480: result: $cf_use_heapsort" >&5
echo "${ECHO_T}$cf_use_heapsort" >&6 echo "${ECHO_T}$cf_use_heapsort" >&6
if test "x$cf_use_heapsort" = xyes; then if test "x$cf_use_heapsort" = xyes; then
for ac_func in heapsort for ac_func in heapsort
do do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:5281: checking for $ac_func" >&5 echo "$as_me:5487: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 5287 "configure" #line 5493 "configure"
#include "confdefs.h" #include "confdefs.h"
#define $ac_func autoconf_temporary #define $ac_func autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __s tub macros */ #include <limits.h> /* least-intrusive standard header which defines gcc2 __s tub macros */
#undef $ac_func #undef $ac_func
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
#endif #endif
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
skipping to change at line 5318 skipping to change at line 5524
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
#error found stub for $ac_func #error found stub for $ac_func
#endif #endif
return $ac_func (); return $ac_func ();
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:5318: \"$ac_link\"") >&5 if { (eval echo "$as_me:5524: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:5321: \$? = $ac_status" >&5 echo "$as_me:5527: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext' { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:5324: \"$ac_try\"") >&5 { (eval echo "$as_me:5530: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:5327: \$? = $ac_status" >&5 echo "$as_me:5533: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
eval "$as_ac_var=yes" eval "$as_ac_var=yes"
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
eval "$as_ac_var=no" eval "$as_ac_var=no"
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi fi
echo "$as_me:5337: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "$as_me:5543: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then if test `eval echo '${'$as_ac_var'}'` = yes; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
EOF EOF
fi fi
done done
if test x"$ac_cv_func_heapsort" = xyes; then if test x"$ac_cv_func_heapsort" = xyes; then
echo "$as_me:5348: checking if its prototype is compatible with q sort" >&5 echo "$as_me:5554: checking if its prototype is compatible with q sort" >&5
echo $ECHO_N "checking if its prototype is compatible with qsort... $ECHO_C" >&6 echo $ECHO_N "checking if its prototype is compatible with qsort... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 5351 "configure" #line 5557 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
extern int my_compare(const void *, const void *); extern int my_compare(const void *, const void *);
int int
main (void) main (void)
{ {
char *base = 0; char *base = 0;
heapsort((void *)0, 1, 2, my_compare); heapsort((void *)0, 1, 2, my_compare);
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:5370: \"$ac_compile\"") >&5 if { (eval echo "$as_me:5576: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:5373: \$? = $ac_status" >&5 echo "$as_me:5579: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:5376: \"$ac_try\"") >&5 { (eval echo "$as_me:5582: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:5379: \$? = $ac_status" >&5 echo "$as_me:5585: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
: :
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_use_heapsort=no cf_use_heapsort=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext; rm -f conftest.$ac_objext conftest.$ac_ext;
echo "$as_me:5388: result: $cf_use_heapsort" >&5 echo "$as_me:5594: result: $cf_use_heapsort" >&5
echo "${ECHO_T}$cf_use_heapsort" >&6 echo "${ECHO_T}$cf_use_heapsort" >&6
else else
test -n "$verbose" && echo " will use our own heapsort functio n" 1>&6 test -n "$verbose" && echo " will use our own heapsort functio n" 1>&6
echo "${as_me:-configure}:5393: testing will use our own heapsort function ..." 1>&5 echo "${as_me:-configure}:5599: testing will use our own heapsort function ..." 1>&5
EXTRAO_DEP='' EXTRAO_DEP=''
EXTRAOBJS="$EXTRAOBJS \$(OBJDIR)/heapsort.o" EXTRAOBJS="$EXTRAOBJS \$(OBJDIR)/heapsort.o"
fi fi
fi fi
if test "x$cf_use_heapsort" = xyes; then if test "x$cf_use_heapsort" = xyes; then
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define USE_HEAPSORT 1 #define USE_HEAPSORT 1
EOF EOF
fi fi
# Check whether --with-ispell or --without-ispell was given. # Check whether --with-ispell or --without-ispell was given.
if test "${with_ispell+set}" = set; then if test "${with_ispell+set}" = set; then
withval="$with_ispell" withval="$with_ispell"
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:5411: error: expected a value for --with-ispell" >&5 { { echo "$as_me:5618: error: expected a value for --with-ispell" >&5
echo "$as_me: error: expected a value for --with-ispell" >&2;} echo "$as_me: error: expected a value for --with-ispell" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) no)
;; #(vi ;; #(vi
*) *)
# user supplied option-value for "--with-ispell=path" # user supplied option-value for "--with-ispell=path"
echo "$as_me:5419: checking for ispell" >&5 echo "$as_me:5626: checking for ispell" >&5
echo $ECHO_N "checking for ispell... $ECHO_C" >&6 echo $ECHO_N "checking for ispell... $ECHO_C" >&6
ac_cv_path_PATH_ISPELL="$withval" ac_cv_path_PATH_ISPELL="$withval"
cat >>confdefs.h <<EOF
cat >>confdefs.h <<EOF
#define PATH_ISPELL "$withval" #define PATH_ISPELL "$withval"
EOF EOF
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define HAVE_ISPELL 1 #define HAVE_ISPELL 1
EOF EOF
echo "$as_me:5428: result: $withval" >&5 echo "$as_me:5637: result: $withval" >&5
echo "${ECHO_T}$withval" >&6 echo "${ECHO_T}$withval" >&6
;; ;;
esac esac
else else
# user did not specify "--with-ispell"; do automatic check # user did not specify "--with-ispell"; do automatic check
# Extract the first word of "ispell", so it can be a program name with args. # Extract the first word of "ispell", so it can be a program name with args.
set dummy ispell; ac_word=$2 set dummy ispell; ac_word=$2
echo "$as_me:5437: checking for $ac_word" >&5 echo "$as_me:5646: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PATH_ISPELL+set}" = set; then if test "${ac_cv_path_PATH_ISPELL+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $PATH_ISPELL in case $PATH_ISPELL in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_PATH_ISPELL="$PATH_ISPELL" # Let the user override the test with a path. ac_cv_path_PATH_ISPELL="$PATH_ISPELL" # Let the user override the test with a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_PATH_ISPELL="$ac_dir/$ac_word" ac_cv_path_PATH_ISPELL="$ac_dir/$ac_word"
echo "$as_me:5454: found $ac_dir/$ac_word" >&5 echo "$as_me:5663: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
PATH_ISPELL=$ac_cv_path_PATH_ISPELL PATH_ISPELL=$ac_cv_path_PATH_ISPELL
if test -n "$PATH_ISPELL"; then if test -n "$PATH_ISPELL"; then
echo "$as_me:5465: result: $PATH_ISPELL" >&5 echo "$as_me:5674: result: $PATH_ISPELL" >&5
echo "${ECHO_T}$PATH_ISPELL" >&6 echo "${ECHO_T}$PATH_ISPELL" >&6
else else
echo "$as_me:5468: result: no" >&5 echo "$as_me:5677: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test -n "$PATH_ISPELL"; then if test -n "$PATH_ISPELL"; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_ISPELL "$PATH_ISPELL" #define PATH_ISPELL "$PATH_ISPELL"
EOF EOF
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define HAVE_ISPELL 1 #define HAVE_ISPELL 1
EOF EOF
fi fi
fi; fi;
# Check whether --with-metamail or --without-metamail was given. # Check whether --with-metamail or --without-metamail was given.
if test "${with_metamail+set}" = set; then if test "${with_metamail+set}" = set; then
withval="$with_metamail" withval="$with_metamail"
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:5488: error: expected a value for --with-metamail" >&5 { { echo "$as_me:5697: error: expected a value for --with-metamail" >&5
echo "$as_me: error: expected a value for --with-metamail" >&2;} echo "$as_me: error: expected a value for --with-metamail" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) no)
;; #(vi ;; #(vi
*) *)
# user supplied option-value for "--with-metamail=path" # user supplied option-value for "--with-metamail=path"
echo "$as_me:5496: checking for metamail" >&5 echo "$as_me:5705: checking for metamail" >&5
echo $ECHO_N "checking for metamail... $ECHO_C" >&6 echo $ECHO_N "checking for metamail... $ECHO_C" >&6
ac_cv_path_PATH_METAMAIL="$withval" ac_cv_path_PATH_METAMAIL="$withval"
cat >>confdefs.h <<EOF
cat >>confdefs.h <<EOF
#define PATH_METAMAIL "$withval" #define PATH_METAMAIL "$withval"
EOF EOF
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define HAVE_METAMAIL 1 #define HAVE_METAMAIL 1
EOF EOF
echo "$as_me:5505: result: $withval" >&5 echo "$as_me:5716: result: $withval" >&5
echo "${ECHO_T}$withval" >&6 echo "${ECHO_T}$withval" >&6
;; ;;
esac esac
else else
# user did not specify "--with-metamail"; do automatic check # user did not specify "--with-metamail"; do automatic check
# Extract the first word of "metamail", so it can be a program name with args. # Extract the first word of "metamail", so it can be a program name with args.
set dummy metamail; ac_word=$2 set dummy metamail; ac_word=$2
echo "$as_me:5514: checking for $ac_word" >&5 echo "$as_me:5725: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PATH_METAMAIL+set}" = set; then if test "${ac_cv_path_PATH_METAMAIL+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $PATH_METAMAIL in case $PATH_METAMAIL in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_PATH_METAMAIL="$PATH_METAMAIL" # Let the user override the test wit h a path. ac_cv_path_PATH_METAMAIL="$PATH_METAMAIL" # Let the user override the test wit h a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_PATH_METAMAIL="$ac_dir/$ac_word" ac_cv_path_PATH_METAMAIL="$ac_dir/$ac_word"
echo "$as_me:5531: found $ac_dir/$ac_word" >&5 echo "$as_me:5742: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
PATH_METAMAIL=$ac_cv_path_PATH_METAMAIL PATH_METAMAIL=$ac_cv_path_PATH_METAMAIL
if test -n "$PATH_METAMAIL"; then if test -n "$PATH_METAMAIL"; then
echo "$as_me:5542: result: $PATH_METAMAIL" >&5 echo "$as_me:5753: result: $PATH_METAMAIL" >&5
echo "${ECHO_T}$PATH_METAMAIL" >&6 echo "${ECHO_T}$PATH_METAMAIL" >&6
else else
echo "$as_me:5545: result: no" >&5 echo "$as_me:5756: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test -n "$PATH_METAMAIL"; then if test -n "$PATH_METAMAIL"; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_METAMAIL "$PATH_METAMAIL" #define PATH_METAMAIL "$PATH_METAMAIL"
EOF EOF
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define HAVE_METAMAIL 1 #define HAVE_METAMAIL 1
EOF EOF
fi fi
fi; fi;
# Check whether --with-sum or --without-sum was given. # Check whether --with-sum or --without-sum was given.
if test "${with_sum+set}" = set; then if test "${with_sum+set}" = set; then
withval="$with_sum" withval="$with_sum"
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:5565: error: expected a value for --with-sum" >&5 { { echo "$as_me:5776: error: expected a value for --with-sum" >&5
echo "$as_me: error: expected a value for --with-sum" >&2;} echo "$as_me: error: expected a value for --with-sum" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) no)
;; #(vi ;; #(vi
*) *)
# user supplied option-value for "--with-sum=path" # user supplied option-value for "--with-sum=path"
echo "$as_me:5573: checking for sum" >&5 echo "$as_me:5784: checking for sum" >&5
echo $ECHO_N "checking for sum... $ECHO_C" >&6 echo $ECHO_N "checking for sum... $ECHO_C" >&6
ac_cv_path_PATH_SUM="$withval" ac_cv_path_PATH_SUM="$withval"
cat >>confdefs.h <<EOF
cat >>confdefs.h <<EOF
#define PATH_SUM "$withval" #define PATH_SUM "$withval"
EOF EOF
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define HAVE_SUM 1 #define HAVE_SUM 1
EOF EOF
echo "$as_me:5582: result: $withval" >&5 echo "$as_me:5795: result: $withval" >&5
echo "${ECHO_T}$withval" >&6 echo "${ECHO_T}$withval" >&6
;; ;;
esac esac
else else
# user did not specify "--with-sum"; do automatic check # user did not specify "--with-sum"; do automatic check
# Extract the first word of "sum", so it can be a program name with args. # Extract the first word of "sum", so it can be a program name with args.
set dummy sum; ac_word=$2 set dummy sum; ac_word=$2
echo "$as_me:5591: checking for $ac_word" >&5 echo "$as_me:5804: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PATH_SUM+set}" = set; then if test "${ac_cv_path_PATH_SUM+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $PATH_SUM in case $PATH_SUM in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_PATH_SUM="$PATH_SUM" # Let the user override the test with a path. ac_cv_path_PATH_SUM="$PATH_SUM" # Let the user override the test with a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_PATH_SUM="$ac_dir/$ac_word" ac_cv_path_PATH_SUM="$ac_dir/$ac_word"
echo "$as_me:5608: found $ac_dir/$ac_word" >&5 echo "$as_me:5821: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
PATH_SUM=$ac_cv_path_PATH_SUM PATH_SUM=$ac_cv_path_PATH_SUM
if test -n "$PATH_SUM"; then if test -n "$PATH_SUM"; then
echo "$as_me:5619: result: $PATH_SUM" >&5 echo "$as_me:5832: result: $PATH_SUM" >&5
echo "${ECHO_T}$PATH_SUM" >&6 echo "${ECHO_T}$PATH_SUM" >&6
else else
echo "$as_me:5622: result: no" >&5 echo "$as_me:5835: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test -n "$PATH_SUM"; then if test -n "$PATH_SUM"; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_SUM "$PATH_SUM" #define PATH_SUM "$PATH_SUM"
EOF EOF
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define HAVE_SUM 1 #define HAVE_SUM 1
EOF EOF
fi fi
fi; fi;
if test $ac_cv_path_PATH_SUM if test $ac_cv_path_PATH_SUM
then then
echo "$as_me:5639: checking if $ac_cv_path_PATH_SUM takes -r" >&5 echo "$as_me:5852: checking if $ac_cv_path_PATH_SUM takes -r" >&5
echo $ECHO_N "checking if $ac_cv_path_PATH_SUM takes -r... $ECHO_C" >&6 echo $ECHO_N "checking if $ac_cv_path_PATH_SUM takes -r... $ECHO_C" >&6
if test "${ac_cv_prog_sum_r+set}" = set; then if test "${ac_cv_prog_sum_r+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if { ac_try='$ac_cv_path_PATH_SUM -r config.log 1>&5' if { ac_try='$ac_cv_path_PATH_SUM -r config.log 1>&5'
{ (eval echo "$as_me:5646: \"$ac_try\"") >&5 { (eval echo "$as_me:5859: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:5649: \$? = $ac_status" >&5 echo "$as_me:5862: \$? = $ac_status" >&5
(exit $ac_status); }; } (exit $ac_status); }; }
then then
ac_cv_prog_sum_r=yes ac_cv_prog_sum_r=yes
else else
ac_cv_prog_sum_r=no ac_cv_prog_sum_r=no
fi fi
fi fi
if test $ac_cv_prog_sum_r = yes; then if test $ac_cv_prog_sum_r = yes; then
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define SUM_TAKES_DASH_R 1 #define SUM_TAKES_DASH_R 1
EOF EOF
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_SUM_R "$ac_cv_path_PATH_SUM -r" #define PATH_SUM_R "$ac_cv_path_PATH_SUM -r"
EOF EOF
else else
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_SUM_R "$ac_cv_path_PATH_SUM" #define PATH_SUM_R "$ac_cv_path_PATH_SUM"
EOF EOF
fi fi
echo "$as_me:5674: result: $ac_cv_prog_sum_r" >&5 echo "$as_me:5888: result: $ac_cv_prog_sum_r" >&5
echo "${ECHO_T}$ac_cv_prog_sum_r" >&6 echo "${ECHO_T}$ac_cv_prog_sum_r" >&6
fi fi
echo "$as_me:5678: checking for default editor" >&5 echo "$as_me:5892: checking for default editor" >&5
echo $ECHO_N "checking for default editor... $ECHO_C" >&6 echo $ECHO_N "checking for default editor... $ECHO_C" >&6
# Check whether --with-editor or --without-editor was given. # Check whether --with-editor or --without-editor was given.
if test "${with_editor+set}" = set; then if test "${with_editor+set}" = set; then
withval="$with_editor" withval="$with_editor"
else else
withval="${DEFAULT_EDITOR}" withval="${DEFAULT_EDITOR}"
fi; test -n "$withval" && \ fi; test -n "$withval" && \
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:5690: error: expected a value for --with-editor" >&5 { { echo "$as_me:5904: error: expected a value for --with-editor" >&5
echo "$as_me: error: expected a value for --with-editor" >&2;} echo "$as_me: error: expected a value for --with-editor" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) withval="" no) withval=""
;; ;;
esac esac
DEFAULT_EDITOR="$withval" DEFAULT_EDITOR="$withval"
if test -z "$DEFAULT_EDITOR" ; then if test -z "$DEFAULT_EDITOR" ; then
if test -n "$EDITOR" ; then if test -n "$EDITOR" ; then
DEFAULT_EDITOR="$EDITOR" DEFAULT_EDITOR="$EDITOR"
elif test -n "$VISUAL" ; then elif test -n "$VISUAL" ; then
DEFAULT_EDITOR="$VISUAL" DEFAULT_EDITOR="$VISUAL"
else else
# Extract the first word of "vi", so it can be a program name with args. # Extract the first word of "vi", so it can be a program name with args.
set dummy vi; ac_word=$2 set dummy vi; ac_word=$2
echo "$as_me:5707: checking for $ac_word" >&5 echo "$as_me:5921: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_DEFAULT_EDITOR+set}" = set; then if test "${ac_cv_path_DEFAULT_EDITOR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $DEFAULT_EDITOR in case $DEFAULT_EDITOR in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_DEFAULT_EDITOR="$DEFAULT_EDITOR" # Let the user override the test w ith a path. ac_cv_path_DEFAULT_EDITOR="$DEFAULT_EDITOR" # Let the user override the test w ith a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH:/usr/bin:/usr/ucb" ac_dummy="$PATH:/usr/bin:/usr/ucb"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_DEFAULT_EDITOR="$ac_dir/$ac_word" ac_cv_path_DEFAULT_EDITOR="$ac_dir/$ac_word"
echo "$as_me:5724: found $ac_dir/$ac_word" >&5 echo "$as_me:5938: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
test -z "$ac_cv_path_DEFAULT_EDITOR" && ac_cv_path_DEFAULT_EDITOR="vi" test -z "$ac_cv_path_DEFAULT_EDITOR" && ac_cv_path_DEFAULT_EDITOR="vi"
;; ;;
esac esac
fi fi
DEFAULT_EDITOR=$ac_cv_path_DEFAULT_EDITOR DEFAULT_EDITOR=$ac_cv_path_DEFAULT_EDITOR
if test -n "$DEFAULT_EDITOR"; then if test -n "$DEFAULT_EDITOR"; then
echo "$as_me:5736: result: $DEFAULT_EDITOR" >&5 echo "$as_me:5950: result: $DEFAULT_EDITOR" >&5
echo "${ECHO_T}$DEFAULT_EDITOR" >&6 echo "${ECHO_T}$DEFAULT_EDITOR" >&6
else else
echo "$as_me:5739: result: no" >&5 echo "$as_me:5953: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
fi fi
fi fi
echo "$as_me:5745: result: $DEFAULT_EDITOR" >&5 echo "$as_me:5959: result: $DEFAULT_EDITOR" >&5
echo "${ECHO_T}$DEFAULT_EDITOR" >&6 echo "${ECHO_T}$DEFAULT_EDITOR" >&6
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define DEFAULT_EDITOR "$DEFAULT_EDITOR" #define DEFAULT_EDITOR "$DEFAULT_EDITOR"
EOF EOF
# Extract the first word of "sendmail", so it can be a program name with args. # Extract the first word of "sendmail", so it can be a program name with args.
set dummy sendmail; ac_word=$2 set dummy sendmail; ac_word=$2
echo "$as_me:5753: checking for $ac_word" >&5 echo "$as_me:5968: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_DEFAULT_MAILER+set}" = set; then if test "${ac_cv_path_DEFAULT_MAILER+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $DEFAULT_MAILER in case $DEFAULT_MAILER in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_DEFAULT_MAILER="$DEFAULT_MAILER" # Let the user override the test w ith a path. ac_cv_path_DEFAULT_MAILER="$DEFAULT_MAILER" # Let the user override the test w ith a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH:/usr/sbin:/usr/lib" ac_dummy="$PATH:/usr/sbin:/usr/lib"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_DEFAULT_MAILER="$ac_dir/$ac_word" ac_cv_path_DEFAULT_MAILER="$ac_dir/$ac_word"
echo "$as_me:5770: found $ac_dir/$ac_word" >&5 echo "$as_me:5985: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
DEFAULT_MAILER=$ac_cv_path_DEFAULT_MAILER DEFAULT_MAILER=$ac_cv_path_DEFAULT_MAILER
if test -n "$DEFAULT_MAILER"; then if test -n "$DEFAULT_MAILER"; then
echo "$as_me:5781: result: $DEFAULT_MAILER" >&5 echo "$as_me:5996: result: $DEFAULT_MAILER" >&5
echo "${ECHO_T}$DEFAULT_MAILER" >&6 echo "${ECHO_T}$DEFAULT_MAILER" >&6
else else
echo "$as_me:5784: result: no" >&5 echo "$as_me:5999: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
# Check whether --with-mailer or --without-mailer was given. # Check whether --with-mailer or --without-mailer was given.
if test "${with_mailer+set}" = set; then if test "${with_mailer+set}" = set; then
withval="$with_mailer" withval="$with_mailer"
else else
withval="${DEFAULT_MAILER}" withval="${DEFAULT_MAILER}"
fi; test -n "$withval" && \ fi; test -n "$withval" && \
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:5797: error: expected a value for --with-mailer" >&5 { { echo "$as_me:6012: error: expected a value for --with-mailer" >&5
echo "$as_me: error: expected a value for --with-mailer" >&2;} echo "$as_me: error: expected a value for --with-mailer" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) withval="" no) withval=""
;; ;;
esac esac
DEFAULT_MAILER="$withval" DEFAULT_MAILER="$withval"
if test -z "$DEFAULT_MAILER" ; then if test -z "$DEFAULT_MAILER" ; then
# Extract the first word of "mailx", so it can be a program name with args. # Extract the first word of "mailx", so it can be a program name with args.
set dummy mailx; ac_word=$2 set dummy mailx; ac_word=$2
echo "$as_me:5809: checking for $ac_word" >&5 echo "$as_me:6024: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_DEFAULT_MAILER+set}" = set; then if test "${ac_cv_path_DEFAULT_MAILER+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $DEFAULT_MAILER in case $DEFAULT_MAILER in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_DEFAULT_MAILER="$DEFAULT_MAILER" # Let the user override the test w ith a path. ac_cv_path_DEFAULT_MAILER="$DEFAULT_MAILER" # Let the user override the test w ith a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH:/usr/bin" ac_dummy="$PATH:/usr/bin"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_DEFAULT_MAILER="$ac_dir/$ac_word" ac_cv_path_DEFAULT_MAILER="$ac_dir/$ac_word"
echo "$as_me:5826: found $ac_dir/$ac_word" >&5 echo "$as_me:6041: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
DEFAULT_MAILER=$ac_cv_path_DEFAULT_MAILER DEFAULT_MAILER=$ac_cv_path_DEFAULT_MAILER
if test -n "$DEFAULT_MAILER"; then if test -n "$DEFAULT_MAILER"; then
echo "$as_me:5837: result: $DEFAULT_MAILER" >&5 echo "$as_me:6052: result: $DEFAULT_MAILER" >&5
echo "${ECHO_T}$DEFAULT_MAILER" >&6 echo "${ECHO_T}$DEFAULT_MAILER" >&6
else else
echo "$as_me:5840: result: no" >&5 echo "$as_me:6055: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
fi fi
if test -z "$DEFAULT_MAILER" ; then if test -z "$DEFAULT_MAILER" ; then
# Extract the first word of "mail", so it can be a program name with args. # Extract the first word of "mail", so it can be a program name with args.
set dummy mail; ac_word=$2 set dummy mail; ac_word=$2
echo "$as_me:5848: checking for $ac_word" >&5 echo "$as_me:6063: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_DEFAULT_MAILER+set}" = set; then if test "${ac_cv_path_DEFAULT_MAILER+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $DEFAULT_MAILER in case $DEFAULT_MAILER in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_DEFAULT_MAILER="$DEFAULT_MAILER" # Let the user override the test w ith a path. ac_cv_path_DEFAULT_MAILER="$DEFAULT_MAILER" # Let the user override the test w ith a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH:/usr/bin" ac_dummy="$PATH:/usr/bin"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_DEFAULT_MAILER="$ac_dir/$ac_word" ac_cv_path_DEFAULT_MAILER="$ac_dir/$ac_word"
echo "$as_me:5865: found $ac_dir/$ac_word" >&5 echo "$as_me:6080: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
DEFAULT_MAILER=$ac_cv_path_DEFAULT_MAILER DEFAULT_MAILER=$ac_cv_path_DEFAULT_MAILER
if test -n "$DEFAULT_MAILER"; then if test -n "$DEFAULT_MAILER"; then
echo "$as_me:5876: result: $DEFAULT_MAILER" >&5 echo "$as_me:6091: result: $DEFAULT_MAILER" >&5
echo "${ECHO_T}$DEFAULT_MAILER" >&6 echo "${ECHO_T}$DEFAULT_MAILER" >&6
else else
echo "$as_me:5879: result: no" >&5 echo "$as_me:6094: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
fi fi
echo "$as_me:5884: checking for default mailer" >&5 echo "$as_me:6099: checking for default mailer" >&5
echo $ECHO_N "checking for default mailer... $ECHO_C" >&6 echo $ECHO_N "checking for default mailer... $ECHO_C" >&6
if test -n "$DEFAULT_MAILER" ; then if test -n "$DEFAULT_MAILER" ; then
case $cf_cv_system_name in #(vi case $cf_cv_system_name in #(vi
os2*|cygwin*) os2*|cygwin*)
ac_cv_path_DEFAULT_MAILER=`echo "$ac_cv_path_DEFAULT_MAILER" | sed -e 's% \\\\%/%g'` ac_cv_path_DEFAULT_MAILER=`echo "$ac_cv_path_DEFAULT_MAILER" | sed -e 's% \\\\%/%g'`
;; ;;
esac esac
case $cf_cv_system_name in #(vi case $cf_cv_system_name in #(vi
os2*|cygwin*) os2*|cygwin*)
DEFAULT_MAILER=`echo "$DEFAULT_MAILER" | sed -e 's%\\\\%/%g'` DEFAULT_MAILER=`echo "$DEFAULT_MAILER" | sed -e 's%\\\\%/%g'`
;; ;;
esac esac
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define DEFAULT_MAILER "$DEFAULT_MAILER" #define DEFAULT_MAILER "$DEFAULT_MAILER"
EOF EOF
else else
DEFAULT_MAILER=none DEFAULT_MAILER=none
fi fi
echo "$as_me:5907: result: $DEFAULT_MAILER" >&5 echo "$as_me:6122: result: $DEFAULT_MAILER" >&5
echo "${ECHO_T}$DEFAULT_MAILER" >&6 echo "${ECHO_T}$DEFAULT_MAILER" >&6
echo "$as_me:5910: checking for incoming-mail directory" >&5 echo "$as_me:6125: checking for incoming-mail directory" >&5
echo $ECHO_N "checking for incoming-mail directory... $ECHO_C" >&6 echo $ECHO_N "checking for incoming-mail directory... $ECHO_C" >&6
# Check whether --with-mailbox or --without-mailbox was given. # Check whether --with-mailbox or --without-mailbox was given.
if test "${with_mailbox+set}" = set; then if test "${with_mailbox+set}" = set; then
withval="$with_mailbox" withval="$with_mailbox"
else else
withval="${DEFAULT_MAILBOX}" withval="${DEFAULT_MAILBOX}"
fi; test -n "$withval" && \ fi; test -n "$withval" && \
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:5922: error: expected a value for --with-mailbox" >&5 { { echo "$as_me:6137: error: expected a value for --with-mailbox" >&5
echo "$as_me: error: expected a value for --with-mailbox" >&2;} echo "$as_me: error: expected a value for --with-mailbox" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) withval="" no) withval=""
;; ;;
esac esac
DEFAULT_MAILBOX="$withval" DEFAULT_MAILBOX="$withval"
if test -z "$DEFAULT_MAILBOX" ; then if test -z "$DEFAULT_MAILBOX" ; then
for cf_dir in \ for cf_dir in \
skipping to change at line 5946 skipping to change at line 6161
/usr/mail \ /usr/mail \
/mail /mail
do do
if test -d $cf_dir ; then if test -d $cf_dir ; then
DEFAULT_MAILBOX=$cf_dir DEFAULT_MAILBOX=$cf_dir
break break
fi fi
done done
fi fi
if test -n "$DEFAULT_MAILBOX" ; then if test -n "$DEFAULT_MAILBOX" ; then
cat >>confdefs.h <<EOF
cat >>confdefs.h <<EOF
#define DEFAULT_MAILBOX "$DEFAULT_MAILBOX" #define DEFAULT_MAILBOX "$DEFAULT_MAILBOX"
EOF EOF
else else
DEFAULT_MAILBOX=none DEFAULT_MAILBOX=none
fi fi
echo "$as_me:5953: result: $DEFAULT_MAILBOX" >&5 echo "$as_me:6169: result: $DEFAULT_MAILBOX" >&5
echo "${ECHO_T}$DEFAULT_MAILBOX" >&6 echo "${ECHO_T}$DEFAULT_MAILBOX" >&6
echo "$as_me:6172: checking if you want to use pkg-config" >&5
echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6
# Check whether --with-pkg-config or --without-pkg-config was given.
if test "${with_pkg_config+set}" = set; then
withval="$with_pkg_config"
cf_pkg_config=$withval
else
cf_pkg_config=yes
fi;
echo "$as_me:6182: result: $cf_pkg_config" >&5
echo "${ECHO_T}$cf_pkg_config" >&6
case $cf_pkg_config in
no)
PKG_CONFIG=none
;;
yes)
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog
ram name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
echo "$as_me:6194: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a pa
th.
;;
*)
ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
echo "$as_me:6211: found $ac_dir/$ac_word" >&5
break
fi
done
;;
esac
fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
if test -n "$PKG_CONFIG"; then
echo "$as_me:6222: result: $PKG_CONFIG" >&5
echo "${ECHO_T}$PKG_CONFIG" >&6
else
echo "$as_me:6225: result: no" >&5
echo "${ECHO_T}no" >&6
fi
fi
if test -z "$ac_cv_path_PKG_CONFIG"; then
ac_pt_PKG_CONFIG=$PKG_CONFIG
# Extract the first word of "pkg-config", so it can be a program name with arg
s.
set dummy pkg-config; ac_word=$2
echo "$as_me:6234: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $ac_pt_PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the te
st with a path.
;;
*)
ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_ac_pt_PKG_CONFIG="$ac_dir/$ac_word"
echo "$as_me:6251: found $ac_dir/$ac_word" >&5
break
fi
done
test -z "$ac_cv_path_ac_pt_PKG_CONFIG" && ac_cv_path_ac_pt_PKG_CONFIG="none"
;;
esac
fi
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
if test -n "$ac_pt_PKG_CONFIG"; then
echo "$as_me:6263: result: $ac_pt_PKG_CONFIG" >&5
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
else
echo "$as_me:6266: result: no" >&5
echo "${ECHO_T}no" >&6
fi
PKG_CONFIG=$ac_pt_PKG_CONFIG
else
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
fi
;;
*)
PKG_CONFIG=$withval
;;
esac
test -z "$PKG_CONFIG" && PKG_CONFIG=none
if test "$PKG_CONFIG" != none ; then
if test "x$prefix" != xNONE; then
cf_path_syntax="$prefix"
else
cf_path_syntax="$ac_default_prefix"
fi
case ".$PKG_CONFIG" in
.\$\(*\)*|.\'*\'*)
;;
..|./*|.\\*)
;;
.[a-zA-Z]:[\\/]*) # OS/2 EMX
;;
.\${*prefix}*|.\${*dir}*)
eval PKG_CONFIG="$PKG_CONFIG"
case ".$PKG_CONFIG" in
.NONE/*)
PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
;;
esac
;;
.no|.NONE/*)
PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
;;
*)
{ { echo "$as_me:6309: error: expected a pathname, not \"$PKG_CONFIG\"" >
&5
echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;}
{ (exit 1); exit 1; }; }
;;
esac
elif test "x$cf_pkg_config" != xno ; then
{ echo "$as_me:6316: WARNING: pkg-config is not installed" >&5
echo "$as_me: WARNING: pkg-config is not installed" >&2;}
fi
## PGP Support ## PGP Support
echo "$as_me:5957: checking if you want PGP/GPG-Support" >&5 echo "$as_me:6321: checking if you want PGP/GPG-Support" >&5
echo $ECHO_N "checking if you want PGP/GPG-Support... $ECHO_C" >&6 echo $ECHO_N "checking if you want PGP/GPG-Support... $ECHO_C" >&6
# Check whether --enable-pgp-gpg or --disable-pgp-gpg was given. # Check whether --enable-pgp-gpg or --disable-pgp-gpg was given.
if test "${enable_pgp_gpg+set}" = set; then if test "${enable_pgp_gpg+set}" = set; then
enableval="$enable_pgp_gpg" enableval="$enable_pgp_gpg"
test "$enableval" != no && enableval=yes test "$enableval" != no && enableval=yes
if test "$enableval" != "yes" ; then if test "$enableval" != "yes" ; then
USE_PGP_GPG=no USE_PGP_GPG=no
else else
USE_PGP_GPG=yes USE_PGP_GPG=yes
fi fi
else else
enableval=yes enableval=yes
USE_PGP_GPG=yes USE_PGP_GPG=yes
fi; fi;
echo "$as_me:5974: result: $enableval" >&5 echo "$as_me:6338: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6 echo "${ECHO_T}$enableval" >&6
if test "$USE_PGP_GPG" = "yes" ; then if test "$USE_PGP_GPG" = "yes" ; then
# Check whether --with-pgp or --without-pgp was given. # Check whether --with-pgp or --without-pgp was given.
if test "${with_pgp+set}" = set; then if test "${with_pgp+set}" = set; then
withval="$with_pgp" withval="$with_pgp"
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:5983: error: expected a value for --with-pgp" >&5 { { echo "$as_me:6347: error: expected a value for --with-pgp" >&5
echo "$as_me: error: expected a value for --with-pgp" >&2;} echo "$as_me: error: expected a value for --with-pgp" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) no)
;; #(vi ;; #(vi
*) *)
# user supplied option-value for "--with-pgp=path" # user supplied option-value for "--with-pgp=path"
echo "$as_me:5991: checking for pgp" >&5 echo "$as_me:6355: checking for pgp" >&5
echo $ECHO_N "checking for pgp... $ECHO_C" >&6 echo $ECHO_N "checking for pgp... $ECHO_C" >&6
ac_cv_path_PATH_PGP="$withval" ac_cv_path_PATH_PGP="$withval"
cat >>confdefs.h <<EOF
cat >>confdefs.h <<EOF
#define PATH_PGP "$withval" #define PATH_PGP "$withval"
EOF EOF
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define HAVE_PGP 1 #define HAVE_PGP 1
EOF EOF
echo "$as_me:6000: result: $withval" >&5 echo "$as_me:6366: result: $withval" >&5
echo "${ECHO_T}$withval" >&6 echo "${ECHO_T}$withval" >&6
;; ;;
esac esac
else else
# user did not specify "--with-pgp"; do automatic check # user did not specify "--with-pgp"; do automatic check
# Extract the first word of "pgp", so it can be a program name with args. # Extract the first word of "pgp", so it can be a program name with args.
set dummy pgp; ac_word=$2 set dummy pgp; ac_word=$2
echo "$as_me:6009: checking for $ac_word" >&5 echo "$as_me:6375: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PATH_PGP+set}" = set; then if test "${ac_cv_path_PATH_PGP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $PATH_PGP in case $PATH_PGP in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_PATH_PGP="$PATH_PGP" # Let the user override the test with a path. ac_cv_path_PATH_PGP="$PATH_PGP" # Let the user override the test with a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_PATH_PGP="$ac_dir/$ac_word" ac_cv_path_PATH_PGP="$ac_dir/$ac_word"
echo "$as_me:6026: found $ac_dir/$ac_word" >&5 echo "$as_me:6392: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
PATH_PGP=$ac_cv_path_PATH_PGP PATH_PGP=$ac_cv_path_PATH_PGP
if test -n "$PATH_PGP"; then if test -n "$PATH_PGP"; then
echo "$as_me:6037: result: $PATH_PGP" >&5 echo "$as_me:6403: result: $PATH_PGP" >&5
echo "${ECHO_T}$PATH_PGP" >&6 echo "${ECHO_T}$PATH_PGP" >&6
else else
echo "$as_me:6040: result: no" >&5 echo "$as_me:6406: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test -n "$PATH_PGP"; then if test -n "$PATH_PGP"; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_PGP "$PATH_PGP" #define PATH_PGP "$PATH_PGP"
EOF EOF
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define HAVE_PGP 1 #define HAVE_PGP 1
EOF EOF
fi fi
fi; fi;
# FIXME: check if pgp is pgp2 or pgp6 # FIXME: check if pgp is pgp2 or pgp6
# Check whether --with-pgpk or --without-pgpk was given. # Check whether --with-pgpk or --without-pgpk was given.
if test "${with_pgpk+set}" = set; then if test "${with_pgpk+set}" = set; then
withval="$with_pgpk" withval="$with_pgpk"
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:6061: error: expected a value for --with-pgpk" >&5 { { echo "$as_me:6427: error: expected a value for --with-pgpk" >&5
echo "$as_me: error: expected a value for --with-pgpk" >&2;} echo "$as_me: error: expected a value for --with-pgpk" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) no)
;; #(vi ;; #(vi
*) *)
# user supplied option-value for "--with-pgpk=path" # user supplied option-value for "--with-pgpk=path"
echo "$as_me:6069: checking for pgpk" >&5 echo "$as_me:6435: checking for pgpk" >&5
echo $ECHO_N "checking for pgpk... $ECHO_C" >&6 echo $ECHO_N "checking for pgpk... $ECHO_C" >&6
ac_cv_path_PATH_PGPK="$withval" ac_cv_path_PATH_PGPK="$withval"
cat >>confdefs.h <<EOF
cat >>confdefs.h <<EOF
#define PATH_PGPK "$withval" #define PATH_PGPK "$withval"
EOF EOF
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define HAVE_PGPK 1 #define HAVE_PGPK 1
EOF EOF
echo "$as_me:6078: result: $withval" >&5 echo "$as_me:6446: result: $withval" >&5
echo "${ECHO_T}$withval" >&6 echo "${ECHO_T}$withval" >&6
;; ;;
esac esac
else else
# user did not specify "--with-pgpk"; do automatic check # user did not specify "--with-pgpk"; do automatic check
# Extract the first word of "pgpk", so it can be a program name with args. # Extract the first word of "pgpk", so it can be a program name with args.
set dummy pgpk; ac_word=$2 set dummy pgpk; ac_word=$2
echo "$as_me:6087: checking for $ac_word" >&5 echo "$as_me:6455: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PATH_PGPK+set}" = set; then if test "${ac_cv_path_PATH_PGPK+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $PATH_PGPK in case $PATH_PGPK in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_PATH_PGPK="$PATH_PGPK" # Let the user override the test with a path . ac_cv_path_PATH_PGPK="$PATH_PGPK" # Let the user override the test with a path .
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_PATH_PGPK="$ac_dir/$ac_word" ac_cv_path_PATH_PGPK="$ac_dir/$ac_word"
echo "$as_me:6104: found $ac_dir/$ac_word" >&5 echo "$as_me:6472: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
PATH_PGPK=$ac_cv_path_PATH_PGPK PATH_PGPK=$ac_cv_path_PATH_PGPK
if test -n "$PATH_PGPK"; then if test -n "$PATH_PGPK"; then
echo "$as_me:6115: result: $PATH_PGPK" >&5 echo "$as_me:6483: result: $PATH_PGPK" >&5
echo "${ECHO_T}$PATH_PGPK" >&6 echo "${ECHO_T}$PATH_PGPK" >&6
else else
echo "$as_me:6118: result: no" >&5 echo "$as_me:6486: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test -n "$PATH_PGPK"; then if test -n "$PATH_PGPK"; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_PGPK "$PATH_PGPK" #define PATH_PGPK "$PATH_PGPK"
EOF EOF
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define HAVE_PGPK 1 #define HAVE_PGPK 1
EOF EOF
fi fi
fi; fi;
# FIXME: remove tailing k # FIXME: remove tailing k
# Check whether --with-gpg or --without-gpg was given. # Check whether --with-gpg or --without-gpg was given.
if test "${with_gpg+set}" = set; then if test "${with_gpg+set}" = set; then
withval="$with_gpg" withval="$with_gpg"
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:6139: error: expected a value for --with-gpg" >&5 { { echo "$as_me:6507: error: expected a value for --with-gpg" >&5
echo "$as_me: error: expected a value for --with-gpg" >&2;} echo "$as_me: error: expected a value for --with-gpg" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) no)
;; #(vi ;; #(vi
*) *)
# user supplied option-value for "--with-gpg=path" # user supplied option-value for "--with-gpg=path"
echo "$as_me:6147: checking for gpg" >&5 echo "$as_me:6515: checking for gpg" >&5
echo $ECHO_N "checking for gpg... $ECHO_C" >&6 echo $ECHO_N "checking for gpg... $ECHO_C" >&6
ac_cv_path_PATH_GPG="$withval" ac_cv_path_PATH_GPG="$withval"
cat >>confdefs.h <<EOF
cat >>confdefs.h <<EOF
#define PATH_GPG "$withval" #define PATH_GPG "$withval"
EOF EOF
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define HAVE_GPG 1 #define HAVE_GPG 1
EOF EOF
echo "$as_me:6156: result: $withval" >&5 echo "$as_me:6526: result: $withval" >&5
echo "${ECHO_T}$withval" >&6 echo "${ECHO_T}$withval" >&6
;; ;;
esac esac
else else
# user did not specify "--with-gpg"; do automatic check # user did not specify "--with-gpg"; do automatic check
# Extract the first word of "gpg", so it can be a program name with args. # Extract the first word of "gpg", so it can be a program name with args.
set dummy gpg; ac_word=$2 set dummy gpg; ac_word=$2
echo "$as_me:6165: checking for $ac_word" >&5 echo "$as_me:6535: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PATH_GPG+set}" = set; then if test "${ac_cv_path_PATH_GPG+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $PATH_GPG in case $PATH_GPG in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_PATH_GPG="$PATH_GPG" # Let the user override the test with a path. ac_cv_path_PATH_GPG="$PATH_GPG" # Let the user override the test with a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_PATH_GPG="$ac_dir/$ac_word" ac_cv_path_PATH_GPG="$ac_dir/$ac_word"
echo "$as_me:6182: found $ac_dir/$ac_word" >&5 echo "$as_me:6552: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
PATH_GPG=$ac_cv_path_PATH_GPG PATH_GPG=$ac_cv_path_PATH_GPG
if test -n "$PATH_GPG"; then if test -n "$PATH_GPG"; then
echo "$as_me:6193: result: $PATH_GPG" >&5 echo "$as_me:6563: result: $PATH_GPG" >&5
echo "${ECHO_T}$PATH_GPG" >&6 echo "${ECHO_T}$PATH_GPG" >&6
else else
echo "$as_me:6196: result: no" >&5 echo "$as_me:6566: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test -n "$PATH_GPG"; then if test -n "$PATH_GPG"; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_GPG "$PATH_GPG" #define PATH_GPG "$PATH_GPG"
EOF EOF
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define HAVE_GPG 1 #define HAVE_GPG 1
EOF EOF
skipping to change at line 6219 skipping to change at line 6589
fi; fi;
fi fi
## slrnface ## slrnface
# Check whether --with-slrnface or --without-slrnface was given. # Check whether --with-slrnface or --without-slrnface was given.
if test "${with_slrnface+set}" = set; then if test "${with_slrnface+set}" = set; then
withval="$with_slrnface" withval="$with_slrnface"
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:6219: error: expected a value for --with-slrnface" >&5 { { echo "$as_me:6589: error: expected a value for --with-slrnface" >&5
echo "$as_me: error: expected a value for --with-slrnface" >&2;} echo "$as_me: error: expected a value for --with-slrnface" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) no)
;; #(vi ;; #(vi
*) *)
# user supplied option-value for "--with-slrnface=path" # user supplied option-value for "--with-slrnface=path"
echo "$as_me:6227: checking for slrnface" >&5 echo "$as_me:6597: checking for slrnface" >&5
echo $ECHO_N "checking for slrnface... $ECHO_C" >&6 echo $ECHO_N "checking for slrnface... $ECHO_C" >&6
ac_cv_path_PATH_SLRNFACE="$withval" ac_cv_path_PATH_SLRNFACE="$withval"
cat >>confdefs.h <<EOF
cat >>confdefs.h <<EOF
#define PATH_SLRNFACE "$withval" #define PATH_SLRNFACE "$withval"
EOF EOF
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define HAVE_SLRNFACE 1 #define HAVE_SLRNFACE 1
EOF EOF
echo "$as_me:6236: result: $withval" >&5 echo "$as_me:6608: result: $withval" >&5
echo "${ECHO_T}$withval" >&6 echo "${ECHO_T}$withval" >&6
;; ;;
esac esac
else else
# user did not specify "--with-slrnface"; do automatic check # user did not specify "--with-slrnface"; do automatic check
# Extract the first word of "slrnface", so it can be a program name with args. # Extract the first word of "slrnface", so it can be a program name with args.
set dummy slrnface; ac_word=$2 set dummy slrnface; ac_word=$2
echo "$as_me:6245: checking for $ac_word" >&5 echo "$as_me:6617: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PATH_SLRNFACE+set}" = set; then if test "${ac_cv_path_PATH_SLRNFACE+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $PATH_SLRNFACE in case $PATH_SLRNFACE in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_PATH_SLRNFACE="$PATH_SLRNFACE" # Let the user override the test wit h a path. ac_cv_path_PATH_SLRNFACE="$PATH_SLRNFACE" # Let the user override the test wit h a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_PATH_SLRNFACE="$ac_dir/$ac_word" ac_cv_path_PATH_SLRNFACE="$ac_dir/$ac_word"
echo "$as_me:6262: found $ac_dir/$ac_word" >&5 echo "$as_me:6634: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
PATH_SLRNFACE=$ac_cv_path_PATH_SLRNFACE PATH_SLRNFACE=$ac_cv_path_PATH_SLRNFACE
if test -n "$PATH_SLRNFACE"; then if test -n "$PATH_SLRNFACE"; then
echo "$as_me:6273: result: $PATH_SLRNFACE" >&5 echo "$as_me:6645: result: $PATH_SLRNFACE" >&5
echo "${ECHO_T}$PATH_SLRNFACE" >&6 echo "${ECHO_T}$PATH_SLRNFACE" >&6
else else
echo "$as_me:6276: result: no" >&5 echo "$as_me:6648: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test -n "$PATH_SLRNFACE"; then if test -n "$PATH_SLRNFACE"; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_SLRNFACE "$PATH_SLRNFACE" #define PATH_SLRNFACE "$PATH_SLRNFACE"
EOF EOF
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define HAVE_SLRNFACE 1 #define HAVE_SLRNFACE 1
EOF EOF
skipping to change at line 6305 skipping to change at line 6677
## Default shell ## Default shell
# Check whether --with-shell or --without-shell was given. # Check whether --with-shell or --without-shell was given.
if test "${with_shell+set}" = set; then if test "${with_shell+set}" = set; then
withval="$with_shell" withval="$with_shell"
cf_cv_default_shell=$withval cf_cv_default_shell=$withval
else else
cf_cv_default_shell= cf_cv_default_shell=
fi; fi;
echo "$as_me:6305: checking for the default shell program" >&5 echo "$as_me:6677: checking for the default shell program" >&5
echo $ECHO_N "checking for the default shell program... $ECHO_C" >&6 echo $ECHO_N "checking for the default shell program... $ECHO_C" >&6
cf_shell_progs="$cf_cv_default_shell" cf_shell_progs="$cf_cv_default_shell"
if test -z "$cf_shell_progs" ; then if test -z "$cf_shell_progs" ; then
cf_shell_progs="sh ksh bash zsh pdksh mksh jsh keysh ash dash" cf_shell_progs="sh ksh bash zsh pdksh mksh jsh keysh ash dash"
# TIN preferred default shell for BSD systems is csh. Others are sh. # TIN preferred default shell for BSD systems is csh. Others are sh.
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 6312 "configure" #line 6684 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/params.h> #include <sys/params.h>
int int
main (void) main (void)
{ {
#if (defined(BSD) && (BSD >= 199103)) #if (defined(BSD) && (BSD >= 199103))
#else #else
make an error make an error
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:6330: \"$ac_compile\"") >&5 if { (eval echo "$as_me:6702: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:6333: \$? = $ac_status" >&5 echo "$as_me:6705: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:6336: \"$ac_try\"") >&5 { (eval echo "$as_me:6708: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:6339: \$? = $ac_status" >&5 echo "$as_me:6711: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
$cf_shell_progs="csh tcsh $cf_shell_progs" $cf_shell_progs="csh tcsh $cf_shell_progs"
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "${as_me:-configure}:6349: testing paths of shell programs: $cf_shell_progs ..." 1>&5 echo "${as_me:-configure}:6721: testing paths of shell programs: $cf_shell_progs ..." 1>&5
if test -s /etc/shells && test `egrep -c -v '^(#| | |$)' /etc/shells` -gt 0; then if test -s /etc/shells && test `egrep -c -v '^(#| | |$)' /etc/shells` -gt 0; then
echo "${as_me:-configure}:6353: testing /etc/shells ..." 1>&5 echo "${as_me:-configure}:6725: testing /etc/shells ..." 1>&5
for cf_prog in $cf_shell_progs for cf_prog in $cf_shell_progs
do do
case $cf_prog in case $cf_prog in
/*) /*)
cf_pattern="^"$cf_prog"$" cf_pattern="^"$cf_prog"$"
;; ;;
*/*) */*)
{ { echo "$as_me:6362: error: Program name must b e absolute or filename: $cf_prog" >&5 { { echo "$as_me:6734: error: Program name must b e absolute or filename: $cf_prog" >&5
echo "$as_me: error: Program name must be absolute or filename: $cf_prog" >&2;} echo "$as_me: error: Program name must be absolute or filename: $cf_prog" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; ;;
*) *)
cf_pattern="/"$cf_prog"$" cf_pattern="/"$cf_prog"$"
;; ;;
esac esac
cf_path=`egrep $cf_pattern /etc/shells 2>/dev/null` cf_path=`egrep $cf_pattern /etc/shells 2>/dev/null`
if test -n "$cf_path" if test -n "$cf_path"
then then
skipping to change at line 6387 skipping to change at line 6759
DEFAULT_SHELL="$cf_shell" DEFAULT_SHELL="$cf_shell"
break break
fi fi
done done
fi fi
if test -n "$DEFAULT_SHELL" if test -n "$DEFAULT_SHELL"
then then
break break
fi fi
done done
echo "$as_me:6387: result: $DEFAULT_SHELL" >&5 echo "$as_me:6759: result: $DEFAULT_SHELL" >&5
echo "${ECHO_T}$DEFAULT_SHELL" >&6 echo "${ECHO_T}$DEFAULT_SHELL" >&6
else else
echo "${as_me:-configure}:6391: testing $PATH ..." 1>&5 echo "${as_me:-configure}:6763: testing $PATH ..." 1>&5
for ac_prog in $cf_shell_progs for ac_prog in $cf_shell_progs
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
echo "$as_me:6397: checking for $ac_word" >&5 echo "$as_me:6769: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_DEFAULT_SHELL+set}" = set; then if test "${ac_cv_path_DEFAULT_SHELL+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $DEFAULT_SHELL in case $DEFAULT_SHELL in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_DEFAULT_SHELL="$DEFAULT_SHELL" # Let the user override the test wit h a path. ac_cv_path_DEFAULT_SHELL="$DEFAULT_SHELL" # Let the user override the test wit h a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH:/bin:/usr/bin:/usr/xpg4/bin:/bin/posix:/usr/bin/posix:/usr/old/b in:/usr/local/bin" ac_dummy="$PATH:/bin:/usr/bin:/usr/xpg4/bin:/bin/posix:/usr/bin/posix:/usr/old/b in:/usr/local/bin"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_DEFAULT_SHELL="$ac_dir/$ac_word" ac_cv_path_DEFAULT_SHELL="$ac_dir/$ac_word"
echo "$as_me:6414: found $ac_dir/$ac_word" >&5 echo "$as_me:6786: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
;; ;;
esac esac
fi fi
DEFAULT_SHELL=$ac_cv_path_DEFAULT_SHELL DEFAULT_SHELL=$ac_cv_path_DEFAULT_SHELL
if test -n "$DEFAULT_SHELL"; then if test -n "$DEFAULT_SHELL"; then
echo "$as_me:6425: result: $DEFAULT_SHELL" >&5 echo "$as_me:6797: result: $DEFAULT_SHELL" >&5
echo "${ECHO_T}$DEFAULT_SHELL" >&6 echo "${ECHO_T}$DEFAULT_SHELL" >&6
else else
echo "$as_me:6428: result: no" >&5 echo "$as_me:6800: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
test -n "$DEFAULT_SHELL" && break test -n "$DEFAULT_SHELL" && break
done done
fi fi
if test -z "$DEFAULT_SHELL" ; then if test -z "$DEFAULT_SHELL" ; then
{ echo "$as_me:6437: WARNING: Cannot find the default shell you specified : $cf_shell_progs" >&5 { echo "$as_me:6809: WARNING: Cannot find the default shell you specified : $cf_shell_progs" >&5
echo "$as_me: WARNING: Cannot find the default shell you specified: $cf_shell_pr ogs" >&2;} echo "$as_me: WARNING: Cannot find the default shell you specified: $cf_shell_pr ogs" >&2;}
if test -f /bin/false ; then if test -f /bin/false ; then
{ echo "$as_me:6440: WARNING: Using /bin/false instead" >&5 { echo "$as_me:6812: WARNING: Using /bin/false instead" >&5
echo "$as_me: WARNING: Using /bin/false instead" >&2;} echo "$as_me: WARNING: Using /bin/false instead" >&2;}
DEFAULT_SHELL=/bin/false DEFAULT_SHELL=/bin/false
else else
{ { echo "$as_me:6444: error: Cannot use /bin/false because it do es not exist" >&5 { { echo "$as_me:6816: error: Cannot use /bin/false because it do es not exist" >&5
echo "$as_me: error: Cannot use /bin/false because it does not exist" >&2;} echo "$as_me: error: Cannot use /bin/false because it does not exist" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
fi fi
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define DEFAULT_SHELL "$DEFAULT_SHELL" #define DEFAULT_SHELL "$DEFAULT_SHELL"
EOF EOF
### check for this early, since it'll override several options ### check for this early, since it'll override several options
echo "$as_me:6454: checking if NNTP-support will be used" >&5 echo "$as_me:6827: checking if NNTP-support will be used" >&5
echo $ECHO_N "checking if NNTP-support will be used... $ECHO_C" >&6 echo $ECHO_N "checking if NNTP-support will be used... $ECHO_C" >&6
# Check whether --enable-nntp or --disable-nntp was given. # Check whether --enable-nntp or --disable-nntp was given.
if test "${enable_nntp+set}" = set; then if test "${enable_nntp+set}" = set; then
enableval="$enable_nntp" enableval="$enable_nntp"
test "$enableval" != no && enableval=yes test "$enableval" != no && enableval=yes
if test "$enableval" != "yes" ; then if test "$enableval" != "yes" ; then
USE_NNTP=no USE_NNTP=no
else else
USE_NNTP=yes USE_NNTP=yes
fi fi
else else
enableval=yes enableval=yes
USE_NNTP=yes USE_NNTP=yes
fi; fi;
echo "$as_me:6471: result: $enableval" >&5 echo "$as_me:6844: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6 echo "${ECHO_T}$enableval" >&6
USE_SPOOLDIR=yes USE_SPOOLDIR=yes
if test "$USE_NNTP" = "yes" ; then if test "$USE_NNTP" = "yes" ; then
echo "$as_me:6476: checking whether to be NNTP_ONLY" >&5 echo "$as_me:6849: checking whether to be NNTP_ONLY" >&5
echo $ECHO_N "checking whether to be NNTP_ONLY... $ECHO_C" >&6 echo $ECHO_N "checking whether to be NNTP_ONLY... $ECHO_C" >&6
# Check whether --enable-nntp-only or --disable-nntp-only was given. # Check whether --enable-nntp-only or --disable-nntp-only was given.
if test "${enable_nntp_only+set}" = set; then if test "${enable_nntp_only+set}" = set; then
enableval="$enable_nntp_only" enableval="$enable_nntp_only"
test "$enableval" != yes && enableval=no test "$enableval" != yes && enableval=no
if test "$enableval" != "no" ; then if test "$enableval" != "no" ; then
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define NNTP_ONLY 1 #define NNTP_ONLY 1
EOF EOF
USE_SPOOLDIR=no USE_SPOOLDIR=no
else else
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define NNTP_ABLE 1 #define NNTP_ABLE 1
EOF EOF
fi fi
else else
enableval=no enableval=no
cat >>confdefs.h <<\EOF
cat >>confdefs.h <<\EOF
#define NNTP_ABLE 1 #define NNTP_ABLE 1
EOF EOF
fi; fi;
echo "$as_me:6502: result: $enableval" >&5 echo "$as_me:6878: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6 echo "${ECHO_T}$enableval" >&6
fi fi
### use option --enable-debug to compile-in test/development code ### use option --enable-debug to compile-in test/development code
echo "$as_me:6507: checking if you want to compile-in debug support" >&5 echo "$as_me:6883: checking if you want to compile-in debug support" >&5
echo $ECHO_N "checking if you want to compile-in debug support... $ECHO_C" >&6 echo $ECHO_N "checking if you want to compile-in debug support... $ECHO_C" >&6
# Check whether --enable-debug or --disable-debug was given. # Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then if test "${enable_debug+set}" = set; then
enableval="$enable_debug" enableval="$enable_debug"
test "$enableval" != yes && enableval=no test "$enableval" != yes && enableval=no
if test "$enableval" != "no" ; then if test "$enableval" != "no" ; then
ENABLE_DEBUG='' ENABLE_DEBUG=''
CFLAGS="-g $CFLAGS" CFLAGS="-g $CFLAGS"
LDFLAGS="-g $LDFLAGS" LDFLAGS="-g $LDFLAGS"
else else
ENABLE_DEBUG='#' ENABLE_DEBUG='#'
test -z "$save_CFLAGS" && CFLAGS=`echo $CFLAGS|sed -e 's/-g //' -e 's/-g$ //'` test -z "$save_CFLAGS" && CFLAGS=`echo $CFLAGS|sed -e 's/-g //' -e 's/-g$ //'`
fi fi
else else
enableval=no enableval=no
ENABLE_DEBUG='#' ENABLE_DEBUG='#'
test -z "$save_CFLAGS" && CFLAGS=`echo $CFLAGS|sed -e 's/-g //' -e 's/-g$ //'` test -z "$save_CFLAGS" && CFLAGS=`echo $CFLAGS|sed -e 's/-g //' -e 's/-g$ //'`
fi; fi;
echo "$as_me:6528: result: $enableval" >&5 echo "$as_me:6904: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6 echo "${ECHO_T}$enableval" >&6
### use option --disable-echo to suppress full display compiling commands ### use option --disable-echo to suppress full display compiling commands
echo "$as_me:6533: checking if you want to see long compiling messages" >&5 echo "$as_me:6909: checking if you want to see long compiling messages" >&5
echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >& 6 echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >& 6
# Check whether --enable-echo or --disable-echo was given. # Check whether --enable-echo or --disable-echo was given.
if test "${enable_echo+set}" = set; then if test "${enable_echo+set}" = set; then
enableval="$enable_echo" enableval="$enable_echo"
test "$enableval" != no && enableval=yes test "$enableval" != no && enableval=yes
if test "$enableval" != "yes" ; then if test "$enableval" != "yes" ; then
ECHO_LT='--silent' ECHO_LT='--silent'
ECHO_LD='@echo linking $@;' ECHO_LD='@echo linking $@;'
skipping to change at line 6567 skipping to change at line 6943
else else
enableval=yes enableval=yes
ECHO_LT='' ECHO_LT=''
ECHO_LD='' ECHO_LD=''
RULE_CC='' RULE_CC=''
SHOW_CC='' SHOW_CC=''
ECHO_CC='' ECHO_CC=''
fi; fi;
echo "$as_me:6567: result: $enableval" >&5 echo "$as_me:6943: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6 echo "${ECHO_T}$enableval" >&6
### use option --enable-prototypes to turn on optional prototypes ### use option --enable-prototypes to turn on optional prototypes
echo "$as_me:6571: checking if you want to compile with fallback prototypes" >&5 echo "$as_me:6947: checking if you want to compile with fallback prototypes" >&5
echo $ECHO_N "checking if you want to compile with fallback prototypes... $ECHO_ C" >&6 echo $ECHO_N "checking if you want to compile with fallback prototypes... $ECHO_ C" >&6
# Check whether --enable-prototypes or --disable-prototypes was given. # Check whether --enable-prototypes or --disable-prototypes was given.
if test "${enable_prototypes+set}" = set; then if test "${enable_prototypes+set}" = set; then
enableval="$enable_prototypes" enableval="$enable_prototypes"
test "$enableval" != yes && enableval=no test "$enableval" != yes && enableval=no
if test "$enableval" != "no" ; then if test "$enableval" != "no" ; then
with_decl_check=yes with_decl_check=yes
else else
with_decl_check=no with_decl_check=no
fi fi
else else
enableval=no enableval=no
with_decl_check=no with_decl_check=no
fi; fi;
echo "$as_me:6588: result: $enableval" >&5 echo "$as_me:6964: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6 echo "${ECHO_T}$enableval" >&6
### use option --enable-warnings to turn on all gcc warnings ### use option --enable-warnings to turn on all gcc warnings
EXTRA_CFLAGS="" EXTRA_CFLAGS=""
if test -n "$GCC" if test -n "$GCC"
then then
echo "$as_me:6595: checking if you want to turn on gcc warnings" >&5 echo "$as_me:6971: checking if you want to turn on gcc warnings" >&5
echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6
# Check whether --enable-warnings or --disable-warnings was given. # Check whether --enable-warnings or --disable-warnings was given.
if test "${enable_warnings+set}" = set; then if test "${enable_warnings+set}" = set; then
enableval="$enable_warnings" enableval="$enable_warnings"
test "$enableval" != yes && enableval=no test "$enableval" != yes && enableval=no
if test "$enableval" != "no" ; then if test "$enableval" != "no" ; then
with_warnings=yes with_warnings=yes
else else
with_warnings=no with_warnings=no
fi fi
else else
enableval=no enableval=no
with_warnings=no with_warnings=no
fi; fi;
echo "$as_me:6612: result: $with_warnings" >&5 echo "$as_me:6988: result: $with_warnings" >&5
echo "${ECHO_T}$with_warnings" >&6 echo "${ECHO_T}$with_warnings" >&6
if test "$with_warnings" = "yes" if test "$with_warnings" = "yes"
then then
with_ext_const=yes with_ext_const=yes
echo "$as_me:6993: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6
INTEL_COMPILER=no # Check whether --with-x or --without-x was given.
if test "${with_x+set}" = set; then
withval="$with_x"
if test "$GCC" = yes ; then fi;
case $host_os in # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
linux*|gnu*) if test "x$with_x" = xno; then
echo "$as_me:6623: checking if this is really Intel C compiler" > # The user explicitly disabled X.
&5 have_x=disabled
echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6 else
cf_save_CFLAGS="$CFLAGS" if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
CFLAGS="$CFLAGS -no-gcc" # Both variables are already set.
cat >conftest.$ac_ext <<_ACEOF have_x=yes
#line 6628 "configure" else
if test "${ac_cv_have_x+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
# One or both of the vars are not set, and there is no cached value.
ac_x_includes=no ac_x_libraries=no
rm -fr conftest.dir
if mkdir conftest.dir; then
cd conftest.dir
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
cat >Imakefile <<'EOF'
acfindx:
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_
libdir="${LIBDIR}"'
EOF
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
for ac_extension in a so sl dylib dll; do
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
test -f $ac_im_libdir/libX11.$ac_extension; then
ac_im_usrlibdir=$ac_im_libdir; break
fi
done
# Screen out bogus values from the imake configuration. They are
# bogus both because they are the default anyway, and because
# using them would break gcc on systems where it needs fixed includes.
case $ac_im_incroot in
/usr/include) ;;
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
esac
case $ac_im_usrlibdir in
/usr/lib | /lib) ;;
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
esac
fi
cd ..
rm -fr conftest.dir
fi
# Standard set of common directories for X headers.
# Check X11 before X11Rn because it is often a symlink to the current release.
ac_x_header_dirs='
/usr/X11/include
/usr/X11R7/include
/usr/X11R6/include
/usr/X11R5/include
/usr/X11R4/include
/opt/local/include
/opt/X11/include
/usr/include/X11
/usr/include/X11R7
/usr/include/X11R6
/usr/include/X11R5
/usr/include/X11R4
/usr/local/X11/include
/usr/local/X11R7/include
/usr/local/X11R6/include
/usr/local/X11R5/include
/usr/local/X11R4/include
/usr/local/include/X11
/usr/local/include/X11R7
/usr/local/include/X11R6
/usr/local/include/X11R5
/usr/local/include/X11R4
/usr/X386/include
/usr/x386/include
/usr/XFree86/include/X11
/usr/include
/usr/local/include
/usr/unsupported/include
/usr/athena/include
/usr/local/x11r5/include
/usr/lpp/Xamples/include
/usr/openwin/include
/usr/openwin/share/include'
if test "$ac_x_includes" = no; then
# Guess where to find include files, by looking for Intrinsic.h.
# First, try using that file with no special directory specified.
cat >conftest.$ac_ext <<_ACEOF
#line 7097 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/Intrinsic.h>
_ACEOF
if { (eval echo "$as_me:7101: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:7107: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
else
ac_cpp_err=
fi
else
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
# We can compile using X headers with no special include directory.
ac_x_includes=
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
for ac_dir in $ac_x_header_dirs; do
if test -r "$ac_dir/X11/Intrinsic.h"; then
ac_x_includes=$ac_dir
break
fi
done
fi
rm -f conftest.err conftest.$ac_ext
fi # $ac_x_includes = no
if test "$ac_x_libraries" = no; then
# Check for the libraries.
# See if we find them without any special options.
# Don't add to $LIBS permanently.
ac_save_LIBS=$LIBS
LIBS="-lXt $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 7140 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
int int
main (void) main (void)
{ {
XtMalloc (0)
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7152: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7155: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7158: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7161: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
LIBS=$ac_save_LIBS
# We can link X programs with no special library path.
ac_x_libraries=
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
LIBS=$ac_save_LIBS
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
do
# Don't even attempt the hair of trying to link an X program!
for ac_extension in a so sl dylib dll; do
if test -r $ac_dir/libXt.$ac_extension; then
ac_x_libraries=$ac_dir
break 2
fi
done
done
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi # $ac_x_libraries = no
#ifdef __INTEL_COMPILER if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
#else # Didn't find X anywhere. Cache the known absence of X.
make an error ac_cv_have_x="have_x=no"
else
# Record where we found X for the cache.
ac_cv_have_x="have_x=yes \
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
fi
fi
fi
eval "$ac_cv_have_x"
fi # $with_x != no
if test "$have_x" != yes; then
echo "$as_me:7199: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6
no_x=yes
else
# If each of the values was on the command line, it overrides each guess.
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
# Update the cache value to reflect the command line values.
ac_cv_have_x="have_x=yes \
ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
echo "$as_me:7209: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
fi
if test "$no_x" = yes; then
# Not all programs may use this symbol, but it does not hurt to define it.
cat >>confdefs.h <<\EOF
#define X_DISPLAY_MISSING 1
EOF
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
else
if test -n "$x_includes"; then
X_CFLAGS="$X_CFLAGS -I$x_includes"
fi
# It would also be nice to do this for all -L options, not just this one.
if test -n "$x_libraries"; then
X_LIBS="$X_LIBS -L$x_libraries"
# For Solaris; some versions of Sun CC require a space after -R and
# others require no space. Words are not sufficient . . . .
case `(uname -sr) 2>/dev/null` in
"SunOS 5"*)
echo "$as_me:7233: checking whether -R must be followed by a space" >&5
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
cat >conftest.$ac_ext <<_ACEOF
#line 7237 "configure"
#include "confdefs.h"
int
main (void)
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7249: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7252: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7255: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7258: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_R_nospace=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_R_nospace=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test $ac_R_nospace = yes; then
echo "$as_me:7268: result: no" >&5
echo "${ECHO_T}no" >&6
X_LIBS="$X_LIBS -R$x_libraries"
else
LIBS="$ac_xsave_LIBS -R $x_libraries"
cat >conftest.$ac_ext <<_ACEOF
#line 7274 "configure"
#include "confdefs.h"
int
main (void)
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7286: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7289: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7292: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7295: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_R_space=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_R_space=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test $ac_R_space = yes; then
echo "$as_me:7305: result: yes" >&5
echo "${ECHO_T}yes" >&6
X_LIBS="$X_LIBS -R $x_libraries"
else
echo "$as_me:7309: result: neither works" >&5
echo "${ECHO_T}neither works" >&6
fi
fi
LIBS=$ac_xsave_LIBS
esac
fi
# Check for system-dependent libraries X programs must link with.
# Do this before checking for the system-independent R6 libraries
# (-lICE), since we may need -lsocket or whatever for X linking.
if test "$ISC" = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
else
# Martyn Johnson says this is needed for Ultrix, if the X
# libraries were built with DECnet support. And Karl Berry says
# the Alpha needs dnet_stub (dnet does not exist).
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
cat >conftest.$ac_ext <<_ACEOF
#line 7329 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif #endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char XOpenDisplay ();
int
main (void)
{
XOpenDisplay ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7348: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7351: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7354: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7357: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
echo "$as_me:7363: checking for dnet_ntoa in -ldnet" >&5
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldnet $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 7371 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa ();
int
main (void)
{
dnet_ntoa ();
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:6645: \"$ac_compile\"") >&5 if { (eval echo "$as_me:7390: \"$ac_link\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:6648: \$? = $ac_status" >&5 echo "$as_me:7393: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:6651: \"$ac_try\"") >&5 { (eval echo "$as_me:7396: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:6654: \$? = $ac_status" >&5 echo "$as_me:7399: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
INTEL_COMPILER=yes ac_cv_lib_dnet_dnet_ntoa=yes
cf_save_CFLAGS="$cf_save_CFLAGS -we147" else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_dnet_dnet_ntoa=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:7410: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
fi
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
echo "$as_me:7417: checking for dnet_ntoa in -ldnet_stub" >&5
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldnet_stub $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 7425 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa ();
int
main (void)
{
dnet_ntoa ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7444: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7447: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7450: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7453: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_dnet_stub_dnet_ntoa=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_dnet_stub_dnet_ntoa=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:7464: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
fi
fi
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS="$ac_xsave_LIBS"
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
# to get the SysV transport functions.
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
# needs -lnsl.
# The nsl library prevents programs from opening the X display
# on Irix 5.2, according to T.E. Dickey.
# The functions gethostbyname, getservbyname, and inet_addr are
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
echo "$as_me:7483: checking for gethostbyname" >&5
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
if test "${ac_cv_func_gethostbyname+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line 7489 "configure"
#include "confdefs.h"
#define gethostbyname autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __s
tub macros */
#undef gethostbyname
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gethostbyname (void);
int
main (void)
{
/* The GNU C library defines stubs for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
#error found stub for gethostbyname
#endif
return gethostbyname ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7520: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7523: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7526: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7529: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_gethostbyname=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
ac_cv_func_gethostbyname=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
CFLAGS="$cf_save_CFLAGS"
echo "$as_me:6665: result: $INTEL_COMPILER" >&5
echo "${ECHO_T}$INTEL_COMPILER" >&6
;;
esac
fi fi
echo "$as_me:7539: result: $ac_cv_func_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
CLANG_COMPILER=no if test $ac_cv_func_gethostbyname = no; then
echo "$as_me:7543: checking for gethostbyname in -lnsl" >&5
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lnsl $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 7551 "configure"
#include "confdefs.h"
if test "$GCC" = yes ; then /* Override any gcc2 internal prototype to avoid an error. */
echo "$as_me:6674: checking if this is really Clang C compiler" >&5 #ifdef __cplusplus
echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6 extern "C"
cf_save_CFLAGS="$CFLAGS" #endif
CFLAGS="$CFLAGS -Qunused-arguments" /* We use char because int might match the return type of a gcc2
cat >conftest.$ac_ext <<_ACEOF builtin and then its argument prototype would still apply. */
#line 6679 "configure" char gethostbyname ();
int
main (void)
{
gethostbyname ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7570: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7573: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7576: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7579: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_nsl_gethostbyname=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_nsl_gethostbyname=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:7590: result: $ac_cv_lib_nsl_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
if test $ac_cv_lib_nsl_gethostbyname = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
fi
if test $ac_cv_lib_nsl_gethostbyname = no; then
echo "$as_me:7597: checking for gethostbyname in -lbsd" >&5
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lbsd $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 7605 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gethostbyname ();
int int
main (void) main (void)
{ {
gethostbyname ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7624: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7627: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7630: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7633: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_bsd_gethostbyname=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_bsd_gethostbyname=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:7644: result: $ac_cv_lib_bsd_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
if test $ac_cv_lib_bsd_gethostbyname = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
fi
#ifdef __clang__ fi
#else fi
make an error
# lieder@skyler.mavd.honeywell.com says without -lsocket,
# socket/setsockopt and other routines are undefined under SCO ODT
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
# on later versions), says Simon Leinen: it contains gethostby*
# variants that don't use the nameserver (or something). -lsocket
# must be given before -lnsl if both are needed. We assume that
# if connect needs -lnsl, so does gethostbyname.
echo "$as_me:7660: checking for connect" >&5
echo $ECHO_N "checking for connect... $ECHO_C" >&6
if test "${ac_cv_func_connect+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line 7666 "configure"
#include "confdefs.h"
#define connect autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __s
tub macros */
#undef connect
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char connect (void);
int
main (void)
{
/* The GNU C library defines stubs for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_connect) || defined (__stub___connect)
#error found stub for connect
#endif #endif
return connect ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7697: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7700: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7703: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7706: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_connect=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_connect=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:7716: result: $ac_cv_func_connect" >&5
echo "${ECHO_T}$ac_cv_func_connect" >&6
if test $ac_cv_func_connect = no; then
echo "$as_me:7720: checking for connect in -lsocket" >&5
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
if test "${ac_cv_lib_socket_connect+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 7728 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char connect ();
int
main (void)
{
connect ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7747: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7750: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7753: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7756: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_socket_connect=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_socket_connect=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:7767: result: $ac_cv_lib_socket_connect" >&5
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
if test $ac_cv_lib_socket_connect = yes; then
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
fi
fi
# Guillermo Gomez says -lposix is necessary on A/UX.
echo "$as_me:7776: checking for remove" >&5
echo $ECHO_N "checking for remove... $ECHO_C" >&6
if test "${ac_cv_func_remove+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line 7782 "configure"
#include "confdefs.h"
#define remove autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __s
tub macros */
#undef remove
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char remove (void);
int
main (void)
{
/* The GNU C library defines stubs for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_remove) || defined (__stub___remove)
#error found stub for remove
#endif
return remove ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7813: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7816: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7819: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7822: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_remove=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_remove=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:7832: result: $ac_cv_func_remove" >&5
echo "${ECHO_T}$ac_cv_func_remove" >&6
if test $ac_cv_func_remove = no; then
echo "$as_me:7836: checking for remove in -lposix" >&5
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
if test "${ac_cv_lib_posix_remove+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lposix $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 7844 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char remove ();
int
main (void)
{
remove ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7863: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7866: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7869: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7872: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_posix_remove=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_posix_remove=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:7883: result: $ac_cv_lib_posix_remove" >&5
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
if test $ac_cv_lib_posix_remove = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
fi
fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
echo "$as_me:7892: checking for shmat" >&5
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
if test "${ac_cv_func_shmat+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line 7898 "configure"
#include "confdefs.h"
#define shmat autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __s
tub macros */
#undef shmat
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char shmat (void);
int
main (void)
{
/* The GNU C library defines stubs for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_shmat) || defined (__stub___shmat)
#error found stub for shmat
#endif
return shmat ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7929: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7932: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7935: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7938: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_shmat=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_shmat=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:7948: result: $ac_cv_func_shmat" >&5
echo "${ECHO_T}$ac_cv_func_shmat" >&6
if test $ac_cv_func_shmat = no; then
echo "$as_me:7952: checking for shmat in -lipc" >&5
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lipc $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 7960 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char shmat ();
int
main (void)
{
shmat ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7979: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:7982: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7985: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:7988: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_ipc_shmat=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_ipc_shmat=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:7999: result: $ac_cv_lib_ipc_shmat" >&5
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
if test $ac_cv_lib_ipc_shmat = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
fi
fi
fi
# Check for libraries that X11R6 Xt/Xaw programs need.
ac_save_LDFLAGS=$LDFLAGS
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
# check for ICE first), but we must link in the order -lSM -lICE or
# we get undefined symbols. So assume we have SM if we have ICE.
# These have to be linked with before -lX11, unlike the other
# libraries we check for below, so use a different variable.
# John Interrante, Karl Berry
echo "$as_me:8017: checking for IceConnectionNumber in -lICE" >&5
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 8025 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char IceConnectionNumber ();
int
main (void)
{
IceConnectionNumber ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8044: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:8047: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:8050: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:8053: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_ICE_IceConnectionNumber=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_ICE_IceConnectionNumber=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:8064: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
fi
LDFLAGS=$ac_save_LDFLAGS
fi
if test "x$have_x" = xyes; then
cf_save_LIBS_CF_CONST_X_STRING="$LIBS"
cf_save_CFLAGS_CF_CONST_X_STRING="$CFLAGS"
cf_save_CPPFLAGS_CF_CONST_X_STRING="$CPPFLAGS"
LIBS="$LIBS ${X_PRE_LIBS} ${X_LIBS} ${X_EXTRA_LIBS}"
for cf_X_CFLAGS in $X_CFLAGS
do
case "x$cf_X_CFLAGS" in
x-[IUD]*)
CPPFLAGS="$CPPFLAGS $cf_X_CFLAGS"
;;
*)
CFLAGS="$CFLAGS $cf_X_CFLAGS"
;;
esac
done
cat >conftest.$ac_ext <<_ACEOF
#line 8093 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <X11/Intrinsic.h>
int
main (void)
{
String foo = malloc(1); (void)foo
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:6696: \"$ac_compile\"") >&5 if { (eval echo "$as_me:8108: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:6699: \$? = $ac_status" >&5 echo "$as_me:8111: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:6702: \"$ac_try\"") >&5 { (eval echo "$as_me:8114: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:6705: \$? = $ac_status" >&5 echo "$as_me:8117: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
CLANG_COMPILER=yes
cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments" echo "$as_me:8120: checking for X11/Xt const-feature" >&5
echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6
if test "${cf_cv_const_x_string+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line 8127 "configure"
#include "confdefs.h"
#define _CONST_X_STRING /* X11R7.8 (perhaps) */
#undef XTSTRINGDEFINES /* X11R5 and later */
#include <stdlib.h>
#include <X11/Intrinsic.h>
int
main (void)
{
String foo = malloc(1); *foo = 0
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:8144: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:8147: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:8150: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:8153: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
cf_cv_const_x_string=no
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_const_x_string=yes
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
CFLAGS="$cf_save_CFLAGS"
echo "$as_me:6716: result: $CLANG_COMPILER" >&5
echo "${ECHO_T}$CLANG_COMPILER" >&6
fi fi
echo "$as_me:8168: result: $cf_cv_const_x_string" >&5
echo "${ECHO_T}$cf_cv_const_x_string" >&6
LIBS="$cf_save_LIBS_CF_CONST_X_STRING"
CFLAGS="$cf_save_CFLAGS_CF_CONST_X_STRING"
CPPFLAGS="$cf_save_CPPFLAGS_CF_CONST_X_STRING"
case $cf_cv_const_x_string in
no)
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-DXTSTRINGDEFINES"
;;
*)
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-D_CONST_X_STRING"
;;
esac
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6721 "${as_me:-configure}" #line 8197 "${as_me:-configure}"
int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; } int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
EOF EOF
if test "$INTEL_COMPILER" = yes if test "$INTEL_COMPILER" = yes
then then
# The "-wdXXX" options suppress warnings: # The "-wdXXX" options suppress warnings:
# remark #1419: external declaration in primary source file # remark #1419: external declaration in primary source file
# remark #1683: explicit conversion of a 64-bit integral type to a smaller integ ral type (potential portability problem) # remark #1683: explicit conversion of a 64-bit integral type to a smaller integ ral type (potential portability problem)
# remark #1684: conversion from pointer to same-sized integral type (potential p ortability problem) # remark #1684: conversion from pointer to same-sized integral type (potential p ortability problem)
# remark #193: zero used for undefined preprocessing identifier # remark #193: zero used for undefined preprocessing identifier
# remark #593: variable "curs_sb_left_arrow" was set but never used # remark #593: variable "curs_sb_left_arrow" was set but never used
# remark #810: conversion from "int" to "Dimension={unsigned short}" may lose si gnificant bits # remark #810: conversion from "int" to "Dimension={unsigned short}" may lose si gnificant bits
# remark #869: parameter "tw" was never referenced # remark #869: parameter "tw" was never referenced
# remark #981: operands are evaluated in unspecified order # remark #981: operands are evaluated in unspecified order
# warning #279: controlling expression is constant # warning #279: controlling expression is constant
{ echo "$as_me:6738: checking for $CC warning options..." >&5 { echo "$as_me:8213: checking for $CC warning options..." >&5
echo "$as_me: checking for $CC warning options..." >&6;} echo "$as_me: checking for $CC warning options..." >&6;}
cf_save_CFLAGS="$CFLAGS" cf_save_CFLAGS="$CFLAGS"
EXTRA_CFLAGS="-Wall" EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall"
for cf_opt in \ for cf_opt in \
wd1419 \ wd1419 \
wd1683 \ wd1683 \
wd1684 \ wd1684 \
wd193 \ wd193 \
wd593 \ wd593 \
wd279 \ wd279 \
wd810 \ wd810 \
wd869 \ wd869 \
wd981 wd981
do do
CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
if { (eval echo "$as_me:6754: \"$ac_compile\"") >&5 if { (eval echo "$as_me:8229: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:6757: \$? = $ac_status" >&5 echo "$as_me:8232: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
test -n "$verbose" && echo "$as_me:6759: result: ... -$cf _opt" >&5 test -n "$verbose" && echo "$as_me:8234: result: ... -$cf _opt" >&5
echo "${ECHO_T}... -$cf_opt" >&6 echo "${ECHO_T}... -$cf_opt" >&6
EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
fi fi
done done
CFLAGS="$cf_save_CFLAGS" CFLAGS="$cf_save_CFLAGS"
elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown"
elif test "$GCC" = yes
then then
{ echo "$as_me:6768: checking for $CC warning options..." >&5 { echo "$as_me:8242: checking for $CC warning options..." >&5
echo "$as_me: checking for $CC warning options..." >&6;} echo "$as_me: checking for $CC warning options..." >&6;}
cf_save_CFLAGS="$CFLAGS" cf_save_CFLAGS="$CFLAGS"
EXTRA_CFLAGS=
cf_warn_CONST="" cf_warn_CONST=""
test "$with_ext_const" = yes && cf_warn_CONST="Wwrite-strings" test "$with_ext_const" = yes && cf_warn_CONST="Wwrite-strings"
cf_gcc_warnings="Wignored-qualifiers Wlogical-op Wvarargs" cf_gcc_warnings="Wignored-qualifiers Wlogical-op Wvarargs"
test "x$CLANG_COMPILER" = xyes && cf_gcc_warnings= test "x$CLANG_COMPILER" = xyes && cf_gcc_warnings=
for cf_opt in W Wall \ for cf_opt in W Wall \
Wbad-function-cast \ Wbad-function-cast \
Wcast-align \ Wcast-align \
Wcast-qual \ Wcast-qual \
Wdeclaration-after-statement \ Wdeclaration-after-statement \
Wextra \ Wextra \
Winline \ Winline \
Wmissing-declarations \ Wmissing-declarations \
Wmissing-prototypes \ Wmissing-prototypes \
Wnested-externs \ Wnested-externs \
Wpointer-arith \ Wpointer-arith \
Wshadow \ Wshadow \
Wstrict-prototypes \ Wstrict-prototypes \
Wundef $cf_gcc_warnings $cf_warn_CONST Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST
do do
CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
if { (eval echo "$as_me:6792: \"$ac_compile\"") >&5 if { (eval echo "$as_me:8265: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:6795: \$? = $ac_status" >&5 echo "$as_me:8268: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
test -n "$verbose" && echo "$as_me:6797: result: ... -$cf _opt" >&5 test -n "$verbose" && echo "$as_me:8270: result: ... -$cf _opt" >&5
echo "${ECHO_T}... -$cf_opt" >&6 echo "${ECHO_T}... -$cf_opt" >&6
case $cf_opt in case $cf_opt in
Wcast-qual)
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-DXTSTRINGDEFINES"
;;
Winline) Winline)
case $GCC_VERSION in case $GCC_VERSION in
[34].*) [34].*)
test -n "$verbose" && echo " feature i s broken in gcc $GCC_VERSION" 1>&6 test -n "$verbose" && echo " feature i s broken in gcc $GCC_VERSION" 1>&6
echo "${as_me:-configure}:6811: testing feature is broken in gcc $GCC_VERSION .. ." 1>&5 echo "${as_me:-configure}:8278: testing feature is broken in gcc $GCC_VERSION .. ." 1>&5
continue;; continue;;
esac esac
;; ;;
Wpointer-arith) Wpointer-arith)
case $GCC_VERSION in case $GCC_VERSION in
[12].*) [12].*)
test -n "$verbose" && echo " feature i s broken in gcc $GCC_VERSION" 1>&6 test -n "$verbose" && echo " feature i s broken in gcc $GCC_VERSION" 1>&6
echo "${as_me:-configure}:6821: testing feature is broken in gcc $GCC_VERSION .. ." 1>&5 echo "${as_me:-configure}:8288: testing feature is broken in gcc $GCC_VERSION .. ." 1>&5
continue;; continue;;
esac esac
;; ;;
esac esac
EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
fi fi
done done
CFLAGS="$cf_save_CFLAGS" CFLAGS="$cf_save_CFLAGS"
fi fi
rm -rf conftest* rm -rf conftest*
fi fi
fi fi
## !NNTP_ONLY ## !NNTP_ONLY
if test "$USE_SPOOLDIR" = "yes"; then if test "$USE_SPOOLDIR" = "yes"; then
## options for directories ## options for directories
echo "$as_me:6840: checking for news-library path" >&5 echo "$as_me:8307: checking for news-library path" >&5
echo $ECHO_N "checking for news-library path... $ECHO_C" >&6 echo $ECHO_N "checking for news-library path... $ECHO_C" >&6
# Check whether --with-libdir or --without-libdir was given. # Check whether --with-libdir or --without-libdir was given.
if test "${with_libdir+set}" = set; then if test "${with_libdir+set}" = set; then
withval="$with_libdir" withval="$with_libdir"
else else
withval="${NEWSLIBDIR:-/usr/lib/news}" withval="${NEWSLIBDIR:-/usr/lib/news}"
fi; if true ; then fi; if true ; then
skipping to change at line 6876 skipping to change at line 8343
case ".$withval" in case ".$withval" in
.NONE/*) .NONE/*)
withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
;; ;;
esac esac
;; ;;
.no|.NONE/*) .no|.NONE/*)
withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
;; ;;
*) *)
{ { echo "$as_me:6876: error: expected a pathname, not \"$withval\"" >&5 { { echo "$as_me:8343: error: expected a pathname, not \"$withval\"" >&5
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; ;;
esac esac
fi fi
eval NEWSLIBDIR="$withval" eval NEWSLIBDIR="$withval"
echo "$as_me:6885: result: $NEWSLIBDIR" >&5 echo "$as_me:8352: result: $NEWSLIBDIR" >&5
echo "${ECHO_T}$NEWSLIBDIR" >&6 echo "${ECHO_T}$NEWSLIBDIR" >&6
echo "$as_me:6888: checking for news spool-directory path" >&5 echo "$as_me:8355: checking for news spool-directory path" >&5
echo $ECHO_N "checking for news spool-directory path... $ECHO_C" >&6 echo $ECHO_N "checking for news spool-directory path... $ECHO_C" >&6
# Check whether --with-spooldir or --without-spooldir was given. # Check whether --with-spooldir or --without-spooldir was given.
if test "${with_spooldir+set}" = set; then if test "${with_spooldir+set}" = set; then
withval="$with_spooldir" withval="$with_spooldir"
else else
withval="${SPOOLDIR:-/var/spool/news}" withval="${SPOOLDIR:-/var/spool/news}"
fi; if true ; then fi; if true ; then
skipping to change at line 6924 skipping to change at line 8391
case ".$withval" in case ".$withval" in
.NONE/*) .NONE/*)
withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
;; ;;
esac esac
;; ;;
.no|.NONE/*) .no|.NONE/*)
withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
;; ;;
*) *)
{ { echo "$as_me:6924: error: expected a pathname, not \"$withval\"" >&5 { { echo "$as_me:8391: error: expected a pathname, not \"$withval\"" >&5
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; ;;
esac esac
fi fi
eval SPOOLDIR="$withval" eval SPOOLDIR="$withval"
echo "$as_me:6933: result: $SPOOLDIR" >&5 echo "$as_me:8400: result: $SPOOLDIR" >&5
echo "${ECHO_T}$SPOOLDIR" >&6 echo "${ECHO_T}$SPOOLDIR" >&6
echo "$as_me:6936: checking for news overview-directory path" >&5 echo "$as_me:8403: checking for news overview-directory path" >&5
echo $ECHO_N "checking for news overview-directory path... $ECHO_C" >&6 echo $ECHO_N "checking for news overview-directory path... $ECHO_C" >&6
# Check whether --with-nov-dir or --without-nov-dir was given. # Check whether --with-nov-dir or --without-nov-dir was given.
if test "${with_nov_dir+set}" = set; then if test "${with_nov_dir+set}" = set; then
withval="$with_nov_dir" withval="$with_nov_dir"
else else
withval="${NOVROOTDIR:-$SPOOLDIR}" withval="${NOVROOTDIR:-$SPOOLDIR}"
fi; if true ; then fi; if true ; then
skipping to change at line 6972 skipping to change at line 8439
case ".$withval" in case ".$withval" in
.NONE/*) .NONE/*)
withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
;; ;;
esac esac
;; ;;
.no|.NONE/*) .no|.NONE/*)
withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
;; ;;
*) *)
{ { echo "$as_me:6972: error: expected a pathname, not \"$withval\"" >&5 { { echo "$as_me:8439: error: expected a pathname, not \"$withval\"" >&5
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; ;;
esac esac
fi fi
eval NOVROOTDIR="$withval" eval NOVROOTDIR="$withval"
echo "$as_me:6981: result: $NOVROOTDIR" >&5 echo "$as_me:8448: result: $NOVROOTDIR" >&5
echo "${ECHO_T}$NOVROOTDIR" >&6 echo "${ECHO_T}$NOVROOTDIR" >&6
echo "$as_me:6984: checking for overview filename" >&5 echo "$as_me:8451: checking for overview filename" >&5
echo $ECHO_N "checking for overview filename... $ECHO_C" >&6 echo $ECHO_N "checking for overview filename... $ECHO_C" >&6
# Check whether --with-nov-fname or --without-nov-fname was given. # Check whether --with-nov-fname or --without-nov-fname was given.
if test "${with_nov_fname+set}" = set; then if test "${with_nov_fname+set}" = set; then
withval="$with_nov_fname" withval="$with_nov_fname"
else else
withval="${OVERVIEW_FILE-.overview}" withval="${OVERVIEW_FILE-.overview}"
fi; test -z "$withval" && withval=no fi; test -z "$withval" && withval=no
case "$withval" in #(vi case "$withval" in #(vi
yes) yes)
{ { echo "$as_me:6996: error: expected a value for --with-nov-fname" >&5 { { echo "$as_me:8463: error: expected a value for --with-nov-fname" >&5
echo "$as_me: error: expected a value for --with-nov-fname" >&2;} echo "$as_me: error: expected a value for --with-nov-fname" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; #(vi ;; #(vi
no) withval="" no) withval=""
;; ;;
esac esac
OVERVIEW_FILE="$withval" OVERVIEW_FILE="$withval"
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define OVERVIEW_FILE "$withval" #define OVERVIEW_FILE "$withval"
EOF EOF
echo "$as_me:7009: result: $OVERVIEW_FILE" >&5 echo "$as_me:8476: result: $OVERVIEW_FILE" >&5
echo "${ECHO_T}$OVERVIEW_FILE" >&6 echo "${ECHO_T}$OVERVIEW_FILE" >&6
INEWSPATH="$NEWSLIBDIR" INEWSPATH="$NEWSLIBDIR"
else else
NEWSLIBDIR="" NEWSLIBDIR=""
SPOOLDIR="" SPOOLDIR=""
NOVROOTDIR="" NOVROOTDIR=""
INEWSPATH="/usr/lib/news" INEWSPATH="/usr/lib/news"
fi fi
## TODO: kick the --with-inews-dir= stuff, the check below should be enough ## TODO: kick the --with-inews-dir= stuff, the check below should be enough
## (requires some code rework in tin) ## (requires some code rework in tin)
echo "$as_me:7022: checking for directory containing \"inews\"" >&5 echo "$as_me:8489: checking for directory containing \"inews\"" >&5
echo $ECHO_N "checking for directory containing \"inews\"... $ECHO_C" >&6 echo $ECHO_N "checking for directory containing \"inews\"... $ECHO_C" >&6
# Check whether --with-inews-dir or --without-inews-dir was given. # Check whether --with-inews-dir or --without-inews-dir was given.
if test "${with_inews_dir+set}" = set; then if test "${with_inews_dir+set}" = set; then
withval="$with_inews_dir" withval="$with_inews_dir"
else else
withval="${INEWSDIR:-$INEWSPATH}" withval="${INEWSDIR:-$INEWSPATH}"
fi; if true ; then fi; if true ; then
skipping to change at line 7058 skipping to change at line 8525
case ".$withval" in case ".$withval" in
.NONE/*) .NONE/*)
withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
;; ;;
esac esac
;; ;;
.no|.NONE/*) .no|.NONE/*)
withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
;; ;;
*) *)
{ { echo "$as_me:7058: error: expected a pathname, not \"$withval\"" >&5 { { echo "$as_me:8525: error: expected a pathname, not \"$withval\"" >&5
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; ;;
esac esac
fi fi
eval INEWSDIR="$withval" eval INEWSDIR="$withval"
INEWSDIR=`echo $INEWSDIR |sed -e 's,/$,,'` INEWSDIR=`echo $INEWSDIR |sed -e 's,/$,,'`
echo "$as_me:7068: result: $INEWSDIR" >&5 echo "$as_me:8535: result: $INEWSDIR" >&5
echo "${ECHO_T}$INEWSDIR" >&6 echo "${ECHO_T}$INEWSDIR" >&6
# Extract the first word of "inews", so it can be a program name with args. # Extract the first word of "inews", so it can be a program name with args.
set dummy inews; ac_word=$2 set dummy inews; ac_word=$2
echo "$as_me:7073: checking for $ac_word" >&5 echo "$as_me:8540: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_INEWS+set}" = set; then if test "${ac_cv_path_INEWS+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $INEWS in case $INEWS in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_INEWS="$INEWS" # Let the user override the test with a path. ac_cv_path_INEWS="$INEWS" # Let the user override the test with a path.
;; ;;
*) *)
ac_save_IFS=$IFS; IFS=$ac_path_separator ac_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$INEWSDIR:/news/bin:/usr/lib/news/bin:$INEWSPATH" ac_dummy="$INEWSDIR:/news/bin:/usr/lib/news/bin:$INEWSPATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_INEWS="$ac_dir/$ac_word" ac_cv_path_INEWS="$ac_dir/$ac_word"
echo "$as_me:7090: found $ac_dir/$ac_word" >&5 echo "$as_me:8557: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
test -z "$ac_cv_path_INEWS" && ac_cv_path_INEWS="--internal" test -z "$ac_cv_path_INEWS" && ac_cv_path_INEWS="--internal"
;; ;;
esac esac
fi fi
INEWS=$ac_cv_path_INEWS INEWS=$ac_cv_path_INEWS
if test -n "$INEWS"; then if test -n "$INEWS"; then
echo "$as_me:7102: result: $INEWS" >&5 echo "$as_me:8569: result: $INEWS" >&5
echo "${ECHO_T}$INEWS" >&6 echo "${ECHO_T}$INEWS" >&6
else else
echo "$as_me:7105: result: no" >&5 echo "$as_me:8572: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test "$ac_cv_path_INEWS" != ""; then if test "$ac_cv_path_INEWS" != ""; then
if test "$ac_cv_path_INEWS" = "--internal"; then if test "$ac_cv_path_INEWS" = "--internal"; then
cf_define=`echo "$INEWS"|sed -e 's/\\\\/\\\\134/g' -e 's/^[ ]\\+//' -e 's/[ ]\\+$//' -e 's/"/\\\\042/g'` cf_define=`echo "$INEWS"|sed -e 's/\\\\/\\\\134/g' -e 's/^[ ]\\+//' -e 's/[ ]\\+$//' -e 's/"/\\\\042/g'`
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_INEWS "$cf_define" #define PATH_INEWS "$cf_define"
EOF EOF
else else
cf_define=`echo "$INEWS -h"|sed -e 's/\\\\/\\\\134/g' -e 's/^[ ]\\+//' - e 's/[ ]\\+$//' -e 's/"/\\\\042/g'` cf_define=`echo "$INEWS -h"|sed -e 's/\\\\/\\\\134/g' -e 's/^[ ]\\+//' - e 's/[ ]\\+$//' -e 's/"/\\\\042/g'`
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PATH_INEWS "$cf_define" #define PATH_INEWS "$cf_define"
EOF EOF
fi fi
fi fi
### Look for network libraries first, since some functions (such as gethostname) ### Look for network libraries first, since some functions (such as gethostname)
### are used in a lot of places. ### are used in a lot of places.
echo "$as_me:7129: checking if you want socks library" >&5 echo "$as_me:8598: checking if you want socks library" >&5
echo $ECHO_N "checking if you want socks library... $ECHO_C" >&6 echo $ECHO_N "checking if you want socks library... $ECHO_C" >&6
if test "${cf_cv_use_libsocks+set}" = set; then if test "${cf_cv_use_libsocks+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
# Check whether --with-socks or --without-socks was given. # Check whether --with-socks or --without-socks was given.
if test "${with_socks+set}" = set; then if test "${with_socks+set}" = set; then
withval="$with_socks" withval="$with_socks"
cf_cv_use_libsocks=$withval cf_cv_use_libsocks=$withval
else else
cf_cv_use_libsocks=no cf_cv_use_libsocks=no
fi; fi;
fi fi
echo "$as_me:7144: result: $cf_cv_use_libsocks" >&5 echo "$as_me:8613: result: $cf_cv_use_libsocks" >&5
echo "${ECHO_T}$cf_cv_use_libsocks" >&6 echo "${ECHO_T}$cf_cv_use_libsocks" >&6
echo "$as_me:7147: checking if you want socks5 library" >&5 echo "$as_me:8616: checking if you want socks5 library" >&5
echo $ECHO_N "checking if you want socks5 library... $ECHO_C" >&6 echo $ECHO_N "checking if you want socks5 library... $ECHO_C" >&6
if test "${cf_cv_use_libsocks5+set}" = set; then if test "${cf_cv_use_libsocks5+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
# Check whether --with-socks5 or --without-socks5 was given. # Check whether --with-socks5 or --without-socks5 was given.
if test "${with_socks5+set}" = set; then if test "${with_socks5+set}" = set; then
withval="$with_socks5" withval="$with_socks5"
cf_cv_use_libsocks5=$withval cf_cv_use_libsocks5=$withval
else else
cf_cv_use_libsocks5=no cf_cv_use_libsocks5=no
fi; fi;
fi fi
echo "$as_me:7162: result: $cf_cv_use_libsocks5" >&5 echo "$as_me:8631: result: $cf_cv_use_libsocks5" >&5
echo "${ECHO_T}$cf_cv_use_libsocks5" >&6 echo "${ECHO_T}$cf_cv_use_libsocks5" >&6
if test "x$cf_cv_use_libsocks" != xno ; then if test "x$cf_cv_use_libsocks" != xno ; then
case "$cf_cv_use_libsocks" in case "$cf_cv_use_libsocks" in
no) no)
;; ;;
yes) yes)
;; ;;
*) *)
skipping to change at line 7204 skipping to change at line 8673
if test "$cf_have_incdir" = no ; then if test "$cf_have_incdir" = no ; then
if test "$cf_add_incdir" = /usr/local/include ; then if test "$cf_add_incdir" = /usr/local/include ; then
if test "$GCC" = yes if test "$GCC" = yes
then then
cf_save_CPPFLAGS=$CPPFLAGS cf_save_CPPFLAGS=$CPPFLAGS
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 7204 "configure" #line 8673 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
int int
main (void) main (void)
{ {
printf("Hello") printf("Hello")
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:7216: \"$ac_compile\"") >&5 if { (eval echo "$as_me:8685: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7219: \$? = $ac_status" >&5 echo "$as_me:8688: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:7222: \"$ac_try\"") >&5 { (eval echo "$as_me:8691: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7225: \$? = $ac_status" >&5 echo "$as_me:8694: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
: :
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_have_incdir=yes cf_have_incdir=yes
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
CPPFLAGS=$cf_save_CPPFLAGS CPPFLAGS=$cf_save_CPPFLAGS
fi fi
fi fi
fi fi
if test "$cf_have_incdir" = no ; then if test "$cf_have_incdir" = no ; then
test -n "$verbose" && echo " adding $cf_add_incdir to include- path" 1>&6 test -n "$verbose" && echo " adding $cf_add_incdir to include- path" 1>&6
echo "${as_me:-configure}:7242: testing adding $cf_add_incdir to include-path .. ." 1>&5 echo "${as_me:-configure}:8711: testing adding $cf_add_incdir to include-path .. ." 1>&5
CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/in clude%'` cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/in clude%'`
test "$cf_top_incdir" = "$cf_add_incdir" && break test "$cf_top_incdir" = "$cf_add_incdir" && break
cf_add_incdir="$cf_top_incdir" cf_add_incdir="$cf_top_incdir"
else else
break break
fi fi
else else
skipping to change at line 7288 skipping to change at line 8757
if test "$cf_have_incdir" = no ; then if test "$cf_have_incdir" = no ; then
if test "$cf_add_incdir" = /usr/local/include ; then if test "$cf_add_incdir" = /usr/local/include ; then
if test "$GCC" = yes if test "$GCC" = yes
then then
cf_save_CPPFLAGS=$CPPFLAGS cf_save_CPPFLAGS=$CPPFLAGS
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 7288 "configure" #line 8757 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
int int
main (void) main (void)
{ {
printf("Hello") printf("Hello")
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:7300: \"$ac_compile\"") >&5 if { (eval echo "$as_me:8769: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7303: \$? = $ac_status" >&5 echo "$as_me:8772: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:7306: \"$ac_try\"") >&5 { (eval echo "$as_me:8775: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7309: \$? = $ac_status" >&5 echo "$as_me:8778: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
: :
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_have_incdir=yes cf_have_incdir=yes
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
CPPFLAGS=$cf_save_CPPFLAGS CPPFLAGS=$cf_save_CPPFLAGS
fi fi
fi fi
fi fi
if test "$cf_have_incdir" = no ; then if test "$cf_have_incdir" = no ; then
test -n "$verbose" && echo " adding $cf_add_incdir to include- path" 1>&6 test -n "$verbose" && echo " adding $cf_add_incdir to include- path" 1>&6
echo "${as_me:-configure}:7326: testing adding $cf_add_incdir to include-path .. ." 1>&5 echo "${as_me:-configure}:8795: testing adding $cf_add_incdir to include-path .. ." 1>&5
CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/in clude%'` cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/in clude%'`
test "$cf_top_incdir" = "$cf_add_incdir" && break test "$cf_top_incdir" = "$cf_add_incdir" && break
cf_add_incdir="$cf_top_incdir" cf_add_incdir="$cf_top_incdir"
else else
break break
fi fi
else else
break break
fi fi
done done
done done
fi fi
else else
{ { echo "$as_me:7344: error: cannot find socks library under $cf_cv_use_libsock s" >&5 { { echo "$as_me:8813: error: cannot find socks library under $cf_cv_use_libsock s" >&5
echo "$as_me: error: cannot find socks library under $cf_cv_use_libsocks" >&2;} echo "$as_me: error: cannot find socks library under $cf_cv_use_libsocks" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
if test -d $cf_searchpath/lib; then if test -d $cf_searchpath/lib; then
if test -n "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then
for cf_add_libdir in $cf_searchpath/lib for cf_add_libdir in $cf_searchpath/lib
do do
if test $cf_add_libdir = /usr/lib ; then if test $cf_add_libdir = /usr/lib ; then
: :
skipping to change at line 7369 skipping to change at line 8838
# a loop is needed to ensure we can add subdirs o f existing dirs # a loop is needed to ensure we can add subdirs o f existing dirs
for cf_test_libdir in $LDFLAGS $LIBS ; do for cf_test_libdir in $LDFLAGS $LIBS ; do
if test ".$cf_test_libdir" = ".-L$cf_add_ libdir" ; then if test ".$cf_test_libdir" = ".-L$cf_add_ libdir" ; then
cf_have_libdir=yes; break cf_have_libdir=yes; break
fi fi
done done
fi fi
if test "$cf_have_libdir" = no ; then if test "$cf_have_libdir" = no ; then
test -n "$verbose" && echo " adding $cf_add_li bdir to library-path" 1>&6 test -n "$verbose" && echo " adding $cf_add_li bdir to library-path" 1>&6
echo "${as_me:-configure}:7369: testing adding $cf_add_libdir to library-path .. ." 1>&5 echo "${as_me:-configure}:8838: testing adding $cf_add_libdir to library-path .. ." 1>&5
LDFLAGS="-L$cf_add_libdir $LDFLAGS" LDFLAGS="-L$cf_add_libdir $LDFLAGS"
fi fi
fi fi
done done
fi fi
elif test -d $cf_searchpath ; then elif test -d $cf_searchpath ; then
if test -n "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then
skipping to change at line 7398 skipping to change at line 8867
# a loop is needed to ensure we can add subdirs o f existing dirs # a loop is needed to ensure we can add subdirs o f existing dirs
for cf_test_libdir in $LDFLAGS $LIBS ; do for cf_test_libdir in $LDFLAGS $LIBS ; do
if test ".$cf_test_libdir" = ".-L$cf_add_ libdir" ; then if test ".$cf_test_libdir" = ".-L$cf_add_ libdir" ; then
cf_have_libdir=yes; break cf_have_libdir=yes; break
fi fi
done done
fi fi
if test "$cf_have_libdir" = no ; then if test "$cf_have_libdir" = no ; then
test -n "$verbose" && echo " adding $cf_add_li bdir to library-path" 1>&6 test -n "$verbose" && echo " adding $cf_add_li bdir to library-path" 1>&6
echo "${as_me:-configure}:7398: testing adding $cf_add_libdir to library-path .. ." 1>&5 echo "${as_me:-configure}:8867: testing adding $cf_add_libdir to library-path .. ." 1>&5
LDFLAGS="-L$cf_add_libdir $LDFLAGS" LDFLAGS="-L$cf_add_libdir $LDFLAGS"
fi fi
fi fi
done done
fi fi
else else
{ { echo "$as_me:7407: error: cannot find socks library under $cf_cv_use_libsock s" >&5 { { echo "$as_me:8876: error: cannot find socks library under $cf_cv_use_libsock s" >&5
echo "$as_me: error: cannot find socks library under $cf_cv_use_libsocks" >&2;} echo "$as_me: error: cannot find socks library under $cf_cv_use_libsocks" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
done done
;; ;;
esac esac
# If the linkage is not already in the $CPPFLAGS/$LDFLAGS configuration, these # If the linkage is not already in the $CPPFLAGS/$LDFLAGS configuration, these
# will be set on completion of the AC_TRY_LINK below. # will be set on completion of the AC_TRY_LINK below.
cf_cv_header_path_socks= cf_cv_header_path_socks=
cf_cv_library_path_socks= cf_cv_library_path_socks=
echo "${as_me:-configure}:7421: testing Starting FIND_LINKAGE(socks,) ..." 1>&5 echo "${as_me:-configure}:8890: testing Starting FIND_LINKAGE(socks,) ..." 1>&5
cf_save_LIBS="$LIBS" cf_save_LIBS="$LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 7426 "configure" #line 8895 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
int int
main (void) main (void)
{ {
Raccept((char *)0) Raccept((char *)0)
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7442: \"$ac_link\"") >&5 if { (eval echo "$as_me:8911: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7445: \$? = $ac_status" >&5 echo "$as_me:8914: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext' { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7448: \"$ac_try\"") >&5 { (eval echo "$as_me:8917: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7451: \$? = $ac_status" >&5 echo "$as_me:8920: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_find_linkage_socks=yes cf_cv_find_linkage_socks=yes
cf_cv_header_path_socks=/usr/include cf_cv_header_path_socks=/usr/include
cf_cv_library_path_socks=/usr/lib cf_cv_library_path_socks=/usr/lib
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
LIBS="-lsocks $cf_save_LIBS" LIBS="-lsocks $cf_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 7465 "configure" #line 8934 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
int int
main (void) main (void)
{ {
Raccept((char *)0) Raccept((char *)0)
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7481: \"$ac_link\"") >&5 if { (eval echo "$as_me:8950: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7484: \$? = $ac_status" >&5 echo "$as_me:8953: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext' { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7487: \"$ac_try\"") >&5 { (eval echo "$as_me:8956: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7490: \$? = $ac_status" >&5 echo "$as_me:8959: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_find_linkage_socks=yes cf_cv_find_linkage_socks=yes
cf_cv_header_path_socks=/usr/include cf_cv_header_path_socks=/usr/include
cf_cv_library_path_socks=/usr/lib cf_cv_library_path_socks=/usr/lib
cf_cv_library_file_socks="-lsocks" cf_cv_library_file_socks="-lsocks"
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_cv_find_linkage_socks=no cf_cv_find_linkage_socks=no
LIBS="$cf_save_LIBS" LIBS="$cf_save_LIBS"
test -n "$verbose" && echo " find linkage for socks library" 1>&6 test -n "$verbose" && echo " find linkage for socks library" 1>&6
echo "${as_me:-configure}:7507: testing find linkage for socks library ..." 1>&5 echo "${as_me:-configure}:8976: testing find linkage for socks library ..." 1>&5
echo "${as_me:-configure}:7509: testing Searching for headers in FIND_LINKAGE(so cks,) ..." 1>&5 echo "${as_me:-configure}:8978: testing Searching for headers in FIND_LINKAGE(so cks,) ..." 1>&5
cf_save_CPPFLAGS="$CPPFLAGS" cf_save_CPPFLAGS="$CPPFLAGS"
cf_test_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS"
cf_search= cf_search=
# collect the current set of include-directories from compiler flags # collect the current set of include-directories from compiler flags
cf_header_path_list="" cf_header_path_list=""
if test -n "${CFLAGS}${CPPFLAGS}" ; then if test -n "${CFLAGS}${CPPFLAGS}" ; then
for cf_header_path in $CPPFLAGS $CFLAGS for cf_header_path in $CPPFLAGS $CFLAGS
skipping to change at line 7600 skipping to change at line 9069
test -d $oldincludedir/socks && cf_search="$cf_search $oldincludedir/sock s" test -d $oldincludedir/socks && cf_search="$cf_search $oldincludedir/sock s"
} }
cf_search="$cf_search $cf_header_path_list" cf_search="$cf_search $cf_header_path_list"
for cf_cv_header_path_socks in $cf_search for cf_cv_header_path_socks in $cf_search
do do
if test -d $cf_cv_header_path_socks ; then if test -d $cf_cv_header_path_socks ; then
test -n "$verbose" && echo " ... testing $cf_cv_header _path_socks" 1>&6 test -n "$verbose" && echo " ... testing $cf_cv_header _path_socks" 1>&6
echo "${as_me:-configure}:7600: testing ... testing $cf_cv_header_path_socks ... " 1>&5 echo "${as_me:-configure}:9069: testing ... testing $cf_cv_header_path_socks ... " 1>&5
CPPFLAGS="$cf_save_CPPFLAGS" CPPFLAGS="$cf_save_CPPFLAGS"
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_socks" CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_socks"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 7608 "configure" #line 9077 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
int int
main (void) main (void)
{ {
Raccept((char *)0) Raccept((char *)0)
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:7624: \"$ac_compile\"") >&5 if { (eval echo "$as_me:9093: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7627: \$? = $ac_status" >&5 echo "$as_me:9096: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:7630: \"$ac_try\"") >&5 { (eval echo "$as_me:9099: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7633: \$? = $ac_status" >&5 echo "$as_me:9102: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
test -n "$verbose" && echo " ... found socks h eaders in $cf_cv_header_path_socks" 1>&6 test -n "$verbose" && echo " ... found socks h eaders in $cf_cv_header_path_socks" 1>&6
echo "${as_me:-configure}:7638: testing ... found socks headers in $cf_cv_header _path_socks ..." 1>&5 echo "${as_me:-configure}:9107: testing ... found socks headers in $cf_cv_header _path_socks ..." 1>&5
cf_cv_find_linkage_socks=maybe cf_cv_find_linkage_socks=maybe
cf_test_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS"
break break
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
CPPFLAGS="$cf_save_CPPFLAGS" CPPFLAGS="$cf_save_CPPFLAGS"
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
done done
if test "$cf_cv_find_linkage_socks" = maybe ; then if test "$cf_cv_find_linkage_socks" = maybe ; then
echo "${as_me:-configure}:7656: testing Searching for socks library in FIND_LINK AGE(socks,) ..." 1>&5 echo "${as_me:-configure}:9125: testing Searching for socks library in FIND_LINK AGE(socks,) ..." 1>&5
cf_save_LIBS="$LIBS" cf_save_LIBS="$LIBS"
cf_save_LDFLAGS="$LDFLAGS" cf_save_LDFLAGS="$LDFLAGS"
if test "$cf_cv_find_linkage_socks" != yes ; then if test "$cf_cv_find_linkage_socks" != yes ; then
cf_search= cf_search=
cf_library_path_list="" cf_library_path_list=""
if test -n "${LDFLAGS}${LIBS}" ; then if test -n "${LDFLAGS}${LIBS}" ; then
for cf_library_path in $LDFLAGS $LIBS for cf_library_path in $LDFLAGS $LIBS
skipping to change at line 7731 skipping to change at line 9200
done done
cf_search="$cf_library_path_list $cf_search" cf_search="$cf_library_path_list $cf_search"
for cf_cv_library_path_socks in $cf_search for cf_cv_library_path_socks in $cf_search
do do
if test -d $cf_cv_library_path_socks ; then if test -d $cf_cv_library_path_socks ; then
test -n "$verbose" && echo " ... testi ng $cf_cv_library_path_socks" 1>&6 test -n "$verbose" && echo " ... testi ng $cf_cv_library_path_socks" 1>&6
echo "${as_me:-configure}:7731: testing ... testing $cf_cv_library_path_socks .. ." 1>&5 echo "${as_me:-configure}:9200: testing ... testing $cf_cv_library_path_socks .. ." 1>&5
CPPFLAGS="$cf_test_CPPFLAGS" CPPFLAGS="$cf_test_CPPFLAGS"
LIBS="-lsocks $cf_save_LIBS" LIBS="-lsocks $cf_save_LIBS"
LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_librar y_path_socks" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_librar y_path_socks"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 7737 "configure" #line 9206 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
int int
main (void) main (void)
{ {
Raccept((char *)0) Raccept((char *)0)
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:7753: \"$ac_link\"") >&5 if { (eval echo "$as_me:9222: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7756: \$? = $ac_status" >&5 echo "$as_me:9225: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext' { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:7759: \"$ac_try\"") >&5 { (eval echo "$as_me:9228: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7762: \$? = $ac_status" >&5 echo "$as_me:9231: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
test -n "$verbose" && echo " ... found socks library in $cf_cv_library_path_socks" 1>&6 test -n "$verbose" && echo " ... found socks library in $cf_cv_library_path_socks" 1>&6
echo "${as_me:-configure}:7767: testing ... found socks library in $cf_cv_librar y_path_socks ..." 1>&5 echo "${as_me:-configure}:9236: testing ... found socks library in $cf_cv_librar y_path_socks ..." 1>&5
cf_cv_find_linkage_socks=yes cf_cv_find_linkage_socks=yes
cf_cv_library_file_socks="-lsocks" cf_cv_library_file_socks="-lsocks"
break break
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
CPPFLAGS="$cf_save_CPPFLAGS" CPPFLAGS="$cf_save_CPPFLAGS"
LIBS="$cf_save_LIBS" LIBS="$cf_save_LIBS"
skipping to change at line 7829 skipping to change at line 9298
if test "$cf_have_incdir" = no ; then if test "$cf_have_incdir" = no ; then
if test "$cf_add_incdir" = /usr/local/include ; then if test "$cf_add_incdir" = /usr/local/include ; then
if test "$GCC" = yes if test "$GCC" = yes
then then
cf_save_CPPFLAGS=$CPPFLAGS cf_save_CPPFLAGS=$CPPFLAGS
test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 7829 "configure" #line 9298 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
int int
main (void) main (void)
{ {
printf("Hello") printf("Hello")
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:7841: \"$ac_compile\"") >&5 if { (eval echo "$as_me:9310: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7844: \$? = $ac_status" >&5 echo "$as_me:9313: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext' { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:7847: \"$ac_try\"") >&5 { (eval echo "$as_me:9316: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:7850: \$? = $ac_status" >&5 echo "$as_me:9319: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
: :
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
cf_have_incdir=yes cf_have_incdir=yes
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
CPPFLAGS=$cf_save_CPPFLAGS CPPFLAGS=$cf_save_CPPFLAGS
fi fi
fi fi
fi fi
if test "$cf_have_incdir" = no ; then if test "$cf_have_incdir" = no ; then
test -n "$verbose" && echo " adding $cf_add_incdir to include- path" 1>&6 test -n "$verbose" && echo " adding $cf_add_incdir to include- path" 1>&6
echo "${as_me:-configure}:7867: testing adding $cf_add_incdir to include-path .. ." 1>&5 echo "${as_me:-configure}:9336: testing adding $cf_add_incdir to include-path .. ." 1>&5
CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/in clude%'` cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/in clude%'`
test "$cf_top_incdir" = "$cf_add_incdir" && break test "$cf_top_incdir" = "$cf_add_incdir" && break
cf_add_incdir="$cf_top_incdir" cf_add_incdir="$cf_top_incdir"
else else
break break
fi fi
else else
skipping to change at line 7903 skipping to change at line 9372
# a loop is needed to ensure we can add subdirs o f existing dirs # a loop is needed to ensure we can add subdirs o f existing dirs
for cf_test_libdir in $LDFLAGS $LIBS ; do for cf_test_libdir in $LDFLAGS $LIBS ; do
if test ".$cf_test_libdir" = ".-L$cf_add_ libdir" ; then if test ".$cf_test_libdir" = ".-L$cf_add_ libdir" ; then
cf_have_libdir=yes; break cf_have_libdir=yes; break
fi fi
done done
fi fi
if test "$cf_have_libdir" = no ; then if test "$cf_have_libdir" = no ; then
test -n "$verbose" && echo " adding $cf_add_li bdir to library-path" 1>&6 test -n "$verbose" && echo " adding $cf_add_li bdir to library-path" 1>&6
echo "${as_me:-configure}:7903: testing adding $cf_add_libdir to library-path .. ." 1>&5 echo "${as_me:-configure}:9372: testing adding $cf_add_libdir to library-path .. ." 1>&5
LDFLAGS="-L$cf_add_libdir $LDFLAGS" LDFLAGS="-L$cf_add_libdir $LDFLAGS"
fi fi
fi fi
done done
fi fi
cf_add_libs="-lsocks" cf_add_libs="$LIBS"
# Filter out duplicates - this happens with badly-designed ".pc" files... # reverse order
for cf_add_1lib in $LIBS cf_add_0lib=
do for cf_add_1lib in -lsocks; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done
for cf_add_2lib in $cf_add_libs # filter duplicates
do for cf_add_1lib in $cf_add_0lib; do
if test "x$cf_add_1lib" = "x$cf_add_2lib" for cf_add_2lib in $cf_add_libs; do
then if test "x$cf_add_1lib" = "x$cf_add_2lib"; then
cf_add_1lib= cf_add_1lib=
break break
fi fi
done done
test -n "$cf_add_1lib" && cf_add_libs="$cf_add_libs $cf_add_1lib" test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
done done
LIBS="$cf_add_libs" LIBS="$cf_add_libs"
else else
{ echo "$as_me:7928: WARNING: Cannot find socks library" >&5 { echo "$as_me:9397: WARNING: Cannot find socks library" >&5
echo "$as_me: WARNING: Cannot find socks library" >&2;} echo "$as_me: WARNING: Cannot find socks library" >&2;}
fi fi
if test "x$cf_cv_find_linkage_socks" = "xyes" ; then if test "x$cf_cv_find_linkage_socks" = "xyes" ; then
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define SOCKS 1 #define SOCKS 1
EOF EOF
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
skipping to change at line 7971 skipping to change at line 9440
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define recvfrom Rrecvfrom #define recvfrom Rrecvfrom
EOF EOF
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define select Rselect #define select Rselect
EOF EOF
else else
{ { echo "$as_me:7971: error: cannot link with socks library" >&5 { { echo "$as_me:9440: error: cannot link with socks library" >&5
echo "$as_me: error: cannot link with socks library" >&2;} echo "$as_me: error: cannot link with socks library" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
else else
cf_test_netlibs=no cf_test_netlibs=no
echo "$as_me:7980: checking for network libraries" >&5 echo "$as_me:9449: checking for network libraries" >&5
echo $ECHO_N "checking for network libraries... $ECHO_C" >&6 echo $ECHO_N "checking for network libraries... $ECHO_C" >&6
if test "${cf_cv_netlibs+set}" = set; then if test "${cf_cv_netlibs+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
echo "$as_me:7987: result: working..." >&5 echo "$as_me:9456: result: working..." >&5
echo "${ECHO_T}working..." >&6 echo "${ECHO_T}working..." >&6
cf_cv_netlibs="" cf_cv_netlibs=""
cf_test_netlibs=yes cf_test_netlibs=yes
case $host_os in case $host_os in
mingw*) mingw*)
for ac_header in windows.h winsock.h winsock2.h for ac_header in windows.h winsock.h winsock2.h
do do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:7999: checking for $ac_header" >&5 echo "$as_me:9468: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 8005 "configure" #line 9474 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_header> #include <$ac_header>
_ACEOF _ACEOF
if { (eval echo "$as_me:8009: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:9478: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$? ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1 rm -f conftest.er1
cat conftest.err >&5 cat conftest.err >&5
echo "$as_me:8015: \$? = $ac_status" >&5 echo "$as_me:9484: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then (exit $ac_status); } >/dev/null; then
if test -s conftest.err; then if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_c_preproc_warn_flag
else else
ac_cpp_err= ac_cpp_err=
fi fi
else else
ac_cpp_err=yes ac_cpp_err=yes
fi fi
if test -z "$ac_cpp_err"; then if test -z "$ac_cpp_err"; then
eval "$as_ac_Header=yes" eval "$as_ac_Header=yes"
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
eval "$as_ac_Header=no" eval "$as_ac_Header=no"
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.$ac_ext
fi fi
echo "$as_me:8034: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "$as_me:9503: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF EOF
fi fi
done done
if test "$ac_cv_header_winsock2_h" = "yes" ; then if test "$ac_cv_header_winsock2_h" = "yes" ; then
cf_winsock_lib="-lws2_32" cf_winsock_lib="-lws2_32"
elif test "$ac_cv_header_winsock_h" = "yes" ; then elif test "$ac_cv_header_winsock_h" = "yes" ; then
cf_winsock_lib="-lwsock32" cf_winsock_lib="-lwsock32"
fi fi
cf_save_LIBS="$LIBS" cf_save_LIBS="$LIBS"
cf_add_libs="$cf_winsock_lib" cf_add_libs="$LIBS"
# Filter out duplicates - this happens with badly-designed ".pc" files... # reverse order
for cf_add_1lib in $LIBS cf_add_0lib=
do for cf_add_1lib in $cf_winsock_lib; do cf_add_0lib="$cf_add_1lib $cf_add_0lib";
for cf_add_2lib in $cf_add_libs done
do # filter duplicates
if test "x$cf_add_1lib" = "x$cf_add_2lib" for cf_add_1lib in $cf_add_0lib; do
then for cf_add_2lib in $cf_add_libs; do
if test "x$cf_add_1lib" = "x$cf_add_2lib"; then
cf_add_1lib= cf_add_1lib=
break break
fi fi
done done
test -n "$cf_add_1lib" && cf_add_libs="$cf_add_libs $cf_add_1lib" test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs"
done done
LIBS="$cf_add_libs" LIBS="$cf_add_libs"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 8069 "configure" #line 9538 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifdef HAVE_WINDOWS_H #ifdef HAVE_WINDOWS_H
#undef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#ifdef HAVE_WINSOCK2_H #ifdef HAVE_WINSOCK2_H
#include <winsock2.h> #include <winsock2.h>
#else #else
#ifdef HAVE_WINSOCK_H #ifdef HAVE_WINSOCK_H
skipping to change at line 8096 skipping to change at line 9565
main (void) main (void)
{ {
char buffer[1024]; char buffer[1024];
gethostname(buffer, sizeof(buffer)); gethostname(buffer, sizeof(buffer));
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8096: \"$ac_link\"") >&5 if { (eval echo "$as_me:9565: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:8099: \$? = $ac_status" >&5 echo "$as_me:9568: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext' { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:8102: \"$ac_try\"") >&5 { (eval echo "$as_me:9571: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:8105: \$? = $ac_status" >&5 echo "$as_me:9574: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_netlibs="$cf_winsock_lib $cf_cv_netlibs" cf_cv_netlibs="$cf_winsock_lib $cf_cv_netlibs"
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
{ { echo "$as_me:8111: error: Cannot link against winsock library" >&5 { { echo "$as_me:9580: error: Cannot link against winsock library" >&5
echo "$as_me: error: Cannot link against winsock library" >&2;} echo "$as_me: error: Cannot link against winsock library" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS="$cf_save_LIBS" LIBS="$cf_save_LIBS"
;; ;;
*) *)
for ac_func in gethostname for ac_func in gethostname
do do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:8124: checking for $ac_func" >&5 echo "$as_me:9593: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 8130 "configure" #line 9599 "configure"
#include "confdefs.h" #include "confdefs.h"
#define $ac_func autoconf_temporary #define $ac_func autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __s tub macros */ #include <limits.h> /* least-intrusive standard header which defines gcc2 __s tub macros */
#undef $ac_func #undef $ac_func
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
#endif #endif
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
skipping to change at line 8161 skipping to change at line 9630
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
#error found stub for $ac_func #error found stub for $ac_func
#endif #endif
return $ac_func (); return $ac_func ();
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8161: \"$ac_link\"") >&5 if { (eval echo "$as_me:9630: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:8164: \$? = $ac_status" >&5 echo "$as_me:9633: \$? = $ac_status" >&5
(exit $ac_status); } && (exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext' { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:8167: \"$ac_try\"") >&5 { (eval echo "$as_me:9636: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:8170: \$? = $ac_status" >&5 echo "$as_me:9639: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
eval "$as_ac_var=yes" eval "$as_ac_var=yes"
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
eval "$as_ac_var=no" eval "$as_ac_var=no"
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi fi
echo "$as_me:8180: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "$as_me:9649: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then if test `eval echo '${'$as_ac_var'}'` = yes; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
EOF EOF