asterisk/res
Kevin P. Fleming 100ef27af9 Merged revisions 93180 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r93180 | kpfleming | 2007-12-16 22:44:51 -0800 (Sun, 16 Dec 2007) | 23 lines

In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,
rizzo brought up some issues related to the way that the metadata required
for menuselect and the rest of the build system is extracted from the source
files. Since I had a few hours to kill on an airplane today, I decided to
improve this situation... so now the system caches the extracted metadata
and uses it to build the menuselect 'tree' as much as it can. The result
of this is that when a single source file is changed, only the metadata for
that file needs to be extracted again, and the rest is used from the cache
files. I also reduced the number of forked processes required to do the
metadata extraction; it was actually possible to do most of what we needed
in the Makefiles themselves without using any shell scripts at all! On my
laptop, these changes resulted in an 80% decrease in the time required
for the 'menuselect.makeopts' automatic check to occur after editing a single
source file.

While doing this work I also cleaned up a few minor things in the Makefiles,
adding a check for 'awk' to the configure script and changed all remaining
places we use 'grep' or 'awk' to use the ones found by the configure script,
and changed the 'prep_tarball' script to build the menuselect metadata so
that tarballs of Asterisk will include it and won't require the user to
wait while it is extracted after unpacking.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17 07:25:35 +00:00
..
ael made AEL 8-bit transparent; mainly the lexer was tossing chars with the hi-order bit set. Not nice. Also, allow @ in extension names, and a backslash, also. 2007-11-27 18:50:44 +00:00
snmp Convert ast_verbose to ast_verb. 2007-12-14 14:48:38 +00:00
Makefile Merged revisions 93180 via svnmerge from 2007-12-17 07:25:35 +00:00
res_adsi.c Only reload if the config file has changed. 2007-12-01 01:37:50 +00:00
res_ael_share.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00
res_agi.c Publish the AGI events to manager. 2007-12-14 17:29:27 +00:00
res_clioriginate.c include "logger.h" and errno.h from asterisk.h - usage shows that they 2007-11-19 18:52:04 +00:00
res_config_odbc.c Merged revisions 89559 via svnmerge from 2007-11-25 17:50:07 +00:00
res_config_pgsql.c Merged revisions 90736 via svnmerge from 2007-12-03 23:29:57 +00:00
res_config_sqlite.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00
res_convert.c include "logger.h" and errno.h from asterisk.h - usage shows that they 2007-11-19 18:52:04 +00:00
res_crypto.c Remove "old"-style CLI handler, since nothing uses it anymore. 2007-11-28 20:27:40 +00:00
res_features.c Convert ast_verbose to ast_verb. 2007-12-14 14:48:38 +00:00
res_indications.c include "logger.h" and errno.h from asterisk.h - usage shows that they 2007-11-19 18:52:04 +00:00
res_jabber.c A few more "moremanager" fixes 2007-11-27 21:10:50 +00:00
res_limit.c include "logger.h" and errno.h from asterisk.h - usage shows that they 2007-11-19 18:52:04 +00:00
res_monitor.c Only look to see if options are set if some have been provided. 2007-12-11 20:06:43 +00:00
res_musiconhold.c Removing a pointless memset. The memory was just calloc'd, so the 2007-12-11 21:46:16 +00:00
res_odbc.c Use ast_free() instead of free(). 2007-12-05 03:34:51 +00:00
res_realtime.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00
res_smdi.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00
res_snmp.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00
res_speech.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00