From d97efd4fb2ade6c6e9b3a3c9ba0dc870b2a025db Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Tue, 23 Jun 2015 13:52:43 -0400 Subject: configure.ac: Check for OpenSSL and Ur/Web --- Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 7d43e88..e257a97 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,14 +16,16 @@ ACLOCAL_AMFLAGS = -I m4 CPPFLAGS = \ -Wall \ - -D_FORTIFY_SOURCE=2 + -D_FORTIFY_SOURCE=2 \ + @OpenSSL_CFLAGS@ CXXFLAGS = \ -std=c++11 \ -ftrapv \ -fstack-protector-strong --param=ssp-buffer-size=4 \ -fPIE \ - -O2 + -O2 \ + @OpenSSL_CFLAGS@ CXXFLAGS += \ -Weverything \ @@ -44,7 +46,7 @@ liburweb_crypto_hash_openssl_la_DATA = \ src/hash.ur \ src/hashFFI.urs -liburweb_crypto_hash_openssl_la_LIBADD = -lurweb +liburweb_crypto_hash_openssl_la_LIBADD = @OpenSSL_LIBS@ -lurweb liburweb_crypto_hash_openssl_la_LDFLAGS = -export-symbols-regex '^uw_HashFFI_' liburweb_crypto_hash_openssl_ladir = $(datadir)/urweb/ur/crypto-hash-openssl -- cgit v1.2.3