Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
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! :)


Steve