--- rrd-0.10.0/config.m4.build 2011-03-02 12:55:17.000000000 +0100 +++ rrd-0.10.0/config.m4 2011-03-05 19:17:27.484350149 +0100 @@ -2,7 +2,7 @@ dnl Comments in this file start with the string 'dnl'. PHP_ARG_WITH(rrd, for rrdtool support, -[ --with-rrd[=DIR] Include rrdtool support (requires rrdtool >= 1.2.x)]) +[ --with-rrd[=DIR] Include rrdtool support (requires rrdtool >= 1.3.x)]) if test "$PHP_RRD" != "no"; then if test "$PHP_RRD" != "yes"; then @@ -64,10 +64,10 @@ -L$RRDTOOL_LIBDIR -ldl ]) - dnl rrd_version is available in 1.2.0+ - PHP_CHECK_FUNC(rrd_version, rrd) - if test "$ac_cv_func_rrd_version" != yes; then - AC_MSG_ERROR([rrd lib version seems older then 1.2.0+, update to 1.3.0+]) + 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+