]> git.pld-linux.org Git - packages/ntop.git/blob - ntop-rrdtool-1.6.0.patch
- fix shebang, drop obsolete BRs, release 7
[packages/ntop.git] / ntop-rrdtool-1.6.0.patch
1 diff -up ntop-5.0.1/configure.in.rrdtool ntop-5.0.1/configure.in
2 --- ntop-5.0.1/configure.in.rrdtool     2016-10-16 20:32:46.194496951 +0200
3 +++ ntop-5.0.1/configure.in     2016-10-16 20:32:57.392486940 +0200
4 @@ -893,19 +893,19 @@ else
5     fi
6  fi
7  
8 -RRD_LIB="-L${RRD_HOME}/lib -lrrd_th"
9 +RRD_LIB="-L${RRD_HOME}/lib -lrrd"
10  
11 -if test -f "$RRD_HOME/lib/librrd_th.so"; then
12 +if test -f "$RRD_HOME/lib/librrd.so"; then
13     AC_MSG_RESULT(checking for rrdtool... yes)
14  else
15 -  if test -f "$RRD_HOME/lib/librrd_th.dylib"; then # OSX
16 +  if test -f "$RRD_HOME/lib/librrd.dylib"; then # OSX
17       AC_MSG_RESULT(checking for rrdtool... yes)
18    else
19 -     if test -f "$RRD_HOME/lib/librrd_th.a"; then
20 +     if test -f "$RRD_HOME/lib/librrd.a"; then
21         AC_MSG_RESULT(checking for rrdtool... yes)
22       else
23 -       AC_CHECK_LIB([rrd_th], [main])
24 -       if test ".${ac_cv_lib_rrd_th_main}" != ".yes"; then
25 +       AC_CHECK_LIB([rrd], [main])
26 +       if test ".${ac_cv_lib_rrd_main}" != ".yes"; then
27           AC_MSG_ERROR(Unable to find RRD at $RRD_HOME: please use --with-rrd-home=DIR);
28          AC_MSG_ERROR(RRD source can be downloaded from http://www.rrdtool.org/);
29         else
This page took 0.036392 seconds and 3 git commands to generate.