From d1045b12e1ffe77524cdf983b76a98aacb61ebb5 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 20 Mar 2014 17:40:21 -0400 Subject: [PATCH] FS-353: add PKG_CONFIG_PATH for keg only curl from homebrew on mac --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0ad2ca2d21..8fe406cb6b 100644 --- a/configure.ac +++ b/configure.ac @@ -602,7 +602,6 @@ case "$host" in APR_ADDTO([PLATFORM_CORE_LDFLAGS], [--framework CoreFoundation]) fi APR_ADDTO([PLATFORM_CORE_LIBS], [-ldl]) - path_push_unique PKG_CONFIG_PATH /usr/local/opt/curl/lib/pkgconfig ;; *-solaris2*) if test "${enable_64}" = "yes"; then @@ -1069,6 +1068,12 @@ AC_SUBST(GETG729) GETSOUNDS="${SHELL} $switch_builddir/build/getsounds.sh" AC_SUBST(GETSOUNDS) +case $host in + *-darwin*) + path_push_unique PKG_CONFIG_PATH /usr/local/opt/curl/lib/pkgconfig + ;; +esac + PKG_CHECK_MODULES([CURL], [libcurl >= 7.26]) PKG_CHECK_MODULES([PCRE], [libpcre >= 7.8]) PKG_CHECK_MODULES([SPEEX], [speex >= 1.2rc1 speexdsp >= 1.2rc1])