summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-12-30 06:31:35 +0000
committerwlemb <wlemb>2003-12-30 06:31:35 +0000
commit6c33fe612137b315457cb24f63b37054b58359ca (patch)
treeeaf2ae671767d31f9e9416f9a9302b2d3fa104cf /configure.ac
parente5e6dbda86fdfc7ef8b4c6eee598355526910766 (diff)
downloadgroff-6c33fe612137b315457cb24f63b37054b58359ca.tar.gz
More fixes for MSVC compiler.
* doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use $(SEP). * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO) [_MSC_VER]: Define conditionally. (getpid) [_MSC_VER]: Remove. Include direct.h and process.h conditionally. * src/roff/troff/node.cpp (suppress_node::tprint): Don't use parentheses for a_delete. * src/utils/lookbib/lookbib.cpp: Include nonposix.h. * test-groff: Replaced with... * test-groff.in: This new template to handle path separator properly. * configure.ac: Check for direct.h and process.h. Generate test-groff script. * configure, src/include/config.hin: Regenerated.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8fc78f4d..f3a69326 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@ AC_SUBST([SH_SCRIPT_SED_CMD])
# checks for headers
AC_CHECK_HEADERS([stdlib.h unistd.h dirent.h limits.h sys/dir.h \
- string.h strings.h math.h sys/time.h])
+ string.h strings.h math.h sys/time.h direct.h process.h])
GROFF_ISC_SYSV3
GROFF_POSIX
@@ -93,6 +93,7 @@ GROFF_PNMTOPS_NOSETPAGE
AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h])
AC_CONFIG_FILES([Makefile doc/Makefile src/xditview/Imakefile])
+AC_CONFIG_FILES([test-groff], [chmod +x test-groff])
AC_OUTPUT
AC_MSG_NOTICE([