X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=abae2c7e04fcf560828cace85e77e28813aa9b06;hb=c163115e3641d9f586c7aa5723e2685a31084ab3;hp=a109e0f358206fa3b5d8e2ceb094226ed9fab52f;hpb=085797b0c343055c24a9491386eb05b68a7275a6;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index a109e0f..abae2c7 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ dnl Zebra, Index Data Aps, 1995-2003 -dnl $Id: configure.in,v 1.77 2003-04-24 20:10:24 adam Exp $ +dnl $Id: configure.in,v 1.81 2003-07-04 14:25:51 heikki 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) @@ -76,7 +76,11 @@ else 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 @@ -389,11 +393,15 @@ AC_OUTPUT([ test/Makefile test/gils/Makefile test/usmarc/Makefile test/api/Makefile test/rusmarc/Makefile test/cddb/Makefile perl/Makefile.PL test/xelm/Makefile - test/dmoz/Makefile test/xpath/Makefile test/sort/Makefile + test/dmoz/Makefile test/xpath/Makefile test/sort/Makefile test/zsh/Makefile examples/Makefile examples/gils/Makefile examples/zthes/Makefile idzebra.spec ]) - if test -x "$perlbin"; then - res=`cd perl ; $perlbin Makefile.PL ; cd .. ;`; + res=`cd perl ; $perlbin Makefile.PL ; cd .. ;`; fi +if test -z "$YAZLIB"; then + echo "YAZ was not found. Use --with-yazconfig=DIR to specify location." + test -f /etc/debian_version && echo "Debian package libyaz-dev is required." +fi +