[BRLTTY] 5.6 is now released.

Dave Mielke dave at mielke.cc
Sun Feb 11 14:59:02 EST 2018


[quoted lines by Samuel Thibault on 2018/02/11 at 17:53 +0100]

>While working on the Debian package, I got the following warning which
>got recently added to Debian:
>
>autotools-pkg-config-macro-not-cross-compilation-safe
>
>  The package appears to use AC_PATH_PROG to discover the location of
>  pkg-config(1). This macro fails to select the correct version to
>  support cross-compilation.
>  
>  A better way would be to use the PKG_PROG_PKG_CONFIG macro from pkg.m4
>  and then using the $PKG_CONFIG shell variable.
>  
>  Refer to https://bugs.debian.org/884798 for details.

This isn't picked up automatically. pkg.m4 is in /usr/share/aclocal/, and that 
seems to need some incantation of the aclocal command to work. I don't kow what 
that incantation is. Perhaps someone does, and can give me a hint.

Could you please try changing that AC_PATH_PROG (line 353 of configure.ac) to 
AC_PATH_TOOL (same syntax) as perhaps a simpler way of resolving the problem?

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke           | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave at Mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: 1-613-726-0014 | Canada  K2A 1H7   |


More information about the BRLTTY mailing list