Skip to content
This repository has been archived by the owner on Jun 12, 2021. It is now read-only.

Commit

Permalink
Add libgcrypt detection
Browse files Browse the repository at this point in the history
libgcrypt is used to generate sha1 hashes of MPTCP connections.
  • Loading branch information
teto committed Nov 29, 2015
1 parent bbe8925 commit 25d33ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,12 @@ def configure(conf):
conf.env['ENABLE_GSL'],
"GSL not found")

have_crypto = conf.check_cxx( msg="Checking for libgcrypt", lib="gcrypt",
define_name="HAVE_CRYPTO", mandatory=False)
conf.report_optional_feature("libgcrypt", "Gcrypt library",
have_crypto, "libgcrypt not found: you can use libgcrypt-config to find its location.")


# for compiling C code, copy over the CXX* flags
conf.env.append_value('CCFLAGS', conf.env['CXXFLAGS'])

Expand Down

0 comments on commit 25d33ee

Please sign in to comment.