Move WITH_SMDI from the Makefiles to be handled by menuselect. It will now be

defined in buildopts.h. Also, remove a few more stray spaces in the gcc commands. 


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 20 years ago
parent cec3a958e4
commit a3ed43f0dc

@ -59,9 +59,6 @@ OVERWRITE=y
# Include debug and macro symbols in the executables (-g) and profiling info (-pg)
DEBUG=-g3
# Asterisk SMDI integration
WITH_SMDI=1
# Staging directory
# Files are copied here temporarily during the install process
# For example, make DESTDIR=/tmp/asterisk woud put things in

@ -13,10 +13,6 @@
MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.c,%.so,$(wildcard app_*.c)))
ifneq ($(WITH_SMDI),)
CFLAGS+=-DWITH_SMDI
endif
# If you have UnixODBC you can use ODBC voicemail
# storage
#

@ -11,10 +11,13 @@
</member>
<member name="MALLOC_DEBUG" displayname="Keep Track of Memory Allocations">
</member>
<member name="MTX_PROFILE" displayname="Enable Code Profiling Using TSC Counters">
</member>
<member name="RADIO_RELAX" displayname="Relax DTMF for Radio Applications">
</member>
<member name="TRACE_FRAMES" displayname="Trace Frame Allocations">
</member>
<member name="MTX_PROFILE" displayname="Enable Code Profiling Using TSC Counters">
<member name="WITH_SMDI" displayname="Include SMDI Support">
<defaultenabled>yes</defaultenabled>
</member>
</category>

@ -44,10 +44,6 @@ ifeq ($(OSARCH),SunOS)
SOLINK+=-lrt
endif
ifeq ($(WITH_SMDI),1)
CFLAGS+=-DWITH_SMDI
endif
ifeq ($(wildcard h323/libchanh323.a),)
MODS:=$(filter-out chan_h323.so,$(MODS))
endif

Loading…
Cancel
Save