darwin contains win, so this cannot be a criteria to detect windoze in the host name

master
Marc Wäckerlin 16 years ago
parent 5c85f10a31
commit 8ef5e60397
  1. 3
      configure.in
  2. 24
      qmake.pro

@ -29,6 +29,9 @@ AC_SUBST(MINOR)
AC_SUBST(LEAST) AC_SUBST(LEAST)
case $host in case $host in
*darwin*)
PROXYLIB="-lproxy"
;;
*mingw*|*win*) *mingw*|*win*)
PROXYLIB="-lwinhttp" PROXYLIB="-lwinhttp"
;; ;;

@ -1,24 +0,0 @@
win32 {
QMAKE_INCDIR += ${HOME}/.wine/drive_c/MicrosoftSDK/include
QMAKE_LIBS += winhttp.a
}
unix {
QMAKE_LIBS += -lproxy -ldl
QMAKE_LIBDIR += /usr/lib32
}
macx {
QMAKE_LIBS += -lproxy -ldl
QMAKE_INCDIR += /opt/local/include
QMAKE_LIBDIR += /opt/local/lib
CONFIG += x86
}
FORMS = proxyface/gui/proxy.ui
HEADERS = proxyface/unix.hxx proxyface/windoze.hxx \
proxyface/gui/proxy.hxx \
autoproxy.hxx
CONFIG += release
QT += network
TEMPLATE = lib
TARGET = proxyface
CODECFORSRC = UTF-8
CODECFORTR = UTF-8
Loading…
Cancel
Save