dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

485 Commits

Author SHA1 Message Date
murf 5ca366c96f Merged revisions 74642 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74642 | murf | 2007-07-11 12:18:42 -0600 (Wed, 11 Jul 2007) | 1 line

This fixes 10172, where the entire man8 dir gets removed during an uninstall of asterisk
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74648 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11 18:21:23 +00:00
russell 3357366474 * 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: http://svn.digium.com/svn/asterisk/trunk@72982 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 22:27:46 +00:00
qwell 5ca2bc3253 Apparently some builds of gcc don't have declaration-after-statement.
This checks for it in configure, and only uses it if it's available.

If it's wrong, somebody please yell at me and tell me why.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72539 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 21:31:00 +00:00
rizzo 4be5924a94 Add -Wdeclaration-after-statement to AST_DEVMODE
to detect declarations in the middle of a block.

Approved by: Russel, Kevin

The fallout will be fixed in separate commits.

I am doing this only on trunk only for the time being, because 1.4
still requires a bit more polishing to give a clean compile
(at least on FreeBSD).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72452 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 18:34:07 +00:00
russell 6abbfc0dfe Merged revisions 69660 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69660 | russell | 2007-06-18 10:46:14 -0500 (Mon, 18 Jun 2007) | 2 lines

Tweak paths for BSD systems (issue #10001, stuarth)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69662 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18 15:46:49 +00:00
russell 44b8a8d2e6 Merged revisions 65978 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65978 | russell | 2007-05-24 14:05:08 -0500 (Thu, 24 May 2007) | 3 lines

Clear CFLAGS before running make for menuselect.
(issue #9784, reported by ovi, patch by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65982 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24 19:06:38 +00:00
qwell 7f8338a27b Better fallback method for autosystemname.
Issue 9713, patch by Juggie with minor mods by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64012 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-11 21:15:30 +00:00
qwell 13a0a893eb Add autosystemname setting to asterisk.conf
When enabled, it will set the systemname to be the hostname of the system

Issue 9713, patch by Juggie - slightly modified by me, to "failover" to localhost


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63967 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-11 19:56:57 +00:00
tilghman a87c65f96c Merged revisions 63905 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63905 | tilghman | 2007-05-11 11:35:51 -0500 (Fri, 11 May 2007) | 10 lines

Merged revisions 63903 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63903 | tilghman | 2007-05-11 11:31:03 -0500 (Fri, 11 May 2007) | 2 lines

Issue 9121 - fixups for safe_asterisk script

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63906 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-11 16:37:16 +00:00
russell f78b7d4eda Merged revisions 63535 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63535 | russell | 2007-05-09 08:24:03 -0500 (Wed, 09 May 2007) | 6 lines

I have seen multiple people post questions trying to figure out what the
message "The configure script must be executed before running 'make'" means.
So, add another like that says to specifically run ./configure.  If this isn't
obvious enough, then they should be using something like AsteriskNOW and not
installing from source.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63536 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-09 13:24:38 +00:00
russell cdedde3335 Merged revisions 59853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59853 | russell | 2007-04-03 11:03:35 -0500 (Tue, 03 Apr 2007) | 1 line

Ensure that menuselect gets executed in dependency check mode every time you run make.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59854 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-03 16:06:03 +00:00
russell 95a2185d0c Merged revisions 59304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59304 | russell | 2007-03-29 11:25:41 -0500 (Thu, 29 Mar 2007) | 2 lines

Export the GTK2 library and include information to sub Makefiles.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59305 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-29 16:29:17 +00:00
russell dd1ff847dd 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: http://svn.digium.com/svn/asterisk/trunk@58948 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 23:56:10 +00:00
russell ddf0929ca9 Merged revisions 58937 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58937 | russell | 2007-03-15 17:51:29 -0500 (Thu, 15 Mar 2007) | 2 lines

Add Asterisk version information to the generated PDF

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58938 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 22:52:27 +00:00
russell acddd1bef6 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: http://svn.digium.com/svn/asterisk/trunk@58932 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 22:29:45 +00:00
kpfleming 86baa1f143 add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important)
Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-18 15:03:42 +00:00
file b93e1dcd3f Merged revisions 53114 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53114 | file | 2007-02-02 09:29:35 -0600 (Fri, 02 Feb 2007) | 2 lines

Add systemname to asterisk.conf generation per recent discussions about it. (issue #8968 reported by blitzrage)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53115 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-02 15:30:12 +00:00
russell 7f1c29e56e Merged revisions 51262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51262 | russell | 2007-01-18 15:54:23 -0600 (Thu, 18 Jan 2007) | 5 lines

Ensure that the locations given to the Asterisk configure script for ncurses,
curses, termcap, or tinfo are further passed along to the editline configure
script.  This fixes some cross-compilation environments.
(issue #8637, reported by ovi, patch by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51263 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 21:57:55 +00:00
kpfleming 57bb1b3784 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: http://svn.digium.com/svn/asterisk/trunk@50755 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13 16:47:01 +00:00
russell 072c8f498c Merged revisions 50228 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50228 | russell | 2007-01-09 21:17:46 -0500 (Tue, 09 Jan 2007) | 14 lines

Merged revisions 50227 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r50227 | russell | 2007-01-09 21:16:45 -0500 (Tue, 09 Jan 2007) | 6 lines

Make the number that represents the major version number a single digit instead
of 2.  Using two digits makes it an octal number when put into version.h, which
breaks the compilation of any out of tree module that checks the version for
any version after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev
mailing list, who gave credit to vihai for pointing it out)

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50229 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10 02:19:47 +00:00
kpfleming 43352cadc9 Merged revisions 49282 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49282 | kpfleming | 2007-01-02 21:21:25 -0600 (Tue, 02 Jan 2007) | 2 lines

various Makefile improvements to get chan_vpb (and any other C++ modules) to build properly

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49283 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-03 03:28:12 +00:00
kpfleming 21f3c330f2 GNU make already knows what the current directory is, there is no need to use 'pwd'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49101 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01 22:59:01 +00:00
kpfleming 82deb6513d Merged revisions 49098-49099 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49098 | kpfleming | 2007-01-01 16:08:24 -0600 (Mon, 01 Jan 2007) | 2 lines

revert this change until a better solution can be found... 'env -i' was not being used properly, but even when changed to do so, this process fails during cross-compilation because the menuselect build still sees 'CC' as set to the cross-compiler

........
r49099 | kpfleming | 2007-01-01 16:48:03 -0600 (Mon, 01 Jan 2007) | 2 lines

use a simpler (and portable) method to ensure that menuselect is built as a host binary

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49100 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01 22:49:56 +00:00
qwell 821a7077db Merged revisions 48906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48906 | qwell | 2006-12-22 16:33:46 -0600 (Fri, 22 Dec 2006) | 2 lines

Minor fixes for Solaris.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48907 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-22 22:34:31 +00:00
file 05230f6a88 Merged revisions 48571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48571 | file | 2006-12-18 22:46:12 -0500 (Mon, 18 Dec 2006) | 2 lines

Use env -i to start a fresh environment when going to build menuselect. This is more portable then using unset. (issue #8543 reported by jtodd)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19 03:47:44 +00:00
kpfleming 7fdeb17c60 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: http://svn.digium.com/svn/asterisk/trunk@48527 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16 21:24:52 +00:00
kpfleming ca962eb0c0 Merged revisions 48521 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48521 | kpfleming | 2006-12-16 14:12:41 -0600 (Sat, 16 Dec 2006) | 2 lines

since we really, really have to have autoconfig.h included before all other headers (especially system headers), the Makefile will now force it to happen (this will fix build problems with files like ast_expr2f.c, where we can't control the inclusion order in the file itself)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48522 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16 20:19:19 +00:00
russell f1781a983a Merged revisions 48190 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48190 | russell | 2006-12-01 18:16:28 -0500 (Fri, 01 Dec 2006) | 12 lines

FreeBSD 6.1 does not include wget by default.  However, it has fetch which will
work just fine for our purposes of downloading the sounds packages.  So, check
for both wget and fetch and the configure script and use what was found to
download them.  If neither one was found, and sound packages are selected that
must be downloaded, the install process will print out an informative error
message indicating the situation.

Also, fix a couple places where "make" was hard coded into some output messages
by replacing them with the $(MAKE) variable.

(issue #8451, initial patch by pabelanger, with additional modifications by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48191 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 23:20:17 +00:00
qwell f3b17d9bb4 Merged revisions 48095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48095 | qwell | 2006-11-28 12:26:53 -0600 (Tue, 28 Nov 2006) | 2 lines

Export several more variables in top level Makefile.  Inspired by issue 8438.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48096 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28 18:28:07 +00:00
russell 7b8b1285b7 Merged revisions 47494 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47494 | russell | 2006-11-11 10:31:08 -0500 (Sat, 11 Nov 2006) | 6 lines

Add the target "menuconfig" as an alias for the "menuselect" target.  This is
just a favor to users so that if you accidentally type "make menuconfig"
instead of "make menuselect", it still works.
(inspired by a comment on IRC from wangster calling me an "especially devious
asterisk developer" for having it be menuselect instead of menuconfig. :) )

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47495 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-11 15:33:06 +00:00
russell a92148bfa5 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: http://svn.digium.com/svn/asterisk/trunk@46848 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01 22:54:15 +00:00
russell 7101addb28 Merged revisions 46093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46093 | russell | 2006-10-24 01:23:33 -0400 (Tue, 24 Oct 2006) | 3 lines

Restore the ability to remove the firmware directory without causing the
installation to fail (issue #8111)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46094 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24 05:24:32 +00:00
file b3ffca3af4 Let's have build.h created a bit earlier so that func_version can use it and not stop the build on a fresh machine that has never had Asterisk installed on it before...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45847 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-22 04:44:43 +00:00
file d6ef08c641 Merged revisions 45775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45775 | file | 2006-10-20 15:03:03 -0400 (Fri, 20 Oct 2006) | 2 lines

Pass DESTDIR and ASTSBINDIR so that the utilities get installed in the proper location (reported on asterisk-dev mailing list)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45776 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-20 19:04:23 +00:00
file 8e30fcc2a3 Merged revisions 44942 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44942 | file | 2006-10-12 12:08:50 -0400 (Thu, 12 Oct 2006) | 2 lines

Pass off AUDIO_LIBS so muted can link on OSX (issue #8135 reported by ssokol)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44943 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-12 16:11:32 +00:00
rizzo 96dc97909e put linker flags in ASTLDFLAGS where they belong
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44408 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04 22:51:17 +00:00
kpfleming cdae839f80 Merged revisions 44322 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44322 | kpfleming | 2006-10-03 19:25:44 -0500 (Tue, 03 Oct 2006) | 3 lines

ensure that local include files are always used
avoid a duplicate function name (term_init())

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44323 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04 00:26:21 +00:00
russell c8183a8a97 Merged revisions 44125 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44125 | russell | 2006-10-01 14:30:06 -0400 (Sun, 01 Oct 2006) | 6 lines

Fix a problem that cuased AST_DATA_DIR in defaults.h to be empty.  The cause is
that since ASTDATADIR is explicitly exported using "export ASTDATADIR" at the
top of the Makefile, make no longer considers the variable "undefined", so the
Makefile can't use ?= to set ASTDATADIR if not yet set.
(issue #8063, reported by akohlsmith, fixed by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44126 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-01 18:30:42 +00:00
rizzo 5b3b15328f merge compile fixes from 44080:
- with AST_DEVMODE, building codecs/lpc10 fails because of lots
  of warnings, and the configure step in editline fails as well.
  Fix this by removing the -Werror in these steps.

- on FreeBSD (but probably on other platforms as well), the final   
  link of asterisk fails because AST_LIBS was not exported to the
  subdirs Makefiles. Add a proper fix in the top-level Makefile
  (a possible alternative way is to add "export AST_LIBS" near
  the beginning of the file).
  With this fix, i believe that some of the platform-specific
  conditionals in main/Makefile are redundant (because they should
  be already dealt with in the top level Makefile) but i don't
  have a platform to check.




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44081 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-30 16:37:21 +00:00
kpfleming 170dae49be Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43996 | kpfleming | 2006-09-29 11:47:05 -0500 (Fri, 29 Sep 2006) | 2 lines

another cross-compile fix

........
r43997 | kpfleming | 2006-09-29 11:52:27 -0500 (Fri, 29 Sep 2006) | 2 lines

support --without-curl in configure script

........
r44008 | kpfleming | 2006-09-29 13:25:49 -0500 (Fri, 29 Sep 2006) | 2 lines

don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead

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

missed one conversion to ASTCFLAGS

........
r44012 | kpfleming | 2006-09-29 13:49:07 -0500 (Fri, 29 Sep 2006) | 2 lines

yet another place where we were not using the correct CFLAGS by default

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44013 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 18:54:21 +00:00
kpfleming 16312049c6 Merged revisions 43993 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43993 | kpfleming | 2006-09-29 11:38:27 -0500 (Fri, 29 Sep 2006) | 2 lines

a couple more environment settings that can't leak into the menuselect build

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43994 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 16:38:46 +00:00
kpfleming cdc484c1df Merged revisions 43524 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43524 | kpfleming | 2006-09-22 18:44:47 -0500 (Fri, 22 Sep 2006) | 2 lines

don't output the 'build complete' message when the target being run is already going to do an installation

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43525 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22 23:45:14 +00:00
kpfleming 44db0fbbd1 move this header to include where it belongs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43298 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 21:48:57 +00:00
mattf 42a59d0531 Mergeing in Paul Cadach's chan_h323 changes *holds breath*
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 17:07:22 +00:00
qwell 094036c996 We have autoconf...let's actually use it.
(note, M4 wasn't used, so...bye)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43215 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:57:09 +00:00
kpfleming 0439aaa76a more makefile tweaks to keep targets from being run when they don't need to be
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09 03:27:21 +00:00
kpfleming 1f3e9bf746 make menuselect configure process be silent when possible
don't use #ifdef inside a macro call... it appears various versions of gcc have bugs related to this


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 23:33:59 +00:00
kpfleming 1773d7b4fe ensure that cross-compiler info is removed from the enviroment before configuring menuselect
ensure that the user's LDFLAGS take precedence when linking the final binary


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41178 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26 17:05:38 +00:00
russell cdffda3e50 remove some unneeded variables now that the menuselect build is isolated from
the parent project


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41165 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26 16:13:45 +00:00
rizzo 4d8047ba7c we really need BSD make here to understand the -V option.
Fix and document this.
(problem introduced in SVN 40753)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41147 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 20:10:56 +00:00
russell 2f061fe875 remove CFLAGS that aren't needed anymore
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40990 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24 18:57:46 +00:00
qwell dfaafb7c36 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: http://svn.digium.com/svn/asterisk/trunk@40964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24 01:21:41 +00:00
russell d623201cd4 merge menuselect_build ... most of the changes happened in menuselect
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40877 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-23 03:07:34 +00:00
qwell 8891da27bb a couple Solaris tweaks, to help build properly.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22 05:24:50 +00:00
kpfleming 1a9756b81e oops... missed one
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40792 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 20:19:47 +00:00
kpfleming 5b18ba8c05 another variable to clear out before configuring mxml
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 20:18:36 +00:00
kpfleming 2909be4a3e replace a couple of bare 'make' with $(MAKE)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40765 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 13:47:45 +00:00
kpfleming 19db6fdb2a ensure that 'make' after 'svn update' that includes a configure script change won't run without making the user run configure first
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40753 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 03:58:02 +00:00
kpfleming 307edd045d document Makefile target changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40728 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:54:05 +00:00
kpfleming 8e5c93f615 main subdirectory is not dependencies for menuselect input
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40725 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:31:01 +00:00
kpfleming 8b0c007ad9 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: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00
file 4a051ed2b5 kpfleming didn't break trunk, it was the aliens. (fix it so that the Makefile references the new name for the XML tree, menuselect-tree)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20 01:42:41 +00:00
russell 6587d2ab75 don't include files that cause additional targets to get executed if the target
called was clean, distclean, or update


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39640 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 02:00:28 +00:00
russell e0a9b2f295 add menuselect_stub.c to deps list
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38000 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19 21:52:59 +00:00
kpfleming f3b8ad2720 add comments on what special variables are for
put library path into proper variable for *BSD


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37670 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 20:12:28 +00:00
kpfleming 51482ed964 more Makefile cleanup and consistency stuff
don't reuse LIBS variable from top-level Makefile (oops)
build Asterisk binary after subdirs (preparing for embedded modules)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37661 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 19:59:35 +00:00
kpfleming 661a4f572c use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 16:40:05 +00:00
russell 520643b71e revert this change for now since it isn't working correctly and there are more
important issues to work on at the moment ...


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37483 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12 20:27:46 +00:00
russell 75abdcd730 add "update" to the list of targets to ignore various included files for and
check the targets in a little bit different way


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37477 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12 19:48:22 +00:00
russell 4e4fb4bdec don't let make run configure or menuselect if the target is either
"clean" or "distclean"


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37476 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12 19:36:42 +00:00
russell 286bbf2c23 remove the use of -Wno-pointer-sign. Asterisk now builds without any of these
warnings present on my machine.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37303 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 16:22:32 +00:00
kpfleming d901c0f7c0 small cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37280 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 02:33:24 +00:00
kpfleming 98ae1f3092 various minor fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37277 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 00:48:40 +00:00
russell 22667a6ca6 dirty hack of a fix to deal with the fact that chan_vpb changed to chan_vpb.cc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37276 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 23:51:15 +00:00
kpfleming e319f5334e make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 23:18:45 +00:00
kpfleming 84cc5e8bd0 move rules file to prepare for generic rules file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 21:04:28 +00:00
russell cff0502738 fix removing autoconfig.h on distclean (issue #7439, casper)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 14:29:06 +00:00
russell 5802dbf9ca swap distclean and dist-clean, since distclean is more commonly used ...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36502 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 14:25:43 +00:00
russell 3dbe712d62 remove build_tools/menuselelct-deps on distclean
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36483 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 04:37:52 +00:00
russell a622cbd1e3 don't specify this include in the menuselect Makefile, because asterisk-addons
doesn't have an include dir


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36464 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 03:27:37 +00:00
russell a3d6dce7b3 more pickyness
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36463 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 03:23:18 +00:00
russell 6e2717b89e change bracket style because i'm picky
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36462 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 03:21:56 +00:00
russell e895b094b9 menuselect doesn't pull strcompat.o from asterisk anymore
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36461 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 03:21:06 +00:00
tilghman d066798bec Merged revisions 36290 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36290 | tilghman | 2006-06-29 14:23:18 -0500 (Thu, 29 Jun 2006) | 2 lines

Bug 7388 - compatibility changes for Solaris

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36317 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-29 22:01:41 +00:00
russell f06ba80021 ?= just checks to see if a variable is not yet defined. If MENUSELECT_CFLAGS
was not found in the user level makeopts file, the variable is defined, but
empty.

I wish we could just require GNU make 3.81  :)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36229 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 21:33:39 +00:00
russell 85ea88fcc2 slight change to pulling out the MENUSELECT_CFLAGS from the user and global
level makeopts files - if MENUSELECT_CFLAGS is set to nothing in the user level
makeotps file, then the Makefile should not look in the global file at all.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36228 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 21:26:31 +00:00
russell bd38aba2a0 remove an extra comma
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36227 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 21:20:15 +00:00
russell 65adf4c9ba remove the two uses of the $(or ...) function since it is only supported by
GNU make 3.81 which is less than 3 months old (issue #7442, patch by Corydon76)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36226 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 21:09:02 +00:00
russell 40717f32b8 allow menuselect to be a symlink to a checkout
(second part of issue #7436, Corydon76)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36197 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 19:55:05 +00:00
russell 435c27995e fix the case where menuselect.makeopts is getting generated in the same run of
"make" as the current build and some of the MENUELSELECT_CFLAGS are set in the
user or global level asterisk.makeopts file


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36192 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-28 15:10:57 +00:00
jcollie 9adbd8f388 menuselect writes both menuselect.makeopts and menuselect.makedeps at once, make sure that the Makefile knows about that.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36179 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-27 18:49:04 +00:00
russell 097717acac don't let the Makefile blow up in menuselect.makeopts is present but
menuselect.makedeps is not.  This would probably only be the case in existing
checkouts ...


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36020 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-26 14:38:55 +00:00
kpfleming 661469afbc simplify special rule for channel.o
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35944 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-26 06:27:25 +00:00
kpfleming 673e53a328 use new (separate) dependencies file from menuselect
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-25 08:50:14 +00:00
kpfleming 41af2260b7 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: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 19:43:31 +00:00
russell 551fc5b6aa fix dist-clean and add menuselect to the clean target, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 04:42:35 +00:00
russell cdf4d0251c add dependency on menuselect's version of linkedlists.h, list menuselect as
a PHONY target


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35790 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 04:34:55 +00:00
russell 5432a96172 merge changes to get menuselect using svn:externals
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35704 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 14:19:35 +00:00
kpfleming 917167a8f0 remove any generated doxygen docs during distclean
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35650 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 08:32:19 +00:00
russell 3bed9ab4b7 remove the autom4te.cache dir on a "make distclean" and add distclean to the
.PHONY list


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35630 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 02:15:35 +00:00