diff options
author | Alexey Pavlov <alexpux@gmail.com> | 2013-05-18 17:58:10 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-05-18 17:58:10 +0300 |
commit | 80183457adaca8dd3a013370f79a22b62c915c43 (patch) | |
tree | e2ff3c343b07f8493e9ee7e1d3601dfbcf5d30fb | |
parent | cece7ad61f1375e855d1a2c55ab183a177e2a7b6 (diff) | |
download | gunmake-80183457adaca8dd3a013370f79a22b62c915c43.tar.gz |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | w32/Makefile.am | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,4 +1,8 @@ -2013-05-18 Eli Zaretskii <eliz@gnu.org> +2013-05-18 Alexey Pavlov <alexpux@gmail.com> (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) <sh_cmds_dos> [WINDOWS32]: Add "move". Fixes Savannah bug #30714. diff --git a/configure.ac b/configure.ac index 1c0fa09..300096c 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 1e92b31..be757fe 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) |