]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Fix the MS-Windows build using the Posix configury.
authorAlexey Pavlov <alexpux@gmail.com>
Sat, 18 May 2013 14:58:10 +0000 (17:58 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 May 2013 14:58:10 +0000 (17:58 +0300)
 w32/Makefile.am (libw32_a_SOURCES): Add compat/posixfcn.c.

 configure.ac (OUTPUT_SYNC): Define for mingw32 target.

ChangeLog
configure.ac
w32/Makefile.am

index 6d5d0538bd4ec44e03aedb0fb02fd0f2fc68faf7..4633bec2a3bb6e736dea82a04eaa39d58e48be87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 1c0fa09d696ce4a687c1966074b262bf95842135..300096cb4a49927cf5a0e3e46c1b9107cca82d31 100644 (file)
@@ -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])
   ])
 
index 1e92b31be524d22dc53c9114a4d69f70e9cd4968..be757fee4e06449a10748175486e57a560e1a50c 100644 (file)
@@ -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)