bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Conditional inclusion


From: Micah Cowan
Subject: Conditional inclusion
Date: Sun, 14 Oct 2007 15:39:18 -0700
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

If I've --import'ed md5, is there a means for me to specify in
configure.ac that it should not be included in certain circumstances?

I'm in the process of converting portions of Wget to gnulib. We had
GNU's MD5 code in there, but only used it when we couldn't get
equivalent code from elsewhere; for example, we also use OpenSSL, which
includes an MD5 generator. So in situations where we link with OpenSSL,
we would build without the included MD5, to save size on the binary.

Is this still doable? It looks to me that gl_INIT will unconditionally
invoke gl_MD5, which will unconditionally set up compilation of md5.c.

- --
Thanks,
Micah J. Cowan
GNU Wget Maintainer
http://www.gnu.org/software/wget/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHEpqW7M8hyUobTrERCAkhAJ9YmV3VGJjR+przpncvHEm2rTkBIwCffAh+
YaNVrmPYqlboJQcSVUsON+4=
=bnDp
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]