projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
5a177fa
)
Merge pull request #1454 from rubenk/libi2c-dev-mark-as-linux-only
author
Ruben Kerkhof
<ruben@tilaa.nl>
Fri, 11 Dec 2015 20:37:22 +0000
(21:37 +0100)
committer
Ruben Kerkhof
<ruben@tilaa.nl>
Fri, 11 Dec 2015 20:37:22 +0000
(21:37 +0100)
libi2c only exists on Linux
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
afb0819
..
82591e4
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-5416,7
+5416,6
@@
then
fi
# libi2c-dev
-with_libi2c="no"
if test "x$ac_system" = "xLinux"
then
AC_CHECK_DECL(i2c_smbus_read_i2c_block_data,
@@
-5424,6
+5423,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"