From: Michael R Sweet Date: Sat, 6 Mar 2021 17:52:16 +0000 (-0500) Subject: Add some debugging for the new TLS checks - trying to fix 32-bit intel builds. X-Git-Tag: v2.4b1~225 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0324fface0af854b96ace89feee81c75f6f65cb7;p=thirdparty%2Fcups.git Add some debugging for the new TLS checks - trying to fix 32-bit intel builds. --- diff --git a/config-scripts/cups-tls.m4 b/config-scripts/cups-tls.m4 index 853433f98d..65358960a3 100644 --- a/config-scripts/cups-tls.m4 +++ b/config-scripts/cups-tls.m4 @@ -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], [ diff --git a/configure b/configure index 1aaeb7fb50..76ef959892 100755 --- 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