[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggested addition to the GnuTLS Windows installer
From: |
Simon Josefsson |
Subject: |
Re: Suggested addition to the GnuTLS Windows installer |
Date: |
Wed, 07 May 2008 13:37:47 +0200 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) |
Hi,
> It would be useful to include the lib/pkgconfig/gnutls.pc and
> bin/libgcrypt-config files also in the Windows installer of GnuTLS.
> Then the configury of other software ported from Unix that uses GnuTLS
> would work directly also on mingw+MSYS.
Ah, right. They are in the *.ZIP file, but not installed by the
installer.
> The gnutls.pc you would distribute can be as generated by your build,
> it doesn't matter that the prefix in it points to some folder on your
> build machine that won't exist on the machines where gnutls.pc is
> used. pkg-config on Windows automatically replaces the prefix from the
> .pc file with one deduced from the location of the .pc file anyway, as
> long as the .pc file is in a "normal" location that ends with
> .../lib/pkgconfig.
Ok, I added all files to the binary installer.
> The libgcrypt-config file is a bit more problematic. The one I cooked
> up for myself has this in the beginning:
>
> prefix=`dirname $0`/..
> exec_prefix=${prefix}
> version=1.4.0
> includedir=${prefix}/include
> libdir=${prefix}/lib
> gpg_error_libs=-lgpg-error
> gpg_error_cflags=
>
> I don't know how easy it would be to automatically generate a
> libgcrypt-config file that would look like that, but otherwise use the
> normal @FOO@ Autoconf expansions for version numbers etc.
Patches welcome to achieve this. :) (Against the Makefile distributed at
http://josefsson.org/gnutls4win/ -- it should probably be moved into git
or similar.)
/Simon
- Re: Suggested addition to the GnuTLS Windows installer,
Simon Josefsson <=