summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 79e80dd5..79a650cc 100644
--- a/configure.in
+++ b/configure.in
@@ -467,6 +467,10 @@ case $host in
else
is_cygwin=yes
AC_DEFINE(IS_CYGWIN, 1, [1 if building for Cygwin.])
+ # sys/io.h needed under cygwin for parport access
+ if test $build_parport = yes; then
+ AC_CHECK_HEADERS(sys/io.h,[],AC_MSG_ERROR([Please install the cygwin ioperm package]))
+ fi
fi
AC_DEFINE(IS_WIN32, 1, [1 if building for Win32.])