]> git.meshlink.io Git - meshlink/commit
Fix broken build with --with-openssl, --with-libgcrypt.
authorEtienne Dechamps <etienne@edechamps.fr>
Sun, 1 Sep 2013 19:07:32 +0000 (20:07 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 1 Sep 2013 19:24:59 +0000 (21:24 +0200)
commitc179dd0fc8ba0d20e8b29b0a5d2485a637e999e6
tree8276f2d6719260468737bf9ad1a8c0218abf6042
parenta4e49f45664cfc9414d6eaaa7bd45f1eb3012e37
Fix broken build with --with-openssl, --with-libgcrypt.

When --with-openssl is used, $openssl is set to the specified path.
Unfortunately, that confuses the OPENSSL conditional which expects it to
be set to "true". The result is that the contents of the openssl/
directory are not built when --with-openssl is used, resulting in
undefined references and a broken build.

In addition, there is a typo in the GCRYPT conditional definition
("grypt" instead of "gcrypt") which means GCRYPT never gets set,
(presumably) breaking builds using libgcrypt.

These regressions were introduced in
9b9230a0a79c670b86f54fadd2807b864ff9d91f.
configure.ac