]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add some debugging for the new TLS checks - trying to fix 32-bit intel builds.
authorMichael R Sweet <msweet@msweet.org>
Sat, 6 Mar 2021 17:52:16 +0000 (12:52 -0500)
committerMichael R Sweet <msweet@msweet.org>
Sat, 6 Mar 2021 17:52:16 +0000 (12:52 -0500)
config-scripts/cups-tls.m4
configure

index 853433f98dfb9fb3c1e8e2e9c83b69bf27773c47..65358960a3ed05b3d37ec67858e7aeb004496c3e 100644 (file)
@@ -52,13 +52,21 @@ dnl Then look for GNU TLS...
 AS_IF([test $with_tls = yes -o $with_tls = gnutls], [
     AC_PATH_TOOL([LIBGNUTLSCONFIG], [libgnutls-config])
     AS_IF([test "x$PKGCONFIG" != x], [
+        AC_MSG_CHECKING([for gnutls package])
        AS_IF([$PKGCONFIG --exists gnutls], [
+           AC_MSG_RESULT([yes])
            have_tls="1"
            with_tls="gnutls"
            TLSLIBS="$($PKGCONFIG --libs gnutls)"
            TLSFLAGS="$($PKGCONFIG --cflags gnutls)"
            AC_DEFINE([HAVE_TLS], [1], [Do we support TLS?])
            AC_DEFINE([HAVE_GNUTLS], [1], [Do we have the GNU TLS library?])
+       ], [
+           AC_MSG_RESULT([no])
+           echo "pkg-config --list-all"
+           $PKGCONFIG --list-all
+           echo "pkg-config --print-requires gnutls"
+           $PKGCONFIG --print-requires gnutls
        ])
     ])
     AS_IF([test $have_tls = 0 -a "x$LIBGNUTLSCONFIG" != x], [
index 1aaeb7fb5072006cbc6ca887397d0aa1a06629b1..76ef959892a5fb194fdd8710b6e1a4be03d0ed83 100755 (executable)
--- a/configure
+++ b/configure
@@ -9617,9 +9617,13 @@ fi
     if test "x$PKGCONFIG" != x
 then :
 
+        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls package" >&5
+printf %s "checking for gnutls package... " >&6; }
        if $PKGCONFIG --exists gnutls
 then :
 
+           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+printf "%s\n" "yes" >&6; }
            have_tls="1"
            with_tls="gnutls"
            TLSLIBS="$($PKGCONFIG --libs gnutls)"
@@ -9631,6 +9635,15 @@ printf "%s\n" "#define HAVE_TLS 1" >>confdefs.h
 printf "%s\n" "#define HAVE_GNUTLS 1" >>confdefs.h
 
 
+else $as_nop
+
+           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
+           echo "pkg-config --list-all"
+           $PKGCONFIG --list-all
+           echo "pkg-config --print-requires gnutls"
+           $PKGCONFIG --print-requires gnutls
+
 fi
 
 fi