From 3cddca8f4cb93fc50fadfafdae4856203b7905ff Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 23 Aug 2002 13:42:59 +0000 Subject: [PATCH] New option: --disable-threads --- configure.in | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 -- 1.7.10.4