projects
/
ir-tcl-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor changes.
[ir-tcl-moved-to-github.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
81bf02e
..
c43e153
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1,9
+1,10
@@
dnl IR toolkit for tcl/tk
dnl (c) Index Data 1995
dnl See the file LICENSE for details.
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 $
-AC_INIT(README)
-AC_PROG_CC
+dnl $Id: configure.in,v 1.8 1995-08-28 09:43:24 adam Exp $
+AC_INIT(ir-tcl.h)
+CC=${CC-cc}
+AC_SUBST(CC)
AC_PROG_RANLIB
AC_PROG_INSTALL
checkBoth=0
AC_PROG_RANLIB
AC_PROG_INSTALL
checkBoth=0
@@
-34,10
+35,12
@@
AC_ARG_WITH(yazdir,[ --with-yazdir Yaz directory], [YAZDIR=$withval])
if test "$YAZDIR" = "yes"; then
YAZDIR="../yaz-1.0b"
elif test "$YAZDIR" = ""; then
if test "$YAZDIR" = "yes"; then
YAZDIR="../yaz-1.0b"
elif test "$YAZDIR" = ""; then
- YAZDIR="../yaz-1.0b"
- if test -d "../yaz"; then
- YAZDIR="../yaz"
- fi
+ YAZDIR="../yaz"
+ for i in ../yaz-1.0b3 ../yaz-1.0b4 ../yaz-1.0 ../yaz; do
+ if test -d $i; then
+ YAZDIR=$i
+ fi
+ done
fi
AC_MSG_RESULT($YAZDIR)
if test ! -d $YAZDIR; then
fi
AC_MSG_RESULT($YAZDIR)
if test ! -d $YAZDIR; then
@@
-123,7
+126,7
@@
if test "$XLIBSW" = nope ; then
fi
AC_SUBST(XLIBSW)
AC_SUBST(TKLIB)
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
if test "$tkFound" = 1; then
TKLIB=-ltk
else