diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-10-01 15:29:05 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-10-01 15:29:05 +0000 |
commit | 46d4935b0b097bf0c2f5958dee51a35f0f22651c (patch) | |
tree | 540534bfd6f331bbeb44f51e8c6e86b668dfa2ff /configure | |
parent | [w3m-dev 03330] Re: hang up when seeing web page that contains xbm file (diff) | |
download | w3m-46d4935b0b097bf0c2f5958dee51a35f0f22651c.tar.gz w3m-46d4935b0b097bf0c2f5958dee51a35f0f22651c.zip |
[w3m-dev 03331] Re: hang up when seeing web page that contains xbm file
* configure: check gdk-pixbuf-config existence
From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
Diffstat (limited to '')
-rwxr-xr-x | configure | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.77 2002/09/29 15:29:12 ukai Exp $ +# $Id: configure,v 1.78 2002/10/01 15:29:05 ukai Exp $ # Configuration. # @@ -486,7 +486,12 @@ find_gdkpixbuf() { if [ "x$GDKPIXBUF_CONFIG" = x ]; then GDKPIXBUF_CONFIG=gdk-pixbuf-config fi - version=`$GDKPIXBUF_CONFIG --version` + if ./which $GDKPIXBUF_CONFIG > /dev/null + then + version=`$GDKPIXBUF_CONFIG --version` + else + version="" + fi if [ "x$version" = x ]; then echo "You don't have GdkPixbuf. Install GdkPixbuf (version >= $gdkpixbuf_version)." return 1 |