Commit Graph

107 Commits

Author SHA1 Message Date
Russell Bryant
2e68c41d61 have prep_tarball attempt to build asterisk.pdf
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:35:52 +00:00
Russell Bryant
c474809cdf Merge changes from svn/asterisk/team/russell/LaTeX_docs.
* Convert most of the doc directory into a single LaTeX formatted document
  so that we can generate a PDF, HTML, or other formats from this
  information.
* Add a CLI command to dump the application documentation into LaTeX format
  which will only be include if the configure script is run with 
  --enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included.  However, you
  can simply run "make asterisk.pdf" to generate it yourself.  We may include
  it in release tarballs or have automatically generated ones on the web site,
  but that has yet to be decided.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:25:12 +00:00
Kevin P. Fleming
99b4865121 build special version strings for AADK/S800i builds
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 18:59:09 +00:00
Kevin P. Fleming
aee9196ece Merged revisions 55868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55868 | kpfleming | 2007-02-21 08:03:11 -0600 (Wed, 21 Feb 2007) | 2 lines

use new tag version script

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 14:06:47 +00:00
Kevin P. Fleming
fccb4abbb9 fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 23:51:29 +00:00
Kevin P. Fleming
30e4f113a4 when building the sample greetings for maibox 1234@default during 'make samples', build a greeting for each language and file format the user selected to install with menuselect (reported by Brian Capouch on asterisk-dev)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-13 16:45:37 +00:00
Kevin P. Fleming
46d91e71c5 add support for tracking thread-local-storage objects that exist via 'threadstorage' CLI commands
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 22:51:01 +00:00
Kevin P. Fleming
f195c5d622 check specifically for VLDTMF and transcoding support in the system's Zaptel installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 23:34:35 +00:00
Kevin P. Fleming
64800bdeab need an additional argument here to make the downloads actually occur
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-17 18:33:24 +00:00
Kevin P. Fleming
0509ca82b4 simplify dependency tracking system, using the compiler's built-in method for generating them, and only doing dependency tracking if developer mode is enabled via the configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-16 21:14:34 +00:00
Kevin P. Fleming
c8e56895b8 when making a release, we can always use wget and we can't run the configure script to find that out...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-12 23:18:14 +00:00
Luigi Rizzo
36808cf771 grep -m is not available on BSD, so use head -1 instead
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 17:13:34 +00:00
Russell Bryant
58ed1b07ab Work around an issue that caused menuselect to display a bogus description for
app_voicemail and chan_zap.  These modules use some preprocessor directives to
determine what it will report to Asterisk as its description.  However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326, #8328)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 21:26:27 +00:00
Russell Bryant
468fbbf3ca Fixes for cross-compilation on mips
(issue #8058, ywalther, with some modifications)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:51:21 +00:00
Russell Bryant
af3e243994 Add a check in the configure script to determine whether ld is GNU ld or not.
This is needed because module embedding only works for gnu ld.  GNU ld is now
listed as a dependency for all of the module embedding options in menuselect.
(issue #8143)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:32:12 +00:00
Kevin P. Fleming
5b9106eeb5 add a project-specific script to be used during release preparation
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-17 22:31:54 +00:00
Kevin P. Fleming
ec2e4f2216 fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 22:47:40 +00:00
Kevin P. Fleming
16a2f6e64f add another attempt to strip non-API symbols from the final binary... script will need to be extended to work on non-Linux systems
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 21:21:29 +00:00
Jason Parker
1ec9e85709 fix minor typo in the way version is handled
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 23:19:25 +00:00
Matthew Fredrickson
2cc96500bd Mergeing in Paul Cadach's chan_h323 changes *holds breath*
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 17:07:22 +00:00
Jason Parker
2498ba75ae escape some quotes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 19:08:40 +00:00
Kevin P. Fleming
e8ca23608d minor wording fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07 16:42:04 +00:00
Jason Parker
62309a54ef This is a bit safer on some versions of sed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 00:52:19 +00:00
Jason Parker
310cb52bb4 As per the comments in this file..
The last patch was slightly wrong.  This'll get it for sure.

Solaris (and some others) don't have sed -r.  perl -p is equivalent


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 22:17:12 +00:00
Jason Parker
2986a59fab Okay, there are 3 reasons why I'm doing this.
1) Solaris sed doesn't have -r, which means things like \s and \S don't work.
2) GNU sed version 4.1.2 failed on a very simple test
     echo "Test   Test" | sed -r -e 's/\s/x/g'
     should have returned "TestxxxTest", but did not (however, 4.1.4 did?).
3) The CFLAGS were never set, so that entire line actually did nothing.  Now it's useful again.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 01:21:41 +00:00
Jason Parker
0264c362b6 a couple Solaris tweaks, to help build properly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-22 05:24:50 +00:00
Kevin P. Fleming
0a27d8bfe5 merge new_loader_completion branch, including (at least):
- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00
Russell Bryant
7f53639331 sort entries in this file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 05:29:31 +00:00
Russell Bryant
37ceb0126e spaces to tabs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 02:58:53 +00:00
Kevin P. Fleming
b601ff0a3e small cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 02:33:24 +00:00
Russell Bryant
0b91c08045 dirty hack of a fix to deal with the fact that chan_vpb changed to chan_vpb.cc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 23:51:15 +00:00
Kevin P. Fleming
d5b7bf2ab7 massive rework of configure script, and split of AST_EXT_LIB into separate macros, reducing code duplication
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 19:59:34 +00:00
Russell Bryant
11eccdb188 make this script work on solaris
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-30 04:33:18 +00:00
Kevin P. Fleming
e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 19:43:31 +00:00
Kevin P. Fleming
df0ba5ff8b search for Zaptel and libtonezone separately in the configure script
various other minor fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 08:45:49 +00:00
Russell Bryant
39913c58b7 set the menu name when building makeopts.xml
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 04:10:41 +00:00
Russell Bryant
cdbb0e2bf7 merge changes to get menuselect using svn:externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 14:19:35 +00:00
Russell Bryant
268609aa68 add basic autoconf support for res_snmp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 01:50:55 +00:00
Russell Bryant
9db0520ff9 - specify that 'all' is a .PHONY target
- add a copyright header to the build_tools Makefile
- remove 'depend' from the 'all' target in agi/ and utils/ since it is handled
  by the main Makefile already


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 14:09:18 +00:00
Russell Bryant
c399a06450 add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
since they are targets that do not have resulting files and are never listed
as prerequisites to real targets.  Using .PHONY in this manner improves make
performance by never having to check for resulting files.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 11:27:03 +00:00
Russell Bryant
a3846a727c ensure menuselect fails if the deps file isn't found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 04:04:57 +00:00
Russell Bryant
aa8efe1783 copy the definition of ast_strdupa and use it instead of strdupa to fix the
build on systems that don't have it, such as mac


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 14:24:35 +00:00
Kevin P. Fleming
e49a367ecf commit russell's menuselect/buildoptions work with some changes:
reverted per-directory .cleancount support
  added ability for 'remove_on_change' to support multiple filenames
  add 'remove_on_change' support to members, not just categories
  only do 'remove_on_change' removals if the config is actually saved
  add a 'remove_on_change' entry for each module found by prep_moduledeps so that if it gets turned off any existing .o/.so files will disappear


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 12:52:08 +00:00
Russell Bryant
2517087aee remove prototypes for static functions and fix some potential memory leaks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 16:58:51 +00:00
Russell Bryant
287fce05d0 add support for setting the CFLAGS for voicemail storage options in menuselect
Thanks to kpfleming for the Makefile magic :)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 16:17:43 +00:00
Russell Bryant
96bbc5e741 build menuselect objects with -Wall and remove an unused variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 00:14:46 +00:00
Russell Bryant
aee308b8c3 remove prototypes for private functions and make functions and variables not
used outside of this file static


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 23:40:55 +00:00
Russell Bryant
1021ef7a28 make the compiler's life easier. Thanks Kevin :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 03:19:47 +00:00
Russell Bryant
f0275eaae1 indicate which options are just binary and don't really need a full integer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 03:00:15 +00:00
Russell Bryant
306de10a44 the menu must be redrawn after displaying the help info
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 19:26:40 +00:00