X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=1b8765f17da705ff9c6cdab1fd55ce8cd09b8d0c;hb=202f71c87b756c4d4f3d604737ca89c9ba08409b;hp=a109e0f358206fa3b5d8e2ceb094226ed9fab52f;hpb=085797b0c343055c24a9491386eb05b68a7275a6;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index a109e0f..1b8765f 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ 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.79 2003-05-26 20:07:40 adam Exp $ dnl AC_INIT(include/zebraver.h) AM_INIT_AUTOMAKE(idzebra,1.3.11) @@ -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 @@ -393,7 +397,11 @@ AC_OUTPUT([ 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 +