Skip to content
Snippets Groups Projects
Commit 503f99e2 authored by Russell Bryant's avatar Russell Bryant
Browse files

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
parent 7924c21e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment