X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=configure.in;h=0c7ac567ac5aec54078f0f71502df52ffa4d4e6a;hb=ae2d0647bd3a555df77397b6c2f9c129fda0733a;hp=6e3dacfa5a959f3fdab3328d7c58306dfde050ce;hpb=403ae06f9dbf8180008ccc8128f642203d41ae50;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index 6e3dacf..0c7ac56 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ dnl Zebra, Index Data Aps, 1995-2003 -dnl $Id: configure.in,v 1.78 2003-05-21 14:39:21 adam Exp $ +dnl $Id: configure.in,v 1.80 2003-06-12 18:20:33 adam Exp $ dnl AC_INIT(include/zebraver.h) -AM_INIT_AUTOMAKE(idzebra,1.3.11) +AM_INIT_AUTOMAKE(idzebra,1.3.12) dnl ------ Substitutions AC_SUBST(TCL_INCLUDE) AC_SUBST(TCL_LIB) @@ -71,14 +71,16 @@ AC_ARG_WITH(dsssl,[ --with-dsssl[=DIR] Use DSSSL in DIR/{html,print}/docbo dnl AC_ARG_ENABLE(threads, [ --disable-threads disable threads],[enable_threads=$enableval],[enable_threads=yes]) if test "$enable_threads" = "yes"; then - AM_CONDITIONAL(ISTHR,true) yazflag=threads else - AM_CONDITIONAL(ISTHR,false) yazflag="" fi YAZ_INIT($yazflag) - +if echo "$YAZINC"|grep YAZ_POSIX_THREADS=1 >/dev/null; then + AM_CONDITIONAL(ISTHR,true) +else + AM_CONDITIONAL(ISTHR,false) +fi 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