From: Ken Raeburn Date: Mon, 28 Oct 2002 21:20:50 +0000 (+0000) Subject: * aclocal.m4 (AC_KRB5_TCL): If --with-tcl is given, failure to find a library X-Git-Tag: krb5-1.3-alpha1~309 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff4d06a7473f0ea47deb7efe38378aba073e9cc5;p=krb5.git * 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 --- diff --git a/src/ChangeLog b/src/ChangeLog index b004ae790..c54d36841 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-10-28 Ken Raeburn + + * aclocal.m4 (AC_KRB5_TCL): If --with-tcl is given, failure to + find a library we can use is now an error. + 2002-10-11 Ken Raeburn * aclocal.m4: Use dnl after all AC_REQUIRE invocations. diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 6852aa322..0317f73e0 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