From 7b9d7094a89825fd3e1e1057829e4468ea772e1e Mon Sep 17 00:00:00 2001 From: darthgandalf Date: Mon, 20 Dec 2010 13:09:46 +0000 Subject: [PATCH] Fix previous commit. It accidentally changed wrong file. Also add advice to use --with-tcl if tcl isn't found. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2189 726aef4b-f618-498e-8847-2d620e286838 --- aclocal.m4 | 4 ++-- configure | 2 +- configure.in | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 7ab3588b..00d434ee 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -148,7 +148,7 @@ $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. -_PKG_TEXT])dnl +_PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) @@ -159,7 +159,7 @@ path to pkg-config. _PKG_TEXT -To get pkg-config, see .])dnl +To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS diff --git a/configure b/configure index d1dbf5e7..8eaae55b 100755 --- a/configure +++ b/configure @@ -3971,7 +3971,7 @@ else fi if test x"$TCL_TEST" = "xno"; then - as_fn_error $? "tcl not found, try --disable-tcl, or install tcl properly." "$LINENO" 5 + as_fn_error $? "tcl not found, try --disable-tcl, or install tcl properly. If tcl is installed to a non-standard path, use --enable-tcl --with-tcl=/path" "$LINENO" 5 fi LDFLAGS="$my_saved_LDFLAGS" fi diff --git a/configure.in b/configure.in index fb11a02e..0d670aa2 100644 --- a/configure.in +++ b/configure.in @@ -365,7 +365,7 @@ then appendLD "$TCL_FLAGS" AC_CHECK_FUNC([Tcl_CreateInterp], [TCL_TEST=yes], [TCL_TEST=no]) if test x"$TCL_TEST" = "xno"; then - AC_MSG_ERROR([tcl not found, try --disable-tcl, or install tcl properly.]) + AC_MSG_ERROR([tcl not found, try --disable-tcl, or install tcl properly. If tcl is installed to a non-standard path, use --enable-tcl --with-tcl=/path]) fi LDFLAGS="$my_saved_LDFLAGS" fi