* aclocal.m4 (AC_KRB5_TCL): If --with-tcl is given, failure to find a library
authorKen Raeburn <raeburn@mit.edu>
Mon, 28 Oct 2002 21:20:50 +0000 (21:20 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 28 Oct 2002 21:20:50 +0000 (21:20 +0000)
we can use is now an error.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14942 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index b004ae790d8c56dad9dd1913fbbc0092f2efb30d..c54d36841a4c80cf540ba453c391a8f44b82d382 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-28  Ken Raeburn  <raeburn@mit.edu>
+
+       * 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  <raeburn@mit.edu>
 
        * aclocal.m4: Use dnl after all AC_REQUIRE invocations.
index 6852aa322c3c04631233f31d1cca12f2cb60fa7f..0317f73e0b4ba53760d7b06521246655425e26a8 100644 (file)
@@ -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