GNOME Bugzilla – Bug 743231
make crypto optional
Last modified: 2015-01-20 16:03:00 UTC
Since vte now depends on gnutls >= 3.2.0 but fedora 19 only has 3.1.x, and the vte code really does require 3.2.0, I now can't even build vte. Should we add a --without-gnutls configure switch and corresponding #if out of the crypto code?
I had a feeling someone was to ask for it anyway, perhaps when vte is used in an installer where they just don't want to have crypto stuff. Or when a distro forces all file systems and swap to be encrypted there it doesn't make too much sense. Let's go for it.
Created attachment 294998 [details] [review] optional encryption - ifdefs Here's the bits for the vtestream-file.h ifdefs. Could you please add the autoconf bits and submit? I loathe autoconf, and seems to me you have a lot more experience with that.
I added the configure bits. (Named the define WITH_GNUTLS, however.)
Thanks. Submitted the rest.