summaryrefslogtreecommitdiff
path: root/configure
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
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')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 4ac71614..1f1633f9 100755
--- a/configure
+++ b/configure
@@ -3864,8 +3864,10 @@ done
+
+
for ac_header in 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
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -7958,6 +7960,8 @@ echo "${ECHO_T}no" >&6
ac_config_files="$ac_config_files Makefile doc/Makefile src/xditview/Imakefile"
+ ac_config_files="$ac_config_files test-groff"
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
@@ -8487,6 +8491,7 @@ do
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
"src/xditview/Imakefile" ) CONFIG_FILES="$CONFIG_FILES src/xditview/Imakefile" ;;
+ "test-groff" ) CONFIG_FILES="$CONFIG_FILES test-groff" ;;
"src/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h:src/include/config.hin" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
@@ -8859,6 +8864,7 @@ s,@INSTALL@,$ac_INSTALL,;t t
# Run the commands associated with the file.
case $ac_file in
stamp-h ) echo timestamp > stamp-h ;;
+ test-groff ) chmod +x test-groff ;;
esac
done
_ACEOF