https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3627
Summary: configure.in uses depracated autoconf test for gnutls
detection
Product: Wireshark
Version: 1.2.0
Platform: Other
OS/Version: All
Status: NEW
Severity: Normal
Priority: Medium
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: bz-wire@xxxxxxxxxxxxxxxxxx
Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
wireshark is using AM_PATH_LIBGNUTLS to locate gnutls. However both the
autoconf macro and the script libgnutls-config it relies on are deprecated and
not shipped in gnutls releases >= 2.8.0.
The easiest way to fix this is to use pkg-config. It is already used fror gtk
detection and does not add another build-dependency.
This works:
--- wireshark-1.2.0/configure.in.orig 2009-06-28 11:24:06.000000000 +0200
+++ wireshark-1.2.0/configure.in 2009-06-28 11:28:01.000000000 +0200
@@ -116,19 +116,15 @@
[use gnutls library @<:@default=yes@:>@]),
with_gnutls="$withval", with_gnutls="yes")
if test "x$with_gnutls" = "xyes"; then
- AM_PATH_LIBGNUTLS(1.2.0,
+ PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.2.0],
[
echo "gnuTLS found, enabling ssl decryption"
AC_DEFINE(HAVE_LIBGNUTLS, 1, [Define to use gnutls library])
tls_message="yes"
]
, [
- if test x$libgnutls_config_prefix != x ; then
- AC_MSG_ERROR([[gnuTLS not found; install gnuTLS-devel
package for your system]])
- else
- echo echo "gnuTLS not found, disabling ssl decryption"
- tls_message="no"
- fi
+ echo echo "gnuTLS not found, disabling ssl decryption"
+ tls_message="no"
]
)
fi
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.