Commit 3b6e65f7bf674601b9419d02ce0aa633e2e882fb

Alexei Podtelezhnikov 2018-11-08T23:36:37

* builds/unix/configure.raw: Require `windows.h' for windres.

diff --git a/ChangeLog b/ChangeLog
index 9f9c9a6..5d23322 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2018-11-08  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
+	* builds/unix/configure.raw: Require `windows.h' for windres.
+
+2018-11-08  Alexei Podtelezhnikov  <apodtele@gmail.com>
+
 	[ftstroke] Fix unpredictable failures (#54986).
 
 	* src/base/ftstroke.c (ft_sroke_border_lineto): Fix lineto check.
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index 769c44e..0c29fab 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -37,7 +37,7 @@ AC_SUBST(EXEEXT)
 PKG_PROG_PKG_CONFIG([0.24])
 
 LT_INIT(win32-dll)
-LT_PROG_RC
+AC_CHECK_HEADER([windows.h],[LT_PROG_RC])
 
 
 # checks for native programs to generate building tool