X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=45d256cc8a56039f4cb65117b640f03befcfc989;hb=5b903e946423cc2c91665853f8478b9d44d7088d;hp=acea3e365158af92e2c01d6cf452c5dc7e465ed5;hpb=47ea1fc957c7b97bb30a26698f072109cae275e4;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index acea3e3..45d256c 100644 --- a/configure.in +++ b/configure.in @@ -1,24 +1,11 @@ -dnl Zebra, Index Data Aps, 1994-2002 -dnl $Id: configure.in,v 1.38 2002-07-25 13:06:43 adam Exp $ +dnl Zebra, Index Data Aps, 1995-2002 +dnl $Id: configure.in,v 1.41 2002-08-23 13:42:59 adam Exp $ dnl AC_INIT(include/zebraver.h) -AC_MSG_CHECKING(for package) -if test -r ${srcdir}/LICENSE.zmbol; then - AC_MSG_RESULT([Z'mbol]) - PROGPREFIX=zmbol - AC_DEFINE(ZMBOL,1) - AM_INIT_AUTOMAKE(zmbol,1.3.0) -else - AC_MSG_RESULT([Zebra]) - PROGPREFIX=zebra - AC_DEFINE(ZMBOL,0) - AM_INIT_AUTOMAKE(zebra,1.3.0) -fi -AM_CONDITIONAL(ISZMBOL,test $PACKAGE = zmbol) +AM_INIT_AUTOMAKE(zebra,1.3.1) dnl ------ Substitutions AC_SUBST(TCL_INCLUDE) AC_SUBST(TCL_LIB) -AC_SUBST(PROGPREFIX) dnl dnl ------ Checking programs AC_PROG_CC @@ -73,8 +60,14 @@ AC_ARG_WITH(dsssl,[ --with-dsssl[=DIR] Use DSSSL in DIR/{html,print}/docbo fi ]) dnl -YAZ_INIT(threads) -dnl +AC_ARG_ENABLE(threads, [ --disable-threads disable threads],[enable_threads=$enableval],[enable_threads=yes]) +if test "$enable_threads" = "yes"; then + yazflag=threads +else + yazflag="" +fi +YAZ_INIT($yazflag) + dnl ------ Look for Tcl dnl See if user has specified location of tclConfig.sh; otherwise dnl see if tclConfig.sh exists in same prefix lcoation as tclsh; otherwise