|
|
efb4d0 |
diff -ru weechat-2.9.orig/configure.ac weechat-2.9/configure.ac
|
|
|
efb4d0 |
--- weechat-2.9.orig/configure.ac 2020-07-18 13:59:02.000000000 +0200
|
|
|
efb4d0 |
+++ weechat-2.9/configure.ac 2020-10-06 22:27:28.776471083 +0200
|
|
|
efb4d0 |
@@ -192,18 +192,6 @@
|
|
|
efb4d0 |
fi
|
|
|
efb4d0 |
|
|
|
efb4d0 |
# ------------------------------------------------------------------------------
|
|
|
efb4d0 |
-# pkg-config
|
|
|
efb4d0 |
-# ------------------------------------------------------------------------------
|
|
|
efb4d0 |
-
|
|
|
efb4d0 |
-PKGCONFIG=""
|
|
|
efb4d0 |
-AC_CHECK_PROGS(PKGCONFIG, pkg-config)
|
|
|
efb4d0 |
-if test "x$PKGCONFIG" = "x"; then
|
|
|
efb4d0 |
- AC_MSG_ERROR([
|
|
|
efb4d0 |
-*** "pkg-config" couldn't be found on your system.
|
|
|
efb4d0 |
-*** Try to install it with your software package manager.])
|
|
|
efb4d0 |
-fi
|
|
|
efb4d0 |
-
|
|
|
efb4d0 |
-# ------------------------------------------------------------------------------
|
|
|
efb4d0 |
# dynamic loader
|
|
|
efb4d0 |
# ------------------------------------------------------------------------------
|
|
|
efb4d0 |
|
|
|
efb4d0 |
@@ -1049,8 +1037,8 @@
|
|
|
efb4d0 |
*** or try to install it with your software package manager.])
|
|
|
efb4d0 |
else
|
|
|
efb4d0 |
AC_MSG_RESULT(yes)
|
|
|
efb4d0 |
- GCRYPT_CFLAGS=`libgcrypt-config --cflags`
|
|
|
efb4d0 |
- GCRYPT_LFLAGS=`libgcrypt-config --libs`
|
|
|
efb4d0 |
+ GCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
|
|
|
efb4d0 |
+ GCRYPT_LFLAGS=`$LIBGCRYPT_CONFIG --libs`
|
|
|
efb4d0 |
AC_SUBST(GCRYPT_CFLAGS)
|
|
|
efb4d0 |
AC_SUBST(GCRYPT_LFLAGS)
|
|
|
efb4d0 |
fi
|
|
|
efb4d0 |
@@ -1070,8 +1058,8 @@
|
|
|
efb4d0 |
*** or try to install it with your software package manager.])
|
|
|
efb4d0 |
else
|
|
|
efb4d0 |
AC_MSG_RESULT(yes)
|
|
|
efb4d0 |
- GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
|
|
|
efb4d0 |
- GNUTLS_LFLAGS=`pkg-config gnutls --libs`
|
|
|
efb4d0 |
+ GNUTLS_CFLAGS=`$PKGCONFIG gnutls --cflags`
|
|
|
efb4d0 |
+ GNUTLS_LFLAGS=`$PKGCONFIG gnutls --libs`
|
|
|
efb4d0 |
AC_SUBST(GNUTLS_CFLAGS)
|
|
|
efb4d0 |
AC_SUBST(GNUTLS_LFLAGS)
|
|
|
efb4d0 |
fi
|
|
|
efb4d0 |
@@ -1160,8 +1148,8 @@
|
|
|
efb4d0 |
*** or try to install it with your software package manager.])
|
|
|
efb4d0 |
else
|
|
|
efb4d0 |
AC_MSG_RESULT(yes)
|
|
|
efb4d0 |
- ZLIB_CFLAGS=`pkg-config zlib --cflags`
|
|
|
efb4d0 |
- ZLIB_LFLAGS=`pkg-config zlib --libs`
|
|
|
efb4d0 |
+ ZLIB_CFLAGS=`$PKGCONFIG zlib --cflags`
|
|
|
efb4d0 |
+ ZLIB_LFLAGS=`$PKGCONFIG zlib --libs`
|
|
|
efb4d0 |
AC_SUBST(ZLIB_CFLAGS)
|
|
|
efb4d0 |
AC_SUBST(ZLIB_LFLAGS)
|
|
|
efb4d0 |
fi
|