- add configure error if building parport interface under cygwin and sys/io.h missing
git-svn-id: svn://svn.berlios.de/openocd/trunk@2571 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
5a824c934f
commit
9b29b729f3
|
@ -467,6 +467,10 @@ case $host in
|
||||||
else
|
else
|
||||||
is_cygwin=yes
|
is_cygwin=yes
|
||||||
AC_DEFINE(IS_CYGWIN, 1, [1 if building for Cygwin.])
|
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
|
fi
|
||||||
|
|
||||||
AC_DEFINE(IS_WIN32, 1, [1 if building for Win32.])
|
AC_DEFINE(IS_WIN32, 1, [1 if building for Win32.])
|
||||||
|
|
Loading…
Reference in New Issue