From 584b23fdbe12edd81119d57ddd378d10e52cc9e1 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Thu, 24 Nov 2016 18:57:46 +0100 Subject: Hopefully fix building on OSX. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 0b58743..f810ac5 100644 --- a/configure.ac +++ b/configure.ac @@ -549,6 +549,12 @@ AM_CONDITIONAL(LINUX, test -d /usr/include/linux) # Check for OS X specific header AC_CHECK_HEADER(ApplicationServices/ApplicationServices.h, HAVE_OSX="true") AM_CONDITIONAL(OSX, test "$HAVE_OSX" = "true") +if test "$HAVE_OSX" = "true"; then + # this is for finding OpenSSL + EXTRA_CFLAGS="-I/opt/local/include" + EXTRA_LDFLAGS="-L/opt/local/lib" +fi + # Check for Android specific header AC_CHECK_HEADER(android/api-level.h, HAVE_ANDROID="true") -- cgit v1.2.3