summaryrefslogtreecommitdiffstats
path: root/databases/pecl-rrd1/files/patch-config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'databases/pecl-rrd1/files/patch-config.m4')
-rw-r--r--databases/pecl-rrd1/files/patch-config.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/pecl-rrd1/files/patch-config.m4 b/databases/pecl-rrd1/files/patch-config.m4
new file mode 100644
index 0000000..fa1042b
--- /dev/null
+++ b/databases/pecl-rrd1/files/patch-config.m4
@@ -0,0 +1,15 @@
+--- config.m4.orig 2017-10-04 12:41:14 UTC
++++ config.m4
+@@ -58,12 +58,6 @@ if test "$PHP_RRD" != "no"; then
+ old_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -L$RRDTOOL_LIBDIR"
+
+- dnl rrd_graph_v is available in 1.3.0+
+- PHP_CHECK_FUNC(rrd_graph_v, rrd)
+- if test "$ac_cv_func_rrd_graph_v" != yes; then
+- AC_MSG_ERROR([rrd lib version seems older than 1.3.0, update to 1.3.0+])
+- fi
+-
+ dnl rrd_lastupdate_r available in 1.4.0+
+ PHP_CHECK_FUNC(rrd_lastupdate_r, rrd)
+
OpenPOWER on IntegriCloud