X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=fca2c34c6167a61e7c54ba9b3aae29d7955a8951;hb=e97c3999fd36fe66b7a1ff4a70fe1726f77b615c;hp=ddff204f1041b2de913752f4bc0c16bb14fd75ad;hpb=0881b8848ab8c1cb9b50db4599d4adc9391a774d;p=rrdtool.git diff --git a/configure.ac b/configure.ac index ddff204..fca2c34 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,6 @@ dnl is in there dnl determine the type of system we are running on - AC_SUBST(VERSION) AC_PREFIX_DEFAULT( /usr/local/rrdtool-$PACKAGE_VERSION ) @@ -463,6 +462,8 @@ AC_SUBST(PERL) AC_SUBST(COMP_PERL) AC_SUBST(PERL_VERSION) +enable_tcl_site=no + AC_ARG_ENABLE(tcl,[ --disable-tcl do not build the tcl modules], [],[enable_tcl=yes]) @@ -489,9 +490,13 @@ if test "$enable_tcl" = "yes"; then . $tcl_config TCL_PACKAGE_DIR="$TCL_PACKAGE_PATH/tclrrd$VERSION" fi + AC_ARG_ENABLE(tcl,[ --enable-tcl-site install the tcl extension in the tcl tree], + [],[enable_tcl_site=yes]) + fi AM_CONDITIONAL(BUILD_TCL, test "$enable_tcl" = "yes" ) +AM_CONDITIONAL(BUILD_TCL_SITE, test "$enable_tcl_site" = "yes" ) AC_SUBST(TCL_PREFIX) AC_SUBST(TCL_SHLIB_CFLAGS) @@ -560,7 +565,7 @@ AC_OUTPUT AC_MSG_CHECKING(in) AC_MSG_RESULT(and out again) -echo $ECHO_N "ordering CD from http://people.ee.ethz.ch/~oetiker/wish $ECHO_C" 1>&6 +echo $ECHO_N "ordering CD from http://people.ee.ethz.ch/oetiker/wish $ECHO_C" 1>&6 sleep 1 echo $ECHO_N ".$ECHO_C" 1>&6 sleep 1