]> git.meshlink.io Git - meshlink/commitdiff
Check for and add -ldl.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 21 Jun 2001 16:37:05 +0000 (16:37 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 21 Jun 2001 16:37:05 +0000 (16:37 +0000)
m4/openssl.m4

index bf5ce9fcaae010fdef98cff8e61c5ec7fd60629a..5d91a7896db2e1a71216d34bf13ae9fb4ad5e548 100644 (file)
@@ -28,4 +28,9 @@ AC_DEFUN(tinc_OPENSSL,
     [LIBS="$LIBS -lcrypto"],
     [AC_MSG_ERROR("OpenSSL libraries not found.")]
   )
+
+  AC_CHECK_LIB(dl, dlopen,
+    [LIBS="$LIBS -ldl"],
+    [AC_MSG_ERROR("OpenSSL depends on libdl.")]
+  )
 ])