X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=6a49836a541f9439ba224b8e305f440e7dcbe685;hb=21f3c59928c1a77691436a472f385d58262dad4a;hp=f1aa8fb4db16a686351c01979a65abf646fe8cf8;hpb=a073dc58b9244c9a38e014d47363170771ced398;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index f1aa8fb..6a49836 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Zebra, Index Data Aps, 1995-2002 -dnl $Id: configure.in,v 1.57 2002-11-26 13:50:29 adam Exp $ +dnl $Id: configure.in,v 1.59 2002-11-26 21:45:28 adam Exp $ dnl AC_INIT(include/zebraver.h) AM_INIT_AUTOMAKE(idzebra,1.3.4) @@ -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)