Am 15.12.2014 um 13:20 schrieb Jochen Roderburg:
Am 14.12.2014 um 17:30 schrieb Tim Rühsen:
I appreciate any help in finding an example.
Else we have to amend the documentation... I already made up a patch
for the
docs, but I am willing to wait a while before I push it.
Hmm, I thought, there were many of these around. ;-)
I'll have a look on my disk if I see something suitable in sources that
I have downloaded.
Well, I did not find exactly what I was looking for, but the following:
For a library LIBXXX, which is handled by pkg-config, the pkg-config
result can be overriden by (environment) variables LIBXXX_CFLAGS and
LIBXXX_LIBS (they are all now mentioned in configure --help ;-)
So it should be sufficient to set such variables somewhere in the
configure script, when wget's own --with-libxxx-prefix option is set.
And it looks like the currently only affected options are those for the
SSL libraries, namely --with-libssl-prefix (for openssl) and
--with-libgnutls-prefix (for gnutls).
I myself do know next to nothing about this autoconf definitions, so I
can't say exactly how this can be done in the configure.ac.
Regards, Jochen