Removed lines and list as synonyms of list in MARC extractron.
[ir-tcl-moved-to-github.git] / configure.in
index 0fd822c..8cb371f 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.6 1995-06-29 14:06:26 adam Exp $
+dnl $Id: configure.in,v 1.9 1995-08-28 12:21:21 adam Exp $
 AC_INIT(ir-tcl.h)
 CC=${CC-cc}
 AC_SUBST(CC)
@@ -22,7 +22,9 @@ AC_STDC_HEADERS
 AC_SUBST(TCLLIB)
 AC_CHECK_LIB(tcl, Tcl_Eval, tclFound=1, tclFound=0, -lm)
 if test "$tclFound" = 1; then
-    TCLLIB=-ltcl
+    TCLLIB=-ltcl 
+elif test -r /usr/local/lib/libtcl7.4.a; then
+    TCLLIB=/usr/local/lib/libtcl7.4.a
 else
     TCLLIB=/usr/local/lib/libtcl.a
 fi
@@ -33,10 +35,10 @@ AC_SUBST(MOSIDIR)
 AC_MSG_CHECKING(for YAZ directory)
 AC_ARG_WITH(yazdir,[  --with-yazdir           Yaz directory], [YAZDIR=$withval])
 if test "$YAZDIR" = "yes"; then
-       YAZDIR="../yaz-1.0b"
+       YAZDIR="../yaz-1.0b3"
 elif test "$YAZDIR" = ""; then
         YAZDIR="../yaz"
-        for i in ../yaz-1.0b3 ../yaz-1.0b2 ../yaz-1.0b1 ../yaz-1.0b ../yaz; do
+        for i in ../yaz-1.0b3 ../yaz-1.0b4 ../yaz-1.0 ../yaz; do
             if test -d $i; then
                 YAZDIR=$i
             fi
@@ -129,6 +131,8 @@ AC_SUBST(TKLIB)
 AC_CHECK_LIB(tk, main, tkFound=1, tkFound=0, $TCLLIB $XLIBSW -lm)
 if test "$tkFound" = 1; then
     TKLIB=-ltk
+elif test -r /usr/local/lib/libtk4.0.a; then
+    TKLIB=/usr/local/lib/libtk4.0.a
 else
     TKLIB=/usr/local/lib/libtk.a
 fi