From 814f7c147d410b86cdc39a3d2cf511c513fbff45 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 2 Feb 2005 20:23:55 +0000 Subject: [PATCH] Enable threading by default (--disable-threads to disable) --- configure.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- 1.7.10.4