diff options
Diffstat (limited to 'src/aclocal.m4')
-rw-r--r-- | src/aclocal.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 6852aa3..0317f73 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -928,12 +928,17 @@ if test "$with_tcl" != no ; then if test $tcl_lib = no ; then if test "$with_tcl" != try ; then AC_KRB5_TCL_TRYOLD -dnl AC_MSG_ERROR(Could not find Tcl) else AC_MSG_WARN(Could not find Tcl which is needed for some tests) fi fi fi +# If "yes" or pathname, error out if not found. +if test "$with_tcl" != no -a "$with_tcl" != try ; then + if test "$tcl_header $tcl_lib" != "yes yes" ; then + AC_MSG_ERROR(Could not find Tcl) + fi +fi ])dnl dnl |