Will not test for a text browser if we are not using docbook.
[privoxy.git] / configure.in
index 06cbf68..9ead056 100644 (file)
@@ -1,6 +1,6 @@
 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
@@ -28,6 +28,11 @@ dnl or write to the Free Software Foundation, Inc., 59
 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
@@ -250,13 +255,13 @@ 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 
@@ -381,7 +386,7 @@ else
   fi
 fi
 
-if test $dodk = dump; then
+if test $dodk = auto; then
        dodk = no
        if test $target_type = unix; then
                case "$host_os" in
@@ -421,7 +426,7 @@ fi
 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\))