mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Move curl version test to autoconf script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -19,17 +19,6 @@ CC_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.cc,%,$(wildcard func_*.cc
|
||||
|
||||
SELECTED_MODS:=$(C_MODS) $(CC_MODS)
|
||||
|
||||
# TODO This check needs to be handled with autoconf
|
||||
ifeq ($(OSARCH),SunOS)
|
||||
ifeq ($(shell if [ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]; then echo "OK" ; fi),)
|
||||
MODS:=$(filter-out func_curl,$(MODS))
|
||||
endif
|
||||
else
|
||||
ifeq ($(shell if [[ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]]; then echo "OK" ; fi),)
|
||||
MODS:=$(filter-out func_curl,$(MODS))
|
||||
endif
|
||||
endif
|
||||
|
||||
all: _all
|
||||
|
||||
include $(ASTTOPDIR)/Makefile.moddir_rules
|
||||
|
Reference in New Issue
Block a user