We're now a non-profit! Support open source packet analysis by making a donation.

Wireshark-dev: Re: [Wireshark-dev] OS X build can't find gcrypt.h

From: Stephen Fisher <[email protected]>
Date: Thu, 6 Jul 2006 22:51:08 -0700
On Thu, Jul 06, 2006 at 03:12:47PM -0700, Stephen Fisher wrote:

> Adding $(LIBGCRYPT_FLAGS) to AM_CPPFLAGS did not work in the 
> gtk/Makefile.am (where ssl-dlg.c is). 

Sorry to keep responding to myself.. adding LIBGCRYPT_CFLAGS to 
AM_CPPFLAGS in gtk/Makefile.am works.  I was missing the C in CFLAGS up 
above ;)

So the fix to not finding /opt/local/include/gcrypt.h on OS X builds is 
to add $(LIBGCRYPT_CFLAGS) to INCLUDES in epan/dissectors/Makefile.am 
and adding the same to AM_CPPFLAGS in gtk/Makefile.am.

Could someone commit this or find a better way to do it? Thanks! :)