"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
c_count-7.17.tgz and c_count-7.18.tgz

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

configure  (c_count-7.17.tgz):configure  (c_count-7.18.tgz)
#! /bin/sh #! /bin/sh
# From configure.in Revision: 7.16 . # From configure.in Revision: 7.16 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by Autoconf 2.52.20141204. # Generated by Autoconf 2.52.20170501.
# #
# 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 731 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.20141204. Invocation command line was generated by GNU Autoconf 2.52.20170501. Invocation command line was
$ $0 $@ $ $0 $@
EOF EOF
{ {
cat <<_ASUNAME cat <<_ASUNAME
## ---------- ## ## ---------- ##
## Platform. ## ## Platform. ##
## ---------- ## ## ---------- ##
skipping to change at line 1427 skipping to change at line 1427
(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:1419: \$? = $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 1423 "configure" #line 1423 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main (void)
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
ac_clean_files_save=$ac_clean_files ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.exe" ac_clean_files="$ac_clean_files a.out a.exe"
# Try to create an executable without -o first, disregard a.out. # Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition # It will help us diagnose broken compilers, and finding out an intuition
skipping to change at line 1558 skipping to change at line 1558
echo "$as_me:1548: 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 1554 "configure" #line 1554 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main (void)
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.o conftest.obj rm -f conftest.o conftest.obj
if { (eval echo "$as_me:1566: \"$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=$?
skipping to change at line 1602 skipping to change at line 1602
echo "$as_me:1592: 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 1598 "configure" #line 1598 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main (void)
{ {
#ifndef __GNUC__ #ifndef __GNUC__
choke me choke me
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
skipping to change at line 1650 skipping to change at line 1650
echo "$as_me:1640: 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 1646 "configure" #line 1646 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main (void)
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:1658: \"$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=$?
skipping to change at line 1730 skipping to change at line 1730
'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 1725 "configure" #line 1725 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
$ac_declaration $ac_declaration
int int
main () main (void)
{ {
exit (42); exit (42);
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:1738: \"$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=$?
skipping to change at line 1761 skipping to change at line 1761
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 1757 "configure" #line 1757 "configure"
#include "confdefs.h" #include "confdefs.h"
$ac_declaration $ac_declaration
int int
main () main (void)
{ {
exit (42); exit (42);
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
if { (eval echo "$as_me:1769: \"$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=$?
skipping to change at line 1878 skipping to change at line 1878
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 lint cppcheck splint
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
echo "$as_me:1882: 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.
skipping to change at line 2141 skipping to change at line 2141
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:2138: 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 case "$CC" in
(*[\ \ ]-[IUD]*) (*[\ \ ]-*)
echo "$as_me:2142: result: broken" >&5 echo "$as_me:2142: result: broken" >&5
echo "${ECHO_T}broken" >&6 echo "${ECHO_T}broken" >&6
{ echo "$as_me:2144: 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_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*
CC=`echo "$CC" | sed -e 's/[ ].*//'` [ ]-[^ ].*//'`
cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", sub
str($0,1+length(prog))); }'`
CC="$cf_prog"
for cf_arg in $cf_flags
do
case "x$cf_arg" in
(x-[IUDfgOW]*)
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_arg
do do
case $cf_fix_cppflags in case $cf_fix_cppflags in
(no) (no)
case $cf_add_cflags in case $cf_add_cflags in
(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) (-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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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) (*$cf_add_cflags)
;; ;;
(*) (*)
case $cf_add_cflags in 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"
test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
;; ;;
esac esac
;; ;;
(*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags"
test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_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"
test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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
if test -n "$cf_new_cflags" ; then if test -n "$cf_new_cflags" ; then
CFLAGS="$CFLAGS $cf_new_cflags" test -n "$CFLAGS" && CFLAGS="$CFLAGS "
CFLAGS="${CFLAGS}$cf_new_cflags"
fi fi
if test -n "$cf_new_cppflags" ; then if test -n "$cf_new_cppflags" ; then
CPPFLAGS="$CPPFLAGS $cf_new_cppflags" test -n "$CPPFLAGS" && CPPFLAGS="$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" test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
;;
(*)
CC="$CC $cf_arg"
;;
esac
done
test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6
echo "${as_me:-configure}:2261: testing resulting CC: '$CC' ..." 1>&5
test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6
echo "${as_me:-configure}:2265: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5
test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6
echo "${as_me:-configure}:2269: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&
5
;; ;;
(*) (*)
echo "$as_me:2230: result: ok" >&5 echo "$as_me:2273: result: ok" >&5
echo "${ECHO_T}ok" >&6 echo "${ECHO_T}ok" >&6
;; ;;
esac esac
echo "$as_me:2235: checking for ${CC:-cc} option to accept ANSI C" >&5 echo "$as_me:2278: 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 2280 skipping to change at line 2323
(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) (-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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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) (*$cf_add_cflags)
;; ;;
(*) (*)
case $cf_add_cflags in 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"
test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
;; ;;
esac esac
;; ;;
(*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags"
test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_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"
test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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
if test -n "$cf_new_cflags" ; then if test -n "$cf_new_cflags" ; then
CFLAGS="$CFLAGS $cf_new_cflags" test -n "$CFLAGS" && CFLAGS="$CFLAGS "
CFLAGS="${CFLAGS}$cf_new_cflags"
fi fi
if test -n "$cf_new_cppflags" ; then if test -n "$cf_new_cppflags" ; then
CPPFLAGS="$CPPFLAGS $cf_new_cppflags" test -n "$CPPFLAGS" && CPPFLAGS="$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" test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line 2339 "configure" #line 2402 "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 (void)
{ {
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:2360: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2423: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2363: \$? = $ac_status" >&5 echo "$as_me:2426: \$? = $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:2366: \"$ac_try\"") >&5 { (eval echo "$as_me:2429: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2369: \$? = $ac_status" >&5 echo "$as_me:2432: \$? = $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:2382: result: $cf_cv_ansi_cc" >&5 echo "$as_me:2445: 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=
skipping to change at line 2408 skipping to change at line 2471
(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) (-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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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) (*$cf_add_cflags)
;; ;;
(*) (*)
case $cf_add_cflags in 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"
test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
;; ;;
esac esac
;; ;;
(*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags"
test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_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"
test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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
if test -n "$cf_new_cflags" ; then if test -n "$cf_new_cflags" ; then
CFLAGS="$CFLAGS $cf_new_cflags" test -n "$CFLAGS" && CFLAGS="$CFLAGS "
CFLAGS="${CFLAGS}$cf_new_cflags"
fi fi
if test -n "$cf_new_cppflags" ; then if test -n "$cf_new_cppflags" ; then
CPPFLAGS="$CPPFLAGS $cf_new_cppflags" test -n "$CPPFLAGS" && CPPFLAGS="$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" test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
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:2476: error: Your compiler does not appear to recognize prototypes. { { echo "$as_me:2559: 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:2489: checking for $CC option to accept ANSI C" >&5 echo "$as_me:2572: 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 2497 "configure" #line 2580 "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 2528 skipping to change at line 2611
va_end (v); va_end (v);
return s; return s;
} }
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);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i nt); int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i nt);
int argc; int argc;
char **argv; char **argv;
int int
main () main (void)
{ {
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
# 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.
# 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:2546: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2629: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2549: \$? = $ac_status" >&5 echo "$as_me:2632: \$? = $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:2552: \"$ac_try\"") >&5 { (eval echo "$as_me:2635: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2555: \$? = $ac_status" >&5 echo "$as_me:2638: \$? = $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:2572: result: none needed" >&5 echo "$as_me:2655: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;; echo "${ECHO_T}none needed" >&6 ;;
*) *)
echo "$as_me:2575: result: $ac_cv_prog_cc_stdc" >&5 echo "$as_me:2658: 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:2580: checking for an ANSI C-conforming const" >&5 echo "$as_me:2663: 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 2586 "configure" #line 2669 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main (void)
{ {
/* 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;
/* SunOS 4.1.1 cc rejects this. */ /* SunOS 4.1.1 cc rejects this. */
char const *const *ccp; char const *const *ccp;
char **p; char **p;
/* NEC SVR4.0.2 mips cc rejects this. */ /* NEC SVR4.0.2 mips cc rejects this. */
skipping to change at line 2644 skipping to change at line 2727
{ /* 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:2644: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2727: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2647: \$? = $ac_status" >&5 echo "$as_me:2730: \$? = $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:2650: \"$ac_try\"") >&5 { (eval echo "$as_me:2733: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2653: \$? = $ac_status" >&5 echo "$as_me:2736: \$? = $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:2663: result: $ac_cv_c_const" >&5 echo "$as_me:2746: 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:2675: checking version of $CC" >&5 echo "$as_me:2758: 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:2679: result: $GCC_VERSION" >&5 echo "$as_me:2762: 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:2685: checking if you want to turn on gcc warnings" >&5 echo "$as_me:2768: 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:2702: result: $with_warnings" >&5 echo "$as_me:2785: 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 2725 skipping to change at line 2808
#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:2725: checking for $CC __attribute__ directives..." >&5 { echo "$as_me:2808: 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 2728 "${as_me:-configure}" #line 2811 "${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 2777 skipping to change at line 2860
#define GCC_$cf_ATTRIBUTE 1 #define GCC_$cf_ATTRIBUTE 1
EOF EOF
;; ;;
(*) (*)
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:2777: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2860: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2780: \$? = $ac_status" >&5 echo "$as_me:2863: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
test -n "$verbose" && echo "$as_me:2782: result: ... $cf_ attribute" >&5 test -n "$verbose" && echo "$as_me:2865: 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 case $cf_attribute in
(noreturn) (noreturn)
cat >>confdefs.h <<EOF cat >>confdefs.h <<EOF
#define GCC_NORETURN $cf_directive #define GCC_NORETURN $cf_directive
EOF EOF
;; ;;
skipping to change at line 2846 skipping to change at line 2929
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:2846: checking if this is really Intel C compiler" > &5 echo "$as_me:2929: checking if this is really Intel C compiler" > &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 2851 "configure" #line 2934 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main (void)
{ {
#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:2868: \"$ac_compile\"") >&5 if { (eval echo "$as_me:2951: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2871: \$? = $ac_status" >&5 echo "$as_me:2954: \$? = $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:2874: \"$ac_try\"") >&5 { (eval echo "$as_me:2957: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2877: \$? = $ac_status" >&5 echo "$as_me:2960: \$? = $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:2888: result: $INTEL_COMPILER" >&5 echo "$as_me:2971: 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:2897: checking if this is really Clang C compiler" >&5 echo "$as_me:2980: 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 2902 "configure" #line 2985 "configure"
#include "confdefs.h" #include "confdefs.h"
int int
main () main (void)
{ {
#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:2919: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3002: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2922: \$? = $ac_status" >&5 echo "$as_me:3005: \$? = $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:2925: \"$ac_try\"") >&5 { (eval echo "$as_me:3008: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2928: \$? = $ac_status" >&5 echo "$as_me:3011: \$? = $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:2939: result: $CLANG_COMPILER" >&5 echo "$as_me:3022: 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 2944 "${as_me:-configure}" #line 3027 "${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:2961: checking for $CC warning options..." >&5 { echo "$as_me:3044: 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:2977: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3060: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:2980: \$? = $ac_status" >&5 echo "$as_me:3063: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
test -n "$verbose" && echo "$as_me:2982: result: ... -$cf _opt" >&5 test -n "$verbose" && echo "$as_me:3065: 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:2991: checking for $CC warning options..." >&5 { echo "$as_me:3074: 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 3015 skipping to change at line 3098
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:3015: \"$ac_compile\"") >&5 if { (eval echo "$as_me:3098: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3018: \$? = $ac_status" >&5 echo "$as_me:3101: \$? = $ac_status" >&5
(exit $ac_status); }; then (exit $ac_status); }; then
test -n "$verbose" && echo "$as_me:3020: result: ... -$cf _opt" >&5 test -n "$verbose" && echo "$as_me:3103: result: ... -$cf _opt" >&5
echo "${ECHO_T}... -$cf_opt" >&6 echo "${ECHO_T}... -$cf_opt" >&6
case $cf_opt in case $cf_opt in
(Wcast-qual) (Wcast-qual)
CPPFLAGS="$CPPFLAGS -DXTSTRINGDEFINES" CPPFLAGS="$CPPFLAGS -DXTSTRINGDEFINES"
;; ;;
(Winline) (Winline)
case $GCC_VERSION in case $GCC_VERSION in
([34].*) ([34].*)
test -n "$verbose" && echo " feature i s broken in gcc $GCC_VERSION" 1>&6 test -n "$verbose" && echo " feature i s broken in gcc $GCC_VERSION" 1>&6
echo "${as_me:-configure}:3031: testing feature is broken in gcc $GCC_VERSION .. ." 1>&5 echo "${as_me:-configure}:3114: testing feature is broken in gcc $GCC_VERSION .. ." 1>&5
continue;; continue;;
esac esac
;; ;;
(Wpointer-arith) (Wpointer-arith)
case $GCC_VERSION in case $GCC_VERSION in
([12].*) ([12].*)
test -n "$verbose" && echo " feature i s broken in gcc $GCC_VERSION" 1>&6 test -n "$verbose" && echo " feature i s broken in gcc $GCC_VERSION" 1>&6
echo "${as_me:-configure}:3041: testing feature is broken in gcc $GCC_VERSION .. ." 1>&5 echo "${as_me:-configure}:3124: 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:3057: checking if you want to see long compiling messages" >&5 echo "$as_me:3140: checking if you want to see long compiling messages" >&5
echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >& 6 echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >& 6
# Check whether --enable-echo or --disable-echo was given. # Check whether --enable-echo or --disable-echo was given.
if test "${enable_echo+set}" = set; then if test "${enable_echo+set}" = set; then
enableval="$enable_echo" enableval="$enable_echo"
test "$enableval" != no && enableval=yes test "$enableval" != no && enableval=yes
if test "$enableval" != "yes" ; then if test "$enableval" != "yes" ; then
ECHO_LT='--silent' ECHO_LT='--silent'
ECHO_LD='@echo linking $@;' ECHO_LD='@echo linking $@;'
skipping to change at line 3091 skipping to change at line 3174
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:3091: result: $enableval" >&5 echo "$as_me:3174: 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
skipping to change at line 3118 skipping to change at line 3201
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:3118: checking how to run the C preprocessor" >&5 echo "$as_me:3201: 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 3139 "configure" #line 3222 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax error Syntax error
_ACEOF _ACEOF
if { (eval echo "$as_me:3144: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3227: \"$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:3150: \$? = $ac_status" >&5 echo "$as_me:3233: \$? = $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 3173 skipping to change at line 3256
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 3173 "configure" #line 3256 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ac_nonexistent.h> #include <ac_nonexistent.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:3177: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3260: \"$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:3183: \$? = $ac_status" >&5 echo "$as_me:3266: \$? = $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 3220 skipping to change at line 3303
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:3220: result: $CPP" >&5 echo "$as_me:3303: 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 3230 "configure" #line 3313 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax error Syntax error
_ACEOF _ACEOF
if { (eval echo "$as_me:3235: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3318: \"$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:3241: \$? = $ac_status" >&5 echo "$as_me:3324: \$? = $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 3264 skipping to change at line 3347
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 3264 "configure" #line 3347 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ac_nonexistent.h> #include <ac_nonexistent.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:3268: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3351: \"$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:3274: \$? = $ac_status" >&5 echo "$as_me:3357: \$? = $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 3302 skipping to change at line 3385
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:3302: error: C preprocessor \"$CPP\" fails sanity check" >&5 { { echo "$as_me:3385: 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:3314: checking if you want to use dmalloc for testing" >&5 echo "$as_me:3397: 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:3331: result: ${with_dmalloc:-no}" >&5 echo "$as_me:3414: result: ${with_dmalloc:-no}" >&5
echo "${ECHO_T}${with_dmalloc:-no}" >&6 echo "${ECHO_T}${with_dmalloc:-no}" >&6
case .$with_cflags in case .$with_cflags in
(.*-g*) (.*-g*)
case .$CFLAGS in case .$CFLAGS in
(.*-g*) (.*-g*)
;; ;;
(*) (*)
cf_fix_cppflags=no cf_fix_cppflags=no
skipping to change at line 3361 skipping to change at line 3444
(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) (-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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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) (*$cf_add_cflags)
;; ;;
(*) (*)
case $cf_add_cflags in 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"
test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
;; ;;
esac esac
;; ;;
(*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags"
test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_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"
test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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
if test -n "$cf_new_cflags" ; then if test -n "$cf_new_cflags" ; then
CFLAGS="$CFLAGS $cf_new_cflags" test -n "$CFLAGS" && CFLAGS="$CFLAGS "
CFLAGS="${CFLAGS}$cf_new_cflags"
fi fi
if test -n "$cf_new_cppflags" ; then if test -n "$cf_new_cppflags" ; then
CPPFLAGS="$CPPFLAGS $cf_new_cppflags" test -n "$CPPFLAGS" && CPPFLAGS="$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" test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
;; ;;
esac esac
;; ;;
esac esac
if test "$with_dmalloc" = yes ; then if test "$with_dmalloc" = yes ; then
echo "$as_me:3425: checking for dmalloc.h" >&5 echo "$as_me:3528: 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 3431 "configure" #line 3534 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <dmalloc.h> #include <dmalloc.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:3435: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3538: \"$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:3441: \$? = $ac_status" >&5 echo "$as_me:3544: \$? = $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:3460: result: $ac_cv_header_dmalloc_h" >&5 echo "$as_me:3563: 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:3464: checking for dmalloc_debug in -ldmalloc" >&5 echo "$as_me:3567: 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 3472 "configure" #line 3575 "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 (void)
{ {
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:3491: \"$ac_link\"") >&5 if { (eval echo "$as_me:3594: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3494: \$? = $ac_status" >&5 echo "$as_me:3597: \$? = $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:3497: \"$ac_try\"") >&5 { (eval echo "$as_me:3600: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3500: \$? = $ac_status" >&5 echo "$as_me:3603: \$? = $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:3511: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 echo "$as_me:3614: 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:3526: checking if you want to use dbmalloc for testing" >&5 echo "$as_me:3629: 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:3543: result: ${with_dbmalloc:-no}" >&5 echo "$as_me:3646: result: ${with_dbmalloc:-no}" >&5
echo "${ECHO_T}${with_dbmalloc:-no}" >&6 echo "${ECHO_T}${with_dbmalloc:-no}" >&6
case .$with_cflags in case .$with_cflags in
(.*-g*) (.*-g*)
case .$CFLAGS in case .$CFLAGS in
(.*-g*) (.*-g*)
;; ;;
(*) (*)
cf_fix_cppflags=no cf_fix_cppflags=no
skipping to change at line 3573 skipping to change at line 3676
(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) (-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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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) (*$cf_add_cflags)
;; ;;
(*) (*)
case $cf_add_cflags in 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"
test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
;; ;;
esac esac
;; ;;
(*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags"
test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_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"
test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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
if test -n "$cf_new_cflags" ; then if test -n "$cf_new_cflags" ; then
CFLAGS="$CFLAGS $cf_new_cflags" test -n "$CFLAGS" && CFLAGS="$CFLAGS "
CFLAGS="${CFLAGS}$cf_new_cflags"
fi fi
if test -n "$cf_new_cppflags" ; then if test -n "$cf_new_cppflags" ; then
CPPFLAGS="$CPPFLAGS $cf_new_cppflags" test -n "$CPPFLAGS" && CPPFLAGS="$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" test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
;; ;;
esac esac
;; ;;
esac esac
if test "$with_dbmalloc" = yes ; then if test "$with_dbmalloc" = yes ; then
echo "$as_me:3637: checking for dbmalloc.h" >&5 echo "$as_me:3760: 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 3643 "configure" #line 3766 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <dbmalloc.h> #include <dbmalloc.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:3647: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:3770: \"$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:3653: \$? = $ac_status" >&5 echo "$as_me:3776: \$? = $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:3672: result: $ac_cv_header_dbmalloc_h" >&5 echo "$as_me:3795: 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:3676: checking for debug_malloc in -ldbmalloc" >&5 echo "$as_me:3799: 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 3684 "configure" #line 3807 "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 (void)
{ {
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:3703: \"$ac_link\"") >&5 if { (eval echo "$as_me:3826: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3706: \$? = $ac_status" >&5 echo "$as_me:3829: \$? = $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:3709: \"$ac_try\"") >&5 { (eval echo "$as_me:3832: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:3712: \$? = $ac_status" >&5 echo "$as_me:3835: \$? = $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:3723: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 echo "$as_me:3846: 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:3738: checking if you want to use valgrind for testing" >&5 echo "$as_me:3861: 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:3755: result: ${with_valgrind:-no}" >&5 echo "$as_me:3878: result: ${with_valgrind:-no}" >&5
echo "${ECHO_T}${with_valgrind:-no}" >&6 echo "${ECHO_T}${with_valgrind:-no}" >&6
case .$with_cflags in case .$with_cflags in
(.*-g*) (.*-g*)
case .$CFLAGS in case .$CFLAGS in
(.*-g*) (.*-g*)
;; ;;
(*) (*)
cf_fix_cppflags=no cf_fix_cppflags=no
skipping to change at line 3785 skipping to change at line 3908
(-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) (-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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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" test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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) (*$cf_add_cflags)
;; ;;
(*) (*)
case $cf_add_cflags in 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"
test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
;; ;;
esac esac
;; ;;
(*) (*)
cf_new_cflags="$cf_new_cflags $cf_add_cflags"
test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_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"
test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_
cppflags "
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
if test -n "$cf_new_cflags" ; then if test -n "$cf_new_cflags" ; then
CFLAGS="$CFLAGS $cf_new_cflags" test -n "$CFLAGS" && CFLAGS="$CFLAGS "
CFLAGS="${CFLAGS}$cf_new_cflags"
fi fi
if test -n "$cf_new_cppflags" ; then if test -n "$cf_new_cppflags" ; then
CPPFLAGS="$CPPFLAGS $cf_new_cppflags" test -n "$CPPFLAGS" && CPPFLAGS="$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" test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
fi fi
;; ;;
esac esac
;; ;;
esac esac
echo "$as_me:3848: checking if you want to perform memory-leak testing" >&5 echo "$as_me:3991: 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:3858: result: $with_no_leaks" >&5 echo "$as_me:4001: 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
# Extract the first word of "groff", so it can be a program name with args. # Extract the first word of "groff", so it can be a program name with args.
set dummy groff; ac_word=$2 set dummy groff; ac_word=$2
echo "$as_me:3875: checking for $ac_word" >&5 echo "$as_me:4018: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_GROFF_PATH+set}" = set; then if test "${ac_cv_path_GROFF_PATH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $GROFF_PATH in case $GROFF_PATH in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_GROFF_PATH="$GROFF_PATH" # Let the user override the test with a pa th. 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_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_GROFF_PATH="$ac_dir/$ac_word" ac_cv_path_GROFF_PATH="$ac_dir/$ac_word"
echo "$as_me:3892: found $ac_dir/$ac_word" >&5 echo "$as_me:4035: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
test -z "$ac_cv_path_GROFF_PATH" && ac_cv_path_GROFF_PATH="no" test -z "$ac_cv_path_GROFF_PATH" && ac_cv_path_GROFF_PATH="no"
;; ;;
esac esac
fi fi
GROFF_PATH=$ac_cv_path_GROFF_PATH GROFF_PATH=$ac_cv_path_GROFF_PATH
if test -n "$GROFF_PATH"; then if test -n "$GROFF_PATH"; then
echo "$as_me:3904: result: $GROFF_PATH" >&5 echo "$as_me:4047: result: $GROFF_PATH" >&5
echo "${ECHO_T}$GROFF_PATH" >&6 echo "${ECHO_T}$GROFF_PATH" >&6
else else
echo "$as_me:3907: result: no" >&5 echo "$as_me:4050: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
# Extract the first word of "nroff", so it can be a program name with args. for ac_prog in nroff mandoc
set dummy nroff; ac_word=$2 do
echo "$as_me:3913: checking for $ac_word" >&5 # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:4058: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_NROFF_PATH+set}" = set; then if test "${ac_cv_path_NROFF_PATH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $NROFF_PATH in case $NROFF_PATH in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_NROFF_PATH="$NROFF_PATH" # Let the user override the test with a pa th. 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_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_NROFF_PATH="$ac_dir/$ac_word" ac_cv_path_NROFF_PATH="$ac_dir/$ac_word"
echo "$as_me:3930: found $ac_dir/$ac_word" >&5 echo "$as_me:4075: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
test -z "$ac_cv_path_NROFF_PATH" && ac_cv_path_NROFF_PATH="no"
;; ;;
esac esac
fi fi
NROFF_PATH=$ac_cv_path_NROFF_PATH NROFF_PATH=$ac_cv_path_NROFF_PATH
if test -n "$NROFF_PATH"; then if test -n "$NROFF_PATH"; then
echo "$as_me:3942: result: $NROFF_PATH" >&5 echo "$as_me:4086: result: $NROFF_PATH" >&5
echo "${ECHO_T}$NROFF_PATH" >&6 echo "${ECHO_T}$NROFF_PATH" >&6
else else
echo "$as_me:3945: result: no" >&5 echo "$as_me:4089: result: no" >&5
echo "${ECHO_T}no" >&6
fi
test -n "$NROFF_PATH" && break
done
test -n "$NROFF_PATH" || NROFF_PATH="no"
# Extract the first word of "tbl", so it can be a program name with args.
set dummy tbl; ac_word=$2
echo "$as_me:4099: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_TBL_PATH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $TBL_PATH in
[\\/]* | ?:[\\/]*)
ac_cv_path_TBL_PATH="$TBL_PATH" # 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_TBL_PATH="$ac_dir/$ac_word"
echo "$as_me:4116: found $ac_dir/$ac_word" >&5
break
fi
done
test -z "$ac_cv_path_TBL_PATH" && ac_cv_path_TBL_PATH="cat"
;;
esac
fi
TBL_PATH=$ac_cv_path_TBL_PATH
if test -n "$TBL_PATH"; then
echo "$as_me:4128: result: $TBL_PATH" >&5
echo "${ECHO_T}$TBL_PATH" >&6
else
echo "$as_me:4131: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
if test "x$GROFF_PATH" = xno if test "x$GROFF_PATH" = xno
then then
NROFF_NOTE= NROFF_NOTE=
GROFF_NOTE="#" GROFF_NOTE="#"
else else
NROFF_NOTE="#" NROFF_NOTE="#"
GROFF_NOTE= GROFF_NOTE=
fi fi
echo "$as_me:3958: checking for program to convert manpage to html" >&5 case "x${with_man2html}" in
(xno)
cf_man2html=no
;;
(x|xyes)
# Extract the first word of "man2html", so it can be a program name with
args.
set dummy man2html; ac_word=$2
echo "$as_me:4151: 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:4168: 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:4180: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6
else
echo "$as_me:4183: result: no" >&5
echo "${ECHO_T}no" >&6
fi
case "x$cf_man2html" in
(x/*)
echo "$as_me:4189: checking for the modified Earl Hood script" >&
5
echo $ECHO_N "checking for the modified Earl Hood script... $ECHO_C" >&6
if ( $cf_man2html -help 2>&1 | grep 'Make an index of headers at
the end' >/dev/null )
then
cf_man2html_ok=yes
else
cf_man2html=no
cf_man2html_ok=no
fi
echo "$as_me:4198: result: $cf_man2html_ok" >&5
echo "${ECHO_T}$cf_man2html_ok" >&6
;;
(*)
cf_man2html=no
;;
esac
esac
echo "$as_me:4207: checking for program to convert manpage to html" >&5
echo $ECHO_N "checking for program to convert manpage to html... $ECHO_C" >&6 echo $ECHO_N "checking for program to convert manpage to html... $ECHO_C" >&6
# Check whether --with-man2html or --without-man2html was given. # Check whether --with-man2html or --without-man2html was given.
if test "${with_man2html+set}" = set; then if test "${with_man2html+set}" = set; then
withval="$with_man2html" withval="$with_man2html"
cf_man2html=$withval cf_man2html=$withval
else else
cf_man2html=$GROFF_PATH cf_man2html=$cf_man2html
fi; fi;
cf_with_groff=no cf_with_groff=no
case $cf_man2html in case $cf_man2html in
(yes) (yes)
echo "$as_me:3973: result: man2html" >&5 echo "$as_me:4222: result: man2html" >&5
echo "${ECHO_T}man2html" >&6 echo "${ECHO_T}man2html" >&6
# Extract the first word of "man2html", so it can be a program name with args. # Extract the first word of "man2html", so it can be a program name with args.
set dummy man2html; ac_word=$2 set dummy man2html; ac_word=$2
echo "$as_me:3977: checking for $ac_word" >&5 echo "$as_me:4226: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_cf_man2html+set}" = set; then if test "${ac_cv_path_cf_man2html+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
case $cf_man2html in case $cf_man2html in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_cf_man2html="$cf_man2html" # Let the user override the test with a path. 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_save_IFS=$IFS; IFS=$ac_path_separator
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
IFS=$ac_save_IFS IFS=$ac_save_IFS
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_cf_man2html="$ac_dir/$ac_word" ac_cv_path_cf_man2html="$ac_dir/$ac_word"
echo "$as_me:3994: found $ac_dir/$ac_word" >&5 echo "$as_me:4243: found $ac_dir/$ac_word" >&5
break break
fi fi
done done
test -z "$ac_cv_path_cf_man2html" && ac_cv_path_cf_man2html="no" test -z "$ac_cv_path_cf_man2html" && ac_cv_path_cf_man2html="no"
;; ;;
esac esac
fi fi
cf_man2html=$ac_cv_path_cf_man2html cf_man2html=$ac_cv_path_cf_man2html
if test -n "$cf_man2html"; then if test -n "$cf_man2html"; then
echo "$as_me:4006: result: $cf_man2html" >&5 echo "$as_me:4255: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6 echo "${ECHO_T}$cf_man2html" >&6
else else
echo "$as_me:4009: result: no" >&5 echo "$as_me:4258: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
fi fi
;; ;;
(no|groff|*/groff*) (no|groff|*/groff*)
cf_with_groff=yes cf_with_groff=yes
cf_man2html=$GROFF_PATH cf_man2html=$GROFF_PATH
echo "$as_me:4017: result: $cf_man2html" >&5 echo "$as_me:4266: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6 echo "${ECHO_T}$cf_man2html" >&6
;; ;;
(*) (*)
echo "$as_me:4021: result: $cf_man2html" >&5 echo "$as_me:4270: result: $cf_man2html" >&5
echo "${ECHO_T}$cf_man2html" >&6 echo "${ECHO_T}$cf_man2html" >&6
;; ;;
esac esac
MAN2HTML_TEMP="man2html.tmp" MAN2HTML_TEMP="man2html.tmp"
cat >$MAN2HTML_TEMP <<CF_EOF cat >$MAN2HTML_TEMP <<CF_EOF
#!$SHELL #!$SHELL
# Temporary script generated by CF_WITH_MAN2HTML # Temporary script generated by CF_WITH_MAN2HTML
# Convert inputs to html, sending result to standard output. # Convert inputs to html, sending result to standard output.
# #
skipping to change at line 4055 skipping to change at line 4304
GROFF_NO_SGR=stupid GROFF_NO_SGR=stupid
export GROFF_NO_SGR export GROFF_NO_SGR
CF_EOF CF_EOF
if test "x$cf_with_groff" = xyes if test "x$cf_with_groff" = xyes
then then
MAN2HTML_NOTE="$GROFF_NOTE" MAN2HTML_NOTE="$GROFF_NOTE"
MAN2HTML_PATH="$GROFF_PATH" MAN2HTML_PATH="$GROFF_PATH"
cat >>$MAN2HTML_TEMP <<CF_EOF cat >>$MAN2HTML_TEMP <<CF_EOF
$SHELL -c "tbl \${ROOT}.\${TYPE} | $GROFF_PATH -P -o0 -I\${ROOT}_ -Thtml -\${MAC S}" $SHELL -c "$TBL_PATH \${ROOT}.\${TYPE} | $GROFF_PATH -P -o0 -I\${ROOT}_ -Thtml - \${MACS}"
CF_EOF CF_EOF
else else
MAN2HTML_NOTE="" MAN2HTML_NOTE=""
if test "x$prefix" != xNONE; then if test "x$prefix" != xNONE; then
cf_path_syntax="$prefix" cf_path_syntax="$prefix"
else else
cf_path_syntax="$ac_default_prefix" cf_path_syntax="$ac_default_prefix"
fi fi
skipping to change at line 4085 skipping to change at line 4334
case ".$cf_man2html" in case ".$cf_man2html" in
(.NONE/*) (.NONE/*)
cf_man2html=`echo $cf_man2html | sed -e s%NONE%$cf_path_syntax%` cf_man2html=`echo $cf_man2html | sed -e s%NONE%$cf_path_syntax%`
;; ;;
esac esac
;; ;;
(.no|.NONE/*) (.no|.NONE/*)
cf_man2html=`echo $cf_man2html | sed -e s%NONE%$cf_path_syntax%` 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:4334: error: expected a pathname, not \"$cf_man2html\"" >&5
echo "$as_me: error: expected a pathname, not \"$cf_man2html\"" >&2;} echo "$as_me: error: expected a pathname, not \"$cf_man2html\"" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; ;;
esac esac
MAN2HTML_PATH="$cf_man2html" MAN2HTML_PATH="$cf_man2html"
echo "$as_me:4092: checking for $cf_man2html top/bottom margins" >&5 echo "$as_me:4341: checking for $cf_man2html top/bottom margins" >&5
echo $ECHO_N "checking for $cf_man2html top/bottom margins... $ECHO_C" >&6 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 # for this example, expect 3 lines of content, the remainder is head/foot
cat >conftest.in <<CF_EOF cat >conftest.in <<CF_EOF
.TH HEAD1 HEAD2 HEAD3 HEAD4 HEAD5 .TH HEAD1 HEAD2 HEAD3 HEAD4 HEAD5
.SH SECTION .SH SECTION
MARKER MARKER
CF_EOF CF_EOF
LC_ALL=C LC_CTYPE=C LANG=C LANGUAGE=C nroff -man conftest.in >conftest.ou t LC_ALL=C LC_CTYPE=C LANG=C LANGUAGE=C $NROFF_PATH -man conftest.in >conft est.out
cf_man2html_1st=`fgrep -n MARKER conftest.out |sed -e 's/^[^0-9]*://' -e 's/:.*//'` 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_top=`expr $cf_man2html_1st - 2`
cf_man2html_bot=`wc -l conftest.out |sed -e 's/[^0-9]//g'` 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_bot=`expr $cf_man2html_bot - 2 - $cf_man2html_top`
cf_man2html_top_bot="-topm=$cf_man2html_top -botm=$cf_man2html_bot" cf_man2html_top_bot="-topm=$cf_man2html_top -botm=$cf_man2html_bot"
echo "$as_me:4110: result: $cf_man2html_top_bot" >&5 echo "$as_me:4359: result: $cf_man2html_top_bot" >&5
echo "${ECHO_T}$cf_man2html_top_bot" >&6 echo "${ECHO_T}$cf_man2html_top_bot" >&6
echo "$as_me:4113: checking for pagesize to use" >&5 echo "$as_me:4362: checking for pagesize to use" >&5
echo $ECHO_N "checking for pagesize to use... $ECHO_C" >&6 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 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 do
cat >>conftest.in <<CF_EOF cat >>conftest.in <<CF_EOF
.nf .nf
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
CF_EOF CF_EOF
done done
LC_ALL=C LC_CTYPE=C LANG=C LANGUAGE=C nroff -man conftest.in >conftest.ou t LC_ALL=C LC_CTYPE=C LANG=C LANGUAGE=C $NROFF_PATH -man conftest.in >conft est.out
cf_man2html_page=`fgrep -n HEAD1 conftest.out |tail -n 1 |sed -e 's/^[^0- 9]*://' -e 's/:.*//'` 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 -z "$cf_man2html_page" && cf_man2html_page=99999
test "$cf_man2html_page" -gt 100 && cf_man2html_page=99999 test "$cf_man2html_page" -gt 100 && cf_man2html_page=99999
rm -rf conftest* rm -rf conftest*
echo "$as_me:4138: result: $cf_man2html_page" >&5 echo "$as_me:4387: result: $cf_man2html_page" >&5
echo "${ECHO_T}$cf_man2html_page" >&6 echo "${ECHO_T}$cf_man2html_page" >&6
cat >>$MAN2HTML_TEMP <<CF_EOF cat >>$MAN2HTML_TEMP <<CF_EOF
: \${MAN2HTML_PATH=$MAN2HTML_PATH} : \${MAN2HTML_PATH=$MAN2HTML_PATH}
MAN2HTML_OPTS="\$MAN2HTML_OPTS -index -title="\$ROOT\(\$TYPE\)" -compress -pgsiz e $cf_man2html_page" MAN2HTML_OPTS="\$MAN2HTML_OPTS -index -title="\$ROOT\(\$TYPE\)" -compress -pgsiz e $cf_man2html_page"
case \${TYPE} in case \${TYPE} in
(ms) (ms)
tbl \${ROOT}.\${TYPE} | nroff -\${MACS} | \$MAN2HTML_PATH -topm=0 -botm=0 \$MAN2HTML_OPTS $TBL_PATH \${ROOT}.\${TYPE} | $NROFF_PATH -\${MACS} | \$MAN2HTML_PATH -to pm=0 -botm=0 \$MAN2HTML_OPTS
;; ;;
(*) (*)
tbl \${ROOT}.\${TYPE} | nroff -\${MACS} | \$MAN2HTML_PATH $cf_man2html_to p_bot \$MAN2HTML_OPTS $TBL_PATH \${ROOT}.\${TYPE} | $NROFF_PATH -\${MACS} | \$MAN2HTML_PATH $cf _man2html_top_bot \$MAN2HTML_OPTS
;; ;;
esac esac
CF_EOF CF_EOF
fi fi
chmod 700 $MAN2HTML_TEMP chmod 700 $MAN2HTML_TEMP
echo "$as_me:4157: checking for ANSI C header files" >&5 echo "$as_me:4406: 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 4163 "configure" #line 4412 "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:4171: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:4420: \"$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:4177: \$? = $ac_status" >&5 echo "$as_me:4426: \$? = $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 4199 skipping to change at line 4448
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 4199 "configure" #line 4448 "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 4217 "configure" #line 4466 "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 4238 "configure" #line 4487 "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))
#endif #endif
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int int
main () main (void)
{ {
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:4264: \"$ac_link\"") >&5 if { (eval echo "$as_me:4513: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4267: \$? = $ac_status" >&5 echo "$as_me:4516: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:4269: \"$ac_try\"") >&5 { (eval echo "$as_me:4518: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4272: \$? = $ac_status" >&5 echo "$as_me:4521: \$? = $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:4285: result: $ac_cv_header_stdc" >&5 echo "$as_me:4534: 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:4298: checking for $ac_header" >&5 echo "$as_me:4547: 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 4304 "configure" #line 4553 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_header> #include <$ac_header>
_ACEOF _ACEOF
if { (eval echo "$as_me:4308: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:4557: \"$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:4314: \$? = $ac_status" >&5 echo "$as_me:4563: \$? = $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:4333: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "$as_me:4582: 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:4346: checking for $ac_func" >&5 echo "$as_me:4595: 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 4352 "configure" #line 4601 "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. */
char $ac_func (); char $ac_func ();
char (*f) (); char (*f) ();
int int
main () main (void)
{ {
/* The GNU C library defines this for functions which it implements /* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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:4383: \"$ac_link\"") >&5 if { (eval echo "$as_me:4632: \"$ac_link\"") >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4386: \$? = $ac_status" >&5 echo "$as_me:4635: \$? = $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:4389: \"$ac_try\"") >&5 { (eval echo "$as_me:4638: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4392: \$? = $ac_status" >&5 echo "$as_me:4641: \$? = $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:4402: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "$as_me:4651: 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:4415: checking for $ac_header" >&5 echo "$as_me:4664: 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 4421 "configure" #line 4670 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_header> #include <$ac_header>
_ACEOF _ACEOF
if { (eval echo "$as_me:4425: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:4674: \"$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:4431: \$? = $ac_status" >&5 echo "$as_me:4680: \$? = $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:4450: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "$as_me:4699: 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:4460: checking for header declaring getopt variables" >&5 echo "$as_me:4709: 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 4470 "configure" #line 4719 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$cf_header> #include <$cf_header>
int int
main () main (void)
{ {
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:4483: \"$ac_compile\"") >&5 if { (eval echo "$as_me:4732: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4486: \$? = $ac_status" >&5 echo "$as_me:4735: \$? = $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:4489: \"$ac_try\"") >&5 { (eval echo "$as_me:4738: \"$ac_try\"") >&5
(eval $ac_try) 2>&5 (eval $ac_try) 2>&5
ac_status=$? ac_status=$?
echo "$as_me:4492: \$? = $ac_status" >&5 echo "$as_me:4741: \$? = $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:4504: result: $cf_cv_getopt_header" >&5 echo "$as_me:4753: 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 4610 skipping to change at line 4859
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:4610: creating $CONFIG_STATUS" >&5 { echo "$as_me:4859: 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 4742 skipping to change at line 4991
Configuration commands: Configuration commands:
$config_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.20141204, configured by $0, generated by GNU Autoconf 2.52.20170501,
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 4786 skipping to change at line 5035
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:4786: error: ambiguous option: $1 { { echo "$as_me:5035: 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:4805: error: unrecognized option: $1 -*) { { echo "$as_me:5054: 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.20141204, executed with This file was extended by $as_me 2.52.20170501, 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" ;; "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:4843: error: invalid argument: $ac_config_target" >&5 *) { { echo "$as_me:5092: 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
skipping to change at line 4966 skipping to change at line 5215
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,@GROFF_PATH@,$GROFF_PATH,;t t
s,@NROFF_PATH@,$NROFF_PATH,;t t s,@NROFF_PATH@,$NROFF_PATH,;t t
s,@TBL_PATH@,$TBL_PATH,;t t
s,@GROFF_NOTE@,$GROFF_NOTE,;t t s,@GROFF_NOTE@,$GROFF_NOTE,;t t
s,@NROFF_NOTE@,$NROFF_NOTE,;t t s,@NROFF_NOTE@,$NROFF_NOTE,;t t
s,@cf_man2html@,$cf_man2html,;t t s,@cf_man2html@,$cf_man2html,;t t
s,@MAN2HTML_NOTE@,$MAN2HTML_NOTE,;t t s,@MAN2HTML_NOTE@,$MAN2HTML_NOTE,;t t
s,@MAN2HTML_PATH@,$MAN2HTML_PATH,;t t s,@MAN2HTML_PATH@,$MAN2HTML_PATH,;t t
s,@MAN2HTML_TEMP@,$MAN2HTML_TEMP,;t t s,@MAN2HTML_TEMP@,$MAN2HTML_TEMP,;t t
s,@EXTRAOBJ@,$EXTRAOBJ,;t t s,@EXTRAOBJ@,$EXTRAOBJ,;t t
CEOF CEOF
EOF EOF
skipping to change at line 5001 skipping to change at line 5251
fi fi
if test ! -s $tmp/subs.frag; then if test ! -s $tmp/subs.frag; then
ac_more_lines=false ac_more_lines=false
else else
# The purpose of the label and of the branching condition is to # The purpose of the label and of the branching condition is to
# speed up the sed processing (if there are no `@' at all, there # speed up the sed processing (if there are no `@' at all, there
# is no need to browse any of the substitutions). # is no need to browse any of the substitutions).
# These are the two extra sed commands mentioned above. # These are the two extra sed commands mentioned above.
(echo ':t (echo ':t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.s ed /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.s ed
# It is possible to make a multiline substitution using escaped newlines.
# Ensure that we do not split the substitution between script fragments.
ac_BEG=$ac_end
ac_END=`expr $ac_end + $ac_max_sed_lines`
sed "1,${ac_BEG}d; ${ac_END}p; q" $tmp/subs.sed >$tmp/subs.next
if test -s $tmp/subs.next; then
grep '^s,@[^@,][^@,]*@,.*\\$' $tmp/subs.next >$tmp/subs.edit
if test ! -s $tmp/subs.edit; then
grep "^s,@[^@,][^@,]*@,.*,;t t$" $tmp/subs.next >$tmp/subs.edit
if test ! -s $tmp/subs.edit; then
if test $ac_beg -gt 1; then
ac_end=`expr $ac_end - 1`
continue
fi
fi
fi
fi
if test -z "$ac_sed_cmds"; then if test -z "$ac_sed_cmds"; then
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
else else
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
fi fi
ac_sed_frag=`expr $ac_sed_frag + 1` ac_sed_frag=`expr $ac_sed_frag + 1`
ac_beg=$ac_end ac_beg=$ac_end
ac_end=`expr $ac_end + $ac_max_sed_lines` ac_end=`expr $ac_end + $ac_max_sed_lines`
fi fi
done done
if test -z "$ac_sed_cmds"; then if test -z "$ac_sed_cmds"; then
ac_sed_cmds=cat ac_sed_cmds=cat
fi fi
fi # test -n "$CONFIG_FILES" fi # test -n "$CONFIG_FILES"
skipping to change at line 5087 skipping to change at line 5355
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:5087: creating $ac_file" >&5 { echo "$as_me:5355: 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:5105: error: cannot find input file: $ f" >&5 test -f "$f" || { { echo "$as_me:5373: 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:5118: error: cannot find input file: $f" >&5 { { echo "$as_me:5386: 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:5134: WARNING: datarootdir was used implicitly but not set: { echo "$as_me:5402: 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:5143: WARNING: datarootdir was used explicitly but not se t: { echo "$as_me:5411: 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 5180 skipping to change at line 5448
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:5180: WARNING: Variable $ac_name is used but was no t set: { echo "$as_me:5448: 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:5191: WARNING: Some variables may not be substituted: { echo "$as_me:5459: 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 5240 skipping to change at line 5508
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:5240: creating $ac_file" >&5 test x"$ac_file" != x- && { echo "$as_me:5508: 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:5251: error: cannot find input file: $ f" >&5 test -f "$f" || { { echo "$as_me:5519: 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:5264: error: cannot find input file: $f" >&5 { { echo "$as_me:5532: 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
skipping to change at line 5322 skipping to change at line 5590
# /* 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:5322: $ac_file is unchanged" >&5 { echo "$as_me:5590: $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; }
 End of changes. 263 change blocks. 
275 lines changed or deleted 556 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)