opensaml2, pkg-config on wheezy and PKG_CHECK_VAR macro
Etienne Dysli-Metref
etienne.dysli-metref at switch.ch
Tue Oct 18 07:19:07 UTC 2016
On 17/10/16 18:52, Ferenc Wágner wrote:
> wferi at niif.hu (Ferenc Wágner) writes:
>
>> Well, you can try replacing it with something like the following (based
>> on pkg.m4 in jessie, untested):
>>
>> # manual expansion of PKG_CHECK_VAR([DX_INCLUDE], [xmltooling], [includedir])
>> # for pkg-config < 0.28:
>> AC_ARG_VAR([DX_INCLUDE], [value of includedir for xmltooling, overriding pkg-config])
>> _PKG_CONFIG([DX_INCLUDE], [variable="includedir"], [xmltooling])
>> AS_VAR_COPY([DX_INCLUDE], [pkg_cv_DX_INCLUDE])
Thanks! :)
With this variant, I see in the build output that DX_INCLUDE is set:
SRCDIR='.' PROJECT='opensaml' DOCDIR='doc/api' VERSION='2.6.0'
PERL_PATH='/usr/bin/perl' HAVE_DOT='YES' DOT_PATH='/usr/bin'
GENERATE_MAN='NO' GENERATE_RTF='NO' GENERATE_XML='NO'
GENERATE_HTMLHELP='NO' GENERATE_CHI='NO' GENERATE_HTML='YES'
GENERATE_LATEX='NO' DX_INCLUDE=/usr/include /usr/bin/doxygen ./doxygen.cfg
> Or maybe simply with
>
> DX_INCLUDE=`pkg-config xmltooling --variable=includedir`
With this one, it seems DX_INCLUDE isn't set:
SRCDIR='.' PROJECT='opensaml' DOCDIR='doc/api' VERSION='2.6.0'
PERL_PATH='/usr/bin/perl' HAVE_DOT='YES' DOT_PATH='/usr/bin'
GENERATE_MAN='NO' GENERATE_RTF='NO' GENERATE_XML='NO'
GENERATE_HTMLHELP='NO' GENERATE_CHI='NO' GENERATE_HTML='YES'
GENERATE_LATEX='NO' DX_INCLUDE= /usr/bin/doxygen ./doxygen.cfg
and doxygen emits lots of warnings about undocumented stuff.
So I'll go with the manual expansion.
Etienne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-shibboleth-devel/attachments/20161018/8e282eae/attachment.sig>
More information about the Pkg-shibboleth-devel
mailing list