Commit Graph

23 Commits

Author SHA1 Message Date
Brad Smith bf57478a26 BuildSystem: Bump autotools versions on OpenBSD.
Bump up to the more commonly used and modern versions of
autoconf and automake.
2024-01-30 19:06:06 +00:00
Alexander Traud d6721e1e4c BuildSystem: Enable autotools in Solaris 11.
Because this was the last operating system which required a special case, a
version appended to the autotools, the whole version stuff is removed by this
change. This simplifies the script ./bootstrap.sh. Hopefully, this gives even
broader platform compatibility.

ASTERISK-27929
ASTERISK-27926

Change-Id: Id4cf433a1a7fa861d0210e1a2e16ca592b49fd5a
2018-06-20 20:24:53 +02:00
Alexander Traud efe40ff671 BuildSystem: Add DragonFly BSD.
ASTERISK-27820

Change-Id: I310896143e94d65da1c2be3bb448204a8b86d557
2018-04-20 12:50:03 +02:00
Alexander Traud 7e9734a858 BuildSystem: Enable autotools in NetBSD.
ASTERISK-27716

Change-Id: I52525e35e1620341272219911d054a1e3d3ec01e
2018-03-05 11:16:12 +01:00
Joshua Colp fcf9494112 Merge "BuildSystem: Allow newer autotools on OpenBSD." 2018-02-20 06:20:52 -06:00
Corey Farrell 525c0251c0 BuildSystem: Use single bootstrap.sh for Asterisk and menuselect.
This causes the root bootstrap.sh script to generate configure scripts
for both Asterisk and menuselect.  This ensures that both configure
scripts are generated with the same version of autotools and avoids
situations where shared autoconf macros get modified without
regenerating the menuselect script.

Change-Id: I2bfd8537bbb63b3d46b11efabbb15eaaf9ef731a
2018-02-16 18:02:17 -06:00
Alexander Traud 14796f529e BuildSystem: Allow newer autotools on OpenBSD.
ASTERISK-27683

Change-Id: I5ec9dafbb0c16b6f2740c641980bc2eaaf995624
2018-02-16 19:30:45 +01:00
Alexander Traud 913773cd75 BuildSystem: Enable autotools in FreeBSD.
In the current versions of FreeBSD, the apps of GNU autotools do not need to
be called with a version anymore. The latest version can be invoked directly.
Additionally, the script ./bootstrap.sh asked for autoconf 2.62 and
automake 1.9, versions which are not available as port anymore.

ASTERISK-27637

Change-Id: Id7b94b80e78cc943a40ba79b697e3f70019820a7
2018-01-29 17:20:39 +01:00
David M. Lee 147b8e636e configure: fix with-pjproject-bundled
The AC_ARG_WITH macro's shell variable is withval; not enableval. Purely
coincidentally, the option would work when --enable-dev-mode is given.

Also fixed a portability problem with bootstrap.sh, since -printf is not
a portable option for find.

Change-Id: I0f0e5b1a934b5af5737713834361e9c95b96b376
2016-12-16 01:36:04 -06:00
George Joseph 392341ba37 pjproject-bundled: Cleanups for reported issues
PortAudio should no longer be required
PJSIP_MAX_PKT_LEN is now 6000
Older autoconf issue fixed. (CentOS 6)

Change-Id: I463fa9586cbe7c6b3b603289f535bd8e361611dd
2016-03-23 09:11:24 -05:00
Kinsey Moore 76888b5990 Make sure asterisk builds on OpenBSD
OpenBSD defines SO_PEERCRED, but it returns a 'struct sockpeercred', not
'struct ucred', which causes compilation of main/asterisk.c to fail in
read_credentials().  This allows configure to check for sockpeercred and
asterisk to deal with it properly.

(closes issue ASTERISK-18929)
Reported-by: Barry Miller
Patch-by: Barry Miller
........

Merged revisions 350730 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 350731 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@350732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-01-13 21:42:12 +00:00
Jason Parker 344a0f8f7b Allow bootstrap script to work on Solaris.
As usual, the way they do things is different, so we need to account for that.
automake is versioned ala BSD/Linux, but autoconf is not.  We don't actually
need to specify a version there, since AC_PREREQ will cover it for us.  Things
will fail pretty loudly if AC_PREREQ isn't met.

(closes issue #16341)
Reported by: bklang
Patches: 
      opensolaris_bootstrap.sh uploaded by bklang (license 919)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@262299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-11 16:43:07 +00:00
Luigi Rizzo acc8bbbaf5 FreeBSD now has autoconf 2.62 in the ports, 2.61 has disappeared.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@205118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-08 14:45:15 +00:00
Sean Bright b018f80119 Merged revisions 152992 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r152992 | seanbright | 2008-10-30 16:58:24 -0400 (Thu, 30 Oct 2008) | 2 lines

The -I argument to aclocal needs a space before the include directory name.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 20:59:17 +00:00
Kevin P. Fleming 3d67e2adea Merged revisions 151240 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r151240 | kpfleming | 2008-10-20 07:45:56 +0300 (Mon, 20 Oct 2008) | 3 lines
  
  break up acinclude.m4 into individual files, which will make it easier to maintain, easier to add new macros (less patching) and will ease maintenance of these macros across Asterisk branches
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-20 04:59:04 +00:00
Luigi Rizzo b4814719ff Adapt the autotools names to different versions of FreeBSD
(and open the way to better adaptation for other platforms as well).



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-10 06:48:50 +00:00
Steve Murphy 1827bcba77 These changes fix 10145 and 10150, a prob with BSD and exp2/log2 not existing, as well as the bootstrap needing a small upgrade for openbsd. Many thanks to mvanbaak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-07 16:44:57 +00:00
Luigi Rizzo 812a7b2539 simplify this file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 15:41:00 +00:00
Russell Bryant 2eb7c010c7 we use autoconf 2.60.
Note that this only affects people regenerating the configure script.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 16:19:58 +00:00
Russell Bryant 68835cd455 remove a bashism ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 06:07:43 +00:00
Russell Bryant ed2918cfd1 check for automake before aclocal, so that the error message says automake
is missing instead of aclocal, since that's where aclocal comes from


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 21:32:41 +00:00
Russell Bryant bc50c527f8 print a message before running the autotools
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:34:35 +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