From: Ruben Kerkhof Date: Fri, 11 Dec 2015 16:25:08 +0000 (+0100) Subject: libi2c only exists on Linux X-Git-Tag: collectd-5.6.0~500^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4755d7882fad8349a5efeae893b5e84ba959fd59;p=collectd.git libi2c only exists on Linux --- diff --git a/configure.ac b/configure.ac index c4483792..f46cedbd 100644 --- 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 #include ]]) +else + with_libi2c="no (Linux only)" fi if test "x$with_libi2c" = "xyes"