Checking for text browser, so redhat-dok can work.
[privoxy.git] / configure.in
index 8c198eb..dee6490 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl 
-dnl $Id: configure.in,v 1.29 2002/02/28 14:20:53 oes Exp $
+dnl $Id: configure.in,v 1.30 2002/03/04 17:58:01 oes 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.30  2002/03/04 17:58:01  oes
+dnl Deleted _DEBUG and PID_FILE_PATH
+dnl
 dnl Revision 1.29  2002/02/28 14:20:53  oes
 dnl Fixed detection of gethost*_r functions on Solaris
 dnl
@@ -234,7 +237,7 @@ dnl =================================================================
 dnl AutoConf Initialization
 dnl =================================================================
 
-AC_REVISION($Revision: 1.29 $)
+AC_REVISION($Revision: 1.30 $)
 AC_INIT(jcc.c)
 AC_CONFIG_HEADER(config.h)
 AC_CANONICAL_HOST
@@ -378,6 +381,13 @@ else
 fi
 AC_SUBST(WIN_ONLY)
 
+if test $target_type = unix; 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\))
+       fi
+fi
+AC_SUBST(WDUMP)
 
 dnl Save old CFLAGS so we can restore them later, then add SPECIAL_CFLAGS
 old_CFLAGS_nospecial=$CFLAGS