Hey On Mon, Apr 23, 2012 at 12:58 AM, Guenter <[email protected]> wrote: > Hi Vincent, > Am 23.04.2012 00:20, schrieb Vincent Torri: > >> use Requires.private if pkg-config is sufficiently recent. We do this: >> >> in configure.ac: >> >> if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then >> pkgconfig_requires_private="Requires.private" >> else >> pkgconfig_requires_private="Requires" >> fi >> AC_SUBST(pkgconfig_requires_private) >> >> in the .pc.in file: >> >> @pkgconfig_requires_private@: @requirement@ >> >> (where requirements is an AC_SUBST'ed variable containing the needed >> dependencies) > > I had already committed a fix to libssh2-git before I got your mail: > http://git.libssh2.org/?p=libssh2.git;a=commitdiff;h=04692445d4a32430610ccf8c256e18245cbb3e06;js=1 > can you please explain why we should prefer Requires.private over Requires? > Whats the difference/benefit?
See : http://lists.freedesktop.org/archives/pkg-config/2010-June/000604.html > Anyway, are you also subscribed to libssh2 list? yes, I am. > If so we should add the discussion there too - I will shortly post there > about my commit + your suggestion ... Ok, I can post the link above there too Vincent Torri ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
