Lucio Andrés Illanes Albornoz afa1d0
--- weechat-2.1/configure.orig	2017-11-28 13:45:00.520000000 +0000
Lucio Andrés Illanes Albornoz afa1d0
+++ weechat-2.1/configure	2017-11-28 13:46:29.676000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
@@ -22487,7 +22487,6 @@
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
 #                                  pkg-config
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
 # ------------------------------------------------------------------------------
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
 
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
-PKGCONFIG=""
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
 for ac_prog in pkg-config
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
 do
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
   # Extract the first word of "$ac_prog", so it can be a program name with args.
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
@@ -24277,8 +24276,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 14c984
 else
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 $as_echo "yes" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 14c984
-    GCRYPT_CFLAGS=`libgcrypt-config --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
-    GCRYPT_LFLAGS=`libgcrypt-config --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
+    GCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
+    GCRYPT_LFLAGS=`$LIBGCRYPT_CONFIG --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
@@ -24355,8 +24354,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
     else
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 $as_echo "yes" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-        GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-        GNUTLS_LFLAGS=`pkg-config gnutls --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+        GNUTLS_CFLAGS=`$PKG_CONFIG gnutls --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+        GNUTLS_LFLAGS=`$PKG_CONFIG gnutls --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
         $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
@@ -24567,8 +24566,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 $as_echo "yes" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-    ZLIB_CFLAGS=`pkg-config zlib --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-    ZLIB_LFLAGS=`pkg-config zlib --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+    ZLIB_CFLAGS=`$PKG_CONFIG zlib --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+    ZLIB_LFLAGS=`$PKG_CONFIG zlib --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 fi