Changeset 62ee4ec


Ignore:
Timestamp:
03/02/18 16:33:55 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, etsilive, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
c1205bd
Parents:
314239a
Message:

Add extra check for openssl/evp.h in configure.

On Mac OS X, it is common to have the library present but not the
header files, so the traceanon build will still fail.

This check will prevent the build from failing, but might make it
hard for Mac users to get traceanon building.

Solution: use homebrew to install openssl, then add
CPPFLAGS=-I/opt/local/include/ to your ./configure command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r0e8f8cb r62ee4ec  
    212212
    213213AC_CHECK_LIB(crypto, EVP_EncryptInit_ex, cryptofound=1, cryptofound=0)
     214if test "$cryptofound" = 1; then
     215        AC_CHECK_HEADER(openssl/evp.h, cryptofound=1, cryptofound=0)
     216fi
    214217
    215218# Check for libpcap
     
    694697reportopt "Building man pages/documentation" $libtrace_doxygen
    695698reportopt "Building tracetop (requires libncurses)" $with_ncurses
    696 reportopt "Building traceanon with CryptoPan (requires libcrypto)" $have_crypto
     699reportopt "Building traceanon with CryptoPan (requires libcrypto and openssl/evp.h)" $have_crypto
    697700
    698701# Report any errors relating to missing bison, flex, etc.
Note: See TracChangeset for help on using the changeset viewer.