From a54e7ce62f4e1669070a1399960a012fc2e0d5d6 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sat, 5 Jan 2002 16:13:27 +0000 Subject: [w3m-dev 02781] Re: Bug#127883: w3m tries to use xv as default From: Fumitoshi UKAI --- configure | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 3fb9e46..0106625 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.46 2001/12/22 10:02:04 ukai Exp $ +# $Id: configure,v 1.47 2002/01/05 16:13:27 ukai Exp $ # Configuration. # @@ -770,6 +770,11 @@ readdir "$dbrowser" brz=$_dir echo "dbrowser='$brz'" >> config.param +def_image_viewer=${def_image_viewer-xv} +echo "def_image_viewer='$def_image_viewer'" >> config.param +def_audio_player=${def_audio_player-showaudio} +echo "def_audio_player='$def_audio_player'" >> config.param + if [ -z "$dcc" ]; then if [ -n "$CC" ]; then dcc="$CC" @@ -2048,6 +2053,10 @@ $def_use_help_cgi #define DEF_MAILER "$mailer" #define DEF_EXT_BROWSER "$brz" +/* fallback viewer. mailcap override these configuration */ +#define DEF_IMAGE_VIEWER "$def_image_viewer" +#define DEF_AUDIO_PLAYER "$def_audio_player" + #define LIB_DIR "$libdir" #define HELP_DIR "$helpdir" #define ETC_DIR "$sysconfdir" -- cgit v1.2.3