[patch] Don't add PTH include path to gpgme's CFLAGS globally

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Mon Sep 12 21:02:14 CEST 2005


At Mon, 29 Aug 2005 20:49:54 +0200,
Michael Nottebrock <lofi at freebsd.org> wrote:
> > > The attached patch changes gpgme's global configure template and the
> > > Makefile template in gpgme/gpgme so that PTH_CFLAGS are only added to the
> > > include path where needed. The patch should apply to both the latest
> > > gpgme in CVS and gpgme 1.0.x.
> >
> > Does the patch work?
> > From your interpretation of the problem, a 
> > compile error should occur in ath-pthread-compat.c, because it will
> > pick up the pth supplied header file rather than the system header
> > file.
> 
> It's been a while - I tend to agree that ath-pthread-compat.c should fail as 
> well, but for some reason it apparently doesn't. 

Yeah, ok :)

I have now killed the whole ath*-compat.c stuff, which was deprecated
since version 0.4.3 anyway, and put the PTH CFLAGS for the pth version
of the library only.  This should fix the problem once and for all.
Let me know if there are still any glitches with it.

Thanks,
Marcus




More information about the Gpa-dev mailing list