From ba27dee9faec7d857aa15087416e2e18ac79ba7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 19 Sep 2014 08:38:34 +0000 Subject: [PATCH] need libroxy on mac; refs #41 --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index ce4b838..3e72b41 100644 --- a/configure.in +++ b/configure.in @@ -96,6 +96,12 @@ PKG_PROG_PKG_CONFIG # libraries case $host in + (*mac*|*darwin*) + PKG_CHECK_MODULES([PROXY], [libproxy-1.0], + [LIBS+=" ${PROXY_LIBS}" + CXXFLAGS+=" ${PROXY_CFLAGS}" + have_proxy=1]) + ;; (*mingw*|*win*) LIBS+=" -lwinhttp" CPPFLAGS+=" -DQ_OS_WIN32" @@ -104,7 +110,6 @@ case $host in PKG_CHECK_MODULES([PROXY], [libproxy-1.0], [LIBS+=" ${PROXY_LIBS}" CXXFLAGS+=" ${PROXY_CFLAGS}" - CPPFLAGS+=" ${PROXY_CFLAGS}" have_proxy=1]) ;; esac