X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=configure.in;h=79a650cc6d25afac56d77dfe673c15c0b94e621c;hb=9b29b729f37ef1d162db5e61355ce3c9a32cd986;hp=46538cb3227354887165165ba29683da08357b21;hpb=6d20e27f9a3a96b57a0e3a898cccef6ccd04f4ab;p=openocd.git diff --git a/configure.in b/configure.in index 46538cb322..79a650cc6d 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ AC_PREREQ(2.60) -AC_INIT([openocd], [0.2.0-in-development], +AC_INIT([openocd], [0.3.0-in-development], [OpenOCD Mailing List ]) AC_CONFIG_SRCDIR([src/openocd.c]) @@ -453,6 +453,7 @@ esac case $host in *-cygwin*) is_win32=yes + parport_use_ppdev=no AC_COMPILE_IFELSE(AC_LANG_PROGRAM([],[return __MINGW32__;]), [is_mingw=yes],[is_mingw=no]) @@ -466,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.]) @@ -474,6 +479,7 @@ case $host in *-mingw*) is_mingw=yes is_win32=yes + parport_use_ppdev=no if test x$parport_use_giveio = xno; then AC_MSG_WARN([--disable-parport-giveio is not supported by MinGW32 hosts])