Fix type of len
[idzebra-moved-to-github.git] / configure.in
index f1aa8fb..317ef3f 100644 (file)
@@ -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.61 2002-12-30 10:25:24 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)
@@ -332,8 +334,8 @@ 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
-  examples/Makefile examples/gils/Makefile
+  test/dmoz/Makefile test/xpath/Makefile test/sort/Makefile
+  examples/Makefile examples/gils/Makefile examples/zthes/Makefile
 ])
 
 if test -x "$perlbin"; then