diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-01 17:57:43 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-01 17:57:43 +0000 |
commit | e7f4d1bd28d0457c8d29a0625b876ba281389561 (patch) | |
tree | 9d3e0c3842ebf73b64323d360b4d7b905f88491d /funcs/Makefile | |
parent | d723568b932abb813d34582169a03b6e45dc800a (diff) |
Sun's shell: just different enough to cause problems
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11505 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/Makefile')
-rw-r--r-- | funcs/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/funcs/Makefile b/funcs/Makefile index 39ddeaa47..e679e681c 100644 --- a/funcs/Makefile +++ b/funcs/Makefile @@ -17,9 +17,15 @@ ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/odbcinst.h $(CROSS_COMPILE_ MODS:=$(filter-out func_odbc.so,$(MODS)) endif +ifeq ($(OSARCH),SunOS) ifneq ($(shell if [ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]; then echo "OK" ; fi),) CURLLIBS:=$(shell $(CROSS_COMPILE_BIN)curl-config --libs) endif +else +ifneq ($(shell if [[ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]]; then echo "OK" ; fi),) + CURLLIBS:=$(shell $(CROSS_COMPILE_BIN)curl-config --libs) +endif +endif ifeq (${CURLLIBS},) MODS:=$(filter-out func_curl.so,$(MODS)) |