need libroxy on mac; refs #41

master
Marc Wäckerlin 10 years ago
parent 9eff34e7fd
commit ba27dee9fa
  1. 7
      configure.in

@ -96,6 +96,12 @@ PKG_PROG_PKG_CONFIG
# libraries # libraries
case $host in case $host in
(*mac*|*darwin*)
PKG_CHECK_MODULES([PROXY], [libproxy-1.0],
[LIBS+=" ${PROXY_LIBS}"
CXXFLAGS+=" ${PROXY_CFLAGS}"
have_proxy=1])
;;
(*mingw*|*win*) (*mingw*|*win*)
LIBS+=" -lwinhttp" LIBS+=" -lwinhttp"
CPPFLAGS+=" -DQ_OS_WIN32" CPPFLAGS+=" -DQ_OS_WIN32"
@ -104,7 +110,6 @@ case $host in
PKG_CHECK_MODULES([PROXY], [libproxy-1.0], PKG_CHECK_MODULES([PROXY], [libproxy-1.0],
[LIBS+=" ${PROXY_LIBS}" [LIBS+=" ${PROXY_LIBS}"
CXXFLAGS+=" ${PROXY_CFLAGS}" CXXFLAGS+=" ${PROXY_CFLAGS}"
CPPFLAGS+=" ${PROXY_CFLAGS}"
have_proxy=1]) have_proxy=1])
;; ;;
esac esac

Loading…
Cancel
Save