From 81bdcbcbe0c30f8934725bc7f1bbb8bcc85ad51c Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 18 Jul 2002 05:55:22 +0000 Subject: [w3m-dev 03273] Re: w3m-img for framebuffer merged * configure (use_w3mimg_fb): check linux, use test -c From: Fumitoshi UKAI --- ChangeLog | 7 ++++++- configure | 12 ++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 75890ab..dd19a13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-07-18 Fumitoshi UKAI + + * [w3m-dev 03273] Re: w3m-img for framebuffer merged + * configure (use_w3mimg_fb): check linux, use test -c + 2002-07-18 Fumitoshi UKAI * merge w3m-img for framebuffer support @@ -3582,4 +3587,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.403 2002/07/17 21:21:56 ukai Exp $ +$Id: ChangeLog,v 1.404 2002/07/18 05:55:22 ukai Exp $ diff --git a/configure b/configure index 7e13e68..b0257f7 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.70 2002/07/17 20:58:48 ukai Exp $ +# $Id: configure,v 1.71 2002/07/18 05:55:22 ukai Exp $ # Configuration. # @@ -793,10 +793,14 @@ if [ "$use_image" = y ]; then imgtarget='$(IMGDISPLAY) $(IMGSIZE)' ask_param "X11 inline image support (you need Imlib1 library)" use_w3mimg_x11 y d_w3mimg_fb=n - if test -e /dev/fb0; then + case $sysname in + Linux|linux|LINUX) + if test -c /dev/fb0; then d_w3mimg_fb=y - fi - ask_param "Linux Framebuffer inline image support (you need Imlib2 or GdkPixbuf)" use_w3mimg_fb $d_w3mimg_fb + fi + ask_param "Linux Framebuffer inline image support (you need Imlib2 or GdkPixbuf)" use_w3mimg_fb $d_w3mimg_fb + ;; + esac else def_use_image="#undef USE_IMAGE" imgtarget='' -- cgit v1.2.3