commit c74b91d71f222314cdbb025d69619dea2b75f9c2
parent fff71075363cf12707e96b4787785a08478f018c
Author: ukai <ukai>
Date: Tue, 1 Oct 2002 15:29:05 +0000
[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:
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-02 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
+
+ * [w3m-dev 03331] Re: hang up when seeing web page that contains xbm file
+ * configure: check gdk-pixbuf-config existence
+
2002-10-01 Yuji Abe <cbo46560@pop12.odn.ne.jp>
* [w3m-dev 03330] Re: hang up when seeing web page that contains xbm file
diff --git a/configure b/configure
@@ -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