X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=0b13369b2bded27c53ce6832778c2bab82dc9464;hb=587c1d5cac956ec0cf482fc14ecea40240e85fd8;hp=071de3b1c88be87235e0b69f81e5148e3bf43524;hpb=af03c4a4f5320b52c7cc5f47bab7c9ad4b3e384d;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index 071de3b..0b13369 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ dnl Zebra, Index Data Aps, 1995-2002 -dnl $Id: configure.in,v 1.56 2002-11-15 21:26:00 adam Exp $ +dnl $Id: configure.in,v 1.60 2002-12-10 12:54:24 adam Exp $ dnl AC_INIT(include/zebraver.h) -AM_INIT_AUTOMAKE(idzebra,1.3.3) +AM_INIT_AUTOMAKE(idzebra,1.3.4) dnl ------ Substitutions AC_SUBST(TCL_INCLUDE) AC_SUBST(TCL_LIB) @@ -195,14 +195,15 @@ if test "$expat" != "no"; then fi dnl dnl ------ PERL -perl=yes +AM_CONDITIONAL(perl,false) +perl=no PERL_XS_INIT="NULL" PERL_XS_INIT_INCLUDE='' PERL_BINARY="" AC_ARG_WITH(perl, [ --with-perl[=FILE] perl binary location],[perl=$withval]) if test "$perl" != "no"; then AC_MSG_CHECKING(for perl binary) - if test "$perl" == "yes"; then + if test "$perl" = "yes"; then perlbin=`which perl` else perlbin="$perl" @@ -255,6 +256,7 @@ if test "$perl" != "no"; then ZPERL_LIBS="$LIBS" CFLAGS="$PERL_CFLAGS $CFLAGS" LIBS="$PERL_LIBS $LIBS" + AM_CONDITIONAL(perl,true) else AC_DEFINE(HAVE_PERL,0) AC_MSG_RESULT(Not found) @@ -332,7 +334,7 @@ AC_OUTPUT([ doc/tkl.xsl test/Makefile test/gils/Makefile test/usmarc/Makefile test/api/Makefile perl/Makefile.PL - test/dmoz/Makefile test/xpath/Makefile + test/dmoz/Makefile test/xpath/Makefile test/sort/Makefile examples/Makefile examples/gils/Makefile ])