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")