X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=6e3dacfa5a959f3fdab3328d7c58306dfde050ce;hb=403ae06f9dbf8180008ccc8128f642203d41ae50;hp=a109e0f358206fa3b5d8e2ceb094226ed9fab52f;hpb=085797b0c343055c24a9491386eb05b68a7275a6;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index a109e0f..6e3dacf 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.78 2003-05-21 14:39:21 adam Exp $ dnl AC_INIT(include/zebraver.h) AM_INIT_AUTOMAKE(idzebra,1.3.11) @@ -71,8 +71,10 @@ 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) @@ -393,7 +395,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 +