]> TLD Linux GIT Repositories - packages/rrdtool.git/blob - rrdtool-tcl-path.patch
- install init script and sysconfig file
[packages/rrdtool.git] / rrdtool-tcl-path.patch
1 --- rrdtool-1.4.7/configure.ac.orig     2012-01-24 11:08:48.000000000 +0100
2 +++ rrdtool-1.4.7/configure.ac  2012-11-27 12:07:01.000000000 +0100
3 @@ -840,7 +840,7 @@
4    withval=""
5    AC_ARG_WITH(tcllib,[  --with-tcllib=DIR       location of the tclConfig.sh])
6    enable_tcl=no
7 -  for dir in $withval /usr/lib /usr/lib64 /usr/local/lib /usr/lib/tcl8.4 /usr/lib/tcl8.3 ; do
8 +  for dir in $withval /usr/lib /usr/lib64 /usr/local/lib /usr/lib/tcl8.5 /usr/lib/tcl8.4 /usr/lib/tcl8.3 ; do
9      AC_MSG_CHECKING(for tclConfig.sh in $dir)
10      if test -f "$dir/tclConfig.sh" ; then
11         tcl_config=$dir/tclConfig.sh
12 @@ -862,7 +862,7 @@
13         fi
14    fi
15    AC_ARG_ENABLE(tcl-site,AS_HELP_STRING([--enable-tcl-site],[install the tcl extension in the tcl tree]),
16 -  [],[enable_tcl_site=yes])
17 +  [enable_tcl_site="$enable_tcl"],[enable_tcl_site=yes])
18  
19  fi
20