diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-04 01:22:45 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-04 01:22:45 +0000 |
commit | f4733a17a145677c0f0d79ac6fcdf0b07cd4e716 (patch) | |
tree | aac008c3ce39e92b5f2a2570922162f26abcc219 /configure.ac | |
parent | 18711d61dbc29435e5b9082fd7708f7bbcf1865a (diff) |
Merged revisions 267775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r267775 | tilghman | 2010-06-03 20:20:17 -0500 (Thu, 03 Jun 2010) | 14 lines
Merged revisions 267759 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r267759 | tilghman | 2010-06-03 20:16:26 -0500 (Thu, 03 Jun 2010) | 7 lines
Make the default install path appear to be /usr on Linux, instead of /usr/local.
Also, reorganize the options, so that they're more alphabetical.
(closes issue #17013)
Reported by: klaus3000
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@267787 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/configure.ac b/configure.ac index d36db4195..21a94b6d7 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,10 @@ AC_PREREQ(2.60) -AC_INIT(asterisk, 1.6, www.asterisk.org) +AC_INIT([asterisk], [trunk], [https://issues.asterisk.org]) + +# Allow the --help=recursive option to function correctly +AC_CONFIG_SUBDIRS([menuselect]) # cross-compile macros AC_CANONICAL_BUILD @@ -41,12 +44,12 @@ AC_USE_SYSTEM_EXTENSIONS # note- does not work on FreeBSD case "${host_os}" in freebsd*) - ac_default_prefix=/usr/local + AC_PREFIX_DEFAULT([/usr/local]) CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ;; openbsd*) - ac_default_prefix=/usr/local + AC_PREFIX_DEFAULT([/usr/local]) if test ${prefix} = '/usr/local' || test ${prefix} = 'NONE'; then if test ${sysconfdir} = '${prefix}/etc'; then sysconfdir=/etc @@ -62,7 +65,7 @@ case "${host_os}" in AC_DEFINE([AST_POLL_COMPAT], 1, [Define to 1 if internal poll should be used.]) ;; *) - ac_default_prefix=/usr + AC_PREFIX_DEFAULT([/usr]) if test ${prefix} = '/usr' || test ${prefix} = 'NONE'; then if test ${sysconfdir} = '${prefix}/etc'; then sysconfdir=/etc @@ -291,20 +294,21 @@ AC_SUBST(AST_DEVMODE) # to make things easier for the users. AST_EXT_LIB_SETUP([ALSA], [Advanced Linux Sound Architecture], [asound]) - -# BKTR is used for backtrace support on platforms that do not -# have it natively. -AST_EXT_LIB_SETUP([BKTR], [Stack Backtrace], [execinfo]) +AST_EXT_LIB_SETUP([FFMPEG], [Ffmpeg and avcodec], [avcodec]) AST_EXT_LIB_SETUP([CAP], [POSIX 1.e capabilities], [cap]) AST_EXT_LIB_SETUP([CURL], [cURL], [curl]) AST_EXT_LIB_SETUP([CURSES], [curses], [curses]) AST_EXT_LIB_SETUP([CRYPTO], [OpenSSL Cryptography], [crypto]) AST_EXT_LIB_SETUP([DAHDI], [DAHDI], [dahdi]) -AST_EXT_LIB_SETUP([FFMPEG], [Ffmpeg and avcodec], [avcodec]) + +# BKTR is used for backtrace support on platforms that do not +# have it natively. +AST_EXT_LIB_SETUP([BKTR], [Stack Backtrace], [execinfo]) AST_EXT_LIB_SETUP([GSM], [External GSM], [gsm], [, use 'internal' GSM otherwise]) AST_EXT_LIB_SETUP([GTK], [gtk], [gtk]) AST_EXT_LIB_SETUP([GTK2], [gtk2], [gtk2]) AST_EXT_LIB_SETUP([GMIME], [GMime], [gmime]) +AST_EXT_LIB_SETUP([OPENH323], [OpenH323], [h323]) AST_EXT_LIB_SETUP([HOARD], [Hoard Memory Allocator], [hoard]) AST_EXT_LIB_SETUP([ICONV], [Iconv], [iconv]) AST_EXT_LIB_SETUP([IKSEMEL], [Iksemel Jabber], [iksemel]) @@ -314,6 +318,7 @@ AST_EXT_LIB_SETUP([IODBC], [iODBC], [iodbc]) AST_EXT_LIB_SETUP([ISDNNET], [ISDN4Linux], [isdnnet]) AST_EXT_LIB_SETUP([JACK], [Jack Audio Connection Kit], [jack]) AST_EXT_LIB_SETUP([LDAP], [OpenLDAP], [ldap]) +AST_LIBCURL_CHECK_CONFIG([], [7.10.1]) AST_EXT_LIB_SETUP([LIBXML2], [LibXML2], [libxml2]) AST_EXT_LIB_SETUP([LTDL], [libtool], [ltdl]) AST_EXT_LIB_SETUP([LUA], [Lua], [lua]) @@ -323,6 +328,8 @@ AST_EXT_LIB_SETUP([NCURSES], [ncurses], [ncurses]) AST_EXT_LIB_SETUP([NETSNMP], [Net-SNMP], [netsnmp]) AST_EXT_LIB_SETUP([NEWT], [newt], [newt]) AST_EXT_LIB_SETUP([OGG], [OGG], [ogg]) +AST_EXT_LIB_SETUP([OPENAIS], [OpenAIS], [openais]) +AST_EXT_LIB_SETUP([OPENR2], [MFR2], [openr2]) AST_EXT_LIB_SETUP([OSPTK], [OSP Toolkit], [osptk]) AST_EXT_LIB_SETUP([OSS], [Open Sound System], [oss]) AST_EXT_LIB_SETUP([PGSQL], [PostgreSQL], [postgres]) @@ -330,26 +337,22 @@ AST_EXT_LIB_SETUP([POPT], [popt], [popt]) AST_EXT_LIB_SETUP([PORTAUDIO], [PortAudio], [portaudio]) AST_EXT_LIB_SETUP([PRI], [ISDN PRI], [pri]) AST_EXT_LIB_SETUP_DEPENDENT([PRI_INBANDDISCONNECT], [ISDN PRI set_inbanddisconnect], [PRI], [pri]) +AST_EXT_LIB_SETUP([PWLIB], [PWlib], [pwlib]) +AST_EXT_LIB_SETUP([RADIUS], [Radius Client], [radius]) AST_EXT_LIB_SETUP([RESAMPLE], [LIBRESAMPLE], [resample]) AST_EXT_LIB_SETUP([SPANDSP], [SPANDSP], [spandsp]) AST_EXT_LIB_SETUP([SS7], [ISDN SS7], [ss7]) -AST_EXT_LIB_SETUP([OPENR2], [MFR2], [openr2]) -AST_EXT_LIB_SETUP([PWLIB], [PWlib], [pwlib]) -AST_EXT_LIB_SETUP([OPENH323], [OpenH323], [h323]) -AST_EXT_LIB_SETUP([RADIUS], [Radius Client], [radius]) -AST_EXT_LIB_SETUP([SDL], [Sdl], [sdl]) -AST_EXT_LIB_SETUP([SDL_IMAGE], [Sdl Image], [SDL_image]) -AST_EXT_LIB_SETUP([OPENAIS], [OpenAIS], [openais]) AST_EXT_LIB_SETUP([SPEEX], [Speex], [speex]) AST_EXT_LIB_SETUP([SPEEX_PREPROCESS], [Speex preprocess routines], [speex]) AST_EXT_LIB_SETUP([SPEEXDSP], [SpeexDSP], [speexdsp]) AST_EXT_LIB_SETUP_DEPENDENT([SPEEX_PREPROCESS], [speex_preprocess_ctl], [], [speex]) AST_EXT_LIB_SETUP([SQLITE], [SQLite], [sqlite]) AST_EXT_LIB_SETUP([SQLITE3], [SQLite], [sqlite3]) -AST_EXT_LIB_SETUP([SUPPSERV], [mISDN Supplemental Services], [suppserv]) AST_EXT_LIB_SETUP([OPENSSL], [OpenSSL Secure Sockets Layer], [ssl]) +AST_EXT_LIB_SETUP([SUPPSERV], [mISDN Supplemental Services], [suppserv]) AST_EXT_LIB_SETUP([FREETDS], [FreeTDS], [tds]) AST_EXT_LIB_SETUP([TERMCAP], [Termcap], [termcap]) +AST_EXT_LIB_SETUP([TIMERFD], [timerfd], [timerfd]) AST_EXT_LIB_SETUP([TINFO], [Term Info], [tinfo]) AST_EXT_LIB_SETUP([TONEZONE], [tonezone], [tonezone]) AST_EXT_LIB_SETUP([UNIXODBC], [unixODBC], [unixodbc]) @@ -358,7 +361,6 @@ AST_EXT_LIB_SETUP([VORBIS], [Vorbis], [vorbis]) AST_EXT_LIB_SETUP([VPB], [Voicetronix API], [vpb]) AST_EXT_LIB_SETUP([X11], [X11], [x11]) AST_EXT_LIB_SETUP([ZLIB], [zlib compression], [z]) -AST_EXT_LIB_SETUP([TIMERFD], [timerfd], [timerfd]) # check for basic system features and functionality before # checking for package libraries @@ -1777,8 +1779,6 @@ AC_SUBST(PBX_GTK2) AC_SUBST(GTK2_INCLUDE) AC_SUBST(GTK2_LIB) -AST_LIBCURL_CHECK_CONFIG([], [7.10.1]) - # build a GENERIC_ODBC result based on the presence of either UnixODBC (preferred) # or iODBC |