Work on configure.
[ir-tcl-moved-to-github.git] / configure.in
index 81bf02e..0a5e489 100644 (file)
@@ -1,7 +1,7 @@
 dnl IR toolkit for tcl/tk
 dnl (c) Index Data 1995
 dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.4 1995-06-22 13:46:53 adam Exp $
+dnl $Id: configure.in,v 1.5 1995-06-23 10:58:11 adam Exp $
 AC_INIT(README)
 AC_PROG_CC
 AC_PROG_RANLIB
@@ -123,7 +123,7 @@ if test "$XLIBSW" = nope ; then
 fi
 AC_SUBST(XLIBSW)
 AC_SUBST(TKLIB)
-AC_CHECK_LIB(tk, Tk_MainLoop, tkFound=1, tkFound=0, $TCLLIB $XLIBSW -lm)
+AC_CHECK_LIB(tk, main, tkFound=1, tkFound=0, $TCLLIB $XLIBSW -lm)
 if test "$tkFound" = 1; then
     TKLIB=-ltk
 else