Move from --disable-[feature] to --exclude-[feature] format and address that all components included in build if configure script is not ran to change behavior. (Hopefully addressed clobbering script +x settings for *NIX)

This commit is contained in:
Chris Johnson
2008-09-25 05:03:11 +00:00
parent d67bccf359
commit 5cc5b306d3
3 changed files with 65 additions and 59 deletions

View File

@@ -72,12 +72,18 @@ SYSFLAGS = -mno-cygwin -D_WIN32 -DMINGW32 -DWINVER=0x500 -DODBCVER=0x0300 -DPOCO
# System Specific Libraries
#
SYSLIBS = -L/usr/local/lib -L/usr/lib -liphlpapi -lgdi32
ifeq ($(POCO_NET_SUPPORT),enable)
ifeq ($(POCO_NET_SUPPORT),exclude)
#no need for winsock2
else
SYSLIBS += -lws2_32
endif
ifeq ($(POCO_NETSSL_SUPPORT),enable)
ifeq ($(POCO_NETSSL_SUPPORT),exclude)
#no need for winsock2, ssl or crypto
else
SYSLIBS += -lws2_32 -lssl -lcrypto -lws2_32
endif
ifeq ($(POCO_DATA_ODBC_SUPPORT),enable)
ifeq ($(POCO_DATA_ODBC_SUPPORT),exclude)
#no need for odbc lib
else
SYSLIBS += -lodbc32
endif