aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-10-01 15:29:05 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-10-01 15:29:05 +0000
commit46d4935b0b097bf0c2f5958dee51a35f0f22651c (patch)
tree540534bfd6f331bbeb44f51e8c6e86b668dfa2ff /configure
parent[w3m-dev 03330] Re: hang up when seeing web page that contains xbm file (diff)
downloadw3m-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 'configure')
-rwxr-xr-xconfigure9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure b/configure
index 46d42d7..93b54bc 100755
--- a/configure
+++ b/configure
@@ -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