diff options
author | Christian Beier <dontmind@freeshell.org> | 2016-11-24 18:57:46 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2016-11-24 18:57:46 +0100 |
commit | 584b23fdbe12edd81119d57ddd378d10e52cc9e1 (patch) | |
tree | c62c6955581a78e6b0b13334d3779ffcf33b0c42 /configure.ac | |
parent | bbdd4ba7d82ae96b672d3189f73e1a9b516ba2fa (diff) | |
download | libtdevnc-584b23fdbe12edd81119d57ddd378d10e52cc9e1.tar.gz libtdevnc-584b23fdbe12edd81119d57ddd378d10e52cc9e1.zip |
Hopefully fix building on OSX.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
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") |