summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog23
-rw-r--r--Makefile.comm1
-rw-r--r--Makefile.in4
-rw-r--r--Makefile.sub19
-rw-r--r--NEWS3
-rw-r--r--aclocal.m467
-rwxr-xr-xconfigure1223
-rw-r--r--configure.ac2
-rw-r--r--src/include/driver.h4
-rw-r--r--src/include/lib.h4
-rw-r--r--src/libs/libbib/index.cc5
-rw-r--r--src/libs/libbib/linear.cc6
-rw-r--r--src/libs/libbib/map.c7
-rw-r--r--src/libs/libbib/search.cc7
-rw-r--r--src/libs/libgroff/font.cc5
-rw-r--r--src/libs/libgroff/fontfile.cc8
-rwxr-xr-xsrc/libs/libgroff/htmlindicate.cc3
-rw-r--r--src/libs/libgroff/matherr.c6
-rw-r--r--src/libs/libgroff/maxfilename.cc2
-rw-r--r--src/libs/libgroff/nametoindex.cc8
-rw-r--r--src/libs/libgroff/new.cc3
-rw-r--r--src/libs/libgroff/putenv.c6
-rw-r--r--src/libs/libgroff/searchpath.cc8
-rw-r--r--src/libs/libgroff/strerror.c6
-rw-r--r--src/libs/libgroff/string.cc6
-rw-r--r--src/libs/libgroff/strtol.c7
-rw-r--r--src/libs/libgroff/tmpfile.cc5
-rw-r--r--src/libs/libgroff/tmpname.cc4
-rw-r--r--src/preproc/eqn/eqn.h7
-rw-r--r--src/preproc/grn/hgraph.cc2
-rw-r--r--src/preproc/grn/main.cc4
-rw-r--r--src/preproc/html/pre-html.cc4
-rwxr-xr-xsrc/preproc/html/pushbackbuffer.cc5
-rw-r--r--src/preproc/pic/pic.h8
-rw-r--r--src/preproc/refer/refer.h7
-rw-r--r--src/preproc/soelim/soelim.cc5
-rw-r--r--src/preproc/tbl/table.h6
-rw-r--r--src/roff/groff/groff.cc5
-rw-r--r--src/roff/groff/pipeline.c4
-rw-r--r--src/roff/troff/node.cc3
-rw-r--r--src/roff/troff/troff.h5
-rw-r--r--src/utils/addftinfo/addftinfo.cc5
-rw-r--r--src/utils/hpftodit/hpftodit.cc5
-rw-r--r--src/utils/indxbib/indxbib.cc5
-rw-r--r--src/utils/indxbib/signal.c6
-rw-r--r--src/utils/lkbib/lkbib.cc5
-rw-r--r--src/utils/lookbib/lookbib.cc5
-rw-r--r--src/utils/pfbtops/pfbtops.c4
-rw-r--r--src/utils/tfmtodit/tfmtodit.cc5
49 files changed, 941 insertions, 616 deletions
diff --git a/ChangeLog b/ChangeLog
index 686223ab..11c397d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+2001-08-20 Werner LEMBERG <wl@gnu.org>
+
+ Use a config.h file.
+
+ * src/include/lib.h: Include config.h.
+ * All C files: Ditto (if necessary).
+ * All C++ source and header files: Include lib.h first (if
+ necessary).
+
+ * src/include/config.hin: New file (autogenerated by autoheader).
+ * stamp-h.in: New file.
+ * configure.ac: Updated.
+ * aclocal.m4: Add third parameters to AC_DEFINE macros.
+ (GROFF_ARRAY_DELETE): Simplified.
+ * Makefile.sub (DISTCLEANFILES): Updated.
+ Added targets for remaking config.status, config.hin, config.h,
+ stamp-h.in, and stamp-h.
+ * configure: Regenerated.
+
+2001-08-19 Werner LEMBERG <wl@gnu.org>
+
+ * NEWS: Updated.
+
2001-08-18 Sebastian Krahmer <krahmer@suse.de>
* src/preproc/pic/pic.y (format_number): Use do_sprintf().
diff --git a/Makefile.comm b/Makefile.comm
index 94065ab6..66c4b78d 100644
--- a/Makefile.comm
+++ b/Makefile.comm
@@ -254,6 +254,7 @@ TAGS_src:
test -z "$(GRAM)$(HDRS)" \
|| $(ETAGS) $(ETAGSFLAGS) -a $(ETAGSCCFLAG) $(GRAM) $(HDRS)
+# This rule is only considered for the subdir_Makefile target.
Makefile:
-rm -f Makefile
echo srcdir=$(srcdir) >>Makefile
diff --git a/Makefile.in b/Makefile.in
index 821cd620..c042d8d3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -222,7 +222,7 @@ man7dir=$(manroot)/man$(man7ext)
# if your C++ <string.h> doesn't declare
# strncasecmp()
#
-# -DRET_TYPE_SRAND_IS_VOID if your srand() returns void or int
+# -DRET_TYPE_SRAND_IS_VOID if srand() returns void not int
# -DHAVE_SYS_NERR if you have sysnerr in <errno.h> or <stdio.h>
# -DHAVE_SYS_ERRLIST if you have sys_errlist in <errno.h> or
# <stdio.h>
@@ -549,6 +549,8 @@ dist:
.PHONY: $(ALLDIRS) dot $(TARGETS) FORCE
+# Create a Makefile in $(subdir). This is useful for development since it
+# avoids running make recursively.
subdir_Makefile: Makefile.cfg
$(MAKE) do=Makefile $(subdir)
diff --git a/Makefile.sub b/Makefile.sub
index 17ac3c1d..7ecd5fc9 100644
--- a/Makefile.sub
+++ b/Makefile.sub
@@ -1,8 +1,21 @@
-DISTCLEANFILES=config.status config.log config.cache Makefile \
+DISTCLEANFILES=config.h config.status config.log config.cache Makefile \
src/xditview/Imakefile
CLEANADD=Makefile.cfg conftest*
distfiles: configure
-configure: configure.ac aclocal.m4
- cd $(srcdir); autoconf
+$(scrdir)/configure: configure.ac aclocal.m4
+ cd $(srcdir) && autoconf
+
+config.status: configure
+ $(SHELL) config.status --recheck
+
+# autoheader might not change config.hin, so touch a stamp file.
+$(srcdir)/config.hin: stamp-h.in
+$(srcdir)/stamp-h.in: configure.ac aclocal.m4
+ cd $(srcdir) && autoheader
+ echo timestamp > $(srcdir)/stamp-h.in
+
+config.h: stamp-h
+stamp-h: config.hin config.status
+ $(SHELL) config.status
diff --git a/NEWS b/NEWS
index fa7a8df0..d7db05e1 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,9 @@ o The `-xwidth' specifier in the mdoc macro package has been removed. Its
functionality is now integrated directly into `-width'. Similarly,
`-column' has been extended to has this functionality also.
+o A new macro `Ex' has been added to the mdoc macro package to document an
+ exit status.
+
Pic2graph
---------
diff --git a/aclocal.m4 b/aclocal.m4
index 90564b31..bf4308db 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -86,7 +86,8 @@ if grep '[34]\.' /usr/options/cb.name >/dev/null 2>&1
changequote([,])dnl
then
AC_MSG_RESULT(yes)
- AC_DEFINE(_SYSV3)
+ AC_DEFINE(_SYSV3, 1,
+ [Define if you have ISC 3.x or 4.x.])
else
AC_MSG_RESULT(no)
fi])dnl
@@ -97,7 +98,8 @@ AC_DEFUN(GROFF_POSIX,
AC_LANG_PUSH(C++)
AC_TRY_COMPILE([#include <stdio.h>
extern "C" { void fileno(int); }],,
-AC_MSG_RESULT(yes);AC_DEFINE(_POSIX_SOURCE),
+AC_MSG_RESULT(yes);AC_DEFINE(_POSIX_SOURCE, 1,
+ [Define if -D_POSIX_SOURCE is necessary.]),
AC_MSG_RESULT(no))
AC_LANG_POP(C++)])dnl
dnl
@@ -109,7 +111,8 @@ AC_DEFUN(GROFF_SRAND,
AC_MSG_CHECKING([for return type of srand])
AC_TRY_COMPILE([#include <stdlib.h>
extern "C" { void srand(unsigned int); }],,
-AC_MSG_RESULT(void);AC_DEFINE(RET_TYPE_SRAND_IS_VOID),
+AC_MSG_RESULT(void);AC_DEFINE(RET_TYPE_SRAND_IS_VOID, 1,
+ [Define if srand() returns void not int.]),
AC_MSG_RESULT(int))
AC_LANG_POP(C++)])dnl
dnl
@@ -120,7 +123,9 @@ AC_MSG_CHECKING([for sys_nerr in <errno.h> or <stdio.h>])
AC_TRY_COMPILE([#include <errno.h>
#include <stdio.h>],
[int k; k = sys_nerr;],
-AC_MSG_RESULT(yes);AC_DEFINE(HAVE_SYS_NERR),
+AC_MSG_RESULT(yes);AC_DEFINE(HAVE_SYS_NERR, 1,
+ [Define if you have sysnerr in <errno.h> or
+ <stdio.h>.]),
AC_MSG_RESULT(no))
AC_LANG_POP(C++)])dnl
dnl
@@ -130,7 +135,9 @@ AC_DEFUN(GROFF_SYS_ERRLIST,
AC_TRY_COMPILE([#include <errno.h>
#include <stdio.h>],
[int k; k = (int)sys_errlist[0];],
-AC_MSG_RESULT(yes);AC_DEFINE(HAVE_SYS_ERRLIST),
+AC_MSG_RESULT(yes);AC_DEFINE(HAVE_SYS_ERRLIST, 1,
+ [Define if you have sys_errlist in <errno.h>
+ or in <stdio.h>.]),
AC_MSG_RESULT(no))])dnl
dnl
dnl
@@ -139,7 +146,8 @@ AC_DEFUN(GROFF_OSFCN_H,
AC_MSG_CHECKING([C++ <osfcn.h>])
AC_TRY_COMPILE([#include <osfcn.h>],
[read(0, 0, 0); open(0, 0);],
-AC_MSG_RESULT(yes);AC_DEFINE(HAVE_CC_OSFCN_H),
+AC_MSG_RESULT(yes);AC_DEFINE(HAVE_CC_OSFCN_H, 1,
+ [Define if you have a C++ <osfcn.h>.]),
AC_MSG_RESULT(no))
AC_LANG_POP(C++)])dnl
dnl
@@ -149,7 +157,8 @@ AC_DEFUN(GROFF_LIMITS_H,
AC_MSG_CHECKING([C++ <limits.h>])
AC_TRY_COMPILE([#include <limits.h>],
[int x = INT_MIN; int y = INT_MAX; int z = UCHAR_MAX;],
-AC_MSG_RESULT(yes);AC_DEFINE(HAVE_CC_LIMITS_H),
+AC_MSG_RESULT(yes);AC_DEFINE(HAVE_CC_LIMITS_H, 1,
+ [Define if you have a C++ <limits.h>.]),
AC_MSG_RESULT(no))
AC_LANG_POP(C++)])dnl
dnl
@@ -160,7 +169,9 @@ AC_MSG_CHECKING([for declaration of time_t])
AC_TRY_COMPILE([#include <time.h>],
[time_t t = time(0); struct tm *p = localtime(&t);],
AC_MSG_RESULT(yes),
-AC_MSG_RESULT(no);AC_DEFINE(LONG_FOR_TIME_T))
+AC_MSG_RESULT(no);AC_DEFINE(LONG_FOR_TIME_T, 1,
+ [Define if localtime() takes a long * not a
+ time_t *.]))
AC_LANG_POP(C++)])dnl
dnl
dnl
@@ -168,18 +179,19 @@ AC_DEFUN(GROFF_STRUCT_EXCEPTION,
[AC_MSG_CHECKING([struct exception])
AC_TRY_COMPILE([#include <math.h>],
[struct exception e;],
-AC_MSG_RESULT(yes);AC_DEFINE(HAVE_STRUCT_EXCEPTION),
+AC_MSG_RESULT(yes);AC_DEFINE(HAVE_STRUCT_EXCEPTION, 1,
+ [Define if <math.h> defines struct exception.]),
AC_MSG_RESULT(no))])dnl
dnl
dnl
AC_DEFUN(GROFF_ARRAY_DELETE,
[AC_LANG_PUSH(C++)
AC_MSG_CHECKING([whether ANSI array delete syntax supported])
-AC_TRY_COMPILE(,
-changequote(,)dnl
-char *p = new char[5]; delete [] p;changequote([,]),
+AC_TRY_COMPILE(, [char *p = new char[5]; delete [] p;],
AC_MSG_RESULT(yes),
-AC_MSG_RESULT(no);AC_DEFINE(ARRAY_DELETE_NEEDS_SIZE))
+AC_MSG_RESULT(no);AC_DEFINE(ARRAY_DELETE_NEEDS_SIZE, 1,
+ [Define if your C++ doesn't understand
+ `delete []'.]))
AC_LANG_POP(C++)])dnl
dnl
dnl
@@ -188,7 +200,9 @@ AC_DEFUN(GROFF_TRADITIONAL_CPP,
[AC_LANG_PUSH(C++)
AC_MSG_CHECKING([traditional preprocessor])
AC_TRY_COMPILE([#define name2(a,b) a/**/b],[int name2(foo,bar);],
-AC_MSG_RESULT(yes);AC_DEFINE(TRADITIONAL_CPP),
+AC_MSG_RESULT(yes);AC_DEFINE(TRADITIONAL_CPP, 1,
+ [Define if your C++ compiler uses a
+ traditional (Reiser) preprocessor.]),
AC_MSG_RESULT(no))
AC_LANG_POP(C++)])dnl
dnl
@@ -207,7 +221,11 @@ main()
exit(i != 0200);
#endif
}],
-AC_MSG_RESULT(yes);AC_DEFINE(WCOREFLAG,0200),
+AC_MSG_RESULT(yes);AC_DEFINE(WCOREFLAG, 0200,
+ [Define if the 0200 bit of the status returned
+ by wait() indicates whether a core image was
+ produced for a process that was terminated by
+ a signal.]),
AC_MSG_RESULT(no),
AC_MSG_RESULT(no))])dnl
dnl
@@ -261,7 +279,8 @@ changequote([,])dnl
fi
test -n "$PAGE" || PAGE=letter
if test "x$PAGE" = "xA4"; then
- AC_DEFINE(PAGEA4)
+ AC_DEFINE(PAGEA4, 1,
+ [Define if the printer's page size is A4.])
fi
AC_MSG_RESULT($PAGE)
AC_SUBST(PAGE)])dnl
@@ -419,7 +438,8 @@ make an error "Character set is not EBCDIC"
groff_cv_ebcdic="yes"
TTYDEVDIRS="font/devcp1047"
AC_MSG_RESULT(yes)
- AC_DEFINE(IS_EBCDIC_HOST),
+ AC_DEFINE(IS_EBCDIC_HOST, 1,
+ [Define if the host's encoding is EBCDIC.]),
groff_cv_ebcdic="no"
TTYDEVDIRS="font/devascii font/devlatin1 font/devutf8"
AC_MSG_RESULT(no))
@@ -475,7 +495,8 @@ groff_cv_decl_needed_$1=no,
groff_cv_decl_needed_$1=yes)])
AC_MSG_RESULT($groff_cv_decl_needed_$1)
if test $groff_cv_decl_needed_$1 = yes; then
- AC_DEFINE([NEED_DECLARATION_]translit($1, [a-z], [A-Z]))
+ AC_DEFINE([NEED_DECLARATION_]translit($1, [a-z], [A-Z]), 1,
+ [Define if your C++ doesn't declare ]$1[().])
fi
AC_LANG_POP(C++)])dnl
dnl
@@ -485,7 +506,10 @@ dnl
AC_DEFUN(GROFF_MKSTEMP,
[AC_LANG_PUSH(C++)
AC_LIBSOURCE(mkstemp.cc)
-AC_CHECK_FUNC(mkstemp, [AC_DEFINE(HAVE_MKSTEMP)], [_AC_LIBOBJ(mkstemp)])
+AC_CHECK_FUNC(mkstemp,
+ [AC_DEFINE(HAVE_MKSTEMP, 1,
+ [Define if you have mkstemp().])],
+ [_AC_LIBOBJ(mkstemp)])
AC_LANG_POP(C++)])dnl
dnl
dnl
@@ -528,5 +552,8 @@ if test $groff_cv_header_inttypes_h = no; then
test $groff_cv_type_unsigned_long_long = yes \
&& ac_type='unsigned long long' \
|| ac_type='unsigned long'
- AC_DEFINE_UNQUOTED(uintmax_t, $ac_type)
+ AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
+ [Define uintmax_t to `unsigned long' or
+ `unsigned long long' if <inttypes.h> does not
+ exist.])
fi])dnl
diff --git a/configure b/configure
index 05f7ec41..f97b9821 100755
--- a/configure
+++ b/configure
@@ -903,6 +903,8 @@ fi
PATH_SEPARATOR="$ac_path_separator"
rm -f conftest.sh
+ac_config_headers="$ac_config_headers src/include/config.h:src/include/config.hin"
+
ac_srcdir_defaulted=no
srcdir=`cd $srcdir; pwd`
top_builddir=`pwd`
@@ -915,7 +917,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
-echo "$as_me:918: checking for $ac_word" >&5
+echo "$as_me:920: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -930,7 +932,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="${ac_tool_prefix}gcc"
-echo "$as_me:933: found $ac_dir/$ac_word" >&5
+echo "$as_me:935: found $ac_dir/$ac_word" >&5
break
done
@@ -938,10 +940,10 @@ fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$as_me:941: result: $CC" >&5
+ echo "$as_me:943: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
- echo "$as_me:944: result: no" >&5
+ echo "$as_me:946: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -950,7 +952,7 @@ if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
-echo "$as_me:953: checking for $ac_word" >&5
+echo "$as_me:955: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -965,7 +967,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="gcc"
-echo "$as_me:968: found $ac_dir/$ac_word" >&5
+echo "$as_me:970: found $ac_dir/$ac_word" >&5
break
done
@@ -973,10 +975,10 @@ fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
- echo "$as_me:976: result: $ac_ct_CC" >&5
+ echo "$as_me:978: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
- echo "$as_me:979: result: no" >&5
+ echo "$as_me:981: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -989,7 +991,7 @@ if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
-echo "$as_me:992: checking for $ac_word" >&5
+echo "$as_me:994: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1004,7 +1006,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="${ac_tool_prefix}cc"
-echo "$as_me:1007: found $ac_dir/$ac_word" >&5
+echo "$as_me:1009: found $ac_dir/$ac_word" >&5
break
done
@@ -1012,10 +1014,10 @@ fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$as_me:1015: result: $CC" >&5
+ echo "$as_me:1017: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
- echo "$as_me:1018: result: no" >&5
+ echo "$as_me:1020: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1024,7 +1026,7 @@ if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
-echo "$as_me:1027: checking for $ac_word" >&5
+echo "$as_me:1029: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1039,7 +1041,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="cc"
-echo "$as_me:1042: found $ac_dir/$ac_word" >&5
+echo "$as_me:1044: found $ac_dir/$ac_word" >&5
break
done
@@ -1047,10 +1049,10 @@ fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
- echo "$as_me:1050: result: $ac_ct_CC" >&5
+ echo "$as_me:1052: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
- echo "$as_me:1053: result: no" >&5
+ echo "$as_me:1055: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1063,7 +1065,7 @@ fi
if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
-echo "$as_me:1066: checking for $ac_word" >&5
+echo "$as_me:1068: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1083,7 +1085,7 @@ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
continue
fi
ac_cv_prog_CC="cc"
-echo "$as_me:1086: found $ac_dir/$ac_word" >&5
+echo "$as_me:1088: found $ac_dir/$ac_word" >&5
break
done
@@ -1105,10 +1107,10 @@ fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$as_me:1108: result: $CC" >&5
+ echo "$as_me:1110: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
- echo "$as_me:1111: result: no" >&5
+ echo "$as_me:1113: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1119,7 +1121,7 @@ if test -z "$CC"; then
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-echo "$as_me:1122: checking for $ac_word" >&5
+echo "$as_me:1124: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1134,7 +1136,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
-echo "$as_me:1137: found $ac_dir/$ac_word" >&5
+echo "$as_me:1139: found $ac_dir/$ac_word" >&5
break
done
@@ -1142,10 +1144,10 @@ fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$as_me:1145: result: $CC" >&5
+ echo "$as_me:1147: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
- echo "$as_me:1148: result: no" >&5
+ echo "$as_me:1150: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1158,7 +1160,7 @@ if test -z "$CC"; then
do
# 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:1161: checking for $ac_word" >&5
+echo "$as_me:1163: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1173,7 +1175,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CC="$ac_prog"
-echo "$as_me:1176: found $ac_dir/$ac_word" >&5
+echo "$as_me:1178: found $ac_dir/$ac_word" >&5
break
done
@@ -1181,10 +1183,10 @@ fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
- echo "$as_me:1184: result: $ac_ct_CC" >&5
+ echo "$as_me:1186: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
- echo "$as_me:1187: result: no" >&5
+ echo "$as_me:1189: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1196,12 +1198,12 @@ fi
fi
-test -z "$CC" && { { echo "$as_me:1199: error: no acceptable cc found in \$PATH" >&5
+test -z "$CC" && { { echo "$as_me:1201: error: no acceptable cc found in \$PATH" >&5
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
{ (exit 1); exit 1; }; }
cat >conftest.$ac_ext <<_ACEOF
-#line 1204 "configure"
+#line 1206 "configure"
#include "confdefs.h"
int
@@ -1217,13 +1219,13 @@ ac_clean_files="$ac_clean_files a.out a.exe"
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compiler, and finding out an intuition
# of exeext.
-echo "$as_me:1220: checking for C compiler default output" >&5
+echo "$as_me:1222: checking for C compiler default output" >&5
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-if { (eval echo "$as_me:1223: \"$ac_link_default\"") >&5
+if { (eval echo "$as_me:1225: \"$ac_link_default\"") >&5
(eval $ac_link_default) 2>&5
ac_status=$?
- echo "$as_me:1226: \$? = $ac_status" >&5
+ echo "$as_me:1228: \$? = $ac_status" >&5
(exit $ac_status); }; then
for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
case $ac_file in
@@ -1240,34 +1242,34 @@ done
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-{ { echo "$as_me:1243: error: C compiler cannot create executables" >&5
+{ { echo "$as_me:1245: error: C compiler cannot create executables" >&5
echo "$as_me: error: C compiler cannot create executables" >&2;}
{ (exit 77); exit 77; }; }
fi
ac_exeext=$ac_cv_exeext
-echo "$as_me:1249: result: $ac_file" >&5
+echo "$as_me:1251: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6
# Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
-echo "$as_me:1254: checking whether the C compiler works" >&5
+echo "$as_me:1256: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program.
if test "$cross_compiling" != yes; then
if { ac_try='./$ac_file'
- { (eval echo "$as_me:1260: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1262: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1263: \$? = $ac_status" >&5
+ echo "$as_me:1265: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
cross_compiling=no
else
if test "$cross_compiling" = maybe; then
cross_compiling=yes
else
- { { echo "$as_me:1270: error: cannot run C compiled programs.
+ { { echo "$as_me:1272: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&5
echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&2;}
@@ -1275,24 +1277,24 @@ If you meant to cross compile, use \`--host'." >&2;}
fi
fi
fi
-echo "$as_me:1278: result: yes" >&5
+echo "$as_me:1280: result: yes" >&5
echo "${ECHO_T}yes" >&6
rm -f a.out a.exe conftest$ac_cv_exeext
ac_clean_files=$ac_clean_files_save
# Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
-echo "$as_me:1285: checking whether we are cross compiling" >&5
+echo "$as_me:1287: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
-echo "$as_me:1287: result: $cross_compiling" >&5
+echo "$as_me:1289: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6
-echo "$as_me:1290: checking for executable suffix" >&5
+echo "$as_me:1292: checking for executable suffix" >&5
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
-if { (eval echo "$as_me:1292: \"$ac_link\"") >&5
+if { (eval echo "$as_me:1294: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:1295: \$? = $ac_status" >&5
+ echo "$as_me:1297: \$? = $ac_status" >&5
(exit $ac_status); }; then
# If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
@@ -1308,25 +1310,25 @@ for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
esac
done
else
- { { echo "$as_me:1311: error: cannot compute EXEEXT: cannot compile and link" >&5
+ { { echo "$as_me:1313: error: cannot compute EXEEXT: cannot compile and link" >&5
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest$ac_cv_exeext
-echo "$as_me:1317: result: $ac_cv_exeext" >&5
+echo "$as_me:1319: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
-echo "$as_me:1323: checking for object suffix" >&5
+echo "$as_me:1325: checking for object suffix" >&5
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
if test "${ac_cv_objext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 1329 "configure"
+#line 1331 "configure"
#include "confdefs.h"
int
@@ -1338,10 +1340,10 @@ main ()
}
_ACEOF
rm -f conftest.o conftest.obj
-if { (eval echo "$as_me:1341: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1343: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1344: \$? = $ac_status" >&5
+ echo "$as_me:1346: \$? = $ac_status" >&5
(exit $ac_status); }; then
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
case $ac_file in
@@ -1353,24 +1355,24 @@ done
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-{ { echo "$as_me:1356: error: cannot compute OBJEXT: cannot compile" >&5
+{ { echo "$as_me:1358: error: cannot compute OBJEXT: cannot compile" >&5
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
-echo "$as_me:1363: result: $ac_cv_objext" >&5
+echo "$as_me:1365: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
-echo "$as_me:1367: checking whether we are using the GNU C compiler" >&5
+echo "$as_me:1369: 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
if test "${ac_cv_c_compiler_gnu+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 1373 "configure"
+#line 1375 "configure"
#include "confdefs.h"
int
@@ -1385,16 +1387,16 @@ main ()
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1388: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1390: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1391: \$? = $ac_status" >&5
+ echo "$as_me:1393: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1394: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1396: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1397: \$? = $ac_status" >&5
+ echo "$as_me:1399: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_compiler_gnu=yes
else
@@ -1406,19 +1408,19 @@ rm -f conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu
fi
-echo "$as_me:1409: result: $ac_cv_c_compiler_gnu" >&5
+echo "$as_me:1411: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
GCC=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
CFLAGS="-g"
-echo "$as_me:1415: checking whether $CC accepts -g" >&5
+echo "$as_me:1417: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
if test "${ac_cv_prog_cc_g+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 1421 "configure"
+#line 1423 "configure"
#include "confdefs.h"
int
@@ -1430,16 +1432,16 @@ main ()
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1433: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1435: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1436: \$? = $ac_status" >&5
+ echo "$as_me:1438: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1439: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1441: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1442: \$? = $ac_status" >&5
+ echo "$as_me:1444: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes
else
@@ -1449,7 +1451,7 @@ ac_cv_prog_cc_g=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:1452: result: $ac_cv_prog_cc_g" >&5
+echo "$as_me:1454: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
@@ -1476,16 +1478,16 @@ cat >conftest.$ac_ext <<_ACEOF
#endif
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1479: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1481: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1482: \$? = $ac_status" >&5
+ echo "$as_me:1484: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1485: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1487: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1488: \$? = $ac_status" >&5
+ echo "$as_me:1490: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
for ac_declaration in \
''\
@@ -1497,7 +1499,7 @@ if { (eval echo "$as_me:1479: \"$ac_compile\"") >&5
'void exit (int);'
do
cat >conftest.$ac_ext <<_ACEOF
-#line 1500 "configure"
+#line 1502 "configure"
#include "confdefs.h"
#include <stdlib.h>
$ac_declaration
@@ -1510,16 +1512,16 @@ exit (42);
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1513: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1515: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1516: \$? = $ac_status" >&5
+ echo "$as_me:1518: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1519: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1521: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1522: \$? = $ac_status" >&5
+ echo "$as_me:1524: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
@@ -1529,7 +1531,7 @@ continue
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
-#line 1532 "configure"
+#line 1534 "configure"
#include "confdefs.h"
$ac_declaration
int
@@ -1541,16 +1543,16 @@ exit (42);
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1544: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1546: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1547: \$? = $ac_status" >&5
+ echo "$as_me:1549: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1550: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1552: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1553: \$? = $ac_status" >&5
+ echo "$as_me:1555: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
@@ -1584,7 +1586,7 @@ if test -n "$ac_tool_prefix"; then
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-echo "$as_me:1587: checking for $ac_word" >&5
+echo "$as_me:1589: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CXX+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1599,7 +1601,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
-echo "$as_me:1602: found $ac_dir/$ac_word" >&5
+echo "$as_me:1604: found $ac_dir/$ac_word" >&5
break
done
@@ -1607,10 +1609,10 @@ fi
fi
CXX=$ac_cv_prog_CXX
if test -n "$CXX"; then
- echo "$as_me:1610: result: $CXX" >&5
+ echo "$as_me:1612: result: $CXX" >&5
echo "${ECHO_T}$CXX" >&6
else
- echo "$as_me:1613: result: no" >&5
+ echo "$as_me:1615: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1623,7 +1625,7 @@ if test -z "$CXX"; then
do
# 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:1626: checking for $ac_word" >&5
+echo "$as_me:1628: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1638,7 +1640,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_CXX="$ac_prog"
-echo "$as_me:1641: found $ac_dir/$ac_word" >&5
+echo "$as_me:1643: found $ac_dir/$ac_word" >&5
break
done
@@ -1646,10 +1648,10 @@ fi
fi
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
if test -n "$ac_ct_CXX"; then
- echo "$as_me:1649: result: $ac_ct_CXX" >&5
+ echo "$as_me:1651: result: $ac_ct_CXX" >&5
echo "${ECHO_T}$ac_ct_CXX" >&6
else
- echo "$as_me:1652: result: no" >&5
+ echo "$as_me:1654: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -1660,13 +1662,13 @@ test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
CXX=$ac_ct_CXX
fi
-echo "$as_me:1663: checking whether we are using the GNU C++ compiler" >&5
+echo "$as_me:1665: 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
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 1669 "configure"
+#line 1671 "configure"
#include "confdefs.h"
int
@@ -1681,16 +1683,16 @@ main ()
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1684: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1686: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1687: \$? = $ac_status" >&5
+ echo "$as_me:1689: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1690: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1692: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1693: \$? = $ac_status" >&5
+ echo "$as_me:1695: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_compiler_gnu=yes
else
@@ -1702,19 +1704,19 @@ rm -f conftest.$ac_objext conftest.$ac_ext
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
fi
-echo "$as_me:1705: result: $ac_cv_cxx_compiler_gnu" >&5
+echo "$as_me:1707: result: $ac_cv_cxx_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
GXX=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CXXFLAGS=${CXXFLAGS+set}
ac_save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="-g"
-echo "$as_me:1711: checking whether $CXX accepts -g" >&5
+echo "$as_me:1713: checking whether $CXX accepts -g" >&5
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
if test "${ac_cv_prog_cxx_g+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 1717 "configure"
+#line 1719 "configure"
#include "confdefs.h"
int
@@ -1726,16 +1728,16 @@ main ()
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1729: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1731: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1732: \$? = $ac_status" >&5
+ echo "$as_me:1734: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1735: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1737: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1738: \$? = $ac_status" >&5
+ echo "$as_me:1740: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cxx_g=yes
else
@@ -1745,7 +1747,7 @@ ac_cv_prog_cxx_g=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:1748: result: $ac_cv_prog_cxx_g" >&5
+echo "$as_me:1750: result: $ac_cv_prog_cxx_g" >&5
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
if test "$ac_test_CXXFLAGS" = set; then
CXXFLAGS=$ac_save_CXXFLAGS
@@ -1772,7 +1774,7 @@ for ac_declaration in \
'void exit (int);'
do
cat >conftest.$ac_ext <<_ACEOF
-#line 1775 "configure"
+#line 1777 "configure"
#include "confdefs.h"
#include <stdlib.h>
$ac_declaration
@@ -1785,16 +1787,16 @@ exit (42);
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1788: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1790: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1791: \$? = $ac_status" >&5
+ echo "$as_me:1793: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1794: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1796: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1797: \$? = $ac_status" >&5
+ echo "$as_me:1799: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
@@ -1804,7 +1806,7 @@ continue
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
-#line 1807 "configure"
+#line 1809 "configure"
#include "confdefs.h"
$ac_declaration
int
@@ -1816,16 +1818,16 @@ exit (42);
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:1819: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:1821: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:1822: \$? = $ac_status" >&5
+ echo "$as_me:1824: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:1825: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1827: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1828: \$? = $ac_status" >&5
+ echo "$as_me:1830: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
@@ -1851,50 +1853,50 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
if test "$cross_compiling" = no; then
- echo "$as_me:1854: checking that C++ compiler can compile simple program" >&5
+ echo "$as_me:1856: checking that C++ compiler can compile simple program" >&5
echo $ECHO_N "checking that C++ compiler can compile simple program... $ECHO_C" >&6
fi
if test "$cross_compiling" = yes; then
:
else
cat >conftest.$ac_ext <<_ACEOF
-#line 1861 "configure"
+#line 1863 "configure"
#include "confdefs.h"
int main() { return 0; }
_ACEOF
rm -f conftest$ac_exeext
-if { (eval echo "$as_me:1866: \"$ac_link\"") >&5
+if { (eval echo "$as_me:1868: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:1869: \$? = $ac_status" >&5
+ echo "$as_me:1871: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (eval echo "$as_me:1871: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1873: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1874: \$? = $ac_status" >&5
+ echo "$as_me:1876: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:1876: result: yes" >&5
+ echo "$as_me:1878: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:1882: result: no" >&5
-echo "${ECHO_T}no" >&6;{ { echo "$as_me:1883: error: a working C++ compiler is required" >&5
+echo "$as_me:1884: result: no" >&5
+echo "${ECHO_T}no" >&6;{ { echo "$as_me:1885: error: a working C++ compiler is required" >&5
echo "$as_me: error: a working C++ compiler is required" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
fi
if test "$cross_compiling" = no; then
- echo "$as_me:1890: checking that C++ static constructors and destructors are called" >&5
+ echo "$as_me:1892: checking that C++ static constructors and destructors are called" >&5
echo $ECHO_N "checking that C++ static constructors and destructors are called... $ECHO_C" >&6
fi
if test "$cross_compiling" = yes; then
:
else
cat >conftest.$ac_ext <<_ACEOF
-#line 1897 "configure"
+#line 1899 "configure"
#include "confdefs.h"
extern "C" {
@@ -1911,33 +1913,33 @@ int main() { return 1; }
_ACEOF
rm -f conftest$ac_exeext
-if { (eval echo "$as_me:1914: \"$ac_link\"") >&5
+if { (eval echo "$as_me:1916: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:1917: \$? = $ac_status" >&5
+ echo "$as_me:1919: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (eval echo "$as_me:1919: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1921: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1922: \$? = $ac_status" >&5
+ echo "$as_me:1924: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:1924: result: yes" >&5
+ echo "$as_me:1926: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:1930: result: no" >&5
-echo "${ECHO_T}no" >&6;{ { echo "$as_me:1931: error: a working C++ compiler is required" >&5
+echo "$as_me:1932: result: no" >&5
+echo "${ECHO_T}no" >&6;{ { echo "$as_me:1933: error: a working C++ compiler is required" >&5
echo "$as_me: error: a working C++ compiler is required" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
fi
-echo "$as_me:1937: checking that header files support C++" >&5
+echo "$as_me:1939: checking that header files support C++" >&5
echo $ECHO_N "checking that header files support C++... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 1940 "configure"
+#line 1942 "configure"
#include "confdefs.h"
#include <stdio.h>
int
@@ -1949,24 +1951,24 @@ fopen(0, 0);
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:1952: \"$ac_link\"") >&5
+if { (eval echo "$as_me:1954: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:1955: \$? = $ac_status" >&5
+ echo "$as_me:1957: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:1958: \"$ac_try\"") >&5
+ { (eval echo "$as_me:1960: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:1961: \$? = $ac_status" >&5
+ echo "$as_me:1963: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:1963: result: yes" >&5
+ echo "$as_me:1965: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:1968: result: no" >&5
-echo "${ECHO_T}no" >&6;{ { echo "$as_me:1969: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" >&5
+echo "$as_me:1970: result: no" >&5
+echo "${ECHO_T}no" >&6;{ { echo "$as_me:1971: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" >&5
echo "$as_me: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" >&2;}
{ (exit 1); exit 1; }; }
fi
@@ -1977,10 +1979,10 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:1980: checking whether character set is EBCDIC" >&5
+echo "$as_me:1982: checking whether character set is EBCDIC" >&5
echo $ECHO_N "checking whether character set is EBCDIC... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 1983 "configure"
+#line 1985 "configure"
#include "confdefs.h"
int
@@ -1997,22 +1999,23 @@ make an error "Character set is not EBCDIC"
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2000: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2002: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2003: \$? = $ac_status" >&5
+ echo "$as_me:2005: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2006: \"$ac_try\"") >&5
+ { (eval echo "$as_me:2008: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2009: \$? = $ac_status" >&5
+ echo "$as_me:2011: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
groff_cv_ebcdic="yes"
TTYDEVDIRS="font/devcp1047"
- echo "$as_me:2013: result: yes" >&5
+ echo "$as_me:2015: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define IS_EBCDIC_HOST 1
EOF
@@ -2021,21 +2024,21 @@ else
cat conftest.$ac_ext >&5
groff_cv_ebcdic="no"
TTYDEVDIRS="font/devascii font/devlatin1 font/devutf8"
- echo "$as_me:2024: result: no" >&5
+ echo "$as_me:2027: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest.$ac_objext conftest.$ac_ext
if test "$groff_cv_ebcdic" = "yes"; then
- echo "$as_me:2030: checking for OS/390 Unix" >&5
+ echo "$as_me:2033: checking for OS/390 Unix" >&5
echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6
case `uname` in
OS/390)
CFLAGS="$CFLAGS -D_ALL_SOURCE"
- echo "$as_me:2035: result: yes" >&5
+ echo "$as_me:2038: result: yes" >&5
echo "${ECHO_T}yes" >&6 ;;
*)
- echo "$as_me:2038: result: no" >&5
+ echo "$as_me:2041: result: no" >&5
echo "${ECHO_T}no" >&6 ;;
esac
fi
@@ -2044,7 +2047,7 @@ if test -z "$PSPRINT"; then
do
# 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:2047: checking for $ac_word" >&5
+echo "$as_me:2050: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_LPR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2059,7 +2062,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LPR="$ac_prog"
-echo "$as_me:2062: found $ac_dir/$ac_word" >&5
+echo "$as_me:2065: found $ac_dir/$ac_word" >&5
break
done
@@ -2067,10 +2070,10 @@ fi
fi
LPR=$ac_cv_prog_LPR
if test -n "$LPR"; then
- echo "$as_me:2070: result: $LPR" >&5
+ echo "$as_me:2073: result: $LPR" >&5
echo "${ECHO_T}$LPR" >&6
else
- echo "$as_me:2073: result: no" >&5
+ echo "$as_me:2076: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -2081,7 +2084,7 @@ done
do
# 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:2084: checking for $ac_word" >&5
+echo "$as_me:2087: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_LP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2096,7 +2099,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LP="$ac_prog"
-echo "$as_me:2099: found $ac_dir/$ac_word" >&5
+echo "$as_me:2102: found $ac_dir/$ac_word" >&5
break
done
@@ -2104,10 +2107,10 @@ fi
fi
LP=$ac_cv_prog_LP
if test -n "$LP"; then
- echo "$as_me:2107: result: $LP" >&5
+ echo "$as_me:2110: result: $LP" >&5
echo "${ECHO_T}$LP" >&6
else
- echo "$as_me:2110: result: no" >&5
+ echo "$as_me:2113: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -2122,7 +2125,7 @@ done
do
# 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:2125: checking for $ac_word" >&5
+echo "$as_me:2128: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_LPQ+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2137,7 +2140,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_LPQ="$ac_prog"
-echo "$as_me:2140: found $ac_dir/$ac_word" >&5
+echo "$as_me:2143: found $ac_dir/$ac_word" >&5
break
done
@@ -2145,10 +2148,10 @@ fi
fi
LPQ=$ac_cv_prog_LPQ
if test -n "$LPQ"; then
- echo "$as_me:2148: result: $LPQ" >&5
+ echo "$as_me:2151: result: $LPQ" >&5
echo "${ECHO_T}$LPQ" >&6
else
- echo "$as_me:2151: result: no" >&5
+ echo "$as_me:2154: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -2164,12 +2167,12 @@ done
fi
fi
-echo "$as_me:2167: checking for command to use for printing PostScript files" >&5
+echo "$as_me:2170: checking for command to use for printing PostScript files" >&5
echo $ECHO_N "checking for command to use for printing PostScript files... $ECHO_C" >&6
-echo "$as_me:2169: result: $PSPRINT" >&5
+echo "$as_me:2172: result: $PSPRINT" >&5
echo "${ECHO_T}$PSPRINT" >&6
# Figure out DVIPRINT from PSPRINT.
-echo "$as_me:2172: checking for command to use for printing dvi files" >&5
+echo "$as_me:2175: checking for command to use for printing dvi files" >&5
echo $ECHO_N "checking for command to use for printing dvi files... $ECHO_C" >&6
if test -n "$PSPRINT" && test -z "$DVIPRINT"; then
if test "X$PSPRINT" = "Xlpr"; then
@@ -2179,11 +2182,11 @@ if test -n "$PSPRINT" && test -z "$DVIPRINT"; then
fi
fi
-echo "$as_me:2182: result: $DVIPRINT" >&5
+echo "$as_me:2185: result: $DVIPRINT" >&5
echo "${ECHO_T}$DVIPRINT" >&6
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
-echo "$as_me:2186: checking for $ac_word" >&5
+echo "$as_me:2189: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_PERLPATH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2200,7 +2203,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if $as_executable_p "$ac_dir/$ac_word"; then
ac_cv_path_PERLPATH="$ac_dir/$ac_word"
- echo "$as_me:2203: found $ac_dir/$ac_word" >&5
+ echo "$as_me:2206: found $ac_dir/$ac_word" >&5
break
fi
done
@@ -2212,10 +2215,10 @@ fi
PERLPATH=$ac_cv_path_PERLPATH
if test -n "$PERLPATH"; then
- echo "$as_me:2215: result: $PERLPATH" >&5
+ echo "$as_me:2218: result: $PERLPATH" >&5
echo "${ECHO_T}$PERLPATH" >&6
else
- echo "$as_me:2218: result: no" >&5
+ echo "$as_me:2221: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -2223,7 +2226,7 @@ for ac_prog in byacc 'bison -y'
do
# 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:2226: checking for $ac_word" >&5
+echo "$as_me:2229: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_YACC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2238,7 +2241,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_YACC="$ac_prog"
-echo "$as_me:2241: found $ac_dir/$ac_word" >&5
+echo "$as_me:2244: found $ac_dir/$ac_word" >&5
break
done
@@ -2246,10 +2249,10 @@ fi
fi
YACC=$ac_cv_prog_YACC
if test -n "$YACC"; then
- echo "$as_me:2249: result: $YACC" >&5
+ echo "$as_me:2252: result: $YACC" >&5
echo "${ECHO_T}$YACC" >&6
else
- echo "$as_me:2252: result: no" >&5
+ echo "$as_me:2255: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -2260,7 +2263,7 @@ test -n "$YACC" || YACC="yacc"
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-echo "$as_me:2263: checking for $ac_word" >&5
+echo "$as_me:2266: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2275,7 +2278,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
-echo "$as_me:2278: found $ac_dir/$ac_word" >&5
+echo "$as_me:2281: found $ac_dir/$ac_word" >&5
break
done
@@ -2283,10 +2286,10 @@ fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
- echo "$as_me:2286: result: $RANLIB" >&5
+ echo "$as_me:2289: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
else
- echo "$as_me:2289: result: no" >&5
+ echo "$as_me:2292: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -2295,7 +2298,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
-echo "$as_me:2298: checking for $ac_word" >&5
+echo "$as_me:2301: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2310,7 +2313,7 @@ for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
$as_executable_p "$ac_dir/$ac_word" || continue
ac_cv_prog_ac_ct_RANLIB="ranlib"
-echo "$as_me:2313: found $ac_dir/$ac_word" >&5
+echo "$as_me:2316: found $ac_dir/$ac_word" >&5
break
done
@@ -2319,10 +2322,10 @@ fi
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
- echo "$as_me:2322: result: $ac_ct_RANLIB" >&5
+ echo "$as_me:2325: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
else
- echo "$as_me:2325: result: no" >&5
+ echo "$as_me:2328: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@@ -2348,7 +2351,7 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
fi
done
if test -z "$ac_aux_dir"; then
- { { echo "$as_me:2351: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
+ { { echo "$as_me:2354: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
{ (exit 1); exit 1; }; }
fi
@@ -2370,7 +2373,7 @@ ac_install_sh="$ac_dir/install-sh -c"
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
-echo "$as_me:2373: checking for a BSD compatible install" >&5
+echo "$as_me:2376: checking for a BSD compatible install" >&5
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
@@ -2419,7 +2422,7 @@ fi
INSTALL=$ac_install_sh
fi
fi
-echo "$as_me:2422: result: $INSTALL" >&5
+echo "$as_me:2425: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -2430,18 +2433,18 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-echo "$as_me:2433: checking whether ln -s works" >&5
+echo "$as_me:2436: checking whether ln -s works" >&5
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
LN_S=$as_ln_s
if test "$LN_S" = "ln -s"; then
- echo "$as_me:2437: result: yes" >&5
+ echo "$as_me:2440: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
- echo "$as_me:2440: result: no, using $LN_S" >&5
+ echo "$as_me:2443: result: no, using $LN_S" >&5
echo "${ECHO_T}no, using $LN_S" >&6
fi
-echo "$as_me:2444: checking for csh hash hack" >&5
+echo "$as_me:2447: checking for csh hash hack" >&5
echo $ECHO_N "checking for csh hash hack... $ECHO_C" >&6
cat <<EOF >conftest.sh
#!/bin/sh
@@ -2451,10 +2454,10 @@ exit 1
EOF
chmod +x conftest.sh
if echo ./conftest.sh | (csh >/dev/null 2>&1) >/dev/null 2>&1; then
- echo "$as_me:2454: result: yes" >&5
+ echo "$as_me:2457: result: yes" >&5
echo "${ECHO_T}yes" >&6; SH_SCRIPT_SED_CMD='1s/.*/:/'
else
- echo "$as_me:2457: result: no" >&5
+ echo "$as_me:2460: result: no" >&5
echo "${ECHO_T}no" >&6; SH_SCRIPT_SED_CMD='1s/a/a/'
fi
rm -f conftest.sh
@@ -2464,7 +2467,7 @@ ac_cpp='$CPP $CPPFLAGS'
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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:2467: checking how to run the C preprocessor" >&5
+echo "$as_me:2470: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
@@ -2486,18 +2489,18 @@ do
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF
-#line 2489 "configure"
+#line 2492 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
_ACEOF
-if { (eval echo "$as_me:2494: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:2497: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2500: \$? = $ac_status" >&5
+ echo "$as_me:2503: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2520,17 +2523,17 @@ rm -f conftest.err conftest.$ac_ext
# OK, works on sane cases. Now check whether non-existent headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF
-#line 2523 "configure"
+#line 2526 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
-if { (eval echo "$as_me:2527: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:2530: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2533: \$? = $ac_status" >&5
+ echo "$as_me:2536: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2567,7 +2570,7 @@ fi
else
ac_cv_prog_CPP=$CPP
fi
-echo "$as_me:2570: result: $CPP" >&5
+echo "$as_me:2573: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
@@ -2577,18 +2580,18 @@ do
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF
-#line 2580 "configure"
+#line 2583 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
_ACEOF
-if { (eval echo "$as_me:2585: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:2588: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2591: \$? = $ac_status" >&5
+ echo "$as_me:2594: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2611,17 +2614,17 @@ rm -f conftest.err conftest.$ac_ext
# OK, works on sane cases. Now check whether non-existent headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF
-#line 2614 "configure"
+#line 2617 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
-if { (eval echo "$as_me:2618: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:2621: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2624: \$? = $ac_status" >&5
+ echo "$as_me:2627: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2649,7 +2652,7 @@ rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
:
else
- { { echo "$as_me:2652: error: C preprocessor \"$CPP\" fails sanity check" >&5
+ { { echo "$as_me:2655: error: C preprocessor \"$CPP\" fails sanity check" >&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
{ (exit 1); exit 1; }; }
fi
@@ -2664,23 +2667,23 @@ for ac_header in stdlib.h unistd.h dirent.h limits.h sys/dir.h \
string.h strings.h math.h stdint.h sys/time.h
do
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo "$as_me:2667: checking for $ac_header" >&5
+echo "$as_me:2670: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2673 "configure"
+#line 2676 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:2677: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:2680: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:2683: \$? = $ac_status" >&5
+ echo "$as_me:2686: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2699,7 +2702,7 @@ else
fi
rm -f conftest.err conftest.$ac_ext
fi
-echo "$as_me:2702: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "$as_me:2705: result: `eval echo '${'$ac_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
cat >>confdefs.h <<EOF
@@ -2709,21 +2712,22 @@ EOF
fi
done
-echo "$as_me:2712: checking for ISC 3.x or 4.x" >&5
+echo "$as_me:2715: checking for ISC 3.x or 4.x" >&5
echo $ECHO_N "checking for ISC 3.x or 4.x... $ECHO_C" >&6
if grep '[34]\.' /usr/options/cb.name >/dev/null 2>&1
then
- echo "$as_me:2716: result: yes" >&5
+ echo "$as_me:2719: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define _SYSV3 1
EOF
else
- echo "$as_me:2723: result: no" >&5
+ echo "$as_me:2727: result: no" >&5
echo "${ECHO_T}no" >&6
fi
-echo "$as_me:2726: checking whether -D_POSIX_SOURCE is necessary" >&5
+echo "$as_me:2730: checking whether -D_POSIX_SOURCE is necessary" >&5
echo $ECHO_N "checking whether -D_POSIX_SOURCE is necessary... $ECHO_C" >&6
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -2732,7 +2736,7 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
cat >conftest.$ac_ext <<_ACEOF
-#line 2735 "configure"
+#line 2739 "configure"
#include "confdefs.h"
#include <stdio.h>
extern "C" { void fileno(int); }
@@ -2745,26 +2749,27 @@ main ()
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2748: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2752: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2751: \$? = $ac_status" >&5
+ echo "$as_me:2755: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2754: \"$ac_try\"") >&5
+ { (eval echo "$as_me:2758: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2757: \$? = $ac_status" >&5
+ echo "$as_me:2761: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:2759: result: yes" >&5
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
+ echo "$as_me:2763: result: yes" >&5
+echo "${ECHO_T}yes" >&6;
+cat >>confdefs.h <<\EOF
#define _POSIX_SOURCE 1
EOF
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:2767: result: no" >&5
+echo "$as_me:2772: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest.$ac_objext conftest.$ac_ext
@@ -2780,10 +2785,10 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-echo "$as_me:2783: checking for return type of srand" >&5
+echo "$as_me:2788: checking for return type of srand" >&5
echo $ECHO_N "checking for return type of srand... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 2786 "configure"
+#line 2791 "configure"
#include "confdefs.h"
#include <stdlib.h>
extern "C" { void srand(unsigned int); }
@@ -2796,26 +2801,27 @@ main ()
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2799: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2804: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2802: \$? = $ac_status" >&5
+ echo "$as_me:2807: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2805: \"$ac_try\"") >&5
+ { (eval echo "$as_me:2810: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2808: \$? = $ac_status" >&5
+ echo "$as_me:2813: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:2810: result: void" >&5
-echo "${ECHO_T}void" >&6;cat >>confdefs.h <<\EOF
+ echo "$as_me:2815: result: void" >&5
+echo "${ECHO_T}void" >&6;
+cat >>confdefs.h <<\EOF
#define RET_TYPE_SRAND_IS_VOID 1
EOF
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:2818: result: int" >&5
+echo "$as_me:2824: result: int" >&5
echo "${ECHO_T}int" >&6
fi
rm -f conftest.$ac_objext conftest.$ac_ext
@@ -2825,7 +2831,7 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:2828: checking whether gettimeofday must be declared" >&5
+echo "$as_me:2834: checking whether gettimeofday must be declared" >&5
echo $ECHO_N "checking whether gettimeofday must be declared... $ECHO_C" >&6
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -2837,7 +2843,7 @@ if test "${groff_cv_decl_needed_gettimeofday+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2840 "configure"
+#line 2846 "configure"
#include "confdefs.h"
#include <stdio.h>
@@ -2868,16 +2874,16 @@ char *(*pfn) = (char *(*)) gettimeofday
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2871: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2877: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2874: \$? = $ac_status" >&5
+ echo "$as_me:2880: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2877: \"$ac_try\"") >&5
+ { (eval echo "$as_me:2883: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2880: \$? = $ac_status" >&5
+ echo "$as_me:2886: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
groff_cv_decl_needed_gettimeofday=no
else
@@ -2888,10 +2894,11 @@ fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:2891: result: $groff_cv_decl_needed_gettimeofday" >&5
+echo "$as_me:2897: result: $groff_cv_decl_needed_gettimeofday" >&5
echo "${ECHO_T}$groff_cv_decl_needed_gettimeofday" >&6
if test $groff_cv_decl_needed_gettimeofday = yes; then
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define NEED_DECLARATION_GETTIMEOFDAY 1
EOF
@@ -2902,7 +2909,7 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:2905: checking whether hypot must be declared" >&5
+echo "$as_me:2912: checking whether hypot must be declared" >&5
echo $ECHO_N "checking whether hypot must be declared... $ECHO_C" >&6
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -2914,7 +2921,7 @@ if test "${groff_cv_decl_needed_hypot+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2917 "configure"
+#line 2924 "configure"
#include "confdefs.h"
#include <stdio.h>
@@ -2945,16 +2952,16 @@ char *(*pfn) = (char *(*)) hypot
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:2948: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:2955: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:2951: \$? = $ac_status" >&5
+ echo "$as_me:2958: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:2954: \"$ac_try\"") >&5
+ { (eval echo "$as_me:2961: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:2957: \$? = $ac_status" >&5
+ echo "$as_me:2964: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
groff_cv_decl_needed_hypot=no
else
@@ -2965,10 +2972,11 @@ fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:2968: result: $groff_cv_decl_needed_hypot" >&5
+echo "$as_me:2975: result: $groff_cv_decl_needed_hypot" >&5
echo "${ECHO_T}$groff_cv_decl_needed_hypot" >&6
if test $groff_cv_decl_needed_hypot = yes; then
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define NEED_DECLARATION_HYPOT 1
EOF
@@ -2979,7 +2987,7 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:2982: checking whether popen must be declared" >&5
+echo "$as_me:2990: checking whether popen must be declared" >&5
echo $ECHO_N "checking whether popen must be declared... $ECHO_C" >&6
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -2991,7 +2999,7 @@ if test "${groff_cv_decl_needed_popen+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 2994 "configure"
+#line 3002 "configure"
#include "confdefs.h"
#include <stdio.h>
@@ -3022,16 +3030,16 @@ char *(*pfn) = (char *(*)) popen
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3025: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3033: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3028: \$? = $ac_status" >&5
+ echo "$as_me:3036: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3031: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3039: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3034: \$? = $ac_status" >&5
+ echo "$as_me:3042: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
groff_cv_decl_needed_popen=no
else
@@ -3042,10 +3050,11 @@ fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:3045: result: $groff_cv_decl_needed_popen" >&5
+echo "$as_me:3053: result: $groff_cv_decl_needed_popen" >&5
echo "${ECHO_T}$groff_cv_decl_needed_popen" >&6
if test $groff_cv_decl_needed_popen = yes; then
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define NEED_DECLARATION_POPEN 1
EOF
@@ -3056,7 +3065,7 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:3059: checking whether pclose must be declared" >&5
+echo "$as_me:3068: checking whether pclose must be declared" >&5
echo $ECHO_N "checking whether pclose must be declared... $ECHO_C" >&6
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -3068,7 +3077,7 @@ if test "${groff_cv_decl_needed_pclose+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3071 "configure"
+#line 3080 "configure"
#include "confdefs.h"
#include <stdio.h>
@@ -3099,16 +3108,16 @@ char *(*pfn) = (char *(*)) pclose
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3102: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3111: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3105: \$? = $ac_status" >&5
+ echo "$as_me:3114: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3108: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3117: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3111: \$? = $ac_status" >&5
+ echo "$as_me:3120: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
groff_cv_decl_needed_pclose=no
else
@@ -3119,10 +3128,11 @@ fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:3122: result: $groff_cv_decl_needed_pclose" >&5
+echo "$as_me:3131: result: $groff_cv_decl_needed_pclose" >&5
echo "${ECHO_T}$groff_cv_decl_needed_pclose" >&6
if test $groff_cv_decl_needed_pclose = yes; then
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define NEED_DECLARATION_PCLOSE 1
EOF
@@ -3133,7 +3143,7 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:3136: checking whether putenv must be declared" >&5
+echo "$as_me:3146: checking whether putenv must be declared" >&5
echo $ECHO_N "checking whether putenv must be declared... $ECHO_C" >&6
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -3145,7 +3155,7 @@ if test "${groff_cv_decl_needed_putenv+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3148 "configure"
+#line 3158 "configure"
#include "confdefs.h"
#include <stdio.h>
@@ -3176,16 +3186,16 @@ char *(*pfn) = (char *(*)) putenv
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3179: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3189: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3182: \$? = $ac_status" >&5
+ echo "$as_me:3192: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3185: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3195: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3188: \$? = $ac_status" >&5
+ echo "$as_me:3198: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
groff_cv_decl_needed_putenv=no
else
@@ -3196,10 +3206,11 @@ fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:3199: result: $groff_cv_decl_needed_putenv" >&5
+echo "$as_me:3209: result: $groff_cv_decl_needed_putenv" >&5
echo "${ECHO_T}$groff_cv_decl_needed_putenv" >&6
if test $groff_cv_decl_needed_putenv = yes; then
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define NEED_DECLARATION_PUTENV 1
EOF
@@ -3210,7 +3221,7 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:3213: checking whether strcasecmp must be declared" >&5
+echo "$as_me:3224: checking whether strcasecmp must be declared" >&5
echo $ECHO_N "checking whether strcasecmp must be declared... $ECHO_C" >&6
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -3222,7 +3233,7 @@ if test "${groff_cv_decl_needed_strcasecmp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3225 "configure"
+#line 3236 "configure"
#include "confdefs.h"
#include <stdio.h>
@@ -3253,16 +3264,16 @@ char *(*pfn) = (char *(*)) strcasecmp
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3256: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3267: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3259: \$? = $ac_status" >&5
+ echo "$as_me:3270: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3262: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3273: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3265: \$? = $ac_status" >&5
+ echo "$as_me:3276: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
groff_cv_decl_needed_strcasecmp=no
else
@@ -3273,10 +3284,11 @@ fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:3276: result: $groff_cv_decl_needed_strcasecmp" >&5
+echo "$as_me:3287: result: $groff_cv_decl_needed_strcasecmp" >&5
echo "${ECHO_T}$groff_cv_decl_needed_strcasecmp" >&6
if test $groff_cv_decl_needed_strcasecmp = yes; then
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define NEED_DECLARATION_STRCASECMP 1
EOF
@@ -3287,7 +3299,7 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:3290: checking whether strncasecmp must be declared" >&5
+echo "$as_me:3302: checking whether strncasecmp must be declared" >&5
echo $ECHO_N "checking whether strncasecmp must be declared... $ECHO_C" >&6
ac_ext=cc
ac_cpp='$CXXCPP $CPPFLAGS'
@@ -3299,7 +3311,7 @@ if test "${groff_cv_decl_needed_strncasecmp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3302 "configure"
+#line 3314 "configure"
#include "confdefs.h"
#include <stdio.h>
@@ -3330,16 +3342,16 @@ char *(*pfn) = (char *(*)) strncasecmp
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3333: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3345: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3336: \$? = $ac_status" >&5
+ echo "$as_me:3348: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3339: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3351: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3342: \$? = $ac_status" >&5
+ echo "$as_me:3354: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
groff_cv_decl_needed_strncasecmp=no
else
@@ -3350,10 +3362,11 @@ fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:3353: result: $groff_cv_decl_needed_strncasecmp" >&5
+echo "$as_me:3365: result: $groff_cv_decl_needed_strncasecmp" >&5
echo "${ECHO_T}$groff_cv_decl_needed_strncasecmp" >&6
if test $groff_cv_decl_needed_strncasecmp = yes; then
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define NEED_DECLARATION_STRNCASECMP 1
EOF
@@ -3370,10 +3383,10 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-echo "$as_me:3373: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
+echo "$as_me:3386: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
echo $ECHO_N "checking for sys_nerr in <errno.h> or <stdio.h>... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 3376 "configure"
+#line 3389 "configure"
#include "confdefs.h"
#include <errno.h>
#include <stdio.h>
@@ -3386,26 +3399,27 @@ int k; k = sys_nerr;
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3389: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3402: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3392: \$? = $ac_status" >&5
+ echo "$as_me:3405: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3395: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3408: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3398: \$? = $ac_status" >&5
+ echo "$as_me:3411: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:3400: result: yes" >&5
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
+ echo "$as_me:3413: result: yes" >&5
+echo "${ECHO_T}yes" >&6;
+cat >>confdefs.h <<\EOF
#define HAVE_SYS_NERR 1
EOF
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:3408: result: no" >&5
+echo "$as_me:3422: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest.$ac_objext conftest.$ac_ext
@@ -3415,10 +3429,10 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:3418: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
+echo "$as_me:3432: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
echo $ECHO_N "checking for sys_errlist in <errno.h> or <stdio.h>... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 3421 "configure"
+#line 3435 "configure"
#include "confdefs.h"
#include <errno.h>
#include <stdio.h>
@@ -3431,26 +3445,27 @@ int k; k = (int)sys_errlist[0];
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3434: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3448: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3437: \$? = $ac_status" >&5
+ echo "$as_me:3451: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3440: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3454: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3443: \$? = $ac_status" >&5
+ echo "$as_me:3457: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:3445: result: yes" >&5
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
+ echo "$as_me:3459: result: yes" >&5
+echo "${ECHO_T}yes" >&6;
+cat >>confdefs.h <<\EOF
#define HAVE_SYS_ERRLIST 1
EOF
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:3453: result: no" >&5
+echo "$as_me:3468: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest.$ac_objext conftest.$ac_ext
@@ -3460,10 +3475,10 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-echo "$as_me:3463: checking C++ <osfcn.h>" >&5
+echo "$as_me:3478: checking C++ <osfcn.h>" >&5
echo $ECHO_N "checking C++ <osfcn.h>... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 3466 "configure"
+#line 3481 "configure"
#include "confdefs.h"
#include <osfcn.h>
int
@@ -3475,26 +3490,27 @@ read(0, 0, 0); open(0, 0);
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3478: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3493: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3481: \$? = $ac_status" >&5
+ echo "$as_me:3496: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3484: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3499: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3487: \$? = $ac_status" >&5
+ echo "$as_me:3502: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:3489: result: yes" >&5
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
+ echo "$as_me:3504: result: yes" >&5
+echo "${ECHO_T}yes" >&6;
+cat >>confdefs.h <<\EOF
#define HAVE_CC_OSFCN_H 1
EOF
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:3497: result: no" >&5
+echo "$as_me:3513: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest.$ac_objext conftest.$ac_ext
@@ -3510,10 +3526,10 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-echo "$as_me:3513: checking C++ <limits.h>" >&5
+echo "$as_me:3529: checking C++ <limits.h>" >&5
echo $ECHO_N "checking C++ <limits.h>... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 3516 "configure"
+#line 3532 "configure"
#include "confdefs.h"
#include <limits.h>
int
@@ -3525,26 +3541,27 @@ int x = INT_MIN; int y = INT_MAX; int z = UCHAR_MAX;
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3528: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3544: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3531: \$? = $ac_status" >&5
+ echo "$as_me:3547: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3534: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3550: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3537: \$? = $ac_status" >&5
+ echo "$as_me:3553: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:3539: result: yes" >&5
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
+ echo "$as_me:3555: result: yes" >&5
+echo "${ECHO_T}yes" >&6;
+cat >>confdefs.h <<\EOF
#define HAVE_CC_LIMITS_H 1
EOF
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:3547: result: no" >&5
+echo "$as_me:3564: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest.$ac_objext conftest.$ac_ext
@@ -3560,10 +3577,10 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-echo "$as_me:3563: checking for inttypes.h" >&5
+echo "$as_me:3580: checking for inttypes.h" >&5
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 3566 "configure"
+#line 3583 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <inttypes.h>
@@ -3576,16 +3593,16 @@ uintmax_t i = (uintmax_t)-1;
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3579: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3596: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3582: \$? = $ac_status" >&5
+ echo "$as_me:3599: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3585: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3602: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3588: \$? = $ac_status" >&5
+ echo "$as_me:3605: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
groff_cv_header_inttypes_h=yes
else
@@ -3594,7 +3611,7 @@ cat conftest.$ac_ext >&5
groff_cv_header_inttypes_h=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
-echo "$as_me:3597: result: $groff_cv_header_inttypes_h" >&5
+echo "$as_me:3614: result: $groff_cv_header_inttypes_h" >&5
echo "${ECHO_T}$groff_cv_header_inttypes_h" >&6
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -3608,10 +3625,10 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-echo "$as_me:3611: checking for unsigned long long" >&5
+echo "$as_me:3628: checking for unsigned long long" >&5
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 3614 "configure"
+#line 3631 "configure"
#include "confdefs.h"
unsigned long long ull = 1; int i = 63;
int
@@ -3624,16 +3641,16 @@ return ull << i | ull >> i | ullmax / ull | ullmax % ull;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:3627: \"$ac_link\"") >&5
+if { (eval echo "$as_me:3644: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:3630: \$? = $ac_status" >&5
+ echo "$as_me:3647: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:3633: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3650: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3636: \$? = $ac_status" >&5
+ echo "$as_me:3653: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
groff_cv_type_unsigned_long_long=yes
else
@@ -3642,7 +3659,7 @@ cat conftest.$ac_ext >&5
groff_cv_type_unsigned_long_long=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
-echo "$as_me:3645: result: $groff_cv_type_unsigned_long_long" >&5
+echo "$as_me:3662: result: $groff_cv_type_unsigned_long_long" >&5
echo "${ECHO_T}$groff_cv_type_unsigned_long_long" >&6
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -3655,7 +3672,8 @@ if test $groff_cv_header_inttypes_h = no; then
test $groff_cv_type_unsigned_long_long = yes \
&& ac_type='unsigned long long' \
|| ac_type='unsigned long'
- cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
#define uintmax_t $ac_type
EOF
@@ -3666,10 +3684,10 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-echo "$as_me:3669: checking for declaration of time_t" >&5
+echo "$as_me:3687: checking for declaration of time_t" >&5
echo $ECHO_N "checking for declaration of time_t... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 3672 "configure"
+#line 3690 "configure"
#include "confdefs.h"
#include <time.h>
int
@@ -3681,24 +3699,25 @@ time_t t = time(0); struct tm *p = localtime(&t);
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3684: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3702: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3687: \$? = $ac_status" >&5
+ echo "$as_me:3705: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3690: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3708: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3693: \$? = $ac_status" >&5
+ echo "$as_me:3711: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:3695: result: yes" >&5
+ echo "$as_me:3713: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:3700: result: no" >&5
-echo "${ECHO_T}no" >&6;cat >>confdefs.h <<\EOF
+echo "$as_me:3718: result: no" >&5
+echo "${ECHO_T}no" >&6;
+cat >>confdefs.h <<\EOF
#define LONG_FOR_TIME_T 1
EOF
@@ -3710,13 +3729,13 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:3713: checking return type of signal handlers" >&5
+echo "$as_me:3732: checking return type of signal handlers" >&5
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
if test "${ac_cv_type_signal+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3719 "configure"
+#line 3738 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
@@ -3738,16 +3757,16 @@ int i;
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3741: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3760: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3744: \$? = $ac_status" >&5
+ echo "$as_me:3763: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3747: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3766: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3750: \$? = $ac_status" >&5
+ echo "$as_me:3769: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_signal=void
else
@@ -3757,17 +3776,17 @@ ac_cv_type_signal=int
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:3760: result: $ac_cv_type_signal" >&5
+echo "$as_me:3779: result: $ac_cv_type_signal" >&5
echo "${ECHO_T}$ac_cv_type_signal" >&6
cat >>confdefs.h <<EOF
#define RETSIGTYPE $ac_cv_type_signal
EOF
-echo "$as_me:3767: checking struct exception" >&5
+echo "$as_me:3786: checking struct exception" >&5
echo $ECHO_N "checking struct exception... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 3770 "configure"
+#line 3789 "configure"
#include "confdefs.h"
#include <math.h>
int
@@ -3779,30 +3798,31 @@ struct exception e;
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:3782: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:3801: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:3785: \$? = $ac_status" >&5
+ echo "$as_me:3804: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:3788: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3807: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3791: \$? = $ac_status" >&5
+ echo "$as_me:3810: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:3793: result: yes" >&5
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
+ echo "$as_me:3812: result: yes" >&5
+echo "${ECHO_T}yes" >&6;
+cat >>confdefs.h <<\EOF
#define HAVE_STRUCT_EXCEPTION 1
EOF
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:3801: result: no" >&5
+echo "$as_me:3821: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest.$ac_objext conftest.$ac_ext
-echo "$as_me:3805: checking for sin in -lm" >&5
+echo "$as_me:3825: checking for sin in -lm" >&5
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
if test "${ac_cv_lib_m_sin+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3810,7 +3830,7 @@ else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
-#line 3813 "configure"
+#line 3833 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
@@ -3829,16 +3849,16 @@ sin ();
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:3832: \"$ac_link\"") >&5
+if { (eval echo "$as_me:3852: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:3835: \$? = $ac_status" >&5
+ echo "$as_me:3855: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:3838: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3858: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3841: \$? = $ac_status" >&5
+ echo "$as_me:3861: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_m_sin=yes
else
@@ -3849,7 +3869,7 @@ fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:3852: result: $ac_cv_lib_m_sin" >&5
+echo "$as_me:3872: result: $ac_cv_lib_m_sin" >&5
echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
if test $ac_cv_lib_m_sin = yes; then
LIBM=-lm
@@ -3858,23 +3878,23 @@ fi
for ac_header in stdlib.h unistd.h
do
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo "$as_me:3861: checking for $ac_header" >&5
+echo "$as_me:3881: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3867 "configure"
+#line 3887 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:3871: \"$ac_cpp conftest.$ac_ext\"") >&5
+if { (eval echo "$as_me:3891: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
- echo "$as_me:3877: \$? = $ac_status" >&5
+ echo "$as_me:3897: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3893,7 +3913,7 @@ else
fi
rm -f conftest.err conftest.$ac_ext
fi
-echo "$as_me:3896: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "$as_me:3916: result: `eval echo '${'$ac_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
cat >>confdefs.h <<EOF
@@ -3906,13 +3926,13 @@ done
for ac_func in getpagesize
do
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo "$as_me:3909: checking for $ac_func" >&5
+echo "$as_me:3929: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$ac_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3915 "configure"
+#line 3935 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
@@ -3943,16 +3963,16 @@ f = $ac_func;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:3946: \"$ac_link\"") >&5
+if { (eval echo "$as_me:3966: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:3949: \$? = $ac_status" >&5
+ echo "$as_me:3969: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:3952: \"$ac_try\"") >&5
+ { (eval echo "$as_me:3972: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:3955: \$? = $ac_status" >&5
+ echo "$as_me:3975: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$ac_ac_var=yes"
else
@@ -3962,7 +3982,7 @@ eval "$ac_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
-echo "$as_me:3965: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "$as_me:3985: result: `eval echo '${'$ac_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
if test `eval echo '${'$ac_ac_var'}'` = yes; then
cat >>confdefs.h <<EOF
@@ -3972,7 +3992,7 @@ EOF
fi
done
-echo "$as_me:3975: checking for working mmap" >&5
+echo "$as_me:3995: checking for working mmap" >&5
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3981,7 +4001,7 @@ else
ac_cv_func_mmap_fixed_mapped=no
else
cat >conftest.$ac_ext <<_ACEOF
-#line 3984 "configure"
+#line 4004 "configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test.
Here is a matrix of mmap possibilities:
@@ -4113,15 +4133,15 @@ main ()
}
_ACEOF
rm -f conftest$ac_exeext
-if { (eval echo "$as_me:4116: \"$ac_link\"") >&5
+if { (eval echo "$as_me:4136: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:4119: \$? = $ac_status" >&5
+ echo "$as_me:4139: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (eval echo "$as_me:4121: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4141: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4124: \$? = $ac_status" >&5
+ echo "$as_me:4144: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_mmap_fixed_mapped=yes
else
@@ -4133,7 +4153,7 @@ fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
fi
fi
-echo "$as_me:4136: result: $ac_cv_func_mmap_fixed_mapped" >&5
+echo "$as_me:4156: result: $ac_cv_func_mmap_fixed_mapped" >&5
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
if test $ac_cv_func_mmap_fixed_mapped = yes; then
@@ -4150,13 +4170,13 @@ LIBS="$LIBS -lc $LIBM"
for ac_func in fmod getcwd putenv snprintf strerror strtol
do
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo "$as_me:4153: checking for $ac_func" >&5
+echo "$as_me:4173: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$ac_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 4159 "configure"
+#line 4179 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
@@ -4187,16 +4207,16 @@ f = $ac_func;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:4190: \"$ac_link\"") >&5
+if { (eval echo "$as_me:4210: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:4193: \$? = $ac_status" >&5
+ echo "$as_me:4213: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:4196: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4216: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4199: \$? = $ac_status" >&5
+ echo "$as_me:4219: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$ac_ac_var=yes"
else
@@ -4206,7 +4226,7 @@ eval "$ac_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
-echo "$as_me:4209: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "$as_me:4229: result: `eval echo '${'$ac_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
if test `eval echo '${'$ac_ac_var'}'` = yes; then
cat >>confdefs.h <<EOF
@@ -4223,13 +4243,13 @@ LIBS="$saved_libs"
for ac_func in gettimeofday rename strcasecmp strncasecmp strsep
do
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo "$as_me:4226: checking for $ac_func" >&5
+echo "$as_me:4246: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$ac_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 4232 "configure"
+#line 4252 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
@@ -4260,16 +4280,16 @@ f = $ac_func;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:4263: \"$ac_link\"") >&5
+if { (eval echo "$as_me:4283: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:4266: \$? = $ac_status" >&5
+ echo "$as_me:4286: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:4269: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4289: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4272: \$? = $ac_status" >&5
+ echo "$as_me:4292: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$ac_ac_var=yes"
else
@@ -4279,7 +4299,7 @@ eval "$ac_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
-echo "$as_me:4282: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "$as_me:4302: result: `eval echo '${'$ac_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
if test `eval echo '${'$ac_ac_var'}'` = yes; then
cat >>confdefs.h <<EOF
@@ -4295,13 +4315,13 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-echo "$as_me:4298: checking for mkstemp" >&5
+echo "$as_me:4318: checking for mkstemp" >&5
echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
if test "${ac_cv_func_mkstemp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 4304 "configure"
+#line 4324 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char mkstemp (); below. */
@@ -4332,16 +4352,16 @@ f = mkstemp;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:4335: \"$ac_link\"") >&5
+if { (eval echo "$as_me:4355: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:4338: \$? = $ac_status" >&5
+ echo "$as_me:4358: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:4341: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4361: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4344: \$? = $ac_status" >&5
+ echo "$as_me:4364: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_mkstemp=yes
else
@@ -4351,10 +4371,11 @@ ac_cv_func_mkstemp=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
-echo "$as_me:4354: result: $ac_cv_func_mkstemp" >&5
+echo "$as_me:4374: result: $ac_cv_func_mkstemp" >&5
echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
if test $ac_cv_func_mkstemp = yes; then
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define HAVE_MKSTEMP 1
EOF
@@ -4368,13 +4389,13 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:4371: checking for sys_siglist declaration in signal.h or unistd.h" >&5
+echo "$as_me:4392: checking for sys_siglist declaration in signal.h or unistd.h" >&5
echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
if test "${ac_cv_decl_sys_siglist+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 4377 "configure"
+#line 4398 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
@@ -4392,16 +4413,16 @@ char *msg = *(sys_siglist + 1);
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4395: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4416: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:4398: \$? = $ac_status" >&5
+ echo "$as_me:4419: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:4401: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4422: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4404: \$? = $ac_status" >&5
+ echo "$as_me:4425: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_decl_sys_siglist=yes
else
@@ -4411,7 +4432,7 @@ ac_cv_decl_sys_siglist=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:4414: result: $ac_cv_decl_sys_siglist" >&5
+echo "$as_me:4435: result: $ac_cv_decl_sys_siglist" >&5
echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
if test $ac_cv_decl_sys_siglist = yes; then
@@ -4427,10 +4448,10 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-echo "$as_me:4430: checking whether ANSI array delete syntax supported" >&5
+echo "$as_me:4451: checking whether ANSI array delete syntax supported" >&5
echo $ECHO_N "checking whether ANSI array delete syntax supported... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 4433 "configure"
+#line 4454 "configure"
#include "confdefs.h"
int
@@ -4442,24 +4463,25 @@ char *p = new char[5]; delete [] p;
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4445: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4466: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:4448: \$? = $ac_status" >&5
+ echo "$as_me:4469: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:4451: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4472: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4454: \$? = $ac_status" >&5
+ echo "$as_me:4475: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:4456: result: yes" >&5
+ echo "$as_me:4477: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:4461: result: no" >&5
-echo "${ECHO_T}no" >&6;cat >>confdefs.h <<\EOF
+echo "$as_me:4482: result: no" >&5
+echo "${ECHO_T}no" >&6;
+cat >>confdefs.h <<\EOF
#define ARRAY_DELETE_NEEDS_SIZE 1
EOF
@@ -4477,10 +4499,10 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-echo "$as_me:4480: checking traditional preprocessor" >&5
+echo "$as_me:4502: checking traditional preprocessor" >&5
echo $ECHO_N "checking traditional preprocessor... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
-#line 4483 "configure"
+#line 4505 "configure"
#include "confdefs.h"
#define name2(a,b) a/**/b
int
@@ -4492,26 +4514,27 @@ int name2(foo,bar);
}
_ACEOF
rm -f conftest.$ac_objext
-if { (eval echo "$as_me:4495: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:4517: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:4498: \$? = $ac_status" >&5
+ echo "$as_me:4520: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:4501: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4523: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4504: \$? = $ac_status" >&5
+ echo "$as_me:4526: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:4506: result: yes" >&5
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
+ echo "$as_me:4528: result: yes" >&5
+echo "${ECHO_T}yes" >&6;
+cat >>confdefs.h <<\EOF
#define TRADITIONAL_CPP 1
EOF
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:4514: result: no" >&5
+echo "$as_me:4537: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest.$ac_objext conftest.$ac_ext
@@ -4521,14 +4544,14 @@ 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_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:4524: checking w_coredump" >&5
+echo "$as_me:4547: checking w_coredump" >&5
echo $ECHO_N "checking w_coredump... $ECHO_C" >&6
if test "$cross_compiling" = yes; then
- echo "$as_me:4527: result: no" >&5
+ echo "$as_me:4550: result: no" >&5
echo "${ECHO_T}no" >&6
else
cat >conftest.$ac_ext <<_ACEOF
-#line 4531 "configure"
+#line 4554 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
@@ -4544,18 +4567,19 @@ main()
}
_ACEOF
rm -f conftest$ac_exeext
-if { (eval echo "$as_me:4547: \"$ac_link\"") >&5
+if { (eval echo "$as_me:4570: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:4550: \$? = $ac_status" >&5
+ echo "$as_me:4573: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (eval echo "$as_me:4552: \"$ac_try\"") >&5
+ { (eval echo "$as_me:4575: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:4555: \$? = $ac_status" >&5
+ echo "$as_me:4578: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:4557: result: yes" >&5
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF
+ echo "$as_me:4580: result: yes" >&5
+echo "${ECHO_T}yes" >&6;
+cat >>confdefs.h <<\EOF
#define WCOREFLAG 0200
EOF
@@ -4563,18 +4587,18 @@ else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-echo "$as_me:4566: result: no" >&5
+echo "$as_me:4590: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
fi
-echo "$as_me:4571: checking default value for grops -b option" >&5
+echo "$as_me:4595: checking default value for grops -b option" >&5
echo $ECHO_N "checking default value for grops -b option... $ECHO_C" >&6
test -n "${BROKEN_SPOOLER_FLAGS}" || BROKEN_SPOOLER_FLAGS=7
-echo "$as_me:4574: result: $BROKEN_SPOOLER_FLAGS" >&5
+echo "$as_me:4598: result: $BROKEN_SPOOLER_FLAGS" >&5
echo "${ECHO_T}$BROKEN_SPOOLER_FLAGS" >&6
-echo "$as_me:4577: checking default paper size" >&5
+echo "$as_me:4601: checking default paper size" >&5
echo $ECHO_N "checking default paper size... $ECHO_C" >&6
if test -z "$PAGE"; then
descfile=
@@ -4614,27 +4638,28 @@ if test -z "$PAGE"; then
fi
test -n "$PAGE" || PAGE=letter
if test "x$PAGE" = "xA4"; then
- cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
#define PAGEA4 1
EOF
fi
-echo "$as_me:4622: result: $PAGE" >&5
+echo "$as_me:4647: result: $PAGE" >&5
echo "${ECHO_T}$PAGE" >&6
-echo "$as_me:4625: checking for existing troff installation" >&5
+echo "$as_me:4650: checking for existing troff installation" >&5
echo $ECHO_N "checking for existing troff installation... $ECHO_C" >&6
if test "x`(echo .tm '|n(.g' | tr '|' '\\\\' | troff -z -i 2>&1) 2>/dev/null`" = x0; then
- echo "$as_me:4628: result: yes" >&5
+ echo "$as_me:4653: result: yes" >&5
echo "${ECHO_T}yes" >&6
g=g
else
- echo "$as_me:4632: result: no" >&5
+ echo "$as_me:4657: result: no" >&5
echo "${ECHO_T}no" >&6
g=
fi
-echo "$as_me:4637: checking for prefix of system macro packages" >&5
+echo "$as_me:4662: checking for prefix of system macro packages" >&5
echo $ECHO_N "checking for prefix of system macro packages... $ECHO_C" >&6
sys_tmac_prefix=
sys_tmac_file_prefix=
@@ -4651,11 +4676,11 @@ for d in /usr/share/lib/tmac /usr/lib/tmac; do
done
done
done
-echo "$as_me:4654: result: $sys_tmac_prefix" >&5
+echo "$as_me:4679: result: $sys_tmac_prefix" >&5
echo "${ECHO_T}$sys_tmac_prefix" >&6
tmac_wrap=
-echo "$as_me:4658: checking which system macro packages should be made available" >&5
+echo "$as_me:4683: checking which system macro packages should be made available" >&5
echo $ECHO_N "checking which system macro packages should be made available... $ECHO_C" >&6
if test "x$sys_tmac_file_prefix" = "xtmac."; then
for f in $sys_tmac_prefix*; do
@@ -4691,10 +4716,12 @@ elif test -n "$sys_tmac_prefix"; then
done
rm -f conftest.sol
fi
-echo "$as_me:4694: result: $tmac_wrap" >&5
+echo "$as_me:4719: result: $tmac_wrap" >&5
echo "${ECHO_T}$tmac_wrap" >&6
$srcdir/mkinstalldirs src/xditview
+ac_config_files="$ac_config_files stamp-h"
+
ac_config_files="$ac_config_files Makefile src/xditview/Imakefile"
cat >confcache <<\_ACEOF
@@ -4771,42 +4798,12 @@ s/^[^=]*=[ ]*$//;
}'
fi
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then we branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-cat >confdef2opt.sed <<\EOF
-t clear
-: clear
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
-t quote
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
-t quote
-d
-: quote
-s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
-s,\[,\\&,g
-s,\],\\&,g
-s,\$,$$,g
-p
-EOF
-# We use echo to avoid assuming a particular line-breaking character.
-# The extra dot is to prevent the shell from consuming trailing
-# line-breaks from the sub-command output. A line-break within
-# single-quotes doesn't work because, if this script is created in a
-# platform that uses two characters for line-breaks (e.g., DOS), tr
-# would break.
-ac_LF_and_DOT=`echo; echo .`
-DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
-rm -f confdef2opt.sed
+DEFS=-DHAVE_CONFIG_H
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:4809: creating $CONFIG_STATUS" >&5
+{ echo "$as_me:4806: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
@@ -4920,10 +4917,15 @@ Usage: $0 [OPTIONS] [FILE]...
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
Configuration files:
$config_files
+Configuration headers:
+$config_headers
+
Report bugs to <bug-autoconf@gnu.org>."
EOF
@@ -4974,7 +4976,7 @@ cat >>$CONFIG_STATUS <<\EOF
echo "$ac_cs_version"; exit 0 ;;
--he | --h)
# Conflict between --help and --header
- { { echo "$as_me:4977: error: ambiguous option: $1
+ { { echo "$as_me:4979: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
@@ -4993,16 +4995,18 @@ Try \`$0 --help' for more information." >&2;}
ac_need_defaults=false;;
# Handling of arguments.
+ 'stamp-h' ) CONFIG_FILES="$CONFIG_FILES stamp-h" ;;
'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
'src/xditview/Imakefile' ) CONFIG_FILES="$CONFIG_FILES src/xditview/Imakefile" ;;
+ 'src/include/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h:src/include/config.hin" ;;
# This is an error.
- -*) { { echo "$as_me:5000: error: unrecognized option: $1
+ -*) { { echo "$as_me:5004: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
{ (exit 1); exit 1; }; } ;;
- *) { { echo "$as_me:5005: error: invalid argument: $1" >&5
+ *) { { echo "$as_me:5009: error: invalid argument: $1" >&5
echo "$as_me: error: invalid argument: $1" >&2;}
{ (exit 1); exit 1; }; };;
esac
@@ -5030,6 +5034,7 @@ cat >>$CONFIG_STATUS <<\EOF
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
fi
# Create a temporary directory, and hook for its removal unless debugging.
@@ -5243,7 +5248,7 @@ done; }
esac
if test x"$ac_file" != x-; then
- { echo "$as_me:5246: creating $ac_file" >&5
+ { echo "$as_me:5251: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
@@ -5261,7 +5266,7 @@ echo "$as_me: creating $ac_file" >&6;}
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
- test -f "$f" || { { echo "$as_me:5264: error: cannot find input file: $f" >&5
+ test -f "$f" || { { echo "$as_me:5269: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
@@ -5274,7 +5279,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
echo $srcdir/$f
else
# /dev/null tree
- { { echo "$as_me:5277: error: cannot find input file: $f" >&5
+ { { echo "$as_me:5282: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
@@ -5301,6 +5306,224 @@ s,@INSTALL@,$ac_INSTALL,;t t
rm -f $tmp/out
fi
+ # Run the commands associated with the file.
+ case $ac_file in
+ stamp-h ) echo timestamp > stamp-h ;;
+ esac
+done
+EOF
+cat >>$CONFIG_STATUS <<\EOF
+
+#
+# CONFIG_HEADER section.
+#
+
+# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
+# NAME is the cpp macro being defined and VALUE is the value it is being given.
+#
+# ac_d sets the value in "#define NAME VALUE" lines.
+ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
+ac_dB='[ ].*$,\1#\2'
+ac_dC=' '
+ac_dD=',;t'
+# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
+ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
+ac_uB='$,\1#\2define\3'
+ac_uC=' '
+ac_uD=',;t'
+
+for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+ case $ac_file in
+ - | *:- | *:-:* ) # input from stdin
+ cat >$tmp/stdin
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+ * ) ac_file_in=$ac_file.in ;;
+ esac
+
+ test x"$ac_file" != x- && { echo "$as_me:5347: creating $ac_file" >&5
+echo "$as_me: creating $ac_file" >&6;}
+
+ # First look for the input files in the build tree, otherwise in the
+ # src tree.
+ ac_file_inputs=`IFS=:
+ for f in $ac_file_in; do
+ case $f in
+ -) echo $tmp/stdin ;;
+ [\\/$]*)
+ # Absolute (can't be DOS-style, as IFS=:)
+ test -f "$f" || { { echo "$as_me:5358: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+ { (exit 1); exit 1; }; }
+ echo $f;;
+ *) # Relative
+ if test -f "$f"; then
+ # Build tree
+ echo $f
+ elif test -f "$srcdir/$f"; then
+ # Source tree
+ echo $srcdir/$f
+ else
+ # /dev/null tree
+ { { echo "$as_me:5371: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+ { (exit 1); exit 1; }; }
+ fi;;
+ esac
+ done` || { (exit 1); exit 1; }
+ # Remove the trailing spaces.
+ sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
+
+EOF
+
+# Transform confdefs.h into two sed scripts, `conftest.defines' and
+# `conftest.undefs', that substitutes the proper values into
+# config.h.in to produce config.h. The first handles `#define'
+# templates, and the second `#undef' templates.
+# And first: Protect against being on the right side of a sed subst in
+# config.status. Protect against being in an unquoted here document
+# in config.status.
+rm -f conftest.defines conftest.undefs
+# Using a here document instead of a string reduces the quoting nightmare.
+# Putting comments in sed scripts is not portable.
+#
+# `end' is used to avoid that the second main sed command (meant for
+# 0-ary CPP macros) applies to n-ary macro definitions.
+# See the Autoconf documentation for `clear'.
+cat >confdef2sed.sed <<\EOF
+s/[\\&,]/\\&/g
+s,[\\$`],\\&,g
+t clear
+: clear
+s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
+t end
+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
+: end
+EOF
+# If some macros were called several times there might be several times
+# the same #defines, which is useless. Nevertheless, we may not want to
+# sort them, since we want the *last* AC-DEFINE to be honored.
+uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
+sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
+rm -f confdef2sed.sed
+
+# This sed command replaces #undef with comments. This is necessary, for
+# example, in the case of _POSIX_SOURCE, which is predefined and required
+# on some systems where configure will not decide to define it.
+cat >>conftest.undefs <<\EOF
+s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
+EOF
+
+# Break up conftest.defines because some shells have a limit on the size
+# of here documents, and old seds have small limits too (100 cmds).
+echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
+echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
+echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
+echo ' :' >>$CONFIG_STATUS
+rm -f conftest.tail
+while grep . conftest.defines >/dev/null
+do
+ # Write a limited-size here document to $tmp/defines.sed.
+ echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
+ # Speed up: don't consider the non `#define' lines.
+ echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
+ # Work around the forget-to-reset-the-flag bug.
+ echo 't clr' >>$CONFIG_STATUS
+ echo ': clr' >>$CONFIG_STATUS
+ sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
+ echo 'CEOF
+ sed -f $tmp/defines.sed $tmp/in >$tmp/out
+ rm -f $tmp/in
+ mv $tmp/out $tmp/in
+' >>$CONFIG_STATUS
+ sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
+ rm -f conftest.defines
+ mv conftest.tail conftest.defines
+done
+rm -f conftest.defines
+echo ' fi # egrep' >>$CONFIG_STATUS
+echo >>$CONFIG_STATUS
+
+# Break up conftest.undefs because some shells have a limit on the size
+# of here documents, and old seds have small limits too (100 cmds).
+echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
+rm -f conftest.tail
+while grep . conftest.undefs >/dev/null
+do
+ # Write a limited-size here document to $tmp/undefs.sed.
+ echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
+ # Speed up: don't consider the non `#undef'
+ echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
+ # Work around the forget-to-reset-the-flag bug.
+ echo 't clr' >>$CONFIG_STATUS
+ echo ': clr' >>$CONFIG_STATUS
+ sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
+ echo 'CEOF
+ sed -f $tmp/undefs.sed $tmp/in >$tmp/out
+ rm -f $tmp/in
+ mv $tmp/out $tmp/in
+' >>$CONFIG_STATUS
+ sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
+ rm -f conftest.undefs
+ mv conftest.tail conftest.undefs
+done
+rm -f conftest.undefs
+
+cat >>$CONFIG_STATUS <<\EOF
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated automatically by config.status. */
+ if test x"$ac_file" = x-; then
+ echo "/* Generated automatically by configure. */" >$tmp/config.h
+ else
+ echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
+ fi
+ cat $tmp/in >>$tmp/config.h
+ rm -f $tmp/in
+ if test x"$ac_file" != x-; then
+ if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
+ { echo "$as_me:5488: $ac_file is unchanged" >&5
+echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+ if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+ { case "$ac_dir" in
+ [\\/]* | ?:[\\/]* ) as_incr_dir=;;
+ *) as_incr_dir=.;;
+esac
+as_dummy="$ac_dir"
+for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
+ case $as_mkdir_dir in
+ # Skip DOS drivespec
+ ?:) as_incr_dir=$as_mkdir_dir ;;
+ *)
+ as_incr_dir=$as_incr_dir/$as_mkdir_dir
+ test -d "$as_incr_dir" || mkdir "$as_incr_dir"
+ ;;
+ esac
+done; }
+
+ fi
+ rm -f $ac_file
+ mv $tmp/config.h $ac_file
+ fi
+ else
+ cat $tmp/config.h
+ rm -f $tmp/config.h
+ fi
done
EOF
diff --git a/configure.ac b/configure.ac
index d8ac6879..b38fc57a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT
+AC_CONFIG_HEADERS(src/include/config.h:src/include/config.hin)
AC_CONFIG_SRCDIR([src/roff/groff/groff.cc])
dnl checks for programs
GROFF_SRCDIR
@@ -66,5 +67,6 @@ GROFF_PAGE
GROFF_G
GROFF_TMAC
$srcdir/mkinstalldirs src/xditview
+AC_CONFIG_FILES(stamp-h, [echo timestamp > stamp-h])
AC_CONFIG_FILES([Makefile src/xditview/Imakefile])
AC_OUTPUT
diff --git a/src/include/driver.h b/src/include/driver.h
index 97eb8912..798b3504 100644
--- a/src/include/driver.h
+++ b/src/include/driver.h
@@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <ctype.h>
#include <stdlib.h>
#include <stddef.h>
@@ -29,7 +30,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "error.h"
#include "font.h"
#include "printer.h"
-#include "lib.h"
void do_file(const char *);
extern printer *pr;
diff --git a/src/include/lib.h b/src/include/lib.h
index 06ec5756..db0674a3 100644
--- a/src/include/lib.h
+++ b/src/include/lib.h
@@ -18,6 +18,10 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
extern "C" {
#ifndef HAVE_STRERROR
char *strerror(int);
diff --git a/src/libs/libbib/index.cc b/src/libs/libbib/index.cc
index 4d836a0f..3633df1c 100644
--- a/src/libs/libbib/index.cc
+++ b/src/libs/libbib/index.cc
@@ -18,13 +18,12 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
-#include <string.h>
+#include "lib.h"
+
#include <stdlib.h>
#include <errno.h>
#include "posix.h"
-#include "lib.h"
#include "cset.h"
#include "cmap.h"
#include "errarg.h"
diff --git a/src/libs/libbib/linear.cc b/src/libs/libbib/linear.cc
index 1b631085..1dd902b8 100644
--- a/src/libs/libbib/linear.cc
+++ b/src/libs/libbib/linear.cc
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -18,14 +19,13 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include "lib.h"
-#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <errno.h>
#include "posix.h"
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "cset.h"
diff --git a/src/libs/libbib/map.c b/src/libs/libbib/map.c
index 531d8670..064807b8 100644
--- a/src/libs/libbib/map.c
+++ b/src/libs/libbib/map.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -17,6 +18,10 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef HAVE_MMAP
#include <sys/types.h>
diff --git a/src/libs/libbib/search.cc b/src/libs/libbib/search.cc
index dde55d57..2223fb64 100644
--- a/src/libs/libbib/search.cc
+++ b/src/libs/libbib/search.cc
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -18,13 +19,13 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include "lib.h"
+
#include <stdlib.h>
-#include <string.h>
#include <assert.h>
#include <errno.h>
#include "posix.h"
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "nonposix.h"
diff --git a/src/libs/libgroff/font.cc b/src/libs/libgroff/font.cc
index aa602b47..fdf1afca 100644
--- a/src/libs/libgroff/font.cc
+++ b/src/libs/libgroff/font.cc
@@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
-#include <string.h>
+#include "lib.h"
+
#include <ctype.h>
#include <assert.h>
#include <math.h>
@@ -29,7 +29,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "error.h"
#include "cset.h"
#include "font.h"
-#include "lib.h"
const char *const WS = " \t\n\r";
diff --git a/src/libs/libgroff/fontfile.cc b/src/libs/libgroff/fontfile.cc
index 95cf6551..659cd7d1 100644
--- a/src/libs/libgroff/fontfile.cc
+++ b/src/libs/libgroff/fontfile.cc
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -18,13 +19,12 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
-#include <string.h>
+#include "lib.h"
+
#include <assert.h>
#include <stdlib.h>
#include <errno.h>
#include "font.h"
-#include "lib.h"
#include "searchpath.h"
#include "device.h"
#include "defs.h"
diff --git a/src/libs/libgroff/htmlindicate.cc b/src/libs/libgroff/htmlindicate.cc
index 2e6a5d7d..8cb896e7 100755
--- a/src/libs/libgroff/htmlindicate.cc
+++ b/src/libs/libgroff/htmlindicate.cc
@@ -17,9 +17,10 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include "lib.h"
+
#include <stddef.h>
#include <stdlib.h>
-#include <string.h>
#include "nonposix.h"
#include "stringclass.h"
diff --git a/src/libs/libgroff/matherr.c b/src/libs/libgroff/matherr.c
index b0097b8b..757a5404 100644
--- a/src/libs/libgroff/matherr.c
+++ b/src/libs/libgroff/matherr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -17,6 +17,10 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <math.h>
#include <errno.h>
diff --git a/src/libs/libgroff/maxfilename.cc b/src/libs/libgroff/maxfilename.cc
index c5a03d73..341cf926 100644
--- a/src/libs/libgroff/maxfilename.cc
+++ b/src/libs/libgroff/maxfilename.cc
@@ -20,6 +20,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* file_name_max(dir) does the same as pathconf(dir, _PC_NAME_MAX) */
+#include "lib.h"
+
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
diff --git a/src/libs/libgroff/nametoindex.cc b/src/libs/libgroff/nametoindex.cc
index 578ff349..b158b7c0 100644
--- a/src/libs/libgroff/nametoindex.cc
+++ b/src/libs/libgroff/nametoindex.cc
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -18,12 +19,11 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
-#include <string.h>
+#include "lib.h"
+
#include <ctype.h>
#include <assert.h>
#include <stdlib.h>
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "font.h"
diff --git a/src/libs/libgroff/new.cc b/src/libs/libgroff/new.cc
index 9933cc45..49751497 100644
--- a/src/libs/libgroff/new.cc
+++ b/src/libs/libgroff/new.cc
@@ -17,9 +17,10 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include "lib.h"
+
#include <stddef.h>
#include <stdlib.h>
-#include <string.h>
#include "posix.h"
#include "nonposix.h"
diff --git a/src/libs/libgroff/putenv.c b/src/libs/libgroff/putenv.c
index c1ca671a..2091f3b9 100644
--- a/src/libs/libgroff/putenv.c
+++ b/src/libs/libgroff/putenv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -18,6 +18,10 @@ Cambridge, MA 02139, USA. */
/* Hacked slightly by jjc@jclark.com for groff. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#ifdef __STDC__
diff --git a/src/libs/libgroff/searchpath.cc b/src/libs/libgroff/searchpath.cc
index f4e2b90d..1f8b233c 100644
--- a/src/libs/libgroff/searchpath.cc
+++ b/src/libs/libgroff/searchpath.cc
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -18,12 +19,11 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
-#include <string.h>
+#include "lib.h"
+
#include <stdlib.h>
#include <assert.h>
-#include "lib.h"
#include "searchpath.h"
#include "nonposix.h"
diff --git a/src/libs/libgroff/strerror.c b/src/libs/libgroff/strerror.c
index 69089f13..be2d1f3b 100644
--- a/src/libs/libgroff/strerror.c
+++ b/src/libs/libgroff/strerror.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -17,6 +17,10 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#define INT_DIGITS 19 /* enough for 64 bit integer */
diff --git a/src/libs/libgroff/string.cc b/src/libs/libgroff/string.cc
index 4bcd4ccc..ef1dbb20 100644
--- a/src/libs/libgroff/string.cc
+++ b/src/libs/libgroff/string.cc
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -18,10 +18,10 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
-#include "stringclass.h"
#include "lib.h"
+#include "stringclass.h"
+
static char *salloc(int len, int *sizep);
static void sfree(char *ptr, int size);
static char *sfree_alloc(char *ptr, int size, int len, int *sizep);
diff --git a/src/libs/libgroff/strtol.c b/src/libs/libgroff/strtol.c
index 61ce70e9..46b17029 100644
--- a/src/libs/libgroff/strtol.c
+++ b/src/libs/libgroff/strtol.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -17,6 +18,10 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <ctype.h>
#include <errno.h>
diff --git a/src/libs/libgroff/tmpfile.cc b/src/libs/libgroff/tmpfile.cc
index fdce09ee..10fcde15 100644
--- a/src/libs/libgroff/tmpfile.cc
+++ b/src/libs/libgroff/tmpfile.cc
@@ -19,13 +19,12 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <errno.h>
-#include <string.h>
#include <stdlib.h>
#include "posix.h"
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "nonposix.h"
diff --git a/src/libs/libgroff/tmpname.cc b/src/libs/libgroff/tmpname.cc
index 05510ecb..fd8f16dc 100644
--- a/src/libs/libgroff/tmpname.cc
+++ b/src/libs/libgroff/tmpname.cc
@@ -22,11 +22,11 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
file tempname.c which is part of the fileutils package. */
+#include "lib.h"
+
#include <stddef.h>
#include <stdlib.h>
-#include <string.h>
#include <errno.h>
-#include <stdio.h>
#include "posix.h"
#include "nonposix.h"
diff --git a/src/preproc/eqn/eqn.h b/src/preproc/eqn/eqn.h
index 70b19271..ee25f034 100644
--- a/src/preproc/eqn/eqn.h
+++ b/src/preproc/eqn/eqn.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -18,15 +18,14 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
-#include <string.h>
+#include "lib.h"
+
#include <assert.h>
#include <stdlib.h>
#include <errno.h>
#include "cset.h"
#include "errarg.h"
#include "error.h"
-#include "lib.h"
#include "box.h"
diff --git a/src/preproc/grn/hgraph.cc b/src/preproc/grn/hgraph.cc
index 79637209..84e7104e 100644
--- a/src/preproc/grn/hgraph.cc
+++ b/src/preproc/grn/hgraph.cc
@@ -4,6 +4,8 @@
* to troff input.
*/
+#include "lib.h"
+
#include "gprint.h"
#ifdef NEED_DECLARATION_HYPOT
diff --git a/src/preproc/grn/main.cc b/src/preproc/grn/main.cc
index efb33a95..f962894d 100644
--- a/src/preproc/grn/main.cc
+++ b/src/preproc/grn/main.cc
@@ -67,9 +67,10 @@
*/
+#include "lib.h"
+
#include <ctype.h>
#include <stdlib.h>
-#include <string.h>
#include "gprint.h"
#include "device.h"
@@ -77,7 +78,6 @@
#include "searchpath.h"
#include "macropath.h"
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "defs.h"
diff --git a/src/preproc/html/pre-html.cc b/src/preproc/html/pre-html.cc
index e4ee0ef3..92a0b2c4 100644
--- a/src/preproc/html/pre-html.cc
+++ b/src/preproc/html/pre-html.cc
@@ -20,13 +20,13 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define PREHTMLC
-#include <stdio.h>
+#include "lib.h"
+
#include <signal.h>
#include <ctype.h>
#include <assert.h>
#include <stdlib.h>
#include <errno.h>
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "stringclass.h"
diff --git a/src/preproc/html/pushbackbuffer.cc b/src/preproc/html/pushbackbuffer.cc
index 71f6fcd2..fdbde6d2 100755
--- a/src/preproc/html/pushbackbuffer.cc
+++ b/src/preproc/html/pushbackbuffer.cc
@@ -18,14 +18,13 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <signal.h>
#include <ctype.h>
-#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <errno.h>
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "stringclass.h"
diff --git a/src/preproc/pic/pic.h b/src/preproc/pic/pic.h
index 36c36d1b..0a092fe1 100644
--- a/src/preproc/pic/pic.h
+++ b/src/preproc/pic/pic.h
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -18,8 +19,8 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
-#include <string.h>
+#include "lib.h"
+
#include <math.h>
#include <stdlib.h>
#include <errno.h>
@@ -32,7 +33,6 @@ extern "C" {
#include "assert.h"
#include "cset.h"
-#include "lib.h"
#include "stringclass.h"
#include "errarg.h"
#include "error.h"
diff --git a/src/preproc/refer/refer.h b/src/preproc/refer/refer.h
index f0ab3cd7..e1e0c6df 100644
--- a/src/preproc/refer/refer.h
+++ b/src/preproc/refer/refer.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -18,15 +18,14 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <stdlib.h>
#include <assert.h>
-#include <string.h>
#include <errno.h>
#include "errarg.h"
#include "error.h"
-#include "lib.h"
#include "stringclass.h"
#include "cset.h"
#include "cmap.h"
diff --git a/src/preproc/soelim/soelim.cc b/src/preproc/soelim/soelim.cc
index a6040045..006b04ae 100644
--- a/src/preproc/soelim/soelim.cc
+++ b/src/preproc/soelim/soelim.cc
@@ -18,13 +18,12 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <ctype.h>
-#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <errno.h>
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "stringclass.h"
diff --git a/src/preproc/tbl/table.h b/src/preproc/tbl/table.h
index ca55b802..809c87c9 100644
--- a/src/preproc/tbl/table.h
+++ b/src/preproc/tbl/table.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <stdlib.h>
#include <assert.h>
#include <ctype.h>
@@ -29,7 +30,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "stringclass.h"
#include "errarg.h"
#include "error.h"
-#include "lib.h"
struct inc_number {
short inc;
diff --git a/src/roff/groff/groff.cc b/src/roff/groff/groff.cc
index b35a4ffa..ec8d34af 100644
--- a/src/roff/groff/groff.cc
+++ b/src/roff/groff/groff.cc
@@ -20,13 +20,12 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
// A front end for groff.
-#include <stdio.h>
-#include <string.h>
+#include "lib.h"
+
#include <stdlib.h>
#include <signal.h>
#include <errno.h>
-#include "lib.h"
#include "assert.h"
#include "errarg.h"
#include "error.h"
diff --git a/src/roff/groff/pipeline.c b/src/roff/groff/pipeline.c
index 977e7039..af3452db 100644
--- a/src/roff/groff/pipeline.c
+++ b/src/roff/groff/pipeline.c
@@ -18,6 +18,10 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <signal.h>
#include <errno.h>
diff --git a/src/roff/troff/node.cc b/src/roff/troff/node.cc
index 2d2d799a..255c4d28 100644
--- a/src/roff/troff/node.cc
+++ b/src/roff/troff/node.cc
@@ -19,11 +19,12 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include "troff.h"
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#include "troff.h"
#include "symbol.h"
#include "dictionary.h"
#include "hvunits.h"
diff --git a/src/roff/troff/troff.h b/src/roff/troff/troff.h
index 254c6264..17d45da2 100644
--- a/src/roff/troff/troff.h
+++ b/src/roff/troff/troff.h
@@ -20,15 +20,14 @@ with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <ctype.h>
-#include <string.h>
#include <time.h>
#include <stddef.h>
#include <stdlib.h>
#include <errno.h>
-#include "lib.h"
#include "assert.h"
#include "device.h"
#include "searchpath.h"
diff --git a/src/utils/addftinfo/addftinfo.cc b/src/utils/addftinfo/addftinfo.cc
index eb222d9b..931d8365 100644
--- a/src/utils/addftinfo/addftinfo.cc
+++ b/src/utils/addftinfo/addftinfo.cc
@@ -18,13 +18,12 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <ctype.h>
-#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <errno.h>
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "stringclass.h"
diff --git a/src/utils/hpftodit/hpftodit.cc b/src/utils/hpftodit/hpftodit.cc
index 15f6f7fe..15de3c30 100644
--- a/src/utils/hpftodit/hpftodit.cc
+++ b/src/utils/hpftodit/hpftodit.cc
@@ -28,13 +28,12 @@ make it work with TrueType fonts
put filename in error messages (or fix lib)
*/
-#include <stdio.h>
+#include "lib.h"
+
#include <stdlib.h>
#include <math.h>
-#include <string.h>
#include <errno.h>
#include "assert.h"
-#include "lib.h"
#include "posix.h"
#include "errarg.h"
#include "error.h"
diff --git a/src/utils/indxbib/indxbib.cc b/src/utils/indxbib/indxbib.cc
index 635d99df..0cc6c7ce 100644
--- a/src/utils/indxbib/indxbib.cc
+++ b/src/utils/indxbib/indxbib.cc
@@ -18,14 +18,13 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <stdlib.h>
-#include <string.h>
#include <assert.h>
#include <errno.h>
#include "posix.h"
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "stringclass.h"
diff --git a/src/utils/indxbib/signal.c b/src/utils/indxbib/signal.c
index 8078472f..fccd2892 100644
--- a/src/utils/indxbib/signal.c
+++ b/src/utils/indxbib/signal.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 2001 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -20,6 +20,10 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* Unfortunately vendors seem to have problems writing a <signal.h>
that is correct for C++, so we implement all signal handling in C. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <sys/types.h>
#include <signal.h>
#ifdef HAVE_UNISTD_H
diff --git a/src/utils/lkbib/lkbib.cc b/src/utils/lkbib/lkbib.cc
index 50e4e9b9..42156eaa 100644
--- a/src/utils/lkbib/lkbib.cc
+++ b/src/utils/lkbib/lkbib.cc
@@ -18,13 +18,12 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <stdlib.h>
#include <errno.h>
-#include <string.h>
#include <assert.h>
-#include "lib.h"
#include "errarg.h"
#include "error.h"
diff --git a/src/utils/lookbib/lookbib.cc b/src/utils/lookbib/lookbib.cc
index b742a4bd..4cac219e 100644
--- a/src/utils/lookbib/lookbib.cc
+++ b/src/utils/lookbib/lookbib.cc
@@ -18,15 +18,14 @@ You should have received a copy of the GNU General Public License along
with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#include <stdio.h>
+#include "lib.h"
+
#include <stdlib.h>
-#include <string.h>
#include <assert.h>
#include <errno.h>
#include "errarg.h"
#include "error.h"
-#include "lib.h"
#include "cset.h"
#include "refid.h"
diff --git a/src/utils/pfbtops/pfbtops.c b/src/utils/pfbtops/pfbtops.c
index 0964edec..f087e912 100644
--- a/src/utils/pfbtops/pfbtops.c
+++ b/src/utils/pfbtops/pfbtops.c
@@ -19,6 +19,10 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* This translates ps fonts in .pfb format to ASCII ps files. */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <getopt.h>
#include <limits.h>
diff --git a/src/utils/tfmtodit/tfmtodit.cc b/src/utils/tfmtodit/tfmtodit.cc
index 06b5d185..9fbbe25f 100644
--- a/src/utils/tfmtodit/tfmtodit.cc
+++ b/src/utils/tfmtodit/tfmtodit.cc
@@ -47,12 +47,11 @@ This need only be done for a font for which math_fitting is false;
When it's true, the left_correction and subscript_correction should
both be zero. */
-#include <stdio.h>
+#include "lib.h"
+
#include <stdlib.h>
#include <math.h>
-#include <string.h>
#include <errno.h>
-#include "lib.h"
#include "errarg.h"
#include "error.h"
#include "assert.h"