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