X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=configure.in;h=79a650cc6d25afac56d77dfe673c15c0b94e621c;hb=bb5086b83e098ea9839c4d44b486dacdd11da8d3;hp=1dea31ffee2dce1c5008df6b693d7b106c83b5d7;hpb=d41f2bfb14a6b9b31062a328f0e05a9664eaca53;p=openocd.git diff --git a/configure.in b/configure.in index 1dea31ffee..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]) @@ -308,7 +308,7 @@ AC_ARG_ENABLE(parport, AC_ARG_ENABLE(parport_ppdev, AS_HELP_STRING([--disable-parport-ppdev], [Disable use of ppdev (/dev/parportN) for parport (for x86 only)]), - [parport_use_ppdev=$enableval], [parport_use_ppdev=]) + [parport_use_ppdev=$enableval], [parport_use_ppdev=yes]) AC_ARG_ENABLE(parport_giveio, AS_HELP_STRING([--enable-parport-giveio], @@ -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])