22 lines
1.0 KiB
Diff
22 lines
1.0 KiB
Diff
--- libvmime-0.9.0.orig/configure
|
|
+++ libvmime-0.9.0/configure
|
|
@@ -30792,12 +30792,14 @@
|
|
{ echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
|
|
echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6; }
|
|
no_libgnutls=""
|
|
- if test "$LIBGNUTLS_CONFIG" = "no" ; then
|
|
+# if test "$LIBGNUTLS_CONFIG" = "no" ; then
|
|
+ if [ ! $(pkg-config --modversion gnutls-extra 2> /dev/null) ]; then
|
|
no_libgnutls=yes
|
|
else
|
|
- LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
|
|
- LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
|
|
- libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
|
|
+ LIBGNUTLS_CONFIG=""
|
|
+ LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args pkg-config --cflags gnutls-extra`
|
|
+ LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args pkg-config --libs gnutls-extra`
|
|
+ libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args pkg-config --modversion gnutls-extra`
|
|
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|