aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/370_gtk2-pkg-config.patch
blob: 5714fc556483a12a7790ecbf722612853935f19d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Subject: Assume defined PKG_CONFIG points right location when gtk2
Author: OBATA Akio <obache@netbsd.org>
Origin: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/w3m/patches/patch-aa?rev=1.13&content-type=text/x-cvsweb-markup
Origin: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/w3m/patches/patch-ak?rev=1.1&content-type=text/x-cvsweb-markup

diff --git a/acinclude.m4 b/acinclude.m4
index c1d112b..d768476 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -664,8 +664,6 @@ AC_DEFUN([AC_W3M_IMAGE],
      with_gtk2="yes"
      if test x"$PKG_CONFIG" = x; then
        PKG_CONFIG=pkg-config
-     else
-       PKG_CONFIG=:
      fi;;
    esac
   done
diff --git a/configure b/configure
index ec7f11e..b5adbb5 100755
--- a/configure
+++ b/configure
@@ -6826,8 +6826,6 @@ $as_echo "$with_imagelib" >&6; }
      with_gtk2="yes"
      if test x"$PKG_CONFIG" = x; then
        PKG_CONFIG=pkg-config
-     else
-       PKG_CONFIG=:
      fi;;
    esac
   done