Hm, hört sich nicht so einfach an. Ich hatte anfangs schon überlegt ob ich mit dem IO-Warrior etwas basteln soll aber dann verworfen. Mir wäre etwas am liebsten was auch andere verwenden. Zur Not muss mein alter P3 700 Laptop herhalten
--- org-srcpd-2.1.1/configure.in 2010-03-03 22:28:27.000000000 +0100
+++ srcpd-2.1.1/configure.in 2010-11-30 18:06:52.000000000 +0100
@@ -184,7 +184,7 @@
*-*-linux*)
AC_CHECK_HEADERS(sys/io.h linux/serial.h \
linux/i2c-dev.h, ,
- AC_MSG_ERROR(essential header file is missing))
+ )
;;
*-*-cygwin*)
AC_CHECK_HEADERS(sys/io.h, ,
--- org-srcpd-2.1.1/src/ddl.h 2009-12-10 21:06:19.000000000 +0100
+++ srcpd-2.1.1/src/ddl.h 2010-11-30 17:27:35.000000000 +0100
@@ -24,7 +24,6 @@
#include <sched.h>
#if linux
-#include <sys/io.h>
#include <linux/serial.h>
#endif
--- org-srcpd-2.1.1/src/ib.c 2010-02-28 21:01:39.000000000 +0100
+++ srcpd-2.1.1/src/ib.c 2010-11-30 17:28:39.000000000 +0100
@@ -29,10 +29,6 @@
#include <string.h>
#include <unistd.h>
-#ifdef linux
-#include <sys/io.h>
-#endif
-
#include "config-srcpd.h"
#include "ib.h"
#include "io.h"
--- org-srcpd-2.1.1/src/li100-main.c 2010-02-28 21:01:39.000000000 +0100
+++ srcpd-2.1.1/src/li100-main.c 2010-11-30 17:28:13.000000000 +0100
@@ -15,10 +15,6 @@
* *
***************************************************************************/
-#ifdef linux
-#include <sys/io.h>
-#endif
-
#include "config-srcpd.h"
#include "li100.h"
#include "io.h"
Index: configure.in
===================================================================
--- configure.in (revision 1494)
+++ configure.in (working copy)
@@ -182,8 +182,12 @@
dnl Checks for host dependend header files.
case $host in
*-*-linux*)
- AC_CHECK_HEADERS(sys/io.h linux/serial.h \
- linux/i2c-dev.h, ,
+
+ if test "$with_DDLS88" = "yes"; then
+ AC_CHECK_HEADERS(sys/io.h, ,
+ AC_MSG_ERROR(essential header file is missing))
+ fi
+ AC_CHECK_HEADERS(linux/serial.h linux/i2c-dev.h, ,
AC_MSG_ERROR(essential header file is missing))
;;
*-*-cygwin*)