From 80183457adaca8dd3a013370f79a22b62c915c43 Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Sat, 18 May 2013 17:58:10 +0300 Subject: [PATCH] Fix the MS-Windows build using the Posix configury. w32/Makefile.am (libw32_a_SOURCES): Add compat/posixfcn.c. configure.ac (OUTPUT_SYNC): Define for mingw32 target. --- ChangeLog | 6 +++++- configure.ac | 1 + w32/Makefile.am | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6d5d0538..4633bec2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -2013-05-18 Eli Zaretskii +2013-05-18 Alexey Pavlov (tiny change) + + * w32/Makefile.am (libw32_a_SOURCES): Add compat/posixfcn.c. + + * configure.ac (OUTPUT_SYNC): Define for mingw32 target. * job.c (construct_command_argv_internal) [WINDOWS32]: Add "move". Fixes Savannah bug #30714. diff --git a/configure.ac b/configure.ac index 1c0fa09d..300096cb 100644 --- a/configure.ac +++ b/configure.ac @@ -428,6 +428,7 @@ AS_CASE([$host], [AM_CONDITIONAL([WINDOWSENV], [true]) w32_target_env=yes AC_DEFINE([WINDOWS32], [1], [Use platform specific coding]) + AC_DEFINE([OUTPUT_SYNC], [1], [Support synchronized output]) AC_DEFINE([HAVE_DOS_PATHS], [1], [Use platform specific coding]) ]) diff --git a/w32/Makefile.am b/w32/Makefile.am index 1e92b31b..be757fee 100644 --- a/w32/Makefile.am +++ b/w32/Makefile.am @@ -18,6 +18,6 @@ noinst_LIBRARIES = libw32.a libw32_a_SOURCES = subproc/misc.c subproc/sub_proc.c subproc/w32err.c \ - pathstuff.c + compat/posixfcn.c pathstuff.c libw32_a_CPPFLAGS = -I$(srcdir)/include -I$(srcdir)/subproc -I$(top_srcdir)