projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92ba2e3
)
libi2c only exists on Linux
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
c448379
..
f46cedb
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-5417,7
+5417,6
@@
then
fi
# libi2c-dev
-with_libi2c="no"
if test "x$ac_system" = "xLinux"
then
AC_CHECK_DECL(i2c_smbus_read_i2c_block_data,
@@
-5425,6
+5424,8
@@
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"