mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
remove ODBC check from global rules; fix indentation in Poco::Any
This commit is contained in:
parent
f7bd6a8fec
commit
f36a12d0f1
@ -270,36 +270,6 @@ INCLUDE = $(foreach p,$(POCO_ADD_INCLUDE),-I$(p)) -Iinclude $(foreach p,$(COMPON
|
||||
#
|
||||
LIBRARY = $(foreach p,$(POCO_ADD_LIBRARY),-L$(p)) -L$(LIBPATH) $(POCO_LIBRARY)
|
||||
|
||||
#
|
||||
# Build ODBC Include directory List if not supplied from config
|
||||
#
|
||||
ifndef POCO_ODBC_INCLUDE
|
||||
POCO_ODBC_INCLUDE = -I/usr/local/include -I/usr/include -I/usr/include/odbc -I/usr/local/include/odbc
|
||||
endif
|
||||
|
||||
#
|
||||
# Build ODBC library directory if not supplied from config
|
||||
#
|
||||
ifndef POCO_NO_ODBC
|
||||
ifndef POCO_ODBC_LIBRARY
|
||||
ifeq (0, $(shell test -e $/usr/lib/libodbc$(LIBLINKEXT); echo $$?))
|
||||
POCO_ODBC_LIBRARY = /usr/lib$(LIB64SUFFIX)
|
||||
else
|
||||
ifeq (0, $(shell test -e $/usr/local/lib/libodbc$(LIBLINKEXT); echo $$?))
|
||||
POCO_ODBC_LIBRARY = /usr/local/lib$(LIB64SUFFIX)
|
||||
else
|
||||
ifeq (0, $(shell test -e $/usr/local/lib/libodbc$(LIBLINKEXT); echo $$?))
|
||||
POCO_ODBC_LIBRARY = /usr/lib$(LIB64SUFFIX)/odbc
|
||||
else
|
||||
ifeq (0, $(shell test -e $/usr/local/lib/libodbc$(LIBLINKEXT); echo $$?))
|
||||
POCO_ODBC_LIBRARY = /usr/local/lib$(LIB64SUFFIX)/odbc
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
#
|
||||
# Strip Command definition
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user