From: oes <oes@users.sourceforge.net>
Date: Fri, 8 Mar 2002 12:58:21 +0000 (+0000)
Subject: Tiny bugfix in AC_ARG_WITH(debug)
X-Git-Tag: v_2_9_12~115
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/%22/static/gitweb.js?a=commitdiff_plain;h=c225d07f6398434a9f890a6d9fcee1ae7b83d61b;p=privoxy.git

Tiny bugfix in AC_ARG_WITH(debug)
---

diff --git a/configure.in b/configure.in
index 9ead0560..044073e3 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl 
-dnl $Id: configure.in,v 1.35 2002/03/06 21:55:52 morcego Exp $
+dnl $Id: configure.in,v 1.36 2002/03/06 23:50:36 morcego Exp $
 dnl 
 dnl Written by and Copyright (C) 2001 the SourceForge
 dnl IJBSWA team.  http://ijbswa.sourceforge.net
@@ -28,6 +28,9 @@ 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.36  2002/03/06 23:50:36  morcego
+dnl Will not test for a text browser if we are not using docbook.
+dnl
 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
@@ -255,7 +258,7 @@ dnl =================================================================
 dnl AutoConf Initialization
 dnl =================================================================
 
-AC_REVISION($Revision: 1.35 $)
+AC_REVISION($Revision: 1.36 $)
 AC_INIT(jcc.c)
 AC_CONFIG_HEADER(config.h)
 AC_CANONICAL_HOST
@@ -325,7 +328,7 @@ dnl =================================================================
 AC_ARG_WITH(debug,
         [  --with-debug            Enable debug mode],
         [
-                if test "x$withval" != "$xno" ; then
+                if test "x$withval" != "xno" ; then
 		    if test $ac_cv_prog_cc_g = yes; then
 		      if test "$GCC" = yes; then
 			if test "$GDB"; then
@@ -450,9 +453,12 @@ AC_SUBST(JADEBIN)
 
 dnl Checking for the docbook.dsl stylesheet file
 if test $dodk = yes; then
-	if test $DKPREFIX = none; then
-		AC_CHECK_FILE(/usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl,DKPREFIX=/usr/share/sgml/docbook/dsssl-stylesheets,AC_CHECK_FILE(/usr/share/sgml/docbkdsl/html/docbook.dsl,DKPREFIX=/usr/share/sgml/docbkdsl))
-	fi
+  if test $DKPREFIX = none; then
+    AC_CHECK_FILE(/usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl,
+      DKPREFIX=/usr/share/sgml/docbook/dsssl-stylesheets,
+      AC_CHECK_FILE(/usr/share/sgml/docbkdsl/html/docbook.dsl,
+        DKPREFIX=/usr/share/sgml/docbkdsl))
+  fi
 fi
 AC_SUBST(DKPREFIX)