From: Adam Dickmeiss Date: Wed, 2 Feb 2005 20:23:55 +0000 (+0000) Subject: Enable threading by default (--disable-threads to disable) X-Git-Tag: ZEBRA.1.3.24~5 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=814f7c147d410b86cdc39a3d2cf511c513fbff45;p=idzebra-moved-to-github.git Enable threading by default (--disable-threads to disable) --- diff --git a/configure.in b/configure.in index ab406fa..1f77c01 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Zebra, Index Data Aps, 1995-2005 -dnl $Id: configure.in,v 1.91.2.7 2005-01-23 15:47:27 adam Exp $ +dnl $Id: configure.in,v 1.91.2.8 2005-02-02 20:23:55 adam Exp $ dnl AC_INIT(include/zebraver.h) AM_INIT_AUTOMAKE(idzebra,1.3.22) @@ -21,6 +21,14 @@ AC_PROG_CPP AC_PROG_INSTALL AC_PROG_RANLIB dnl +dnl ------ threads +AC_ARG_ENABLE(threads, [ --disable-threads disable threads],[enable_threa +ds=$enableval],[enable_threads=yes]) +if test "$enable_threads" = "yes"; then + yazflag=threads +else + yazflag="" +fi YAZ_INIT($yazflag) YAZ_DOC dnl ------ Look for Tcl