Next: , Previous: , Up: The Macros  



AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]])


Look for OpenSSL in a number of default spots, or in a user-selected spot (via –with-openssl). Sets

  OPENSSL_INCLUDES to the include directives required
  OPENSSL_LIBS to the -l directives required
  OPENSSL_LDFLAGS to the -L or -R flags required

and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately

This macro sets OPENSSL_INCLUDES such that source files should use the openssl/ directory in include directives:

  #include <openssl/hmac.h>

Source Code

Download the latest version of ax_check_openssl.m4 or browse the macro’s revision history.


Copyright © 2009,2010 Zmanda Inc.
Copyright © 2009,2010 Dustin J. Mitchell

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.