From 1622daf8d03a8a54f45fb43b256680fd6e3a1593 Mon Sep 17 00:00:00 2001 From: volker Date: Wed, 18 Nov 2009 17:19:16 +0000 Subject: disabling some driver if no parport available git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1062 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 7e5a7f4..ef69b35 100644 --- a/configure.in +++ b/configure.in @@ -100,6 +100,10 @@ if test "$with_python" = "yes"; then AC_PYTHON_DEVEL fi +# check for parport +#AC_CHECK_HEADERS(asm/io.h) +AC_CHECK_HEADERS([asm/io.h] [linux/parport.h linux/ppdev.h], [has_parport="true"], [has_parport="false"]) + # drivers sinclude(drivers.m4) @@ -110,8 +114,6 @@ sinclude(plugins.m4) AC_HEADER_DIRENT AC_HEADER_STDC AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h sys/vfs.h syslog.h termios.h unistd.h]) -AC_CHECK_HEADERS(asm/io.h) -AC_CHECK_HEADERS(linux/parport.h linux/ppdev.h) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST -- cgit v1.2.3