From: Michael Jerris Date: Thu, 20 Mar 2014 21:40:21 +0000 (-0400) Subject: FS-353: add PKG_CONFIG_PATH for keg only curl from homebrew on mac X-Git-Tag: v1.5.12~349 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1045b12e1ffe77524cdf983b76a98aacb61ebb5;p=thirdparty%2Ffreeswitch.git FS-353: add PKG_CONFIG_PATH for keg only curl from homebrew on mac --- 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])