Code

configure: Include rrd.h when checking for rrd_client.h.
authorSebastian Harl <sh@tokkee.org>
Tue, 6 Oct 2015 20:06:39 +0000 (22:06 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 6 Oct 2015 20:06:39 +0000 (22:06 +0200)
Apparently, this is needed for RRDtool 1.5.

configure.ac

index 897112ef97192f7ffa847b3fc7b4ad2c842ecd8e..7ffe5a9164f7c4ebad02d9f3549c0802bb26d2b8 100644 (file)
@@ -621,7 +621,8 @@ else
 fi; fi
 
 if test "x$have_librrd" = "xyes"; then
-       AC_CHECK_HEADERS([rrd_client.h])
+       AC_CHECK_HEADERS([rrd.h])
+       AC_CHECK_HEADERS([rrd_client.h], [], [], [[#include <rrd.h>]])
 fi
 
 dnl Feature checks.