aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2017-08-08Use release helper from libosmocoreMax1-0/+4
Change-Id: Ifc88e5c942a8b430b2436d429c86560d82984a95 Related: OS#1861
2017-07-13configure.ac: Fix RTP_SIGNAL_PTR_CAST config in FreeBSD buildPau Espin Pedrol1-2/+3
Move function definition to the first argument of AC_LANG_PROGRAM (prologue) instead of the second (body). Content of the body is writen into the main() function of the file being compiled, while prologue is writen before it. Compiler from FreeBSD build host doesn't like definitions inside the main function, it fails with the following error: conftest.c:28:73: error: function definition is not allowed here As the compilation test fails, unsigned int is used instead of void*, which doesn't match the current headers in the current build, and then a warning (or error with -Werror) is printed. Change-Id: I83fc3997e5067b499bf43cea4ff953604d6cbeae
2017-07-05configure.ac: Fix C(PP)FLAGS for BSD buildPau Espin Pedrol1-4/+4
Issue first found in libosmocore. It seems the BSD build doesn't use bash which means using += to append to a variable doesn't work correctly. Change-Id: Id509351104bc7466114d4b9be450814254110f44
2017-06-22Revert "configure.ac: Use -Werror in C(PP)FLAGS"Neels Hofmeyr1-2/+2
As discussed in chat, -Werror should not be enabled by default. Instead it should be added in our jenkins build scripts. This reverts commit 7d1f53143e8eaeb25bae8979fb80dac57ddbf827. Change-Id: Ied6e21b72b24fcb623fd945ed9560b742a8eedf5
2017-06-22configure.ac: Use -Werror in C(PP)FLAGSPau Espin Pedrol1-2/+2
Change-Id: Ic674bf28d781b9806dc023777e1fea4ee1a0257a
2017-06-22configure.ac: Use -Wall in C(PP)FLAGSPau Espin Pedrol1-0/+3
Change-Id: I5033387e4a4206f7d34d1db3c6ede9255d199941
2017-06-22osmo_ortp.c: Fix warning: check ortp API in rtp_session_signal_connectPau Espin Pedrol1-0/+14
Since ortp commit 5ab29c50adc7948b11449e3aeee66010379ff7dc preceeding ortp 0.24, the API is fixed and requests a pointer instead of an unsigned long. As we now require at least ortp 0.22 since libosmo-abis 15d9b7929d449e4138bcb003c614035bceadc3d1, we need to support both old and new version of the API to continue having support for 0.22 but still supporting new versions of the library. Change-Id: I2dbd0498d75160358eca4336850e1a0ad2efdbeb
2017-04-04Fix HAVE_ORTP_LOG_DOMAIN detection on FreeBSDHarald Welte1-0/+3
We need to use the include path[s] resolved by pkg-config for ortp before trying to compile our test program. Without this patch, compilation will fail e.g. on FreeBSD 11. Change-Id: I0c95e37cc449297389bf31dd9d5dcaa922d75d0c
2017-03-27configure: Fix compilation with new libortpPau Espin Pedrol1-0/+10
Commit 0c8d9ddaea8c1afdc0e9b8c37a31c9d158e57efd in ortp broke old API: function ortp_set_log_level_mask requires one new parameter 'domain'. This commit fixes compilation in my Archlinux box using ortp 1.0.1. Change-Id: I46e565f1873c7baf3c3b0aafe73951d20ce083b4
2017-02-20Enable sanitizeMax1-0/+12
Add ./configure option to enable ASAN checks and use it for jenkins tests. While at it - also move to /bin/sh shebang as we don't use bashisms anyway. Change-Id: Ie26e54ab6b850c9adf124a6bc613ec9bc9e8a6e2
2016-10-01configure: check for pkg-config presenceNeels Hofmeyr1-0/+7
Change-Id: If21ff26a836fd91021e0457ae0316be6b29b4577
2016-10-01build: be robust against install-sh files above the root dirNeels Hofmeyr1-0/+3
Explicitly set AC_CONFIG_AUX_DIR. To reproduce the error avoided by this patch: rm install-sh # in case it was already generated. touch ../install-sh # yes, outside this source tree autoreconf -fi This will produce an error like ... configure.ac:16: error: required file '../ltmain.sh' not found configure.ac:5: installing '../missing' src/Makefile.am: installing '../depcomp' autoreconf: automake failed with exit status: 1 See also automake (vim `which automake`) and look for 'sub locate_aux_dir'. Change-Id: I5f69112f58b0a8ce0d848b0b6b543500ee63d133
2016-09-24Bump minimum oRTP version3G_2016_09Max1-9/+1
Require version 0.22.0 which matches Debian stable ATM to simplify testing and maintenance across all supported BTS models and corresponding toolchains. Change-Id: I005d60bb50889edad3e6fc0cd9f7f180aeaf1dab Fixes: SYS#2569
2015-08-15configure.ac: Add subdir-objectsHarald Welte1-1/+1
2013-10-06ortp: Fix the version check for ORTP by not using the cached resultHolger Hans Peter Freyther1-1/+1
The second check used the cached result for ORTP. Store the result in ORTP_VERSION and my system properly detects that it is running on < 0.21. The HAVE_ORTP_021 will always be defined so just use #if and not the #ifdef to fix the build.
2013-10-06enable support of libortp >= 0.21, which has an API breakageHarald Welte1-1/+9
in libortp >= 0.21, rtp_session_set_local_addr() has one extra argument for the RTCP port.
2012-10-11tests: Add boilerplate to be able to have tests in libosmo-abisHolger Hans Peter Freyther1-0/+1
2012-07-01build: remove checks introduced by autoscan.v0.1.3Diego Elio Pettenò1-4/+0
Therre is no current use of HAVE_* variables for these checks in the code, so there is no reason to keep the checks around. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-07-01build: consolidate automake options to configure.acDiego Elio Pettenò1-1/+1
Also disable building the gzip distribution since we're building the bzip2-compressed tarball already. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-07-01build: build libosmotrau.la in the src directory.Diego Elio Pettenò1-1/+0
This spares us another recursion, and allows a much higher parallelisation, since trau is only one source unit and one standalone library. Incidentally, also make sure that the version specification for libosmoabis is applied. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-07-01build: avoid using a convenience library for the input subdirectory.Diego Elio Pettenò1-1/+0
automake is well capable of building sources present in sub-directory without requiring a recursion, so there is no reason to use a non-installed library just for the extra files. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-07-01build: use nobase_include_HEADERS instead of using recursive MakefilesDiego Elio Pettenò1-3/+0
This simplifies installation of include files, as make no longer have to recurse into subdirectories and install each subset of files in different directories. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-07-01build: use LT_INIT([pic-only]) instead of forcing -fPIC in AM_CFLAGS.Diego Elio Pettenò1-2/+1
Also contextually remove the AC_PROG_LIBTOOL call (which is an obsolete name for what is now LT_INIT). Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-03-26misc: Fix the email address in the configure.acv0.1.2Holger Hans Peter Freyther1-1/+1
2011-10-22version 0.13.1 of libortp seems sufficientHarald Welte1-1/+1
2011-10-10depend on new libosmocore 0.3.10 (lapd) and increment LIBVERSIONv0.1.0Harald Welte1-1/+1
2011-09-26request ortp >=0.15.0Alexander Huemer1-1/+1
build fails with ortp <0.15.0 because of incompatible API.
2011-09-03add 'libosmotrau' for TRAU/RTP related codeHarald Welte1-0/+4
This new library is intended to include everything related to interfacing actual voice channels either via E1 or via RTP. The first module in the library is osmo_rtp, based on the ortp library.
2011-08-24re-introduce optional build of DAHDI input pluginv0.0.4Harald Welte1-1/+1
We should only build it when the dahdi/user.h file is actually present.
2011-07-18talloc: revert to use talloc inside libosmocoreHarald Welte1-1/+0
It's not a good idea to confuse the two changes with each other. Moving the Abis part into a separate library is independent from the question whether we have talloc inside libosmocore or use a stand-alone talloc library.
2011-07-02dahdi: fix driver compilationPablo Neira Ayuso1-0/+2
Now dahdi driver compiles file. We force the compilation of this driver, I prefer to avoid condition compilation options that tend add problems IMO.
2011-06-07src: use include/osmocom/abis instead of include/osmocom/gsm/abisPablo Neira Ayuso1-2/+1
Harald prefers short paths. This patch also remove commented includes in several files.
2011-06-05initial commit of libosmo-abisPablo Neira Ayuso1-0/+51
still many things to get fixed