[PATCH 1/8] Drop looking for w32api in winsup/w32api
Jon Turney
jon.turney@dronecode.org.uk
Mon Oct 12 19:29:36 GMT 2020
Stop looking for w32api headers in the (no longer existent)
winsup/w32api directory (removed in commit 61746d6a).
---
winsup/acinclude.m4 | 2 --
1 file changed, 2 deletions(-)
diff --git a/winsup/acinclude.m4 b/winsup/acinclude.m4
index 80c920e8c..865ef8b5d 100644
--- a/winsup/acinclude.m4
+++ b/winsup/acinclude.m4
@@ -50,8 +50,6 @@ if test -n "$with_windows_headers"; then
else
AC_MSG_ERROR([cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers]);
fi
-elif test -d "$winsup_srcdir/w32api/include/windef.h"; then
- windows_headers="$winsup_srcdir/w32api/include"
else
windows_headers=$(cd $($ac_cv_prog_CC -xc /dev/null -E -include windef.h 2>/dev/null | sed -n 's%^# 1 "\([^"]*\)/windef\.h".*$%\1%p' | head -n1) 2>/dev/null && pwd)
if test -z "$windows_headers" -o ! -d "$windows_headers"; then
--
2.28.0
More information about the Cygwin-patches
mailing list