Re: [PATCH] Add pkg-config support

2016-08-30 Thread Michael Catanzaro
On Tue, 2016-08-30 at 19:56 +0200, Niels Möller wrote: > Are conventions and best practices documented somewhere? Not really. There's some documentation in the man page, but it covers only obvious stuff ("You would normally generate the file using configure"). On Tue, 2016-08-30 at 19:56 +0200,

Re: [PATCH] Add pkg-config support

2016-08-30 Thread Niels Möller
Michael Catanzaro writes: > Right... using AC_CHECK_LIB has been considered primitive for a long > time now. I was really surprised to see GMP doesn't already have pkg- > config file. I can't imagine why you wouldn't want to support it, since > it's just one file to

Re: [PATCH] Add pkg-config support

2016-08-30 Thread Michael Catanzaro
Hi, On Tue, 2016-08-30 at 14:02 +0200, Niels Möller wrote: > The GMP manual includes the recommended autoconf check. See > https://gmplib.org/manual/Autoconf.html#index-Autoconf. If we want to > support, or even encourage, pkg-config, this should be documented. Right... using AC_CHECK_LIB has

Re: [PATCH] Add pkg-config support

2016-08-30 Thread Niels Möller
Michael Catanzaro writes: > It would be desirable for gmp to install a pkg-config file. This makes > it much easier for other projects to link to gmp, especially projects > that use Autotools build systems. The GMP manual includes the recommended autoconf check. See

[PATCH] Add pkg-config support

2016-08-30 Thread Michael Catanzaro
# HG changeset patch # User Michael Catanzaro # Date 1472477638 18000 # Mon Aug 29 08:33:58 2016 -0500 # Node ID 95850e2b3e2e24c3a84496a3289ec783c96bae15 # Parent 31d28753a4e167fa571268408d7ba16890f2cb9e Add pkg-config file It would be desirable for gmp to install a