Re: [patch] Don't add PTH include path to gpgme's CFLAGS globally
Marcus Brinkmann <[email protected]> Mon, 12 Sep 2005 21:02:14 +0200
| Newsgroups | gmane.comp.encryption.gpg.gpa.devel |
|---|---|
| Message-ID | <87d5nem7nt.wl%[email protected]> |
At Mon, 29 Aug 2005 20:49:54 +0200, Michael Nottebrock <[email protected]> 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