|
From: | Reuben Thomas |
Subject: | Re: bdw-gc dependency |
Date: | Sat, 4 Feb 2023 23:03:50 +0000 |
There are three problems here:
1) Since I don't want to install pkg-config on my build machines, I opt
for the environment variables approach. I have already set BDW_GC_CFLAGS
and BDW_GC_LIBS for the sake of GNU guile and GNU poke. Now GNU a2ps
comes along and wants me to set *other* environment variables for the
*same* purpose.
A code search on codesearch.debian.net shows that
- 2 GNU packages (guile and poke) use
PKG_CHECK_MODULES([BDW_GC], ...
or PKG_CHECK_MODULES(BDW_GC, ...
- 3 non-GNU packages (mmv, ocp, libsidplayfp) use
PKG_CHECK_MODULES([LIBGC], ...
or PKG_CHECK_MODULES(LIBGC, ...
Please join the camp of guile and poke, and thus avoid unnecessary work
for the one who installs the package!
3) The pkg.m4 that you used for creating the tarball mishandles empty
environment variables. When I set
export LIBGC_CFLAGS=
export LIBGC_LIBS="-lgc"
the configure test bails out and aborts. Whereas when I set
export LIBGC_CFLAGS="-Wall"
export LIBGC_LIBS="-lgc"
the configure test succeeds and I can build the package.
Suggested fix: Pull the pkg.m4 from GNU poke 3.0 (which you find on
https://ftp.gnu.org/gnu/poke/). AFAIK version 0.29.2 is the newest one.
[Prev in Thread] | Current Thread | [Next in Thread] |