"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
c_count-7.15.tgz and c_count-7.16.tgz

About: c_count counts lines, statements, other simple measures of C/C++ source programs.

configure  (c_count-7.15.tgz):configure  (c_count-7.16.tgz)
#! /bin/sh #! /bin/sh
# From configure.in Revision: 7.13 . # From configure.in Revision: 7.15 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by Autoconf 2.52.20121002. # Generated by Autoconf 2.52.20141204.
# #
# 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 661 skipping to change at line 661
Optional Packages: Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--enable-warnings test: turn on gcc compiler warnings --enable-warnings test: turn on gcc compiler warnings
--disable-echo do not display "compiling" commands --disable-echo do not display "compiling" commands
--with-dmalloc test: use Gray Watson's dmalloc library --with-dmalloc test: use Gray Watson's dmalloc library
--with-dbmalloc test: use Conor Cahill's dbmalloc library --with-dbmalloc test: use Conor Cahill's dbmalloc library
--with-valgrind test: use valgrind --with-valgrind test: use valgrind
--disable-leaks test: free permanent memory, analyze leaks --disable-leaks test: free permanent memory, analyze leaks
--with-man2html=XXX use XXX rather than groff
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 730 skipping to change at line 731
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.20121002. Invocation command line was generated by GNU Autoconf 2.52.20141204. Invocation command line was
$ $0 $@ $ $0 $@
EOF EOF
{ {
cat <<_ASUNAME cat <<_ASUNAME
## ---------- ## ## ---------- ##
## Platform. ## ## Platform. ##
## ---------- ## ## ---------- ##
skipping to change at line 854 skipping to change at line 855
# 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:854: loading site script $ac_site_file" >&5 { echo "$as_me:855: 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:865: loading cache $cache_file" >&5 { echo "$as_me:866: 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:873: creating cache $cache_file" >&5 { echo "$as_me:874: 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:889: error: \`$ac_var' was set to \`$ac_old_val' in the pre vious run" >&5 { echo "$as_me:890: error: \`$ac_var' was set to \`$ac_old_val' in the pre vious 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:893: error: \`$ac_var' was not set in the previous run" >&5 { echo "$as_me:894: 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:899: error: \`$ac_var' has changed since the previous run :" >&5 { echo "$as_me:900: error: \`$ac_var' has changed since the previous run :" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
{ echo "$as_me:901: former value: $ac_old_val" >&5 { echo "$as_me:902: 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:903: current value: $ac_new_val" >&5 { echo "$as_me:904: 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:922: error: changes in the environment can compromise the build " >&5 { echo "$as_me:923: error: changes in the environment can compromise the build " >&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:924: error: run \`make distclean' and/or \`rm $cache_file' an d start over" >&5 { { echo "$as_me:925: error: run \`make distclean' and/or \`rm $cache_file' an d 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"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in case `echo "testing\c" 2>/dev/null; echo 1,2,3`,`echo -n testing 2>/dev/null; ec
*c*,-n*) ECHO_N= ECHO_C=' ho 1,2,3` in
' ECHO_T=' ' ;; *c*,-n*) ECHO_N= ECHO_C= # newlines do not sed ;-) only broken shells woul
d use this case anyway
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:945: PATH=\".;.\"; conftest.sh") >&5 if { (echo "$as_me:946: PATH=\".;.\"; conftest.sh") >&5
(PATH=".;."; conftest.sh) 2>&5 (PATH=".;."; conftest.sh) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:948: \$? = $ac_status" >&5 echo "$as_me:949: \$? = $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 config.h:config.hin" ac_config_headers="$ac_config_headers config.h:config.hin"
skipping to change at line 976 skipping to change at line 977
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:976: error: cannot find install-sh or install.sh in $srcdir $ srcdir/.. $srcdir/../.." >&5 { { echo "$as_me:977: 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:986: error: cannot run $ac_config_sub" >&5 { { echo "$as_me:987: 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:990: checking build system type" >&5 echo "$as_me:991: 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:999: error: cannot guess build type; you must specify one" >& 5 { { echo "$as_me:1000: 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:1003: error: $ac_config_sub $ac_cv_build_alias failed." >&5 { { echo "$as_me:1004: 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:1008: result: $ac_cv_build" >&5 echo "$as_me:1009: 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/'`
echo "$as_me:1015: checking host system type" >&5 echo "$as_me:1016: 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:1024: error: $ac_config_sub $ac_cv_host_alias failed" >&5 { { echo "$as_me:1025: 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:1029: result: $ac_cv_host" >&5 echo "$as_me:1030: 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/'`
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:1037: checking target system type" >&5 echo "$as_me:1038: checking target system type" >&5
echo $ECHO_N "checking target system type... $ECHO_C" >&6 echo $ECHO_N "checking target system type... $ECHO_C" >&6
if test "${ac_cv_target+set}" = set; then if test "${ac_cv_target+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_cv_target_alias=$target_alias ac_cv_target_alias=$target_alias
test "x$ac_cv_target_alias" = "x" && test "x$ac_cv_target_alias" = "x" &&
ac_cv_target_alias=$ac_cv_host_alias ac_cv_target_alias=$ac_cv_host_alias
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
{ { echo "$as_me:1046: error: $ac_config_sub $ac_cv_target_alias failed" >&5 { { echo "$as_me:1047: error: $ac_config_sub $ac_cv_target_alias failed" >&5
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
echo "$as_me:1051: result: $ac_cv_target" >&5 echo "$as_me:1052: result: $ac_cv_target" >&5
echo "${ECHO_T}$ac_cv_target" >&6 echo "${ECHO_T}$ac_cv_target" >&6
target=$ac_cv_target target=$ac_cv_target
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
# The aliases save the names the user supplied, while $host etc. # The aliases save the names the user supplied, while $host etc.
# will get canonicalized. # will get canonicalized.
test -n "$target_alias" && test -n "$target_alias" &&
test "$program_prefix$program_suffix$program_transform_name" = \ test "$program_prefix$program_suffix$program_transform_name" = \
skipping to change at line 1083 skipping to change at line 1084
#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:1083: result: Configuring for $cf_c v_system_name" >&5 test -n "$cf_cv_system_name" && echo "$as_me:1084: 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:1087: result: Cached system name ($system_name) does not agr ee with actual ($cf_cv_system_name)" >&5 echo "$as_me:1088: 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:1089: error: \"Please remove config.cache and try again. \"" >&5 { { echo "$as_me:1090: 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
test "$program_prefix" != NONE && test "$program_prefix" != NONE &&
program_transform_name="s,^,$program_prefix,;$program_transform_name" program_transform_name="s,^,$program_prefix,;$program_transform_name"
# Use a double $ so make ignores it. # Use a double $ so make ignores it.
test "$program_suffix" != NONE && test "$program_suffix" != NONE &&
program_transform_name="s,\$,$program_suffix,;$program_transform_name" program_transform_name="s,\$,$program_suffix,;$program_transform_name"
# Double any \ or $. echo might interpret backslashes. # Double any \ or $. echo might interpret backslashes.
skipping to change at line 1116 skipping to change at line 1117
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:1116: checking for $ac_word" >&5 echo "$as_me:1117: 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:1131: found $ac_dir/$ac_word" >&5 echo "$as_me:1132: 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:1139: result: $CC" >&5 echo "$as_me:1140: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 echo "${ECHO_T}$CC" >&6
else else
echo "$as_me:1142: result: no" >&5 echo "$as_me:1143: 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:1151: checking for $ac_word" >&5 echo "$as_me:1152: 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:1166: found $ac_dir/$ac_word" >&5 echo "$as_me:1167: 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:1174: result: $ac_ct_CC" >&5 echo "$as_me:1175: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6 echo "${ECHO_T}$ac_ct_CC" >&6
else else
echo "$as_me:1177: result: no" >&5 echo "$as_me:1178: 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:1190: checking for $ac_word" >&5 echo "$as_me:1191: 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:1205: found $ac_dir/$ac_word" >&5 echo "$as_me:1206: 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:1213: result: $CC" >&5 echo "$as_me:1214: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 echo "${ECHO_T}$CC" >&6
else else
echo "$as_me:1216: result: no" >&5 echo "$as_me:1217: 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:1225: checking for $ac_word" >&5 echo "$as_me:1226: 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:1240: found $ac_dir/$ac_word" >&5 echo "$as_me:1241: 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:1248: result: $ac_ct_CC" >&5 echo "$as_me:1249: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6 echo "${ECHO_T}$ac_ct_CC" >&6
else else
echo "$as_me:1251: result: no" >&5 echo "$as_me:1252: 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:1264: checking for $ac_word" >&5 echo "$as_me:1265: 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:1284: found $ac_dir/$ac_word" >&5 echo "$as_me:1285: 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 1306 skipping to change at line 1307
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:1306: result: $CC" >&5 echo "$as_me:1307: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 echo "${ECHO_T}$CC" >&6
else else
echo "$as_me:1309: result: no" >&5 echo "$as_me:1310: 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:1320: checking for $ac_word" >&5 echo "$as_me:1321: 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:1335: found $ac_dir/$ac_word" >&5 echo "$as_me:1336: 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:1343: result: $CC" >&5 echo "$as_me:1344: result: $CC" >&5
echo "${ECHO_T}$CC" >&6 echo "${ECHO_T}$CC" >&6
else else
echo "$as_me:1346: result: no" >&5 echo "$as_me:1347: 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:1359: checking for $ac_word" >&5 echo "$as_me:1360: 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:1374: found $ac_dir/$ac_word" >&5 echo "$as_me:1375: 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:1382: result: $ac_ct_CC" >&5 echo "$as_me:1383: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6 echo "${ECHO_T}$ac_ct_CC" >&6
else else
echo "$as_me:1385: result: no" >&5 echo "$as_me:1386: 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:1397: error: no acceptable cc found in \$PATH" >&5 test -z "$CC" && { { echo "$as_me:1398: 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:1402:" \ echo "$as_me:1403:" \
"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:1405: \"$ac_compiler --version </dev/null >&5\"") >&5 { (eval echo "$as_me:1406: \"$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:1408: \$? = $ac_status" >&5 echo "$as_me:1409: \$? = $ac_status" >&5
(exit $ac_status); } (exit $ac_status); }
{ (eval echo "$as_me:1410: \"$ac_compiler -v </dev/null >&5\"") >&5 { (eval echo "$as_me:1411: \"$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:1413: \$? = $ac_status" >&5 echo "$as_me:1414: \$? = $ac_status" >&5
(exit $ac_status); } (exit $ac_status); }
{ (eval echo "$as_me:1415: \"$ac_compiler -V </dev/null >&5\"") >&5 { (eval echo "$as_me:1416: \"$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:1418: \$? = $ac_status" >&5 echo "$as_me:1419: \$? = $ac_status" >&5
(exit $ac_status); } (exit $ac_status); }
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 1422 "configure" #line 1423 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
ac_clean_files_save=$ac_clean_files ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.exe" 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:1438: checking for C compiler default output" >&5 echo "$as_me:1439: 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:1441: \"$ac_link_default\"") >&5 if { (eval echo "$as_me:1442: \"$ac_link_default\"") >&5
(eval $ac_link_default) 2>&5 (eval $ac_link_default) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1444: \$? = $ac_status" >&5 echo "$as_me:1445: \$? = $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 1467 skipping to change at line 1468
*.* ) 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:1467: error: C compiler cannot create executables" >&5 { { echo "$as_me:1468: 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:1473: result: $ac_file" >&5 echo "$as_me:1474: 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:1478: checking whether the C compiler works" >&5 echo "$as_me:1479: 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:1484: \"$ac_try\"") >&5 { (eval echo "$as_me:1485: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1487: \$? = $ac_status" >&5 echo "$as_me:1488: \$? = $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:1494: error: cannot run C compiled programs. { { echo "$as_me:1495: 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:1502: result: yes" >&5 echo "$as_me:1503: 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:1509: checking whether we are cross compiling" >&5 echo "$as_me:1510: 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:1511: result: $cross_compiling" >&5 echo "$as_me:1512: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6 echo "${ECHO_T}$cross_compiling" >&6
echo "$as_me:1514: checking for executable suffix" >&5 echo "$as_me:1515: 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:1516: \"$ac_link\"") >&5 if { (eval echo "$as_me:1517: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1519: \$? = $ac_status" >&5 echo "$as_me:1520: \$? = $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:1535: error: cannot compute EXEEXT: cannot compile and link" >&5 { { echo "$as_me:1536: 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:1541: result: $ac_cv_exeext" >&5 echo "$as_me:1542: 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:1547: checking for object suffix" >&5 echo "$as_me:1548: 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 1553 "configure" #line 1554 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.o conftest.obj rm -f conftest.o conftest.obj
if { (eval echo "$as_me:1565: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1566: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1568: \$? = $ac_status" >&5 echo "$as_me:1569: \$? = $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:1580: error: cannot compute OBJEXT: cannot compile" >&5 { { echo "$as_me:1581: 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:1587: result: $ac_cv_objext" >&5 echo "$as_me:1588: 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:1591: checking whether we are using the GNU C compiler" >&5 echo "$as_me:1592: 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 1597 "configure" #line 1598 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main ()
{ {
#ifndef __GNUC__ #ifndef __GNUC__
choke me choke me
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:1612: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1613: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1615: \$? = $ac_status" >&5 echo "$as_me:1616: \$? = $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:1618: \"$ac_try\"") >&5 { (eval echo "$as_me:1619: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1621: \$? = $ac_status" >&5 echo "$as_me:1622: \$? = $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:1633: result: $ac_cv_c_compiler_gnu" >&5 echo "$as_me:1634: 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:1639: checking whether $CC accepts -g" >&5 echo "$as_me:1640: 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 1645 "configure" #line 1646 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:1657: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1658: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1660: \$? = $ac_status" >&5 echo "$as_me:1661: \$? = $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:1663: \"$ac_try\"") >&5 { (eval echo "$as_me:1664: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1666: \$? = $ac_status" >&5 echo "$as_me:1667: \$? = $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:1676: result: $ac_cv_prog_cc_g" >&5 echo "$as_me:1677: 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 1703 skipping to change at line 1704
# 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:1703: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1704: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1706: \$? = $ac_status" >&5 echo "$as_me:1707: \$? = $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:1709: \"$ac_try\"") >&5 { (eval echo "$as_me:1710: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1712: \$? = $ac_status" >&5 echo "$as_me:1713: \$? = $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 1724 "configure" #line 1725 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
$ac_declaration $ac_declaration
int int
main () main ()
{ {
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:1737: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1738: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1740: \$? = $ac_status" >&5 echo "$as_me:1741: \$? = $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:1743: \"$ac_try\"") >&5 { (eval echo "$as_me:1744: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1746: \$? = $ac_status" >&5 echo "$as_me:1747: \$? = $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 1756 "configure" #line 1757 "configure"
#include "confdefs.h" #include "confdefs.h"
$ac_declaration $ac_declaration
int int
main () main ()
{ {
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:1768: \"$ac_compile\"") >&5 if { (eval echo "$as_me:1769: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1771: \$? = $ac_status" >&5 echo "$as_me:1772: \$? = $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:1774: \"$ac_try\"") >&5 { (eval echo "$as_me:1775: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:1777: \$? = $ac_status" >&5 echo "$as_me:1778: \$? = $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 1817 skipping to change at line 1818
# 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:1817: checking for a BSD compatible install" >&5 echo "$as_me:1818: 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 1866 skipping to change at line 1867
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:1866: result: $INSTALL" >&5 echo "$as_me:1867: 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'
for ac_prog in tdlint lint alint splint lclint for ac_prog in tdlint lint alint splint lclint
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:1881: checking for $ac_word" >&5 echo "$as_me:1882: 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:1896: found $ac_dir/$ac_word" >&5 echo "$as_me:1897: 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:1904: result: $LINT" >&5 echo "$as_me:1905: result: $LINT" >&5
echo "${ECHO_T}$LINT" >&6 echo "${ECHO_T}$LINT" >&6
else else
echo "$as_me:1907: result: no" >&5 echo "$as_me:1908: 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
echo "$as_me:1914: checking if filesystem supports mixed-case filenames" >&5 echo "$as_me:1915: checking if filesystem supports mixed-case filenames" >&5
echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" > &6 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" > &6
if test "${cf_cv_mixedcase+set}" = set; then if test "${cf_cv_mixedcase+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test "$cross_compiling" = yes ; then if test "$cross_compiling" = yes ; then
case $target_alias in #(vi case $target_alias in
*-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-msys*|*-mingw*|*-uwin*) #(vi (*-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-msys*|*-mingw*|*-uwin*)
cf_cv_mixedcase=no cf_cv_mixedcase=no
;; ;;
*) (*)
cf_cv_mixedcase=yes cf_cv_mixedcase=yes
;; ;;
esac esac
else else
rm -f conftest CONFTEST rm -f conftest CONFTEST
echo test >conftest echo test >conftest
if test -f CONFTEST ; then if test -f CONFTEST ; then
cf_cv_mixedcase=no cf_cv_mixedcase=no
else else
cf_cv_mixedcase=yes cf_cv_mixedcase=yes
fi fi
rm -f conftest CONFTEST rm -f conftest CONFTEST
fi fi
fi fi
echo "$as_me:1941: result: $cf_cv_mixedcase" >&5 echo "$as_me:1942: result: $cf_cv_mixedcase" >&5
echo "${ECHO_T}$cf_cv_mixedcase" >&6 echo "${ECHO_T}$cf_cv_mixedcase" >&6
test "$cf_cv_mixedcase" = yes && test "$cf_cv_mixedcase" = yes &&
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define MIXEDCASE_FILENAMES 1 #define MIXEDCASE_FILENAMES 1
EOF EOF
for ac_prog in exctags ctags for ac_prog in exctags ctags
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:1952: checking for $ac_word" >&5 echo "$as_me:1953: 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_CTAGS+set}" = set; then if test "${ac_cv_prog_CTAGS+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$CTAGS"; then if test -n "$CTAGS"; then
ac_cv_prog_CTAGS="$CTAGS" # Let the user override the test. ac_cv_prog_CTAGS="$CTAGS" # 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_CTAGS="$ac_prog" ac_cv_prog_CTAGS="$ac_prog"
echo "$as_me:1967: found $ac_dir/$ac_word" >&5 echo "$as_me:1968: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
CTAGS=$ac_cv_prog_CTAGS CTAGS=$ac_cv_prog_CTAGS
if test -n "$CTAGS"; then if test -n "$CTAGS"; then
echo "$as_me:1975: result: $CTAGS" >&5 echo "$as_me:1976: result: $CTAGS" >&5
echo "${ECHO_T}$CTAGS" >&6 echo "${ECHO_T}$CTAGS" >&6
else else
echo "$as_me:1978: result: no" >&5 echo "$as_me:1979: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
test -n "$CTAGS" && break test -n "$CTAGS" && break
done done
for ac_prog in exetags etags for ac_prog in exetags etags
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:1989: checking for $ac_word" >&5 echo "$as_me:1990: 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_ETAGS+set}" = set; then if test "${ac_cv_prog_ETAGS+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$ETAGS"; then if test -n "$ETAGS"; then
ac_cv_prog_ETAGS="$ETAGS" # Let the user override the test. ac_cv_prog_ETAGS="$ETAGS" # 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_ETAGS="$ac_prog" ac_cv_prog_ETAGS="$ac_prog"
echo "$as_me:2004: found $ac_dir/$ac_word" >&5 echo "$as_me:2005: found $ac_dir/$ac_word" >&5
break break
done done
fi fi
fi fi
ETAGS=$ac_cv_prog_ETAGS ETAGS=$ac_cv_prog_ETAGS
if test -n "$ETAGS"; then if test -n "$ETAGS"; then
echo "$as_me:2012: result: $ETAGS" >&5 echo "$as_me:2013: result: $ETAGS" >&5
echo "${ECHO_T}$ETAGS" >&6 echo "${ECHO_T}$ETAGS" >&6
else else
echo "$as_me:2015: result: no" >&5 echo "$as_me:2016: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
test -n "$ETAGS" && break test -n "$ETAGS" && break
done done
# Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args. # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args.
set dummy ${CTAGS:-ctags}; ac_word=$2 set dummy ${CTAGS:-ctags}; ac_word=$2
echo "$as_me:2024: checking for $ac_word" >&5 echo "$as_me:2025: 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_MAKE_LOWER_TAGS+set}" = set; then if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$MAKE_LOWER_TAGS"; then if test -n "$MAKE_LOWER_TAGS"; then
ac_cv_prog_MAKE_LOWER_TAGS="$MAKE_LOWER_TAGS" # Let the user override the test . ac_cv_prog_MAKE_LOWER_TAGS="$MAKE_LOWER_TAGS" # 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_MAKE_LOWER_TAGS="yes" ac_cv_prog_MAKE_LOWER_TAGS="yes"
echo "$as_me:2039: found $ac_dir/$ac_word" >&5 echo "$as_me:2040: found $ac_dir/$ac_word" >&5
break break
done done
test -z "$ac_cv_prog_MAKE_LOWER_TAGS" && ac_cv_prog_MAKE_LOWER_TAGS="no" test -z "$ac_cv_prog_MAKE_LOWER_TAGS" && ac_cv_prog_MAKE_LOWER_TAGS="no"
fi fi
fi fi
MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS
if test -n "$MAKE_LOWER_TAGS"; then if test -n "$MAKE_LOWER_TAGS"; then
echo "$as_me:2048: result: $MAKE_LOWER_TAGS" >&5 echo "$as_me:2049: result: $MAKE_LOWER_TAGS" >&5
echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6
else else
echo "$as_me:2051: result: no" >&5 echo "$as_me:2052: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test "$cf_cv_mixedcase" = yes ; then if test "$cf_cv_mixedcase" = yes ; then
# Extract the first word of "${ETAGS:-etags}", so it can be a program nam e with args. # Extract the first word of "${ETAGS:-etags}", so it can be a program nam e with args.
set dummy ${ETAGS:-etags}; ac_word=$2 set dummy ${ETAGS:-etags}; ac_word=$2
echo "$as_me:2058: checking for $ac_word" >&5 echo "$as_me:2059: 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_MAKE_UPPER_TAGS+set}" = set; then if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
if test -n "$MAKE_UPPER_TAGS"; then if test -n "$MAKE_UPPER_TAGS"; then
ac_cv_prog_MAKE_UPPER_TAGS="$MAKE_UPPER_TAGS" # Let the user override the test . ac_cv_prog_MAKE_UPPER_TAGS="$MAKE_UPPER_TAGS" # 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_MAKE_UPPER_TAGS="yes" ac_cv_prog_MAKE_UPPER_TAGS="yes"
echo "$as_me:2073: found $ac_dir/$ac_word" >&5 echo "$as_me:2074: found $ac_dir/$ac_word" >&5
break break
done done
test -z "$ac_cv_prog_MAKE_UPPER_TAGS" && ac_cv_prog_MAKE_UPPER_TAGS="no" test -z "$ac_cv_prog_MAKE_UPPER_TAGS" && ac_cv_prog_MAKE_UPPER_TAGS="no"
fi fi
fi fi
MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS
if test -n "$MAKE_UPPER_TAGS"; then if test -n "$MAKE_UPPER_TAGS"; then
echo "$as_me:2082: result: $MAKE_UPPER_TAGS" >&5 echo "$as_me:2083: result: $MAKE_UPPER_TAGS" >&5
echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6
else else
echo "$as_me:2085: result: no" >&5 echo "$as_me:2086: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
else else
MAKE_UPPER_TAGS=no MAKE_UPPER_TAGS=no
fi fi
if test "$MAKE_UPPER_TAGS" = yes ; then if test "$MAKE_UPPER_TAGS" = yes ; then
MAKE_UPPER_TAGS= MAKE_UPPER_TAGS=
else else
MAKE_UPPER_TAGS="#" MAKE_UPPER_TAGS="#"
fi fi
if test "$MAKE_LOWER_TAGS" = yes ; then if test "$MAKE_LOWER_TAGS" = yes ; then
MAKE_LOWER_TAGS= MAKE_LOWER_TAGS=
else else
MAKE_LOWER_TAGS="#" MAKE_LOWER_TAGS="#"
fi fi
echo "$as_me:2105: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo "$as_me:2106: 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:2125: result: yes" >&5 echo "$as_me:2126: result: yes" >&5
echo "${ECHO_T}yes" >&6 echo "${ECHO_T}yes" >&6
SET_MAKE= SET_MAKE=
else else
echo "$as_me:2129: result: no" >&5 echo "$as_me:2130: 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
# 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:2137: checking \$CC variable" >&5 echo "$as_me:2138: 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 #(vi case "$CC" in
*[\ \ ]-[IUD]*) (*[\ \ ]-[IUD]*)
echo "$as_me:2141: result: broken" >&5 echo "$as_me:2142: result: broken" >&5
echo "${ECHO_T}broken" >&6 echo "${ECHO_T}broken" >&6
{ echo "$as_me:2143: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 { echo "$as_me:2144: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/C PPFLAGS options" >&2;} echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/C PPFLAGS options" >&2;}
# humor him... # humor him...
cf_flags=`echo "$CC" | sed -e 's/^[^ ]*[ ]//'` cf_flags=`echo "$CC" | sed -e 's/^[^ ]*[ ]//'`
CC=`echo "$CC" | sed -e 's/[ ].*//'` CC=`echo "$CC" | sed -e 's/[ ].*//'`
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=
for cf_add_cflags in $cf_flags for cf_add_cflags in $cf_flags
do do
case $cf_fix_cppflags in case $cf_fix_cppflags in
no) (no)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
case $cf_add_cflags in case $cf_add_cflags in
-D*) (-D*)
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'`
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=yes && cf_fix_cppflags=yes
if test $cf_fix_cppflags = yes ; then if test $cf_fix_cppflags = yes ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
elif test "${cf_tst_cflags}" = "\"'" ; then elif test "${cf_tst_cflags}" = "\"'" ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
fi fi
;; ;;
esac esac
case "$CPPFLAGS" in case "$CPPFLAGS" in
*$cf_add_cflags) #(vi (*$cf_add_cflags)
;; ;;
*) #(vi (*)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-D*) (-D*)
cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
CPPFLAGS=`echo "$CPPFLAGS" | \ CPPFLAGS=`echo "$CPPFLAGS" | \
sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
;; ;;
esac esac
cf_new_cppflags="$cf_new_cppflags $cf_add_cflags" cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags" cf_new_cflags="$cf_new_cflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
yes) (yes)
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
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
skipping to change at line 2228 skipping to change at line 2229
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
EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi fi
;; ;;
*) (*)
echo "$as_me:2229: result: ok" >&5 echo "$as_me:2230: result: ok" >&5
echo "${ECHO_T}ok" >&6 echo "${ECHO_T}ok" >&6
;; ;;
esac esac
echo "$as_me:2234: checking for ${CC:-cc} option to accept ANSI C" >&5 echo "$as_me:2235: checking for ${CC:-cc} option to accept ANSI C" >&5
echo $ECHO_N "checking for ${CC:-cc} option to accept ANSI C... $ECHO_C" >&6 echo $ECHO_N "checking for ${CC:-cc} option to accept ANSI C... $ECHO_C" >&6
if test "${cf_cv_ansi_cc+set}" = set; then if test "${cf_cv_ansi_cc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cf_cv_ansi_cc=no cf_cv_ansi_cc=no
cf_save_CFLAGS="$CFLAGS" cf_save_CFLAGS="$CFLAGS"
cf_save_CPPFLAGS="$CPPFLAGS" cf_save_CPPFLAGS="$CPPFLAGS"
# Don't try gcc -ansi; that turns off useful extensions and # Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files. # breaks some systems' header files.
skipping to change at line 2267 skipping to change at line 2268
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=
for cf_add_cflags in $cf_arg for cf_add_cflags in $cf_arg
do do
case $cf_fix_cppflags in case $cf_fix_cppflags in
no) (no)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
case $cf_add_cflags in case $cf_add_cflags in
-D*) (-D*)
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'`
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=yes && cf_fix_cppflags=yes
if test $cf_fix_cppflags = yes ; then if test $cf_fix_cppflags = yes ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
elif test "${cf_tst_cflags}" = "\"'" ; then elif test "${cf_tst_cflags}" = "\"'" ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
fi fi
;; ;;
esac esac
case "$CPPFLAGS" in case "$CPPFLAGS" in
*$cf_add_cflags) #(vi (*$cf_add_cflags)
;; ;;
*) #(vi (*)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-D*) (-D*)
cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
CPPFLAGS=`echo "$CPPFLAGS" | \ CPPFLAGS=`echo "$CPPFLAGS" | \
sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
;; ;;
esac esac
cf_new_cppflags="$cf_new_cppflags $cf_add_cflags" cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags" cf_new_cflags="$cf_new_cflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
yes) (yes)
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
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
skipping to change at line 2338 skipping to change at line 2339
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
EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi fi
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2338 "configure" #line 2339 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifndef CC_HAS_PROTOS #ifndef CC_HAS_PROTOS
#if !defined(__STDC__) || (__STDC__ != 1) #if !defined(__STDC__) || (__STDC__ != 1)
choke me choke me
#endif #endif
#endif #endif
int int
main () main ()
{ {
int test (int i, double x); int test (int i, double x);
struct s1 {int (*f) (int a);}; struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);}; struct s2 {int (*f) (double a);};
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:2359: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2360: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2362: \$? = $ac_status" >&5 echo "$as_me:2363: \$? = $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:2365: \"$ac_try\"") >&5 { (eval echo "$as_me:2366: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2368: \$? = $ac_status" >&5 echo "$as_me:2369: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_ansi_cc="$cf_arg"; break cf_cv_ansi_cc="$cf_arg"; 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
CFLAGS="$cf_save_CFLAGS" CFLAGS="$cf_save_CFLAGS"
CPPFLAGS="$cf_save_CPPFLAGS" CPPFLAGS="$cf_save_CPPFLAGS"
fi fi
echo "$as_me:2381: result: $cf_cv_ansi_cc" >&5 echo "$as_me:2382: result: $cf_cv_ansi_cc" >&5
echo "${ECHO_T}$cf_cv_ansi_cc" >&6 echo "${ECHO_T}$cf_cv_ansi_cc" >&6
if test "$cf_cv_ansi_cc" != "no"; then if test "$cf_cv_ansi_cc" != "no"; then
if test ".$cf_cv_ansi_cc" != ".-DCC_HAS_PROTOS"; then if test ".$cf_cv_ansi_cc" != ".-DCC_HAS_PROTOS"; then
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=
for cf_add_cflags in $cf_cv_ansi_cc for cf_add_cflags in $cf_cv_ansi_cc
do do
case $cf_fix_cppflags in case $cf_fix_cppflags in
no) (no)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
case $cf_add_cflags in case $cf_add_cflags in
-D*) (-D*)
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'`
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=yes && cf_fix_cppflags=yes
if test $cf_fix_cppflags = yes ; then if test $cf_fix_cppflags = yes ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
elif test "${cf_tst_cflags}" = "\"'" ; then elif test "${cf_tst_cflags}" = "\"'" ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
fi fi
;; ;;
esac esac
case "$CPPFLAGS" in case "$CPPFLAGS" in
*$cf_add_cflags) #(vi (*$cf_add_cflags)
;; ;;
*) #(vi (*)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-D*) (-D*)
cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
CPPFLAGS=`echo "$CPPFLAGS" | \ CPPFLAGS=`echo "$CPPFLAGS" | \
sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
;; ;;
esac esac
cf_new_cppflags="$cf_new_cppflags $cf_add_cflags" cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags" cf_new_cflags="$cf_new_cflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
yes) (yes)
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
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
skipping to change at line 2475 skipping to change at line 2476
else else
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define CC_HAS_PROTOS 1 #define CC_HAS_PROTOS 1
EOF EOF
fi fi
fi fi
if test "$cf_cv_ansi_cc" = "no"; then if test "$cf_cv_ansi_cc" = "no"; then
{ { echo "$as_me:2475: error: Your compiler does not appear to recognize prototypes. { { echo "$as_me:2476: error: Your compiler does not appear to recognize prototypes.
You have the following choices: You have the following choices:
a. adjust your compiler options a. adjust your compiler options
b. get an up-to-date compiler b. get an up-to-date compiler
c. use a wrapper such as unproto" >&5 c. use a wrapper such as unproto" >&5
echo "$as_me: error: Your compiler does not appear to recognize prototypes. echo "$as_me: error: Your compiler does not appear to recognize prototypes.
You have the following choices: You have the following choices:
a. adjust your compiler options a. adjust your compiler options
b. get an up-to-date compiler b. get an up-to-date compiler
c. use a wrapper such as unproto" >&2;} c. use a wrapper such as unproto" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
echo "$as_me:2488: checking for $CC option to accept ANSI C" >&5 echo "$as_me:2489: 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 2496 "configure" #line 2497 "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 2545 skipping to change at line 2546
# 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:2545: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2546: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2548: \$? = $ac_status" >&5 echo "$as_me:2549: \$? = $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:2551: \"$ac_try\"") >&5 { (eval echo "$as_me:2552: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2554: \$? = $ac_status" >&5 echo "$as_me:2555: \$? = $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:2571: result: none needed" >&5 echo "$as_me:2572: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;; echo "${ECHO_T}none needed" >&6 ;;
*) *)
echo "$as_me:2574: result: $ac_cv_prog_cc_stdc" >&5 echo "$as_me:2575: 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
echo "$as_me:2579: checking for an ANSI C-conforming const" >&5 echo "$as_me:2580: checking for an ANSI C-conforming const" >&5
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
if test "${ac_cv_c_const+set}" = set; then if test "${ac_cv_c_const+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 2585 "configure" #line 2586 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main ()
{ {
/* FIXME: Include the comments suggested by Paul. */ /* FIXME: Include the comments suggested by Paul. */
#ifndef __cplusplus #ifndef __cplusplus
/* Ultrix mips cc rejects this. */ /* Ultrix mips cc rejects this. */
typedef int charset[2]; typedef int charset[2];
const charset x; const charset x;
skipping to change at line 2643 skipping to change at line 2644
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
const int foo = 10; const int foo = 10;
} }
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:2643: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2644: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2646: \$? = $ac_status" >&5 echo "$as_me:2647: \$? = $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:2649: \"$ac_try\"") >&5 { (eval echo "$as_me:2650: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2652: \$? = $ac_status" >&5 echo "$as_me:2653: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_cv_c_const=yes ac_cv_c_const=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_c_const=no ac_cv_c_const=no
fi fi
rm -f conftest.$ac_objext conftest.$ac_ext rm -f conftest.$ac_objext conftest.$ac_ext
fi fi
echo "$as_me:2662: result: $ac_cv_c_const" >&5 echo "$as_me:2663: result: $ac_cv_c_const" >&5
echo "${ECHO_T}$ac_cv_c_const" >&6 echo "${ECHO_T}$ac_cv_c_const" >&6
if test $ac_cv_c_const = no; then if test $ac_cv_c_const = no; then
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define const #define const
EOF EOF
fi fi
GCC_VERSION=none GCC_VERSION=none
if test "$GCC" = yes ; then if test "$GCC" = yes ; then
echo "$as_me:2674: checking version of $CC" >&5 echo "$as_me:2675: 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:2678: result: $GCC_VERSION" >&5 echo "$as_me:2679: result: $GCC_VERSION" >&5
echo "${ECHO_T}$GCC_VERSION" >&6 echo "${ECHO_T}$GCC_VERSION" >&6
fi fi
if ( test "$GCC" = yes || test "$GXX" = yes ) if ( test "$GCC" = yes || test "$GXX" = yes )
then then
echo "$as_me:2684: checking if you want to turn on gcc warnings" >&5 echo "$as_me:2685: 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:2701: result: $with_warnings" >&5 echo "$as_me:2702: 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
if test "$GCC" = yes if test "$GCC" = yes
then then
cat > conftest.i <<EOF cat > conftest.i <<EOF
#ifndef GCC_PRINTF #ifndef GCC_PRINTF
#define GCC_PRINTF 0 #define GCC_PRINTF 0
#endif #endif
skipping to change at line 2724 skipping to change at line 2725
#endif #endif
#ifndef GCC_NORETURN #ifndef GCC_NORETURN
#define GCC_NORETURN /* nothing */ #define GCC_NORETURN /* nothing */
#endif #endif
#ifndef GCC_UNUSED #ifndef GCC_UNUSED
#define GCC_UNUSED /* nothing */ #define GCC_UNUSED /* nothing */
#endif #endif
EOF EOF
if test "$GCC" = yes if test "$GCC" = yes
then then
{ echo "$as_me:2724: checking for $CC __attribute__ directives..." >&5 { echo "$as_me:2725: checking for $CC __attribute__ directives..." >&5
echo "$as_me: checking for $CC __attribute__ directives..." >&6;} echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2727 "${as_me:-configure}" #line 2728 "${as_me:-configure}"
#include "confdefs.h" #include "confdefs.h"
#include "conftest.h" #include "conftest.h"
#include "conftest.i" #include "conftest.i"
#if GCC_PRINTF #if GCC_PRINTF
#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var))) #define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
#else #else
#define GCC_PRINTFLIKE(fmt,var) /*nothing*/ #define GCC_PRINTFLIKE(fmt,var) /*nothing*/
#endif #endif
#if GCC_SCANF #if GCC_SCANF
#define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var))) #define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var)))
skipping to change at line 2756 skipping to change at line 2757
cf_printf_attribute=no cf_printf_attribute=no
cf_scanf_attribute=no cf_scanf_attribute=no
for cf_attribute in scanf printf unused noreturn for cf_attribute in scanf printf unused noreturn
do do
cf_ATTRIBUTE=`echo "$cf_attribute" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFG HIJKLMNOPQRSTUVWXYZ___%` cf_ATTRIBUTE=`echo "$cf_attribute" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFG HIJKLMNOPQRSTUVWXYZ___%`
cf_directive="__attribute__(($cf_attribute))" cf_directive="__attribute__(($cf_attribute))"
echo "checking for $CC $cf_directive" 1>&5 echo "checking for $CC $cf_directive" 1>&5
case $cf_attribute in #(vi case $cf_attribute in
printf) #(vi (printf)
cf_printf_attribute=yes cf_printf_attribute=yes
cat >conftest.h <<EOF cat >conftest.h <<EOF
#define GCC_$cf_ATTRIBUTE 1 #define GCC_$cf_ATTRIBUTE 1
EOF EOF
;; ;;
scanf) #(vi (scanf)
cf_scanf_attribute=yes cf_scanf_attribute=yes
cat >conftest.h <<EOF cat >conftest.h <<EOF
#define GCC_$cf_ATTRIBUTE 1 #define GCC_$cf_ATTRIBUTE 1
EOF EOF
;; ;;
*) #(vi (*)
cat >conftest.h <<EOF cat >conftest.h <<EOF
#define GCC_$cf_ATTRIBUTE $cf_directive #define GCC_$cf_ATTRIBUTE $cf_directive
EOF EOF
;; ;;
esac esac
if { (eval echo "$as_me:2776: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2777: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2779: \$? = $ac_status" >&5 echo "$as_me:2780: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
test -n "$verbose" && echo "$as_me:2781: result: ... $cf_ attribute" >&5 test -n "$verbose" && echo "$as_me:2782: result: ... $cf_ attribute" >&5
echo "${ECHO_T}... $cf_attribute" >&6 echo "${ECHO_T}... $cf_attribute" >&6
cat conftest.h >>confdefs.h cat conftest.h >>confdefs.h
case $cf_attribute in #(vi case $cf_attribute in
noreturn) #(vi (noreturn)
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define GCC_NORETURN $cf_directive #define GCC_NORETURN $cf_directive
EOF EOF
;; ;;
printf) #(vi (printf)
cf_value='/* nothing */' cf_value='/* nothing */'
if test "$cf_printf_attribute" != no ; then if test "$cf_printf_attribute" != no ; then
cf_value='__attribute__((format(printf,fm t,var)))' cf_value='__attribute__((format(printf,fm t,var)))'
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define GCC_PRINTF 1 #define GCC_PRINTF 1
EOF EOF
fi fi
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define GCC_PRINTFLIKE(fmt,var) $cf_value #define GCC_PRINTFLIKE(fmt,var) $cf_value
EOF EOF
;; ;;
scanf) #(vi (scanf)
cf_value='/* nothing */' cf_value='/* nothing */'
if test "$cf_scanf_attribute" != no ; then if test "$cf_scanf_attribute" != no ; then
cf_value='__attribute__((format(scanf,fmt ,var)))' cf_value='__attribute__((format(scanf,fmt ,var)))'
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define GCC_SCANF 1 #define GCC_SCANF 1
EOF EOF
fi fi
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define GCC_SCANFLIKE(fmt,var) $cf_value #define GCC_SCANFLIKE(fmt,var) $cf_value
EOF EOF
;; ;;
unused) #(vi (unused)
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define GCC_UNUSED $cf_directive #define GCC_UNUSED $cf_directive
EOF EOF
;; ;;
esac esac
fi fi
done done
else else
fgrep define conftest.i >>confdefs.h fgrep define conftest.i >>confdefs.h
fi fi
rm -rf conftest* rm -rf conftest*
fi fi
INTEL_COMPILER=no INTEL_COMPILER=no
if test "$GCC" = yes ; then if test "$GCC" = yes ; then
case $host_os in case $host_os in
linux*|gnu*) (linux*|gnu*)
echo "$as_me:2845: checking if this is really Intel C compiler" > echo "$as_me:2846: checking if this is really Intel C compiler" >
&5 &5
echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
cf_save_CFLAGS="$CFLAGS" cf_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -no-gcc" CFLAGS="$CFLAGS -no-gcc"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2850 "configure" #line 2851 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main ()
{ {
#ifdef __INTEL_COMPILER #ifdef __INTEL_COMPILER
#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:2867: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2868: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2870: \$? = $ac_status" >&5 echo "$as_me:2871: \$? = $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:2873: \"$ac_try\"") >&5 { (eval echo "$as_me:2874: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2876: \$? = $ac_status" >&5 echo "$as_me:2877: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
INTEL_COMPILER=yes INTEL_COMPILER=yes
cf_save_CFLAGS="$cf_save_CFLAGS -we147" cf_save_CFLAGS="$cf_save_CFLAGS -we147"
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
CFLAGS="$cf_save_CFLAGS" CFLAGS="$cf_save_CFLAGS"
echo "$as_me:2887: result: $INTEL_COMPILER" >&5 echo "$as_me:2888: result: $INTEL_COMPILER" >&5
echo "${ECHO_T}$INTEL_COMPILER" >&6 echo "${ECHO_T}$INTEL_COMPILER" >&6
;; ;;
esac esac
fi fi
CLANG_COMPILER=no CLANG_COMPILER=no
if test "$GCC" = yes ; then if test "$GCC" = yes ; then
echo "$as_me:2896: checking if this is really Clang C compiler" >&5 echo "$as_me:2897: checking if this is really Clang C compiler" >&5
echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6 echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6
cf_save_CFLAGS="$CFLAGS" cf_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Qunused-arguments" CFLAGS="$CFLAGS -Qunused-arguments"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2901 "configure" #line 2902 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main ()
{ {
#ifdef __clang__ #ifdef __clang__
#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:2918: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2919: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2921: \$? = $ac_status" >&5 echo "$as_me:2922: \$? = $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:2924: \"$ac_try\"") >&5 { (eval echo "$as_me:2925: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2927: \$? = $ac_status" >&5 echo "$as_me:2928: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
CLANG_COMPILER=yes CLANG_COMPILER=yes
cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments" cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments"
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
CFLAGS="$cf_save_CFLAGS" CFLAGS="$cf_save_CFLAGS"
echo "$as_me:2938: result: $CLANG_COMPILER" >&5 echo "$as_me:2939: result: $CLANG_COMPILER" >&5
echo "${ECHO_T}$CLANG_COMPILER" >&6 echo "${ECHO_T}$CLANG_COMPILER" >&6
fi fi
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2943 "${as_me:-configure}" #line 2944 "${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:2960: checking for $CC warning options..." >&5 { echo "$as_me:2961: 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="-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:2976: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2977: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2979: \$? = $ac_status" >&5 echo "$as_me:2980: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
test -n "$verbose" && echo "$as_me:2981: result: ... -$cf _opt" >&5 test -n "$verbose" && echo "$as_me:2982: 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 elif test "$GCC" = yes
then then
{ echo "$as_me:2990: checking for $CC warning options..." >&5 { echo "$as_me:2991: 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= 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 \
skipping to change at line 3014 skipping to change at line 3015
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 $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:3014: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3015: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3017: \$? = $ac_status" >&5 echo "$as_me:3018: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
test -n "$verbose" && echo "$as_me:3019: result: ... -$cf _opt" >&5 test -n "$verbose" && echo "$as_me:3020: result: ... -$cf _opt" >&5
echo "${ECHO_T}... -$cf_opt" >&6 echo "${ECHO_T}... -$cf_opt" >&6
case $cf_opt in #(vi case $cf_opt in
Wcast-qual) #(vi (Wcast-qual)
CPPFLAGS="$CPPFLAGS -DXTSTRINGDEFINES" CPPFLAGS="$CPPFLAGS -DXTSTRINGDEFINES"
;; ;;
Winline) #(vi (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}:3030: testing feature is broken in gcc $GCC_VERSION .. ." 1>&5 echo "${as_me:-configure}:3031: testing feature is broken in gcc $GCC_VERSION .. ." 1>&5
continue;; continue;;
esac esac
;; ;;
Wpointer-arith) #(vi (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}:3040: testing feature is broken in gcc $GCC_VERSION .. ." 1>&5 echo "${as_me:-configure}:3041: 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
echo "$as_me:3056: checking if you want to see long compiling messages" >&5 echo "$as_me:3057: 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 $@;'
RULE_CC='@echo compiling $<' RULE_CC='@echo compiling $<'
SHOW_CC='@echo compiling $@' SHOW_CC='@echo compiling $@'
ECHO_CC='@' ECHO_CC='@'
else else
ECHO_LT='' ECHO_LT=''
ECHO_LD='' ECHO_LD=''
RULE_CC='' RULE_CC=''
SHOW_CC='' SHOW_CC=''
ECHO_CC='' ECHO_CC=''
fi fi
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:3090: result: $enableval" >&5 echo "$as_me:3091: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6 echo "${ECHO_T}$enableval" >&6
case $cf_cv_system_name in case $cf_cv_system_name in
os2*) (os2*)
CFLAGS="$CFLAGS -Zmt" CFLAGS="$CFLAGS -Zmt"
CPPFLAGS="$CPPFLAGS -D__ST_MT_ERRNO__" CPPFLAGS="$CPPFLAGS -D__ST_MT_ERRNO__"
CXXFLAGS="$CXXFLAGS -Zmt" CXXFLAGS="$CXXFLAGS -Zmt"
# autoconf's macro sets -Zexe and suffix both, which conflict:w # autoconf's macro sets -Zexe and suffix both, which conflict:w
LDFLAGS="$LDFLAGS -Zmt -Zcrtdll" LDFLAGS="$LDFLAGS -Zmt -Zcrtdll"
ac_cv_exeext=.exe ac_cv_exeext=.exe
;; ;;
esac esac
PROG_EXT="$EXEEXT" PROG_EXT="$EXEEXT"
test -n "$PROG_EXT" && test -n "$PROG_EXT" &&
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define PROG_EXT "$PROG_EXT" #define PROG_EXT "$PROG_EXT"
EOF EOF
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:3117: checking how to run the C preprocessor" >&5 echo "$as_me:3118: 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 3138 "configure" #line 3139 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax error Syntax error
_ACEOF _ACEOF
if { (eval echo "$as_me:3143: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3144: \"$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:3149: \$? = $ac_status" >&5 echo "$as_me:3150: \$? = $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 3172 skipping to change at line 3173
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 3172 "configure" #line 3173 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ac_nonexistent.h> #include <ac_nonexistent.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:3176: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3177: \"$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:3182: \$? = $ac_status" >&5 echo "$as_me:3183: \$? = $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 3219 skipping to change at line 3220
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:3219: result: $CPP" >&5 echo "$as_me:3220: 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 3229 "configure" #line 3230 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax error Syntax error
_ACEOF _ACEOF
if { (eval echo "$as_me:3234: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3235: \"$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:3240: \$? = $ac_status" >&5 echo "$as_me:3241: \$? = $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 3263 skipping to change at line 3264
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 3263 "configure" #line 3264 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ac_nonexistent.h> #include <ac_nonexistent.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:3267: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3268: \"$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:3273: \$? = $ac_status" >&5 echo "$as_me:3274: \$? = $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 3301 skipping to change at line 3302
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:3301: error: C preprocessor \"$CPP\" fails sanity check" >&5 { { echo "$as_me:3302: 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
echo "$as_me:3313: checking if you want to use dmalloc for testing" >&5 echo "$as_me:3314: checking if you want to use dmalloc for testing" >&5
echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6 echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6
# Check whether --with-dmalloc or --without-dmalloc was given. # Check whether --with-dmalloc or --without-dmalloc was given.
if test "${with_dmalloc+set}" = set; then if test "${with_dmalloc+set}" = set; then
withval="$with_dmalloc" withval="$with_dmalloc"
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define USE_DMALLOC 1 #define USE_DMALLOC 1
EOF EOF
: ${with_cflags:=-g} : ${with_cflags:=-g}
: ${with_no_leaks:=yes} : ${with_no_leaks:=yes}
with_dmalloc=yes with_dmalloc=yes
else else
with_dmalloc= with_dmalloc=
fi; fi;
echo "$as_me:3330: result: ${with_dmalloc:-no}" >&5 echo "$as_me:3331: result: ${with_dmalloc:-no}" >&5
echo "${ECHO_T}${with_dmalloc:-no}" >&6 echo "${ECHO_T}${with_dmalloc:-no}" >&6
case .$with_cflags in #(vi case .$with_cflags in
.*-g*) (.*-g*)
case .$CFLAGS in #(vi case .$CFLAGS in
.*-g*) #(vi (.*-g*)
;; ;;
*) (*)
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=
for cf_add_cflags in -g for cf_add_cflags in -g
do do
case $cf_fix_cppflags in case $cf_fix_cppflags in
no) (no)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
case $cf_add_cflags in case $cf_add_cflags in
-D*) (-D*)
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'`
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=yes && cf_fix_cppflags=yes
if test $cf_fix_cppflags = yes ; then if test $cf_fix_cppflags = yes ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
elif test "${cf_tst_cflags}" = "\"'" ; then elif test "${cf_tst_cflags}" = "\"'" ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
fi fi
;; ;;
esac esac
case "$CPPFLAGS" in case "$CPPFLAGS" in
*$cf_add_cflags) #(vi (*$cf_add_cflags)
;; ;;
*) #(vi (*)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-D*) (-D*)
cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
CPPFLAGS=`echo "$CPPFLAGS" | \ CPPFLAGS=`echo "$CPPFLAGS" | \
sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
;; ;;
esac esac
cf_new_cppflags="$cf_new_cppflags $cf_add_cflags" cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags" cf_new_cflags="$cf_new_cflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
yes) (yes)
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
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
skipping to change at line 3424 skipping to change at line 3425
EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi fi
;; ;;
esac esac
;; ;;
esac esac
if test "$with_dmalloc" = yes ; then if test "$with_dmalloc" = yes ; then
echo "$as_me:3424: checking for dmalloc.h" >&5 echo "$as_me:3425: checking for dmalloc.h" >&5
echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
if test "${ac_cv_header_dmalloc_h+set}" = set; then if test "${ac_cv_header_dmalloc_h+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 3430 "configure" #line 3431 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <dmalloc.h> #include <dmalloc.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:3434: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3435: \"$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:3440: \$? = $ac_status" >&5 echo "$as_me:3441: \$? = $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
ac_cv_header_dmalloc_h=yes ac_cv_header_dmalloc_h=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_header_dmalloc_h=no ac_cv_header_dmalloc_h=no
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.$ac_ext
fi fi
echo "$as_me:3459: result: $ac_cv_header_dmalloc_h" >&5 echo "$as_me:3460: result: $ac_cv_header_dmalloc_h" >&5
echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
if test $ac_cv_header_dmalloc_h = yes; then if test $ac_cv_header_dmalloc_h = yes; then
echo "$as_me:3463: checking for dmalloc_debug in -ldmalloc" >&5 echo "$as_me:3464: checking for dmalloc_debug in -ldmalloc" >&5
echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6
if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-ldmalloc $LIBS" LIBS="-ldmalloc $LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3471 "configure" #line 3472 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
#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
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char dmalloc_debug (); char dmalloc_debug ();
int int
main () main ()
{ {
dmalloc_debug (); dmalloc_debug ();
; ;
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:3490: \"$ac_link\"") >&5 if { (eval echo "$as_me:3491: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3493: \$? = $ac_status" >&5 echo "$as_me:3494: \$? = $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:3496: \"$ac_try\"") >&5 { (eval echo "$as_me:3497: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3499: \$? = $ac_status" >&5 echo "$as_me:3500: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_cv_lib_dmalloc_dmalloc_debug=yes ac_cv_lib_dmalloc_dmalloc_debug=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_lib_dmalloc_dmalloc_debug=no ac_cv_lib_dmalloc_dmalloc_debug=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
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
echo "$as_me:3510: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 echo "$as_me:3511: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6 echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6
if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define HAVE_LIBDMALLOC 1 #define HAVE_LIBDMALLOC 1
EOF EOF
LIBS="-ldmalloc $LIBS" LIBS="-ldmalloc $LIBS"
fi fi
fi fi
fi fi
echo "$as_me:3525: checking if you want to use dbmalloc for testing" >&5 echo "$as_me:3526: checking if you want to use dbmalloc for testing" >&5
echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6 echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6
# Check whether --with-dbmalloc or --without-dbmalloc was given. # Check whether --with-dbmalloc or --without-dbmalloc was given.
if test "${with_dbmalloc+set}" = set; then if test "${with_dbmalloc+set}" = set; then
withval="$with_dbmalloc" withval="$with_dbmalloc"
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define USE_DBMALLOC 1 #define USE_DBMALLOC 1
EOF EOF
: ${with_cflags:=-g} : ${with_cflags:=-g}
: ${with_no_leaks:=yes} : ${with_no_leaks:=yes}
with_dbmalloc=yes with_dbmalloc=yes
else else
with_dbmalloc= with_dbmalloc=
fi; fi;
echo "$as_me:3542: result: ${with_dbmalloc:-no}" >&5 echo "$as_me:3543: result: ${with_dbmalloc:-no}" >&5
echo "${ECHO_T}${with_dbmalloc:-no}" >&6 echo "${ECHO_T}${with_dbmalloc:-no}" >&6
case .$with_cflags in #(vi case .$with_cflags in
.*-g*) (.*-g*)
case .$CFLAGS in #(vi case .$CFLAGS in
.*-g*) #(vi (.*-g*)
;; ;;
*) (*)
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=
for cf_add_cflags in -g for cf_add_cflags in -g
do do
case $cf_fix_cppflags in case $cf_fix_cppflags in
no) (no)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
case $cf_add_cflags in case $cf_add_cflags in
-D*) (-D*)
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'`
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=yes && cf_fix_cppflags=yes
if test $cf_fix_cppflags = yes ; then if test $cf_fix_cppflags = yes ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
elif test "${cf_tst_cflags}" = "\"'" ; then elif test "${cf_tst_cflags}" = "\"'" ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
fi fi
;; ;;
esac esac
case "$CPPFLAGS" in case "$CPPFLAGS" in
*$cf_add_cflags) #(vi (*$cf_add_cflags)
;; ;;
*) #(vi (*)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-D*) (-D*)
cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
CPPFLAGS=`echo "$CPPFLAGS" | \ CPPFLAGS=`echo "$CPPFLAGS" | \
sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
;; ;;
esac esac
cf_new_cppflags="$cf_new_cppflags $cf_add_cflags" cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags" cf_new_cflags="$cf_new_cflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
yes) (yes)
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
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
skipping to change at line 3636 skipping to change at line 3637
EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi fi
;; ;;
esac esac
;; ;;
esac esac
if test "$with_dbmalloc" = yes ; then if test "$with_dbmalloc" = yes ; then
echo "$as_me:3636: checking for dbmalloc.h" >&5 echo "$as_me:3637: checking for dbmalloc.h" >&5
echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6 echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6
if test "${ac_cv_header_dbmalloc_h+set}" = set; then if test "${ac_cv_header_dbmalloc_h+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 3642 "configure" #line 3643 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <dbmalloc.h> #include <dbmalloc.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:3646: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3647: \"$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:3652: \$? = $ac_status" >&5 echo "$as_me:3653: \$? = $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
ac_cv_header_dbmalloc_h=yes ac_cv_header_dbmalloc_h=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_header_dbmalloc_h=no ac_cv_header_dbmalloc_h=no
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.$ac_ext
fi fi
echo "$as_me:3671: result: $ac_cv_header_dbmalloc_h" >&5 echo "$as_me:3672: result: $ac_cv_header_dbmalloc_h" >&5
echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6 echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6
if test $ac_cv_header_dbmalloc_h = yes; then if test $ac_cv_header_dbmalloc_h = yes; then
echo "$as_me:3675: checking for debug_malloc in -ldbmalloc" >&5 echo "$as_me:3676: checking for debug_malloc in -ldbmalloc" >&5
echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6
if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-ldbmalloc $LIBS" LIBS="-ldbmalloc $LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3683 "configure" #line 3684 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
#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
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char debug_malloc (); char debug_malloc ();
int int
main () main ()
{ {
debug_malloc (); debug_malloc ();
; ;
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:3702: \"$ac_link\"") >&5 if { (eval echo "$as_me:3703: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3705: \$? = $ac_status" >&5 echo "$as_me:3706: \$? = $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:3708: \"$ac_try\"") >&5 { (eval echo "$as_me:3709: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3711: \$? = $ac_status" >&5 echo "$as_me:3712: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_cv_lib_dbmalloc_debug_malloc=yes ac_cv_lib_dbmalloc_debug_malloc=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_lib_dbmalloc_debug_malloc=no ac_cv_lib_dbmalloc_debug_malloc=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
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
echo "$as_me:3722: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 echo "$as_me:3723: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6 echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6
if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define HAVE_LIBDBMALLOC 1 #define HAVE_LIBDBMALLOC 1
EOF EOF
LIBS="-ldbmalloc $LIBS" LIBS="-ldbmalloc $LIBS"
fi fi
fi fi
fi fi
echo "$as_me:3737: checking if you want to use valgrind for testing" >&5 echo "$as_me:3738: checking if you want to use valgrind for testing" >&5
echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6 echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6
# Check whether --with-valgrind or --without-valgrind was given. # Check whether --with-valgrind or --without-valgrind was given.
if test "${with_valgrind+set}" = set; then if test "${with_valgrind+set}" = set; then
withval="$with_valgrind" withval="$with_valgrind"
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define USE_VALGRIND 1 #define USE_VALGRIND 1
EOF EOF
: ${with_cflags:=-g} : ${with_cflags:=-g}
: ${with_no_leaks:=yes} : ${with_no_leaks:=yes}
with_valgrind=yes with_valgrind=yes
else else
with_valgrind= with_valgrind=
fi; fi;
echo "$as_me:3754: result: ${with_valgrind:-no}" >&5 echo "$as_me:3755: result: ${with_valgrind:-no}" >&5
echo "${ECHO_T}${with_valgrind:-no}" >&6 echo "${ECHO_T}${with_valgrind:-no}" >&6
case .$with_cflags in #(vi case .$with_cflags in
.*-g*) (.*-g*)
case .$CFLAGS in #(vi case .$CFLAGS in
.*-g*) #(vi (.*-g*)
;; ;;
*) (*)
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=
for cf_add_cflags in -g for cf_add_cflags in -g
do do
case $cf_fix_cppflags in case $cf_fix_cppflags in
no) (no)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
case $cf_add_cflags in case $cf_add_cflags in
-D*) (-D*)
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*= '\''\"[^"]*//'`
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=yes && cf_fix_cppflags=yes
if test $cf_fix_cppflags = yes ; then if test $cf_fix_cppflags = yes ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
elif test "${cf_tst_cflags}" = "\"'" ; then elif test "${cf_tst_cflags}" = "\"'" ; then
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf _add_cflags"
continue continue
fi fi
;; ;;
esac esac
case "$CPPFLAGS" in case "$CPPFLAGS" in
*$cf_add_cflags) #(vi (*$cf_add_cflags)
;; ;;
*) #(vi (*)
case $cf_add_cflags in #(vi case $cf_add_cflags in
-D*) (-D*)
cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
CPPFLAGS=`echo "$CPPFLAGS" | \ CPPFLAGS=`echo "$CPPFLAGS" | \
sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \ sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
-e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'` -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
;; ;;
esac esac
cf_new_cppflags="$cf_new_cppflags $cf_add_cflags" cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags" cf_new_cflags="$cf_new_cflags $cf_add_cflags"
;; ;;
esac esac
;; ;;
yes) (yes)
cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags" cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
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
skipping to change at line 3847 skipping to change at line 3848
if test -n "$cf_new_extra_cppflags" ; then if test -n "$cf_new_extra_cppflags" ; then
EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
fi fi
;; ;;
esac esac
;; ;;
esac esac
echo "$as_me:3847: checking if you want to perform memory-leak testing" >&5 echo "$as_me:3848: checking if you want to perform memory-leak testing" >&5
echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >& 6 echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >& 6
# Check whether --enable-leaks or --disable-leaks was given. # Check whether --enable-leaks or --disable-leaks was given.
if test "${enable_leaks+set}" = set; then if test "${enable_leaks+set}" = set; then
enableval="$enable_leaks" enableval="$enable_leaks"
if test "x$enableval" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi if test "x$enableval" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi
else else
: ${with_no_leaks:=no} : ${with_no_leaks:=no}
fi; fi;
echo "$as_me:3857: result: $with_no_leaks" >&5 echo "$as_me:3858: result: $with_no_leaks" >&5
echo "${ECHO_T}$with_no_leaks" >&6 echo "${ECHO_T}$with_no_leaks" >&6
if test "$with_no_leaks" = yes ; then if test "$with_no_leaks" = yes ; then
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define NO_LEAKS 1 #define NO_LEAKS 1
EOF EOF
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define YY_NO_LEAKS 1 #define YY_NO_LEAKS 1
EOF EOF
fi fi
echo "$as_me:3872: checking for ANSI C header files" >&5 # Extract the first word of "groff", so it can be a program name with args.
set dummy groff; ac_word=$2
echo "$as_me:3875: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GROFF_PATH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $GROFF_PATH in
[\\/]* | ?:[\\/]*)
ac_cv_path_GROFF_PATH="$GROFF_PATH" # 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_GROFF_PATH="$ac_dir/$ac_word"
echo "$as_me:3892: found $ac_dir/$ac_word" >&5
break
fi
done
test -z "$ac_cv_path_GROFF_PATH" && ac_cv_path_GROFF_PATH="no"
;;
esac
fi
GROFF_PATH=$ac_cv_path_GROFF_PATH
if test -n "$GROFF_PATH"; then
echo "$as_me:3904: result: $GROFF_PATH" >&5
echo "${ECHO_T}$GROFF_PATH" >&6
else
echo "$as_me:3907: result: no" >&5
echo "${ECHO_T}no" >&6
fi
# Extract the first word of "nroff", so it can be a program name with args.
set dummy nroff; ac_word=$2
echo "$as_me:3913: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_NROFF_PATH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $NROFF_PATH in
[\\/]* | ?:[\\/]*)
ac_cv_path_NROFF_PATH="$NROFF_PATH" # 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_NROFF_PATH="$ac_dir/$ac_word"
echo "$as_me:3930: found $ac_dir/$ac_word" >&5
break
fi
done
test -z "$ac_cv_path_NROFF_PATH" && ac_cv_path_NROFF_PATH="no"
;;
esac
fi
NROFF_PATH=$ac_cv_path_NROFF_PATH
if test -n "$NROFF_PATH"; then
echo "$as_me:3942: result: $NROFF_PATH" >&5
echo "${ECHO_T}$NROFF_PATH" >&6
else
echo "$as_me:3945: result: no" >&5
echo "${ECHO_T}no" >&6
fi
if test "x$GROFF_PATH" = xno
then
NROFF_NOTE=
GROFF_NOTE="#"
else
NROFF_NOTE="#"
GROFF_NOTE=
fi
echo "$as_me:3958: checking for program to convert manpage to html" >&5
echo $ECHO_N "checking for program to convert manpage to html... $ECHO_C" >&6
# Check whether --with-man2html or --without-man2html was given.
if test "${with_man2html+set}" = set; then
withval="$with_man2html"
cf_man2html=$withval
else
cf_man2html=$GROFF_PATH
fi;
cf_with_groff=no
case $cf_man2html in
(yes)
echo "$as_me:3973: result: man2html" >&5
echo "${ECHO_T}man2html" >&6
# Extract the first word of "man2html", so it can be a program name with
args.
set dummy man2html; ac_word=$2
echo "$as_me:3977: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_cf_man2html+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $cf_man2html in
[\\/]* | ?:[\\/]*)
ac_cv_path_cf_man2html="$cf_man2html" # Let the user override the test 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_cf_man2html="$ac_dir/$ac_word"
echo "$as_me:3994: found $ac_dir/$ac_word" >&5
break
fi
done
test -z "$ac_cv_path_cf_man2html" && ac_cv_path_cf_man2html="no"
;;
esac
fi
cf_man2html=$ac_cv_path_cf_man2html
if test -n "$cf_man2html"; then
echo "$as_me:4006: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6
else
echo "$as_me:4009: result: no" >&5
echo "${ECHO_T}no" >&6
fi
;;
(no|groff|*/groff*)
cf_with_groff=yes
cf_man2html=$GROFF_PATH
echo "$as_me:4017: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6
;;
(*)
echo "$as_me:4021: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6
;;
esac
MAN2HTML_TEMP="man2html.tmp"
cat >$MAN2HTML_TEMP <<CF_EOF
#!/bin/sh
# Temporary script generated by CF_WITH_MAN2HTML
# Convert inputs to html, sending result to standard output.
#
# Parameters:
# \${1} = rootname of file to convert
# \${2} = suffix of file to convert, e.g., "1"
# \${3} = macros to use, e.g., "man"
#
ROOT=\$1
TYPE=\$2
MACS=\$3
unset LANG
unset LC_ALL
unset LC_CTYPE
unset LANGUAGE
GROFF_NO_SGR=stupid
export GROFF_NO_SGR
CF_EOF
if test "x$cf_with_groff" = xyes
then
MAN2HTML_NOTE="$GROFF_NOTE"
MAN2HTML_PATH="$GROFF_PATH"
cat >>$MAN2HTML_TEMP <<CF_EOF
/bin/sh -c "tbl \${ROOT}.\${TYPE} | $GROFF_PATH -P -o0 -I\${ROOT}_ -Thtml -\${MA
CS}"
CF_EOF
else
MAN2HTML_NOTE=""
if test "x$prefix" != xNONE; then
cf_path_syntax="$prefix"
else
cf_path_syntax="$ac_default_prefix"
fi
case ".$cf_man2html" in
(.\$\(*\)*|.\'*\'*)
;;
(..|./*|.\\*)
;;
(.[a-zA-Z]:[\\/]*) # OS/2 EMX
;;
(.\${*prefix}*|.\${*dir}*)
eval cf_man2html="$cf_man2html"
case ".$cf_man2html" in
(.NONE/*)
cf_man2html=`echo $cf_man2html | sed -e s%NONE%$cf_path_syntax%`
;;
esac
;;
(.no|.NONE/*)
cf_man2html=`echo $cf_man2html | sed -e s%NONE%$cf_path_syntax%`
;;
(*)
{ { echo "$as_me:4085: error: expected a pathname, not \"$cf_man2html\""
>&5
echo "$as_me: error: expected a pathname, not \"$cf_man2html\"" >&2;}
{ (exit 1); exit 1; }; }
;;
esac
MAN2HTML_PATH="$cf_man2html"
echo "$as_me:4092: checking for $cf_man2html top/bottom margins" >&5
echo $ECHO_N "checking for $cf_man2html top/bottom margins... $ECHO_C" >&6
# for this example, expect 3 lines of content, the remainder is head/foot
cat >conftest.in <<CF_EOF
.TH HEAD1 HEAD2 HEAD3 HEAD4 HEAD5
.SH SECTION
MARKER
CF_EOF
LC_ALL=C LC_CTYPE=C LANG=C LANGUAGE=C nroff -man conftest.in >conftest.ou
t
cf_man2html_1st=`fgrep -n MARKER conftest.out |sed -e 's/^[^0-9]*://' -e
's/:.*//'`
cf_man2html_top=`expr $cf_man2html_1st - 2`
cf_man2html_bot=`wc -l conftest.out |sed -e 's/[^0-9]//g'`
cf_man2html_bot=`expr $cf_man2html_bot - 2 - $cf_man2html_top`
cf_man2html_top_bot="-topm=$cf_man2html_top -botm=$cf_man2html_bot"
echo "$as_me:4110: result: $cf_man2html_top_bot" >&5
echo "${ECHO_T}$cf_man2html_top_bot" >&6
echo "$as_me:4113: checking for pagesize to use" >&5
echo $ECHO_N "checking for pagesize to use... $ECHO_C" >&6
for cf_block in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
do
cat >>conftest.in <<CF_EOF
.nf
0
1
2
3
4
5
6
7
8
9
CF_EOF
done
LC_ALL=C LC_CTYPE=C LANG=C LANGUAGE=C nroff -man conftest.in >conftest.ou
t
cf_man2html_page=`fgrep -n HEAD1 conftest.out |tail -n 1 |sed -e 's/^[^0-
9]*://' -e 's/:.*//'`
test -z "$cf_man2html_page" && cf_man2html_page=99999
test "$cf_man2html_page" -gt 100 && cf_man2html_page=99999
rm -rf conftest*
echo "$as_me:4138: result: $cf_man2html_page" >&5
echo "${ECHO_T}$cf_man2html_page" >&6
cat >>$MAN2HTML_TEMP <<CF_EOF
: \${MAN2HTML_PATH=$MAN2HTML_PATH}
MAN2HTML_OPTS="\$MAN2HTML_OPTS -index -title="\$ROOT\(\$TYPE\)" -compress -pgsiz
e $cf_man2html_page"
case \${TYPE} in
(ms)
tbl \${ROOT}.\${TYPE} | nroff -\${MACS} | \$MAN2HTML_PATH -topm=0 -botm=0
\$MAN2HTML_OPTS
;;
(*)
tbl \${ROOT}.\${TYPE} | nroff -\${MACS} | \$MAN2HTML_PATH $cf_man2html_to
p_bot \$MAN2HTML_OPTS
;;
esac
CF_EOF
fi
chmod 700 $MAN2HTML_TEMP
echo "$as_me:4157: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then if test "${ac_cv_header_stdc+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 3878 "configure" #line 4163 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <float.h> #include <float.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:3886: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:4171: \"$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:3892: \$? = $ac_status" >&5 echo "$as_me:4177: \$? = $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 3914 skipping to change at line 4199
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_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.$ac_ext
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3914 "configure" #line 4199 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <string.h> #include <string.h>
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "memchr" >/dev/null 2>&1; then egrep "memchr" >/dev/null 2>&1; then
: :
else else
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -rf conftest* rm -rf conftest*
fi fi
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3932 "configure" #line 4217 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "free" >/dev/null 2>&1; then egrep "free" >/dev/null 2>&1; then
: :
else else
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -rf conftest* rm -rf conftest*
fi fi
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if test "$cross_compiling" = yes; then if test "$cross_compiling" = yes; then
: :
else else
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 3953 "configure" #line 4238 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ctype.h> #include <ctype.h>
#if ((' ' & 0x0FF) == 0x020) #if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else #else
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
|| ('j' <= (c) && (c) <= 'r') \ || ('j' <= (c) && (c) <= 'r') \
|| ('s' <= (c) && (c) <= 'z')) || ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
skipping to change at line 3979 skipping to change at line 4264
{ {
int i; int i;
for (i = 0; i < 256; i++) for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) if (XOR (islower (i), ISLOWER (i))
|| toupper (i) != TOUPPER (i)) || toupper (i) != TOUPPER (i))
$ac_main_return(2); $ac_main_return(2);
$ac_main_return (0); $ac_main_return (0);
} }
_ACEOF _ACEOF
rm -f conftest$ac_exeext rm -f conftest$ac_exeext
if { (eval echo "$as_me:3979: \"$ac_link\"") >&5 if { (eval echo "$as_me:4264: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3982: \$? = $ac_status" >&5 echo "$as_me:4267: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:3984: \"$ac_try\"") >&5 { (eval echo "$as_me:4269: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3987: \$? = $ac_status" >&5 echo "$as_me:4272: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
: :
else else
echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: program exited with status $ac_status" >&5
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_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
fi fi
echo "$as_me:4000: result: $ac_cv_header_stdc" >&5 echo "$as_me:4285: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6 echo "${ECHO_T}$ac_cv_header_stdc" >&6
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define STDC_HEADERS 1 #define STDC_HEADERS 1
EOF EOF
fi fi
for ac_header in stdlib.h getopt.h string.h malloc.h for ac_header in stdlib.h getopt.h string.h malloc.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:4013: checking for $ac_header" >&5 echo "$as_me:4298: 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 4019 "configure" #line 4304 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_header> #include <$ac_header>
_ACEOF _ACEOF
if { (eval echo "$as_me:4023: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:4308: \"$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:4029: \$? = $ac_status" >&5 echo "$as_me:4314: \$? = $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:4048: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "$as_me:4333: 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
for ac_func in strchr getopt for ac_func in strchr getopt
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:4061: checking for $ac_func" >&5 echo "$as_me:4346: 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 4067 "configure" #line 4352 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */ which can conflict with char $ac_func (); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
#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
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
skipping to change at line 4098 skipping to change at line 4383
choke me choke me
#else #else
f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1; f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1;
#endif #endif
; ;
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:4098: \"$ac_link\"") >&5 if { (eval echo "$as_me:4383: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4101: \$? = $ac_status" >&5 echo "$as_me:4386: \$? = $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:4104: \"$ac_try\"") >&5 { (eval echo "$as_me:4389: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4107: \$? = $ac_status" >&5 echo "$as_me:4392: \$? = $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:4117: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "$as_me:4402: 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
for ac_header in unistd.h getopt.h for ac_header in unistd.h getopt.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:4130: checking for $ac_header" >&5 echo "$as_me:4415: 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 4136 "configure" #line 4421 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_header> #include <$ac_header>
_ACEOF _ACEOF
if { (eval echo "$as_me:4140: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:4425: \"$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:4146: \$? = $ac_status" >&5 echo "$as_me:4431: \$? = $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:4165: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "$as_me:4450: 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
echo "$as_me:4175: checking for header declaring getopt variables" >&5 echo "$as_me:4460: checking for header declaring getopt variables" >&5
echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6 echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6
if test "${cf_cv_getopt_header+set}" = set; then if test "${cf_cv_getopt_header+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
cf_cv_getopt_header=none cf_cv_getopt_header=none
for cf_header in stdio.h stdlib.h unistd.h getopt.h for cf_header in stdio.h stdlib.h unistd.h getopt.h
do do
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 4185 "configure" #line 4470 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$cf_header> #include <$cf_header>
int int
main () main ()
{ {
int x = optind; char *y = optarg int x = optind; char *y = optarg
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:4198: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4483: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4201: \$? = $ac_status" >&5 echo "$as_me:4486: \$? = $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:4204: \"$ac_try\"") >&5 { (eval echo "$as_me:4489: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4207: \$? = $ac_status" >&5 echo "$as_me:4492: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
cf_cv_getopt_header=$cf_header cf_cv_getopt_header=$cf_header
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
fi fi
echo "$as_me:4219: result: $cf_cv_getopt_header" >&5 echo "$as_me:4504: result: $cf_cv_getopt_header" >&5
echo "${ECHO_T}$cf_cv_getopt_header" >&6 echo "${ECHO_T}$cf_cv_getopt_header" >&6
if test $cf_cv_getopt_header != none ; then if test $cf_cv_getopt_header != none ; then
cat >>confdefs.h <<\EOF cat >>confdefs.h <<\EOF
#define HAVE_GETOPT_HEADER 1 #define HAVE_GETOPT_HEADER 1
EOF EOF
fi fi
if test $cf_cv_getopt_header = getopt.h ; then if test $cf_cv_getopt_header = getopt.h ; then
skipping to change at line 4245 skipping to change at line 4530
if test $ac_cv_func_getopt = 'no' if test $ac_cv_func_getopt = 'no'
then then
CPPFLAGS="$CPPFLAGS -I\$(srcdir)/porting" CPPFLAGS="$CPPFLAGS -I\$(srcdir)/porting"
EXTRAOBJ=getopt\$o EXTRAOBJ=getopt\$o
fi fi
### output makefile and config.h ### output makefile and config.h
ac_config_files="$ac_config_files makefile" ac_config_files="$ac_config_files makefile"
ac_config_commands="$ac_config_commands default"
cat >confcache <<\_ACEOF cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure # This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure # tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache. # scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems. If it contains results you don't # It is not useful on other systems. If it contains results you don't
# want to keep, you may remove or edit it. # want to keep, you may remove or edit it.
# #
# config.status only pays attention to the cache file if you give it # config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure. # the --recheck option to rerun configure.
# #
skipping to change at line 4325 skipping to change at line 4609
s/:*$//; s/:*$//;
s/^[^=]*=[ ]*$//; s/^[^=]*=[ ]*$//;
}' }'
fi fi
DEFS=-DHAVE_CONFIG_H DEFS=-DHAVE_CONFIG_H
: ${CONFIG_STATUS=./config.status} : ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS" ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:4325: creating $CONFIG_STATUS" >&5 { echo "$as_me:4609: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;} echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL #! $SHELL
# Generated automatically by configure. # Generated automatically by configure.
# Run this file to recreate the current configuration. # Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging # Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists. # configure, is in config.log if it exists.
debug=false debug=false
SHELL=\${CONFIG_SHELL-$SHELL} SHELL=\${CONFIG_SHELL-$SHELL}
skipping to change at line 4448 skipping to change at line 4732
instantiate the configuration file FILE instantiate the configuration file FILE
--header=FILE[:TEMPLATE] --header=FILE[:TEMPLATE]
instantiate the configuration header FILE instantiate the configuration header FILE
Configuration files: Configuration files:
$config_files $config_files
Configuration headers: Configuration headers:
$config_headers $config_headers
Configuration commands:
$config_commands
Report bugs to <dickey@invisible-island.net>." Report bugs to <dickey@invisible-island.net>."
EOF EOF
cat >>$CONFIG_STATUS <<EOF cat >>$CONFIG_STATUS <<EOF
ac_cs_version="\\ ac_cs_version="\\
config.status config.status
configured by $0, generated by GNU Autoconf 2.52.20121002, configured by $0, generated by GNU Autoconf 2.52.20141204,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
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 config.status script is free software; the Free Software Foundation This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it." gives unlimited permission to copy, distribute and modify it."
srcdir=$srcdir srcdir=$srcdir
INSTALL="$INSTALL" INSTALL="$INSTALL"
EOF EOF
skipping to change at line 4501 skipping to change at line 4782
cat >>$CONFIG_STATUS <<EOF cat >>$CONFIG_STATUS <<EOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
EOF EOF
cat >>$CONFIG_STATUS <<\EOF cat >>$CONFIG_STATUS <<\EOF
--version | --vers* | -V ) --version | --vers* | -V )
echo "$ac_cs_version"; exit 0 ;; echo "$ac_cs_version"; exit 0 ;;
--he | --h) --he | --h)
# Conflict between --help and --header # Conflict between --help and --header
{ { echo "$as_me:4501: error: ambiguous option: $1 { { echo "$as_me:4782: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5 Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1 echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;} Try \`$0 --help' for more information." >&2;}
{ (exit 1); exit 1; }; };; { (exit 1); exit 1; }; };;
--help | --hel | -h ) --help | --hel | -h )
echo "$ac_cs_usage"; exit 0 ;; echo "$ac_cs_usage"; exit 0 ;;
--debug | --d* | -d ) --debug | --d* | -d )
debug=: ;; debug=: ;;
--file | --fil | --fi | --f ) --file | --fil | --fi | --f )
shift shift
CONFIG_FILES="$CONFIG_FILES $1" CONFIG_FILES="$CONFIG_FILES $1"
ac_need_defaults=false;; ac_need_defaults=false;;
--header | --heade | --head | --hea ) --header | --heade | --head | --hea )
shift shift
CONFIG_HEADERS="$CONFIG_HEADERS $1" CONFIG_HEADERS="$CONFIG_HEADERS $1"
ac_need_defaults=false;; ac_need_defaults=false;;
# This is an error. # This is an error.
-*) { { echo "$as_me:4520: error: unrecognized option: $1 -*) { { echo "$as_me:4801: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5 Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1 echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;} Try \`$0 --help' for more information." >&2;}
{ (exit 1); exit 1; }; } ;; { (exit 1); exit 1; }; } ;;
*) ac_config_targets="$ac_config_targets $1" ;; *) ac_config_targets="$ac_config_targets $1" ;;
esac esac
shift shift
done done
exec 5>>config.log exec 5>>config.log
cat >&5 << _ACEOF cat >&5 << _ACEOF
## ----------------------- ## ## ----------------------- ##
## Running config.status. ## ## Running config.status. ##
## ----------------------- ## ## ----------------------- ##
This file was extended by $as_me 2.52.20121002, executed with This file was extended by $as_me 2.52.20141204, executed with
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS CONFIG_COMMANDS = $CONFIG_COMMANDS
> $ac_cs_invocation > $ac_cs_invocation
on `(hostname || uname -n) 2>/dev/null | sed 1q` on `(hostname || uname -n) 2>/dev/null | sed 1q`
_ACEOF _ACEOF
EOF EOF
cat >>$CONFIG_STATUS <<\EOF cat >>$CONFIG_STATUS <<\EOF
for ac_config_target in $ac_config_targets for ac_config_target in $ac_config_targets
do do
case "$ac_config_target" in case "$ac_config_target" in
# Handling of arguments. # Handling of arguments.
"makefile" ) CONFIG_FILES="$CONFIG_FILES makefile" ;; "makefile" ) CONFIG_FILES="$CONFIG_FILES makefile" ;;
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
*) { { echo "$as_me:4558: error: invalid argument: $ac_config_target" >&5 *) { { echo "$as_me:4838: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };; { (exit 1); exit 1; }; };;
esac esac
done done
# If the user did not use the arguments to specify the items to instantiate, # If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used. Set only those that are not. # then the envvar interface is used. Set only those that are not.
# We use the long form for the default assignment because of an extremely # We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3. # bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then if $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi fi
# Create a temporary directory, and hook for its removal unless debugging. # Create a temporary directory, and hook for its removal unless debugging.
$debug || $debug ||
{ {
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
trap '{ (exit 1); exit 1; }' 1 2 13 15 trap '{ (exit 1); exit 1; }' 1 2 13 15
} }
# Create a (secure) tmp directory for tmp files. # Create a (secure) tmp directory for tmp files.
skipping to change at line 4679 skipping to change at line 4958
s,@SET_MAKE@,$SET_MAKE,;t t s,@SET_MAKE@,$SET_MAKE,;t t
s,@EXTRA_CPPFLAGS@,$EXTRA_CPPFLAGS,;t t s,@EXTRA_CPPFLAGS@,$EXTRA_CPPFLAGS,;t t
s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
s,@ECHO_LT@,$ECHO_LT,;t t s,@ECHO_LT@,$ECHO_LT,;t t
s,@ECHO_LD@,$ECHO_LD,;t t s,@ECHO_LD@,$ECHO_LD,;t t
s,@RULE_CC@,$RULE_CC,;t t s,@RULE_CC@,$RULE_CC,;t t
s,@SHOW_CC@,$SHOW_CC,;t t s,@SHOW_CC@,$SHOW_CC,;t t
s,@ECHO_CC@,$ECHO_CC,;t t s,@ECHO_CC@,$ECHO_CC,;t t
s,@PROG_EXT@,$PROG_EXT,;t t s,@PROG_EXT@,$PROG_EXT,;t t
s,@CPP@,$CPP,;t t s,@CPP@,$CPP,;t t
s,@GROFF_PATH@,$GROFF_PATH,;t t
s,@NROFF_PATH@,$NROFF_PATH,;t t
s,@GROFF_NOTE@,$GROFF_NOTE,;t t
s,@NROFF_NOTE@,$NROFF_NOTE,;t t
s,@cf_man2html@,$cf_man2html,;t t
s,@MAN2HTML_NOTE@,$MAN2HTML_NOTE,;t t
s,@MAN2HTML_PATH@,$MAN2HTML_PATH,;t t
s,@MAN2HTML_TEMP@,$MAN2HTML_TEMP,;t t
s,@EXTRAOBJ@,$EXTRAOBJ,;t t s,@EXTRAOBJ@,$EXTRAOBJ,;t t
CEOF CEOF
EOF EOF
cat >>$CONFIG_STATUS <<\EOF cat >>$CONFIG_STATUS <<\EOF
# Split the substitutions into bite-sized pieces for seds with # Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX. # small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_lines=48 ac_max_sed_lines=48
ac_sed_frag=1 # Number of current file. ac_sed_frag=1 # Number of current file.
skipping to change at line 4794 skipping to change at line 5081
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_dots$srcdir ;; ac_top_srcdir=$ac_dots$srcdir ;;
esac esac
case $INSTALL in case $INSTALL in
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
*) ac_INSTALL=$ac_dots$INSTALL ;; *) ac_INSTALL=$ac_dots$INSTALL ;;
esac esac
if test x"$ac_file" != x-; then if test x"$ac_file" != x-; then
{ echo "$as_me:4794: creating $ac_file" >&5 { echo "$as_me:5081: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;} echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file" rm -f "$ac_file"
fi fi
# Let's still pretend it is `configure' which instantiates (i.e., don't # Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read: # use $as_me), people would be surprised to read:
# /* config.h. Generated automatically by config.status. */ # /* config.h. Generated automatically by config.status. */
configure_input="Generated automatically from `echo $ac_file_in | configure_input="Generated automatically from `echo $ac_file_in |
sed 's,.*/,,'` by configure." sed 's,.*/,,'` by configure."
# First look for the input files in the build tree, otherwise in the # First look for the input files in the build tree, otherwise in the
# src tree. # src tree.
ac_file_inputs=`IFS=: ac_file_inputs=`IFS=:
for f in $ac_file_in; do for f in $ac_file_in; do
case $f in case $f in
-) echo $tmp/stdin ;; -) echo $tmp/stdin ;;
[\\/$]*) [\\/$]*)
# Absolute (can't be DOS-style, as IFS=:) # Absolute (can't be DOS-style, as IFS=:)
test -f "$f" || { { echo "$as_me:4812: error: cannot find input file: $ f" >&5 test -f "$f" || { { echo "$as_me:5099: error: cannot find input file: $ f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;} echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
echo $f;; echo $f;;
*) # Relative *) # Relative
if test -f "$f"; then if test -f "$f"; then
# Build tree # Build tree
echo $f echo $f
elif test -f "$srcdir/$f"; then elif test -f "$srcdir/$f"; then
# Source tree # Source tree
echo $srcdir/$f echo $srcdir/$f
else else
# /dev/null tree # /dev/null tree
{ { echo "$as_me:4825: error: cannot find input file: $f" >&5 { { echo "$as_me:5112: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;} echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi;; fi;;
esac esac
done` || { (exit 1); exit 1; } done` || { (exit 1); exit 1; }
EOF EOF
cat >>$CONFIG_STATUS <<\EOF cat >>$CONFIG_STATUS <<\EOF
ac_warn_datarootdir=no ac_warn_datarootdir=no
if test x"$ac_file" != x-; then if test x"$ac_file" != x-; then
for ac_item in $ac_file_inputs for ac_item in $ac_file_inputs
do do
ac_seen=`grep '@\(datadir\|mandir\|infodir\)@' $ac_item` ac_seen=`grep '@\(datadir\|mandir\|infodir\)@' $ac_item`
if test -n "$ac_seen"; then if test -n "$ac_seen"; then
ac_used=`grep '@datarootdir@' $ac_item` ac_used=`grep '@datarootdir@' $ac_item`
if test -z "$ac_used"; then if test -z "$ac_used"; then
{ echo "$as_me:4841: WARNING: datarootdir was used implicitly but not set: { echo "$as_me:5128: WARNING: datarootdir was used implicitly but not set:
$ac_seen" >&5 $ac_seen" >&5
echo "$as_me: WARNING: datarootdir was used implicitly but not set: echo "$as_me: WARNING: datarootdir was used implicitly but not set:
$ac_seen" >&2;} $ac_seen" >&2;}
ac_warn_datarootdir=yes ac_warn_datarootdir=yes
fi fi
fi fi
ac_seen=`grep '${datarootdir}' $ac_item` ac_seen=`grep '${datarootdir}' $ac_item`
if test -n "$ac_seen"; then if test -n "$ac_seen"; then
{ echo "$as_me:4850: WARNING: datarootdir was used explicitly but not se t: { echo "$as_me:5137: WARNING: datarootdir was used explicitly but not se t:
$ac_seen" >&5 $ac_seen" >&5
echo "$as_me: WARNING: datarootdir was used explicitly but not set: echo "$as_me: WARNING: datarootdir was used explicitly but not set:
$ac_seen" >&2;} $ac_seen" >&2;}
ac_warn_datarootdir=yes ac_warn_datarootdir=yes
fi fi
done done
fi fi
if test "x$ac_warn_datarootdir" = xyes; then if test "x$ac_warn_datarootdir" = xyes; then
ac_sed_cmds="$ac_sed_cmds | sed -e 's,@datarootdir@,\${prefix}/share,g' -e 's, \${datarootdir},\${prefix}/share,g'" ac_sed_cmds="$ac_sed_cmds | sed -e 's,@datarootdir@,\${prefix}/share,g' -e 's, \${datarootdir},\${prefix}/share,g'"
skipping to change at line 4887 skipping to change at line 5174
if test x"$ac_file" != x-; then if test x"$ac_file" != x-; then
cp $tmp/out $ac_file cp $tmp/out $ac_file
for ac_name in prefix exec_prefix datarootdir for ac_name in prefix exec_prefix datarootdir
do do
ac_seen=`fgrep -n '${'$ac_name'[:=].*}' $ac_file` ac_seen=`fgrep -n '${'$ac_name'[:=].*}' $ac_file`
if test -n "$ac_seen"; then if test -n "$ac_seen"; then
ac_init=`egrep '[ ]*'$ac_name'[ ]*=' $ac_file` ac_init=`egrep '[ ]*'$ac_name'[ ]*=' $ac_file`
if test -z "$ac_init"; then if test -z "$ac_init"; then
ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'`
{ echo "$as_me:4887: WARNING: Variable $ac_name is used but was no t set: { echo "$as_me:5174: WARNING: Variable $ac_name is used but was no t set:
$ac_seen" >&5 $ac_seen" >&5
echo "$as_me: WARNING: Variable $ac_name is used but was not set: echo "$as_me: WARNING: Variable $ac_name is used but was not set:
$ac_seen" >&2;} $ac_seen" >&2;}
fi fi
fi fi
done done
egrep -n '@[a-z_][a-z_0-9]+@' $ac_file >$tmp/out egrep -n '@[a-z_][a-z_0-9]+@' $ac_file >$tmp/out
egrep -n '@[A-Z_][A-Z_0-9]+@' $ac_file >>$tmp/out egrep -n '@[A-Z_][A-Z_0-9]+@' $ac_file >>$tmp/out
if test -s $tmp/out; then if test -s $tmp/out; then
ac_seen=`sed -e 's,^,'$ac_file':,' < $tmp/out` ac_seen=`sed -e 's,^,'$ac_file':,' < $tmp/out`
{ echo "$as_me:4898: WARNING: Some variables may not be substituted: { echo "$as_me:5185: WARNING: Some variables may not be substituted:
$ac_seen" >&5 $ac_seen" >&5
echo "$as_me: WARNING: Some variables may not be substituted: echo "$as_me: WARNING: Some variables may not be substituted:
$ac_seen" >&2;} $ac_seen" >&2;}
fi fi
else else
cat $tmp/out cat $tmp/out
fi fi
rm -f $tmp/out rm -f $tmp/out
done done
skipping to change at line 4947 skipping to change at line 5234
case $ac_file in case $ac_file in
- | *:- | *:-:* ) # input from stdin - | *:- | *:-:* ) # input from stdin
cat >$tmp/stdin cat >$tmp/stdin
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
* ) ac_file_in=$ac_file.in ;; * ) ac_file_in=$ac_file.in ;;
esac esac
test x"$ac_file" != x- && { echo "$as_me:4947: creating $ac_file" >&5 test x"$ac_file" != x- && { echo "$as_me:5234: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;} echo "$as_me: creating $ac_file" >&6;}
# First look for the input files in the build tree, otherwise in the # First look for the input files in the build tree, otherwise in the
# src tree. # src tree.
ac_file_inputs=`IFS=: ac_file_inputs=`IFS=:
for f in $ac_file_in; do for f in $ac_file_in; do
case $f in case $f in
-) echo $tmp/stdin ;; -) echo $tmp/stdin ;;
[\\/$]*) [\\/$]*)
# Absolute (can't be DOS-style, as IFS=:) # Absolute (can't be DOS-style, as IFS=:)
test -f "$f" || { { echo "$as_me:4958: error: cannot find input file: $ f" >&5 test -f "$f" || { { echo "$as_me:5245: error: cannot find input file: $ f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;} echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
echo $f;; echo $f;;
*) # Relative *) # Relative
if test -f "$f"; then if test -f "$f"; then
# Build tree # Build tree
echo $f echo $f
elif test -f "$srcdir/$f"; then elif test -f "$srcdir/$f"; then
# Source tree # Source tree
echo $srcdir/$f echo $srcdir/$f
else else
# /dev/null tree # /dev/null tree
{ { echo "$as_me:4971: error: cannot find input file: $f" >&5 { { echo "$as_me:5258: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;} echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi;; fi;;
esac esac
done` || { (exit 1); exit 1; } done` || { (exit 1); exit 1; }
# Remove the trailing spaces. # Remove the trailing spaces.
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
EOF EOF
# Transform confdefs.h into a list of #define's. We won't use it as a sed # Transform confdefs.h into two sed scripts, `conftest.defines' and
# script, but as data to insert where we see @DEFS@. We expect AC_SAVE_DEFS to # `conftest.undefs', that substitutes the proper values into
# be either 'cat' or 'sort'. # config.h.in to produce config.h. The first handles `#define'
cat confdefs.h | uniq >conftest.vals # templates, and the second `#undef' templates.
# And first: Protect against being on the right side of a sed subst in
# Break up conftest.vals because some shells have a limit on # config.status. Protect against being in an unquoted here document
# the size of here documents, and old seds have small limits too. # in config.status.
rm -f conftest.defines conftest.undefs
# Using a here document instead of a string reduces the quoting nightmare.
# Putting comments in sed scripts is not portable.
#
# `end' is used to avoid that the second main sed command (meant for
# 0-ary CPP macros) applies to n-ary macro definitions.
# See the Autoconf documentation for `clear'.
cat >confdef2sed.sed <<\EOF
s/[\\&,]/\\&/g
s,[\\$`],\\&,g
t clear
: clear
s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[
]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
t end
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA
}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
: end
EOF
# If some macros were called several times there might be several times
# the same #defines, which is useless. Nevertheless, we may not want to
# sort them, since we want the *last* AC-DEFINE to be honored.
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
sed 's/ac_d/ac_i/g' conftest.defines >>conftest.undefs
rm -f confdef2sed.sed
# This sed command replaces #undef with comments. This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
cat >>conftest.undefs <<\EOF
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
EOF
# Break up conftest.defines because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STA
TUS
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
echo ' :' >>$CONFIG_STATUS
rm -f conftest.tail rm -f conftest.tail
echo ' rm -f conftest.frag' >> $CONFIG_STATUS while grep . conftest.defines >/dev/null
while grep . conftest.vals >/dev/null
do do
# Write chunks of a limited-size here document to conftest.frag. # Write a limited-size here document to $tmp/defines.sed.
echo ' cat >> conftest.frag <<CEOF' >> $CONFIG_STATUS echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
sed ${ac_max_here_lines}q conftest.vals | sed -e 's/#ifdef.*/#if 0/' >> $CONFI # Speed up: don't consider the non `#define' lines.
G_STATUS echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
echo 'CEOF' >> $CONFIG_STATUS # Work around the forget-to-reset-the-flag bug.
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail echo 't clr' >>$CONFIG_STATUS
rm -f conftest.vals echo ': clr' >>$CONFIG_STATUS
mv conftest.tail conftest.vals sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
done echo 'CEOF
rm -f conftest.vals sed -f $tmp/defines.sed $tmp/in >$tmp/out
rm -f $tmp/in
# Run sed to substitute the contents of conftest.frag into $tmp/in at the mv $tmp/out $tmp/in
# marker @DEFS@. ' >>$CONFIG_STATUS
echo ' cat >> conftest.edit <<CEOF sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
/@DEFS@/r conftest.frag rm -f conftest.defines
/@DEFS@/d mv conftest.tail conftest.defines
CEOF done
sed -f conftest.edit $tmp/in > $tmp/out rm -f conftest.defines
rm -f $tmp/in echo ' fi # egrep' >>$CONFIG_STATUS
mv $tmp/out $tmp/in echo >>$CONFIG_STATUS
rm -f conftest.edit conftest.frag
' >> $CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
rm -f conftest.tail
while grep . conftest.undefs >/dev/null
do
# Write a limited-size here document to $tmp/undefs.sed.
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
# Speed up: don't consider the non `#undef'
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
# Work around the forget-to-reset-the-flag bug.
echo 't clr' >>$CONFIG_STATUS
echo ': clr' >>$CONFIG_STATUS
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
echo 'CEOF
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
rm -f $tmp/in
mv $tmp/out $tmp/in
' >>$CONFIG_STATUS
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
rm -f conftest.undefs
mv conftest.tail conftest.undefs
done
rm -f conftest.undefs
cat >>$CONFIG_STATUS <<\EOF cat >>$CONFIG_STATUS <<\EOF
# Let's still pretend it is `configure' which instantiates (i.e., don't # Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read: # use $as_me), people would be surprised to read:
# /* config.h. Generated automatically by config.status. */ # /* config.h. Generated automatically by config.status. */
if test x"$ac_file" = x-; then if test x"$ac_file" = x-; then
echo "/* Generated automatically by configure. */" >$tmp/config.h echo "/* Generated automatically by configure. */" >$tmp/config.h
else else
echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config. h echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config. h
fi fi
cat $tmp/in >>$tmp/config.h cat $tmp/in >>$tmp/config.h
rm -f $tmp/in rm -f $tmp/in
if test x"$ac_file" != x-; then if test x"$ac_file" != x-; then
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
{ echo "$as_me:5029: $ac_file is unchanged" >&5 { echo "$as_me:5376: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;} echo "$as_me: $ac_file is unchanged" >&6;}
else else
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| \ X"$ac_file" : 'X\(/\)' \| \
. : '\(.\)' 2>/dev/null || . : '\(.\)' 2>/dev/null ||
echo X"$ac_file" | echo X"$ac_file" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
/^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; }
skipping to change at line 5070 skipping to change at line 5417
fi fi
rm -f $ac_file rm -f $ac_file
mv $tmp/config.h $ac_file mv $tmp/config.h $ac_file
fi fi
else else
cat $tmp/config.h cat $tmp/config.h
rm -f $tmp/config.h rm -f $tmp/config.h
fi fi
done done
EOF EOF
cat >>$CONFIG_STATUS <<\EOF cat >>$CONFIG_STATUS <<\EOF
#
# CONFIG_COMMANDS section.
#
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
case $ac_dest in { (exit 0); exit 0; }
default ) EOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save
# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
# by configure, so config.status won't be able to write to it; its
# output is simply discarded. So we exec the FD to /dev/null,
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status. When coming back to configure, we
# need to make the FD available again.
if test "$no_create" != yes; then
ac_cs_success=:
exec 5>/dev/null
$SHELL $CONFIG_STATUS || ac_cs_success=false
exec 5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
# would make configure fail if this is the last instruction.
$ac_cs_success || { (exit 1); exit 1; }
fi
test -z "$cf_make_docs" && cf_make_docs=0 test -z "$cf_make_docs" && cf_make_docs=0
cf_output=makefile cf_output=makefile
test -f "$cf_output" || cf_output=Makefile test -f "$cf_output" || cf_output=Makefile
if test "$cf_make_docs" = 0 if test "$cf_make_docs" = 0
then then
cat >>$cf_output <<"CF_EOF" cat >>$cf_output <<CF_EOF
################################################################################ ################################################################################
## generated by CF_MAKE_DOCS
.SUFFIXES : .html .1 .man .ps .pdf .txt .SUFFIXES : .html .1 .man .ps .pdf .txt
.1.html : ${NROFF_NOTE}.1.txt :
GROFF_NO_SGR=stupid $(SHELL) -c "tbl $*.1 | groff -P -o0 -Ic_count,1_ -Th ${NROFF_NOTE} \$(SHELL) -c "tbl \$*.1 | nroff -man | col -bx" >\$@
tml -man" >$@
.1.ps :
$(SHELL) -c "tbl $*.1 | groff -man" >$@
.1.txt : ${GROFF_NOTE}.ps.pdf :
GROFF_NO_SGR=stupid $(SHELL) -c "tbl $*.1 | nroff -Tascii -man | col -bx" ${GROFF_NOTE} ps2pdf \$*.ps
>$@ ${GROFF_NOTE}
${GROFF_NOTE}.1.ps :
${GROFF_NOTE} \$(SHELL) -c "tbl \$*.1 | groff -man" >\$@
${GROFF_NOTE}
${GROFF_NOTE}.1.txt :
${GROFF_NOTE} GROFF_NO_SGR=stupid \$(SHELL) -c "tbl \$*.1 | nroff -Tascii -man
| col -bx" >\$@
.ps.pdf : ${MAN2HTML_NOTE}.1.html :
ps2pdf $*.ps ${MAN2HTML_NOTE} ./${MAN2HTML_TEMP} \$* 1 man >\$@
CF_EOF CF_EOF
cf_make_docs=1 cf_make_docs=1
fi fi
for cf_name in c_count for cf_name in c_count
do do
cat >>$cf_output <<CF_EOF cat >>$cf_output <<CF_EOF
################################################################################ ################################################################################
docs-$cf_name \\ ${NROFF_NOTE}docs docs-$cf_name :: $cf_name.txt
docs :: $cf_name.html \\ ${MAN2HTML_NOTE}docs docs-$cf_name :: $cf_name.html
$cf_name.pdf \\ ${GROFF_NOTE}docs docs-$cf_name :: $cf_name.pdf
$cf_name.ps \\ ${GROFF_NOTE}docs docs-$cf_name :: $cf_name.ps
$cf_name.txt ${GROFF_NOTE}docs docs-$cf_name :: $cf_name.txt
clean \\ clean \\
docs-clean :: docs-clean ::
rm -f $cf_name.html $cf_name.pdf $cf_name.ps $cf_name.txt ${NROFF_NOTE} rm -f $cf_name.txt
${MAN2HTML_NOTE} rm -f $cf_name.html
$cf_name.html : $cf_name.\1 ${GROFF_NOTE} rm -f $cf_name.pdf
$cf_name.pdf : $cf_name.ps ${GROFF_NOTE} rm -f $cf_name.ps
$cf_name.ps : $cf_name.\1 ${GROFF_NOTE} rm -f $cf_name.txt
$cf_name.txt : $cf_name.\1
${NROFF_NOTE}$cf_name.txt : $cf_name.1
${MAN2HTML_NOTE}$cf_name.html : $cf_name.1
${GROFF_NOTE}$cf_name.pdf : $cf_name.ps
${GROFF_NOTE}$cf_name.ps : $cf_name.1
${GROFF_NOTE}$cf_name.txt : $cf_name.1
CF_EOF CF_EOF
done done
;;
esac
done
EOF
cat >>$CONFIG_STATUS <<\EOF
{ (exit 0); exit 0; }
EOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save
# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
# by configure, so config.status won't be able to write to it; its
# output is simply discarded. So we exec the FD to /dev/null,
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status. When coming back to configure, we
# need to make the FD available again.
if test "$no_create" != yes; then
ac_cs_success=:
exec 5>/dev/null
$SHELL $CONFIG_STATUS || ac_cs_success=false
exec 5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
# would make configure fail if this is the last instruction.
$ac_cs_success || { (exit 1); exit 1; }
fi
 End of changes. 395 change blocks. 
509 lines changed or deleted 897 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS