#! /bin/sh
 
-# From configure.in Revision: 1.34 
+# From configure.in Revision: 1.35 
 # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version 2.13 
 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 echo "$ac_t""$host" 1>&6
 
 
-dodk=dump
-DKPREFIX="none"
+dodk=auto
+DKPREFIX=none
 # Check whether --with-docbook or --without-docbook was given.
 if test "${with_docbook+set}" = set; then
   withval="$with_docbook"
   fi
 fi
 
-if test $dodk = dump; then
+if test $dodk = auto; then
        dodk = no
        if test $target_type = unix; then
                case "$host_os" in
 fi
 
 
-if test $target_type = unix; then
+if test $dodk != no; then
        for ac_prog in w3m lynx links
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 dnl Process this file with autoconf to produce a configure script.
 dnl 
-dnl $Id: configure.in,v 1.34 2002/03/06 20:57:00 morcego Exp $
+dnl $Id: configure.in,v 1.35 2002/03/06 21:55:52 morcego Exp $
 dnl 
 dnl Written by and Copyright (C) 2001 the SourceForge
 dnl IJBSWA team.  http://ijbswa.sourceforge.net
 dnl Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 dnl 
 dnl $Log: configure.in,v $
+dnl Revision 1.35  2002/03/06 21:55:52  morcego
+dnl New configure option: --with-docbook=(yes|no|directory)
+dnl Preliminary new platform detection code included. Will work with the
+dnl old one for now. No use just trowing it away
+dnl
 dnl Revision 1.34  2002/03/06 20:57:00  morcego
 dnl Fixing detection of stylesheets on SuSe.
 dnl
 dnl AutoConf Initialization
 dnl =================================================================
 
-AC_REVISION($Revision: 1.34 $)
+AC_REVISION($Revision: 1.35 $)
 AC_INIT(jcc.c)
 AC_CONFIG_HEADER(config.h)
 AC_CANONICAL_HOST
 
-dodk=dump
-DKPREFIX="none"
+dodk=auto
+DKPREFIX=none
 AC_ARG_WITH(docbook, dnl
   --with-docbook=[[yes|no|directory]]  
                            Enable docbook documentation creation 
   fi
 fi
 
-if test $dodk = dump; then
+if test $dodk = auto; then
        dodk = no
        if test $target_type = unix; then
                case "$host_os" in
 AC_SUBST(WIN_ONLY)
 
 dnl Checking which text html browser we have avaliable
-if test $target_type = unix; then
+if test $dodk != no; then
        AC_CHECK_PROGS(WDUMP,w3m lynx links,false)
        if test "$WDUMP" = false; then
                AC_MSG_ERROR(You need some kind of text browser to continue \(w3m, lynx and links are supported\))