X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=configure.in;h=c05ad731b05c9b746d0272298c58747d5d30aa3d;hb=29101cf2d07dcd04cd5d6d4501b1a6107cc979ba;hp=0a5e48926c3a3bafba0c51fe7d8b31d570d31901;hpb=6811554e4d608d2ef0e13643e917830db1aa9458;p=ir-tcl-moved-to-github.git diff --git a/configure.in b/configure.in index 0a5e489..c05ad73 100644 --- 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 $Id: configure.in,v 1.5 1995-06-23 10:58:11 adam Exp $ -AC_INIT(README) -AC_PROG_CC +dnl $Id: configure.in,v 1.7 1995-07-28 10:28:37 adam Exp $ +AC_INIT(ir-tcl.h) +CC=${CC-cc} +AC_SUBST(CC) 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 - YAZDIR="../yaz-1.0b" - if test -d "../yaz"; then - YAZDIR="../yaz" - fi + YAZDIR="../yaz" + for i in ../yaz-1.0b ../yaz-1.0b2 ../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