aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorlfcorreia <lfcorreia@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-31 20:42:55 +0000
committerlfcorreia <lfcorreia@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-31 20:42:55 +0000
commit3a395fe2c2b26247213a0baf3766ac2817398d0c (patch)
treeebf9b589473f4adb3ca9eaeabf6cbc13dcec1229 /drivers.m4
parent95a2d9bcb9481d4663b55fce529722a3b9fbdbed (diff)
downloadlcd4linux-3a395fe2c2b26247213a0baf3766ac2817398d0c.tar.gz
[lcd4linux @ 2005-05-31 20:42:54 by lfcorreia]
new file: lcd4linux_i2c.h avoid the problems detecting the proper I2C kernel include files rearrange all the other autoconf stuff to remove I2C detection new method by Paul Kamphuis to write to the I2C device git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@556 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m49
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers.m4 b/drivers.m4
index ee5da93..0a6100e 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -372,13 +372,8 @@ fi
# generic i2c driver
if test "$I2C" = "yes"; then
- if test "$has_i2c" = true; then
- DRIVERS="$DRIVERS drv_generic_i2c.o"
- AC_DEFINE(WITH_I2C, 1, [I2C bus driver])
- else
- I2C="no"
- AC_MSG_WARN(I2C include files not found: I2C bus driver disabled)
- fi
+ DRIVERS="$DRIVERS drv_generic_i2c.o"
+ AC_DEFINE(WITH_I2C, 1, [I2C bus driver])
fi