Cygwin: Drop looking for w32api in winsup/w32api

Stop looking for w32api headers in the (no longer existent)
winsup/w32api directory (removed in commit 61746d6ae8).
This commit is contained in:
Jon Turney 2020-09-25 20:59:14 +01:00
parent 3fd14da2c3
commit 08e7ee1912
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
8 changed files with 0 additions and 16 deletions

View File

@ -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
winsup/configure vendored
View File

@ -3430,8 +3430,6 @@ if test -n "$with_windows_headers"; then
else
as_fn_error $? "cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
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

View File

@ -64,8 +64,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

View File

@ -3431,8 +3431,6 @@ if test -n "$with_windows_headers"; then
else
as_fn_error $? "cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
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

View File

@ -63,8 +63,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

View File

@ -3442,8 +3442,6 @@ if test -n "$with_windows_headers"; then
else
as_fn_error $? "cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
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

View File

@ -63,8 +63,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

View File

@ -3137,8 +3137,6 @@ if test -n "$with_windows_headers"; then
else
as_fn_error $? "cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
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