Commit Graph

352 Commits

Author SHA1 Message Date
Russell Bryant bed72d73b0 Remove KDE configure script check that isn't used
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-13 18:01:56 +00:00
Russell Bryant c53f95e29f Merged revisions 97734 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97734 | russell | 2008-01-10 10:10:09 -0600 (Thu, 10 Jan 2008) | 4 lines

Remove pbx_kdeconsole from the tree.  It hasn't worked in ages, and nobody has
complained.
(closes issue #11706, reported by caio1982)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-10 16:15:43 +00:00
Russell Bryant 59f2d32d33 Build the HTML version of the doc files for tarballs, as well
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-07 16:59:04 +00:00
Russell Bryant 54bc2c20b6 Now that the version.h file was getting properly regenerated every time the svn
revision changed, every module that used the version was getting rebuilt after
every svn update.  This severly annoyed me pretty quickly, so I have improved
the situation.

Now, instead of generating version.h, main/version.c is generated.  version.c
includes the version information, as well as a couple of API calls for modules
to retrieve the version.  So now, only version.c will get rebuilt, and the main
asterisk binary relinked, which is must faster than rebuilding http.c, manager.c,
asterisk.c, relinking the asterisk binary, chan_sip.c, func_version.c, res_agi ...

The only minor change in behavior here is that the version information reported by
chan_sip, for example, is the version of the Asterisk core, and not necessarily the
Asterisk version that the chan_sip module came from.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-05 22:09:06 +00:00
Kevin P. Fleming 04a10c145b go back to including libresample in the main Asterisk binary, but this time including a small hack to ensure that it does get linked in (and also modify the strip_nonapi script to leave the resample_<foo> symbols alone)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02 14:05:30 +00:00
Luigi Rizzo b1c35179e6 implement "configure" checks for libiconv, and add the
iconv dependency for func_iconv.
This fixes some build issues on CYGWIN and FreeBSD and probably
other platforms where libiconv is not there by default



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-01 22:08:32 +00:00
Russell Bryant 7d0eacfb03 Add configure script checking for portaudio.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-31 15:20:30 +00:00
Tilghman Lesher c3fc2a76f5 Allow more spans than 32. Also, rearrange compiler flags so the most often
used flags appear closer to the top.
Reported by: tzafrir
Patch by: tzafrir,tilghman
(Closes issue #11528)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-26 22:38:02 +00:00
Steve Murphy 2679575473 closes issue #11287; thanks to snuffy for this fix, which will surely make all solaris owners shout praises to his name.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-20 22:28:35 +00:00
Luigi Rizzo 3ff440bd37 Rename the macros in defaults.h - they are not meant to be
globally visible.

Document the fact that DEFAULT_TMP_DIR cannot be overridden
from the default configuration (this needs to be fixed, as you
could have a totally different spooldir configured at runtime,
and yet DEFAULT_TMP_DIR keeps the compile-time default).

Remove two unused entries for sounds and images.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18 09:26:03 +00:00
Kevin P. Fleming 01f8a6959b make the configure script detect that it is running on a Windows platform, and report that information so that menuselect can use it (all information that is used to decide whether to build modules or not must be fed to menuselect so the user knows what will be built and why... don't make module build decisions in the makefiles, please)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17 17:11:06 +00:00
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
Luigi Rizzo 19d616d4dc simplify/cleanup the scripts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-10 09:00:44 +00:00
Luigi Rizzo 915b97d300 move internal function declarations to include/asterisk/_private.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20 22:18:21 +00:00
Kevin P. Fleming 4d522da4aa switch compile-time option checking to string storage mode in this branch too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20 19:28:10 +00:00
Joshua Colp f71cd9acc8 Add OSX into the logic that uses md5 instead of md5sum.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18 21:50:58 +00:00
Russell Bryant 89a49511a4 actually let this compile, oops :(
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 06:09:42 +00:00
Russell Bryant 1529586f21 Use the fix suggested by Tilghman on the -dev to make cutting up the BUILDSUM
friendly to non-bash shells.  I think this should work for BSD/mingw as well,
but did not yet remove the switch statement.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 06:07:57 +00:00
Luigi Rizzo a638b4a0dc this script is run on the build system, not on the host.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 02:54:23 +00:00
Luigi Rizzo f8b60a665e both md5sum and variable substitutions such as ${BUILDSUM:0:8}
are not available in FreeBSD.
For the time being, put in a workaround so we can build the system,
and wait for the result of the discussion on whether we can store
the md5 as a string rather than 4 ints (if so, we won't need more
complex tricks with awk or sed for splitting the md5).

1.4 will be fixed when we decide the issue.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-16 18:48:15 +00:00
Kevin P. Fleming 547306835e Merged revisions 89325 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89325 | kpfleming | 2007-11-16 10:47:46 -0600 (Fri, 16 Nov 2007) | 4 lines

To help combat problems where people build external modules (asterisk-addons or others) and then change the build options of the Asterisk build in a way that makes the incompatible without warning, this commit introduces an MD5 signature of the important build-time options and includes that signature into modules when they are built. When the loader loads one of these modules and notices the problem, it will emit a warning to console and refuse to initialize the module, as doing so could cause the system to be unstable or even crash.

If you upgrade to this version of Asterisk, you must rebuild *all* of your modules that came from other sources before trying to run this version. If you are using Digium's G.729 binary codec module, you will need v33 or newer.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-16 16:56:59 +00:00
Tilghman Lesher e8c781b215 Add pbx_lua as a method of doing extensions
Reported by: mnicholson
Patch by: mnicholson
Closes issue #11140


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-02 15:36:34 +00:00
Russell Bryant 3c641c74de Merged revisions 84474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84474 | russell | 2007-10-02 15:06:07 -0500 (Tue, 02 Oct 2007) | 5 lines

* Don't build the menuselect-tree for the tarball, as it requires running the
  configure script first
* Change the Makefile to note that menuselect-tree depends on the configure
  script.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-02 20:07:15 +00:00
Tilghman Lesher 463cda30cf Merged revisions 83695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r83695 | tilghman | 2007-09-24 12:22:08 -0500 (Mon, 24 Sep 2007) | 4 lines

In the source, keys are relative to the datadir, not varlib (which is the same
in most cases, but it's good to be accurate).
Closes issue #10811

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24 17:29:02 +00:00
Russell Bryant bf28185fce Merged revisions 82385 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82385 | russell | 2007-09-14 10:50:49 -0500 (Fri, 14 Sep 2007) | 3 lines

Add checking for libusb here, so nobody has to deal with conflicts in the
chan_usbradio-1.4 branch every time the configure script gets changed

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-14 15:52:28 +00:00
Jason Parker 30f27bd09a Merged revisions 80330 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80330 | qwell | 2007-08-22 13:53:18 -0500 (Wed, 22 Aug 2007) | 7 lines

Fix a few build issues in Solaris (and likely others).

Use GREP and ID variables from autoconf.

Reported to me in #asterisk-dev
I forgot who reported this - sorry. :(

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-22 18:54:30 +00:00
Jason Parker 54daf3288c Merged revisions 80302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80302 | qwell | 2007-08-22 13:06:00 -0500 (Wed, 22 Aug 2007) | 3 lines

Fix a bashism (we explicitly request /bin/sh).
Remove some oddly placed quotes I found in passing.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-22 18:06:28 +00:00
Steve Murphy 337c44236d This change set fixes bug 8126 in trunk. It is implemented via compile time options, activated via the menuselect stuff, which defaults to the old way. non-zero sample data added. Translate tables expressed in microseconds instead of milliseconds, with 5-digit data now instead of 3, giving 2 more digits of precision.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-20 22:53:48 +00:00
Kevin P. Fleming 5610bc06ea Merged revisions 77827 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r77827 | kpfleming | 2007-07-31 10:53:42 -0500 (Tue, 31 Jul 2007) | 2 lines

DETECT_DEADLOCKS can't be enabled without DEBUG_THREADS or it does nothing

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-31 15:54:29 +00:00
Tilghman Lesher 6910e43b05 Add the flag to trigger an intentional crash on mutex errors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-24 21:37:11 +00:00
Russell Bryant df1a340774 * Move LaTeX docs into a tex/ subdirectory of the doc/ dir
* Add a Makefile in doc/tex/ for generating PDF and HTML
* Add a README.txt file to doc/tex/ to document which tools are used and what
  web sites to visit for getting them.
* Update build_tools/prep_tarball to put the proper Asterisk version string
  in the automatically generated PDF for release tarballs


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 22:27:46 +00:00
Russell Bryant 9b1788668c Merged revisions 71371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71371 | russell | 2007-06-24 15:16:32 -0500 (Sun, 24 Jun 2007) | 3 lines

Include the menuselect-tree file in tarballs to make builds from tarballs a
little bit faster

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-24 20:17:43 +00:00
Jason Parker 0b98b2a659 Nothing to see here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-22 04:13:08 +00:00
Kevin P. Fleming 8cbc226156 when we are building modules that other modules depend on, create preprocessor defines (in buildopts.h) marking that those modules were built
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70794 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-21 19:08:09 +00:00
Russell Bryant 43658278ff Merged revisions 69702 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69702 | russell | 2007-06-18 11:35:02 -0500 (Mon, 18 Jun 2007) | 6 lines

To prevent 92138749238754 more reports of "I have unixodbc installed, but
still can't build *_odbc.so!", check for ltdl directly, instead of just listing
it as another library to include in the unixodbc check in the configure script.
This also makes ltdl show up as a dependency in menuselect so people know what
to go install.  (related to issue #9989, patch by me)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-18 16:35:51 +00:00
Russell Bryant f4eeab6657 Merged revisions 69689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69689 | russell | 2007-06-18 11:15:12 -0500 (Mon, 18 Jun 2007) | 5 lines

Change the use of "echo -e" to "printf".  On systems where /bin/sh is not bash,
most of the lines in menuselect-tree were getting a "-e" at the beginning of
every line.  I'm surprised nobody noticed this, but I think the XML parser was
being very nice and ignoring them.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-18 16:15:44 +00:00
Kevin P. Fleming 4573b36af1 use the OpenSSL AES implementation if it's available (unless configured not to)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 22:07:50 +00:00
Kevin P. Fleming 80baf2a40f Merged revisions 65541 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65541 | kpfleming | 2007-05-22 16:25:41 -0400 (Tue, 22 May 2007) | 2 lines

when building a version string for a developer branch, include the base branch in the version string

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-22 20:26:35 +00:00
Russell Bryant eeb1350263 Merged revisions 58953 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58953 | russell | 2007-03-15 20:12:40 -0500 (Thu, 15 Mar 2007) | 2 lines

Add the --pdf option to the usage of rubber in prep_tarball

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 01:13:36 +00:00
Russell Bryant 7f31b58b21 Merged revisions 58947 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58947 | russell | 2007-03-15 18:53:26 -0500 (Thu, 15 Mar 2007) | 3 lines

Add configure script checking for GTK2 and some additional Makefile targets
to support gmenuselect

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:56:10 +00:00
Russell Bryant d9d8e5c081 Merged revisions 58935 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58935 | russell | 2007-03-15 17:35:52 -0500 (Thu, 15 Mar 2007) | 2 lines

have prep_tarball attempt to build asterisk.pdf

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:36:34 +00:00
Russell Bryant 1cf3a12047 Merged revisions 58931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58931 | russell | 2007-03-15 17:25:12 -0500 (Thu, 15 Mar 2007) | 13 lines

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/trunk@58932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:29:45 +00:00
Russell Bryant 5bea998a55 Merge changes from team/russell/sqlite:
* Add new module, cdr_sqlite3_custom which allows logging custom CDRs into a
  SQLite3 database.  (issue #7149, alerios)
* Add new module, res_config_sqlite, which adds realtime database configuration
  support for SQLite version 2.  I decided that this was ok since we didn't have
  any realtime support for version 3.  If someone ports this to version 3, then
  version 2 support can be removed or marked deprecated.
  (issue #7790, rbarun_proformatique)
* Mark cdr_sqlite as deprecated in favor of cdr_sqlite3_custom.

Also, note that there were other modules on the bug tracker that did not make
the cut because they provided some duplicated functionality.  Those are:

* cdr_sqlite3 (issue #6754, moy)
* cdr_sqlite3 (issue #8694, bsd)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 21:22:33 +00:00
Jason Parker 6cce2f3311 Add CLI command "marko show birthday" to show "birthday information"
for Mark Spencers upcoming 30th birthday.

To enable, run `make menuselect` and select the option MARKO_BDAY under Compiler Flags.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-11 16:43:14 +00:00
Kevin P. Fleming 64bfd4f866 Merged revisions 56372 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56372 | kpfleming | 2007-02-23 12:59:09 -0600 (Fri, 23 Feb 2007) | 2 lines

build special version strings for AADK/S800i builds

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 19:00:23 +00:00
Kevin P. Fleming 1bec2f5bfa give embedded modules a helping hand by backing up and restoring their global variables when they are loaded and unloaded
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 02:36:00 +00:00
Kevin P. Fleming bf3c67c2d2 Merged revisions 55869 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r55869 | kpfleming | 2007-02-21 08:06:47 -0600 (Wed, 21 Feb 2007) | 10 lines

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/trunk@55870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 14:07:43 +00:00
Kevin P. Fleming e758ef09b3 Merged revisions 53779-53781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53779 | kpfleming | 2007-02-09 17:51:29 -0600 (Fri, 09 Feb 2007) | 2 lines

fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file

........
r53780 | kpfleming | 2007-02-09 17:51:41 -0600 (Fri, 09 Feb 2007) | 2 lines

add some inter-module dependencies

........
r53781 | kpfleming | 2007-02-09 17:52:44 -0600 (Fri, 09 Feb 2007) | 2 lines

another dependency

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 23:53:51 +00:00
Kevin P. Fleming 67a894c071 Merged revisions 50754 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50754 | kpfleming | 2007-01-13 10:45:37 -0600 (Sat, 13 Jan 2007) | 2 lines

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/trunk@50755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-13 16:47:01 +00:00
Kevin P. Fleming 4764795b37 Merged revisions 49553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49553 | kpfleming | 2007-01-04 16:51:01 -0600 (Thu, 04 Jan 2007) | 2 lines

add support for tracking thread-local-storage objects that exist via 'threadstorage' CLI commands

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 23:18:36 +00:00
Kevin P. Fleming cb97e0c353 Merged revisions 49102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49102 | kpfleming | 2007-01-01 17:34:35 -0600 (Mon, 01 Jan 2007) | 2 lines

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/trunk@49103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 23:43:43 +00:00
Matthew Fredrickson ba71665924 Add codec G.722 support.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 00:08:21 +00:00
Kevin P. Fleming e4d172c9b2 Merged revisions 48548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48548 | kpfleming | 2006-12-17 12:33:24 -0600 (Sun, 17 Dec 2006) | 2 lines

need an additional argument here to make the downloads actually occur

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-17 18:33:53 +00:00
Kevin P. Fleming 89c41e2403 Merged revisions 48525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48525 | kpfleming | 2006-12-16 15:14:34 -0600 (Sat, 16 Dec 2006) | 2 lines

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/trunk@48527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-16 21:24:52 +00:00
Kevin P. Fleming feb39743a2 Merged revisions 48427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48427 | kpfleming | 2006-12-12 17:18:14 -0600 (Tue, 12 Dec 2006) | 2 lines

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/trunk@48432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-12 23:28:15 +00:00
Luigi Rizzo 47a95b3f38 manual merge from 1.4:
grep -m not available on bsd, use head -1 which works for all



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 17:22:51 +00:00
Russell Bryant 36793b730c Merged revisions 47391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47391 | russell | 2006-11-09 16:26:27 -0500 (Thu, 09 Nov 2006) | 7 lines

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/trunk@47392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 21:32:27 +00:00
Russell Bryant f89ccdc0f3 Merged revisions 46847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46847 | russell | 2006-11-01 17:51:21 -0500 (Wed, 01 Nov 2006) | 3 lines

Fixes for cross-compilation on mips 
(issue #8058, ywalther, with some modifications)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:54:15 +00:00
Russell Bryant ae1133d8a9 Merged revisions 46845 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46845 | russell | 2006-11-01 17:32:12 -0500 (Wed, 01 Nov 2006) | 5 lines

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/trunk@46846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:35:52 +00:00
Kevin P. Fleming d9ebe01c7c Merged revisions 45410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45410 | kpfleming | 2006-10-17 17:31:54 -0500 (Tue, 17 Oct 2006) | 2 lines

add a project-specific script to be used during release preparation

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-17 22:32:19 +00:00
Kevin P. Fleming e92c34cc38 Merged revisions 44055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines

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/trunk@44056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 22:48:43 +00:00
Kevin P. Fleming f1d824aaba Merged revisions 43450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43450 | kpfleming | 2006-09-21 16:21:29 -0500 (Thu, 21 Sep 2006) | 2 lines

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/trunk@43451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 21:22:34 +00:00
Matthew Fredrickson bd76cda68d Merge in SS7 changes.... need to still cleanup zapata.conf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 18:41:33 +00:00
Jason Parker 5114f21ba7 Merged revisions 43396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43396 | qwell | 2006-09-20 16:19:25 -0700 (Wed, 20 Sep 2006) | 2 lines

fix minor typo in the way version is handled

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 23:20:11 +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
Russell Bryant 1b85726c28 optimize the display of the module selection menus by only clearing the screen
and starting over if a selection has changed or the menu needs to be scrolled.
For moving the cursor up and down the menu, it works a lot faster now.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 22:11:38 +00:00
Russell Bryant 9cdd66dd01 always include inttypes.h and sys/types.h in asterisk/compat.h to fix a build
problem on mac and place asterisk.h back at the top of menuselect.c


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 20:49:59 +00:00
Olle Johansson 5f286add13 Make menuselect compile on os/x...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 20:16:19 +00:00
Olle Johansson fbfe588ee9 Enable doxygen
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 07:26:05 +00:00
Kevin P. Fleming 34cf2c13b8 don't force the sounds to download... only when needed
fix a few buglets i caused in menuselect
remove downloaded sounds on 'dist-clean'


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 21:05:05 +00:00
Kevin P. Fleming 0dd82bc6f1 woo-hoo, now it knows how to download the sound packages... doesn't install them yet though
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 20:54:30 +00:00
Kevin P. Fleming 6825e80226 prepare for using sound files from out of the source tree
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 20:19:40 +00:00
Russell Bryant 739385e761 remove the WITH_SMDI define
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:28:29 +00:00
Russell Bryant 503f99e2e8 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
2006-06-07 16:03:31 +00:00
Russell Bryant 06b381a54d add the ability to do the same thing as "make dont-optimize" by enabling the
option in menuselect.  This is very useful for developers if you want to ensure
that all of your builds are done without optimizations.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 00:25:23 +00:00
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 20:46:27 +00:00
Kevin P. Fleming b34e3d09ab begin adding support for new sound packages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 19:16:04 +00:00
Russell Bryant 1e8aeba003 use strcpy instead of snprintf in a couple places
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 22:17:01 +00:00
Russell Bryant 4508c9fcc0 allow menuselect to display dependencies and conflicts for modules
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 17:40:50 +00:00
Matt O'Gorman 7aa1a77e75 asterisk-xmpp merge in
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 21:12:30 +00:00
Russell Bryant 86205923df add DEBUG_CHANNEL_LOCKS to menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 16:34:45 +00:00
Russell Bryant 1fcc86d905 Add support for logging CDR recrods to a radius server (issue #6639, phsultan)
- with contributions from miconda, jcollie, and sb
 - branch maintained by oej
Thanks everyone!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 22:30:05 +00:00
Russell Bryant a3ed43f0dc 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
2006-05-13 10:54:40 +00:00
Russell Bryant ad8ff708de fix the build with astmm (issue #7139)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 21:24:54 +00:00
Russell Bryant 1a8f3dd2d2 forcing a dist-clean in the cleantest was a bad idea. Just change the script
that generates buildopts.h to handle old menuselect.makeopts files


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:28:37 +00:00
Russell Bryant 476c7a53e1 add messages at the bottom of the menu for each of the defines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:20:16 +00:00
Russell Bryant 44d4ed1b37 change the CFLAGS controlled by menuselect to be placed in a header file
instead of being added to the compiler commands.  This header file will be
installed and modules built outside of the main tree will be able to use the
same build options used to build the rest of Asterisk.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 09:50:41 +00:00
Russell Bryant 8e897e1a53 remove a debug message and make the exit keys not be case sensitive
inside of a category menu


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 13:05:17 +00:00
Luigi Rizzo 97c275d768 provide a correct return value in case everything goes well,
so you won't get random failures running menuselect.

Detected by -Wall -Werror



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 10:41:38 +00:00
Mark Spencer 7b902874f3 Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 08:45:37 +00:00
Mark Spencer db502da870 Make menuselect be able to show what the modules are
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 08:44:50 +00:00
Kevin P. Fleming 0569481a5a don't build strcompat for menuselect except on Solaris
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 07:51:20 +00:00
Russell Bryant 7abda7787e various menuselect fixes as a result of boredom during a 9 hour flight and
now a 9 hour layover ...
- If a module is disabled from being built because of failed dependencies or a
  conflict, automatically re-enable the module if the issues are later
  resolved.
- If a module has been disabled by default, only set this value if there is not
  an existing menuselect.makeopts file.  Previously, this value would get reset
  every time you ran menuselect.
- staticize a bunch of functions and variables that aren't public


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-07 12:00:55 +00:00
Tilghman Lesher 41b1a82a38 Typo fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-06 04:57:40 +00:00
Kevin P. Fleming 70a2a3eaba remove remaining MFC/R2 stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 17:25:01 +00:00
Kevin P. Fleming 8e9058679a remove T38_SUPPORT define that is no longer needed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 08:47:47 +00:00
Russell Bryant 9b1bff6379 fix spelling typo -- what's a Diaplan?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28 17:17:46 +00:00
Russell Bryant 9a77832583 remove this option for now, because it can only be enabled when
optimizations aren't being used


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28 00:59:30 +00:00
Russell Bryant a4bb5dbd08 add STACK_BACKTRACES to the CFLAGS selectable in menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27 21:26:24 +00:00
Russell Bryant 3f0d9eeed0 - add missing IXJUSER to menuselect-deps.in
- don't check for a private function when looking for nbs
- fix the path to ixjuser.h


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27 17:52:12 +00:00
Russell Bryant e7dfb41cce don't list strcompat.o as a dependency in the build_tools Makefile. It is
already listed in the target in the main Makefile.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 13:45:43 +00:00
Russell Bryant e386a192ee apparently some systems may have ncurses that doesn't provide backwards compat
with curses.  So, check for both and use whatever is found


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 05:53:58 +00:00
Russell Bryant 5267a6e6a2 menuselect needs strcompat.o for strsep on Solaris
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 05:26:02 +00:00
Tilghman Lesher b2d355d07f Move clueful 'h' more central; alias ESC to left arrow and make ESC quit on main menu
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 20:01:14 +00:00
Russell Bryant 72f2bf8135 add a note indicating that you can press 'h' for help
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 19:15:43 +00:00
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00
Joshua Colp 4657dc770c We are shaking up trunk tonight! allow data dir to be specified (issue #6967 reported by tzafrir)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 22:53:53 +00:00
Tilghman Lesher 21a8d15be4 Merged revisions 11715 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r11715 | tilghman | 2006-03-03 11:13:37 -0600 (Fri, 03 Mar 2006) | 2 lines

Bug 6638 - Solaris is starting to remind me of RedHat...

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-03 17:15:51 +00:00
Tilghman Lesher ffe5ffda17 Merged revisions 11634-11635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r11634 | tilghman | 2006-03-02 18:34:52 -0600 (Thu, 02 Mar 2006) | 2 lines

Bug 6638 - Change from a historic BSD command to a POSIX command for determining username

........
r11635 | tilghman | 2006-03-02 18:38:14 -0600 (Thu, 02 Mar 2006) | 2 lines

Bug 6638 - Use POSIX command for Solaris

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-03 00:41:19 +00:00
Tilghman Lesher 37a3bdce2a Merged revisions 11479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r11479 | tilghman | 2006-03-01 00:39:10 -0600 (Wed, 01 Mar 2006) | 2 lines

Bug 6618 - Solaris compatibility fix

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-01 06:42:04 +00:00
Kevin P. Fleming 9cc6ad4880 Merged revision 7510 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7510 | kpfleming | 2005-12-16 20:20:04 -0600 (Fri, 16 Dec 2005) | 2 lines

fix some buglet when building team branch version strings

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-17 02:22:24 +00:00
Kevin P. Fleming b6b32ebd91 Merged revisions 7285,7299,7310,7329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7285 | tilghman | 2005-12-02 15:12:05 -0600 (Fri, 02 Dec 2005) | 2 lines

Turn on executable bits for startup scripts, and fix bash var interpolation for Mandrake

........
r7299 | oej | 2005-12-02 19:24:40 -0600 (Fri, 02 Dec 2005) | 2 lines

Documenting the default registerattempts setting as 0, continue hammering the server for ever and ever ;-)

........
r7310 | tilghman | 2005-12-03 13:55:05 -0600 (Sat, 03 Dec 2005) | 3 lines

Bug 5925: check for "Unknown", as that's what app_voicemail puts into the field for Unknown callerid
Also, remove useless res checks (initialized to 0; never set)

........
r7329 | kpfleming | 2005-12-04 12:03:07 -0600 (Sun, 04 Dec 2005) | 2 lines

use a more efficient way to get the revision number, that will also report if the working copy contains uncommitted modifications

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-04 18:12:52 +00:00
Kevin P. Fleming d50c812e1c Merged revisions 7257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7257 | kpfleming | 2005-12-01 13:25:06 -0600 (Thu, 01 Dec 2005) | 2 lines

ensure that 'svn info' output is in the expected language for the script to parse (issue #5880)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-01 19:27:49 +00:00
Russell Bryant b994fcae8b use '=' instead of '==' for string comparisons. /bin/bash is ok with this, but
/bin/sh is not.  (issue #5885)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-01 00:43:17 +00:00
Kevin P. Fleming 350287ea08 move mkpkgconfig script where it belongs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30 02:00:49 +00:00
Kevin P. Fleming c14588af86 remove remaining .cvsignore files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:09:49 +00:00
Kevin P. Fleming 45c2f3b9f9 make version-string computation based on SVN branch/revision numbers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-28 03:59:39 +00:00
Kevin P. Fleming 66e69e0143 switch to 'new' expression parser, remove support for old parser
provide parser files in source tree, so flex/bison are not need to build
update Makefile to use simpler techniques to build parser
update README to remove references to old vs. new parsers
remove version comparison tool used for flex/bison programs


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 19:21:57 +00:00
Russell Bryant 7f88c9549f get rid of warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-18 14:31:21 +00:00
Kevin P. Fleming 676116f2e2 add UTC tag to date string so users are aware of the time offset
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 19:41:25 +00:00
Kevin P. Fleming e49ea06442 ensure script is portable to non-GNU systems (bug #4509)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 01:05:31 +00:00
Kevin P. Fleming 0e9d920a60 move tools used during build into build_tools subdirectory
clean up Makefile headers


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-20 17:26:08 +00:00