]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-353: add PKG_CONFIG_PATH for keg only curl from homebrew on mac
authorMichael Jerris <mike@jerris.com>
Thu, 20 Mar 2014 21:40:21 +0000 (17:40 -0400)
committerMichael Jerris <mike@jerris.com>
Thu, 20 Mar 2014 21:40:21 +0000 (17:40 -0400)
configure.ac

index 0ad2ca2d21bd1063734946bf2c42ff870f247540..8fe406cb6b9d64e24789576b79a888e399a56010 100644 (file)
@@ -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])