summaryrefslogtreecommitdiffhomepage
path: root/patches/weechat-2.8.local.patch
blob: 279185c6a6faa5eb7e8788b490b0b484ca279fd0 (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- weechat-2.7/configure.orig	2020-02-09 23:15:37.432482865 +0000
+++ weechat-2.7/configure	2020-02-09 23:17:57.591493077 +0000
@@ -22793,8 +22793,7 @@
 #                                  pkg-config
 # ------------------------------------------------------------------------------
 
-PKGCONFIG=""
-for ac_prog in pkg-config
+for ac_prog in $PKG_CONFIG
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -24756,8 +24755,8 @@
 else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-    GCRYPT_CFLAGS=`libgcrypt-config --cflags`
-    GCRYPT_LFLAGS=`libgcrypt-config --libs`
+    GCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
+    GCRYPT_LFLAGS=`$LIBGCRYPT_CONFIG --libs`
 
 
 fi
@@ -24834,8 +24833,8 @@
     else
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-        GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
-        GNUTLS_LFLAGS=`pkg-config gnutls --libs`
+        GNUTLS_CFLAGS=`$PKG_CONFIG gnutls --cflags`
+        GNUTLS_LFLAGS=`$PKG_CONFIG gnutls --libs`
 
 
         $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
@@ -25046,8 +25045,8 @@
 else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-    ZLIB_CFLAGS=`pkg-config zlib --cflags`
-    ZLIB_LFLAGS=`pkg-config zlib --libs`
+    ZLIB_CFLAGS=`$PKG_CONFIG zlib --cflags`
+    ZLIB_LFLAGS=`$PKG_CONFIG zlib --libs`
 
 
 fi