summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92ba2e3)
raw | patch | inline | side by side (parent: 92ba2e3)
author | Ruben Kerkhof <ruben@tilaa.com> | |
Fri, 11 Dec 2015 16:25:08 +0000 (17:25 +0100) | ||
committer | Ruben Kerkhof <ruben@tilaa.com> | |
Fri, 11 Dec 2015 16:25:08 +0000 (17:25 +0100) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index c4483792b016ce3436dd3b58d44394a8c39e4a40..f46cedbdc6378bfb040eabf81b5d9a7cd92fe7a4 100644 (file)
--- a/configure.ac
+++ b/configure.ac
fi
# libi2c-dev
-with_libi2c="no"
if test "x$ac_system" = "xLinux"
then
AC_CHECK_DECL(i2c_smbus_read_i2c_block_data,
[with_libi2c="no (symbol i2c_smbus_read_i2c_block_data not found - have you installed libi2c-dev ?)"],
[[#include <stdlib.h>
#include <linux/i2c-dev.h>]])
+else
+ with_libi2c="no (Linux only)"
fi
if test "x$with_libi2c" = "xyes"