From: Guus Sliepen Date: Fri, 13 May 2011 10:37:26 +0000 (+0200) Subject: Reorder checks for libraries to allow ./configure LDFLAGS=-static. X-Git-Tag: release-1.0.15~9 X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=03b7118139f57033659730afb740bf5cef7c961c;hp=03b7118139f57033659730afb740bf5cef7c961c Reorder checks for libraries to allow ./configure LDFLAGS=-static. OpenSSL depends on libdl and libz. When linking dynamically, libcrypto will automatically link with the other two libraries. However, when linking statically, these libraries need to be specified explicitly while linking. By moving the autoconf checks for libdl and libz before those for libcrypto, we ensure the latter test will be done with the proper libraries. ---