opensaml2, pkg-config on wheezy and PKG_CHECK_VAR macro

Etienne Dysli-Metref etienne.dysli-metref at
Mon Oct 17 13:30:54 UTC 2016

Hi Ferenc,

While trying to compile opensaml2 for wheezy, I hit another macro that
isn't supported by the old pkg-config: PKG_CHECK_VAR. My build ends with
this error:

dh build --parallel --with autoreconf
 dh_testdir -O--parallel
 dh_autoreconf -O--parallel
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4' error: possibly undefined macro: PKG_CHECK_VAR
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
dh_autoreconf: autoreconf -f -i returned exit code 1
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

I can see PKG_CHECK_VAR was introduced in patch
(3ada08197a2e400cd2bee81a9e253ccf37446a05), Is there an equivalent
alternative that we could use with pkg-config 0.26?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Pkg-shibboleth-devel mailing list