X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=configure.in;h=981fb9b53750773b8b18ef7b05788001edd8e041;hb=1a6ea5cd117f81f6156877fcc462b06181ad94ac;hp=044073e3e47713963624c12b993f555e6280d216;hpb=c225d07f6398434a9f890a6d9fcee1ae7b83d61b;p=privoxy.git diff --git a/configure.in b/configure.in index 044073e3..981fb9b5 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.36 2002/03/06 23:50:36 morcego Exp $ +dnl $Id: configure.in,v 1.39 2002/03/08 16:46:13 oes Exp $ dnl dnl Written by and Copyright (C) 2001 the SourceForge dnl IJBSWA team. http://ijbswa.sourceforge.net @@ -28,6 +28,15 @@ 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.39 2002/03/08 16:46:13 oes +dnl Added --enable-no-gifs +dnl +dnl Revision 1.38 2002/03/08 14:13:50 morcego +dnl Fixing configure, to remove a command not found error. +dnl +dnl Revision 1.37 2002/03/08 12:58:21 oes +dnl Tiny bugfix in AC_ARG_WITH(debug) +dnl 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 @@ -258,7 +267,7 @@ dnl ================================================================= dnl AutoConf Initialization dnl ================================================================= -AC_REVISION($Revision: 1.36 $) +AC_REVISION($Revision: 1.39 $) AC_INIT(jcc.c) AC_CONFIG_HEADER(config.h) AC_CANONICAL_HOST @@ -390,7 +399,7 @@ else fi if test $dodk = auto; then - dodk = no + dodk=no if test $target_type = unix; then case "$host_os" in linux* | gnu*) @@ -454,10 +463,15 @@ 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)) + for i in /usr/share/sgml/docbook/dsssl-stylesheets /usr/share/sgml/docbkdsl; do + echo -n "checking for $i/html/docbook.dsl..." + if test -f $i/html/docbook.dsl; then + echo "yes" + DKPREFIX=$i + else + echo "no" + fi + done fi fi AC_SUBST(DKPREFIX) @@ -810,6 +824,14 @@ AC_ARG_ENABLE(editor, fi], AC_DEFINE(FEATURE_CGI_EDIT_ACTIONS)) +AC_ARG_ENABLE(no-gifs, +[ --enable-no-gifs Use politically correct PNG format instead of GIF + for built-in images. May not work with all browsers.], +[if test $enableval = yes; then + AC_DEFINE(FEATURE_NO_GIFS) +fi]) + + dnl pcre/pcrs is needed for CGI anyway, so dnl the choice is only between static and dnl dynamic: