aboutsummaryrefslogtreecommitdiff
path: root/src/aclocal.m4
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2002-10-28 21:20:50 +0000
committerKen Raeburn <raeburn@mit.edu>2002-10-28 21:20:50 +0000
commitff4d06a7473f0ea47deb7efe38378aba073e9cc5 (patch)
treed37921d40fab6ba2e3cd7d7fb16df984d4c87b2f /src/aclocal.m4
parent27122f489d518a79017765d27e1de3f9dd8edc5a (diff)
downloadkrb5-ff4d06a7473f0ea47deb7efe38378aba073e9cc5.zip
krb5-ff4d06a7473f0ea47deb7efe38378aba073e9cc5.tar.gz
krb5-ff4d06a7473f0ea47deb7efe38378aba073e9cc5.tar.bz2
* aclocal.m4 (AC_KRB5_TCL): If --with-tcl is given, failure to find a library
we can use is now an error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14942 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/aclocal.m4')
-rw-r--r--src/aclocal.m47
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