summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2016-11-24 18:57:46 +0100
committerChristian Beier <dontmind@freeshell.org>2016-11-24 18:57:46 +0100
commit584b23fdbe12edd81119d57ddd378d10e52cc9e1 (patch)
treec62c6955581a78e6b0b13334d3779ffcf33b0c42
parentbbdd4ba7d82ae96b672d3189f73e1a9b516ba2fa (diff)
downloadlibtdevnc-584b23fd.tar.gz
libtdevnc-584b23fd.zip
Hopefully fix building on OSX.
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
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")