X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=6e3dacfa5a959f3fdab3328d7c58306dfde050ce;hb=403ae06f9dbf8180008ccc8128f642203d41ae50;hp=00804599e1e10e4837a4375bc45a66353b604fb2;hpb=c5b916eaefb0d82a54e280ea5b43bb9cee7af7c9;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index 0080459..6e3dacf 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ dnl Zebra, Index Data Aps, 1995-2003 -dnl $Id: configure.in,v 1.76 2003-04-24 09:09:20 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.10) +AM_INIT_AUTOMAKE(idzebra,1.3.11) dnl ------ Substitutions AC_SUBST(TCL_INCLUDE) AC_SUBST(TCL_LIB) @@ -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 +