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)
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