Reorder checks for libraries to allow ./configure LDFLAGS=-static.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 13 May 2011 10:37:26 +0000 (12:37 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 13 May 2011 10:37:26 +0000 (12:37 +0200)
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.


No differences found