From: Adam Dickmeiss Date: Fri, 23 Aug 2002 13:42:59 +0000 (+0000) Subject: New option: --disable-threads X-Git-Tag: ZEBRA.1.3.2~54 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3cddca8f4cb93fc50fadfafdae4856203b7905ff;p=idzebra-moved-to-github.git New option: --disable-threads --- diff --git a/configure.in b/configure.in index e1d59d6..45d256c 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Zebra, Index Data Aps, 1995-2002 -dnl $Id: configure.in,v 1.40 2002-08-20 12:01:00 adam Exp $ +dnl $Id: configure.in,v 1.41 2002-08-23 13:42:59 adam Exp $ dnl AC_INIT(include/zebraver.h) AM_INIT_AUTOMAKE(zebra,1.3.1) @@ -60,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