mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
remove the need to have to re-run make after a default menuselect.makeopts
file is generated. This allows a fresh checkout of asterisk to be built and installed with the standard "./configure && make && make install". git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.c,%,$(wildcard app_*.c)))
|
||||
|
||||
# If you have UnixODBC you can use ODBC voicemail
|
||||
|
@@ -698,14 +698,6 @@ int main(int argc, char *argv[])
|
||||
free_trees();
|
||||
free_member_list();
|
||||
|
||||
if (check_deps && !existing_config && !res) {
|
||||
fprintf(stderr, "\n***********************************************************\n");
|
||||
fprintf(stderr, "* menuselect.makeopts file generated with default values! *\n");
|
||||
fprintf(stderr, "* Please rerun make to build Asterisk. *\n");
|
||||
fprintf(stderr, "***********************************************************\n\n");
|
||||
res = -1;
|
||||
}
|
||||
|
||||
/* In some cases, such as modifying the CFLAGS for the build,
|
||||
* a "make clean" needs to be forced. Removing the .lastclean
|
||||
* file does this. */
|
||||
|
@@ -11,6 +11,8 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_CDR),$(patsubst %.c,%,$(wildcard cdr_*.c)))
|
||||
|
||||
#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
|
||||
|
@@ -11,6 +11,8 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_CHANNELS),$(patsubst %.c,%,$(wildcard chan_*.c)))
|
||||
|
||||
ifeq ($(OSARCH),OpenBSD)
|
||||
|
@@ -11,6 +11,8 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_CODECS),$(patsubst %.c,%,$(wildcard codec_*.c)))
|
||||
|
||||
ifeq ($(wildcard ilbc/iLBC_decode.h),)
|
||||
|
@@ -11,6 +11,8 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_FORMATS),$(patsubst %.c,%,$(wildcard format_*.c)))
|
||||
|
||||
GSMLIB=../codecs/gsm/lib/libgsm.a
|
||||
|
@@ -11,6 +11,8 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.c,%,$(wildcard func_*.c)))
|
||||
|
||||
# TODO This check needs to be handled with autoconf
|
||||
|
@@ -11,6 +11,8 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_PBX),$(patsubst %.c,%,$(wildcard pbx_*.c)))
|
||||
|
||||
MOC=$(QTDIR)/bin/moc
|
||||
|
@@ -11,6 +11,8 @@
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
include ../menuselect.makeopts
|
||||
|
||||
SELECTED_MODS:=$(filter-out $(MENUSELECT_RES),$(patsubst %.c,%,$(wildcard res_*.c)))
|
||||
|
||||
ifeq ($(OSARCH),FreeBSD)
|
||||
|
Reference in New Issue
Block a user