Move conditional compilation for CURL from apps/ to funcs/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2006-02-23 23:43:06 +00:00
parent af1331ad56
commit e912ad9d35
2 changed files with 11 additions and 11 deletions

View File

@@ -32,14 +32,6 @@ ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/osp/osp.h $(CROSS_COM
MODS:=$(filter-out app_osplookup.so,$(MODS))
endif
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
ifeq (${CURLLIBS},)
MODS:=$(filter-out app_curl.so,$(MODS))
endif
ifneq (${WITH_SMDI},)
CFLAGS+=-DWITH_SMDI
endif
@@ -83,9 +75,6 @@ install: all
uninstall:
app_curl.so: app_curl.o
$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
look: look.c
$(CC) -pipe -O6 -g look.c -o look -lncurses