Wireshark-dev: [Wireshark-dev] gtk/Makefile.am patch
Date: Mon, 12 Feb 2007 11:22:40 -0600
Building 0.99.5 on RHEL 4/amd64 with a gnutls outside of /usr/lib, the
build fails with:
  ../epan/dissectors/packet-ssl-utils.h:38:25: gnutls/x509.h: No such file or directory
  ../epan/dissectors/packet-ssl-utils.h:39:28: gnutls/openssl.h: No such file or directory
  ssl-dlg.c: In function `ssl_queue_packet_data':
  ssl-dlg.c:154: warning: cast from pointer to integer of different size
  ssl-dlg.c: At top level:
  ../epan/dissectors/packet-ssl-utils.h:74: warning: 'ssl_version_short_names' defined but not used
  gmake[2]: *** [ssl-dlg.o] Error 1
  gmake[2]: Leaving directory `/opt/build/wireshark-0.99.5/gtk'

Patch attached.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)
Index: gtk/Makefile.am
===================================================================
--- gtk/Makefile.am	(revision 20794)
+++ gtk/Makefile.am	(working copy)
@@ -146,7 +146,7 @@
 	win32-file-dlg.h
 
 # Common headers
-AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(PORTAUDIO_INCLUDES)
+AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
 
 
 doxygen: