Commit Graph

23 Commits

Author SHA1 Message Date
Neels Hofmeyr 24796f2147 configure: check for pkg-config presence
Change-Id: If21ff26a836fd91021e0457ae0316be6b29b4577
2016-10-01 00:59:19 +02:00
Neels Hofmeyr f5d28602a7 build: be robust against install-sh files above the root dir
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-10-01 00:59:19 +02:00
Max 15d9b7929d Bump minimum oRTP version
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
2016-09-24 16:30:22 +02:00
Harald Welte b37c5d48f0 configure.ac: Add subdir-objects 2015-08-15 10:50:53 +02:00
Holger Hans Peter Freyther e58d33153d ortp: Fix the version check for ORTP by not using the cached result
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-06 13:37:08 +02:00
Harald Welte 2bfc01dfd8 enable support of libortp >= 0.21, which has an API breakage
in libortp >= 0.21, rtp_session_set_local_addr() has one extra
argument for the RTCP port.
2013-10-06 12:23:35 +02:00
Holger Hans Peter Freyther 5c65e79edc tests: Add boilerplate to be able to have tests in libosmo-abis 2012-10-11 08:18:43 +02:00
Diego Elio Pettenò e5ae7f5217 build: remove checks introduced by autoscan.
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-01 07:40:36 +02:00
Diego Elio Pettenò 6e389a3b2b build: consolidate automake options to configure.ac
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-01 07:40:36 +02:00
Diego Elio Pettenò 56855350e9 build: build libosmotrau.la in the src directory.
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-01 07:40:36 +02:00
Diego Elio Pettenò 05819cebc4 build: avoid using a convenience library for the input subdirectory.
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-01 07:40:36 +02:00
Diego Elio Pettenò 51f7940d1f build: use nobase_include_HEADERS instead of using recursive Makefiles
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-01 07:40:35 +02:00
Diego Elio Pettenò 62f0e0612a build: use LT_INIT([pic-only]) instead of forcing -fPIC in AM_CFLAGS.
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-07-01 07:40:35 +02:00
Holger Hans Peter Freyther 584672e8f4 misc: Fix the email address in the configure.ac 2012-03-26 16:36:57 +02:00
Harald Welte 833aa79ffa version 0.13.1 of libortp seems sufficient 2011-10-22 15:57:42 +02:00
Harald Welte 43f4e08841 depend on new libosmocore 0.3.10 (lapd) and increment LIBVERSION 2011-10-10 08:49:01 +02:00
Alexander Huemer 70e04c7ccc request ortp >=0.15.0
build fails with ortp <0.15.0 because of incompatible API.
2011-09-26 17:14:55 +02:00
Harald Welte 41d0d84fd6 add 'libosmotrau' for TRAU/RTP related code
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-09-03 15:33:24 +02:00
Harald Welte 3bc7885539 re-introduce optional build of DAHDI input plugin
We should only build it when the dahdi/user.h file is actually present.
2011-08-24 08:32:38 +02:00
Harald Welte 71d87b2597 talloc: revert to use talloc inside libosmocore
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-18 14:51:16 +02:00
Pablo Neira Ayuso 0b9ed9a389 dahdi: fix driver compilation
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-07-02 17:25:19 +02:00
Pablo Neira Ayuso 177094b4c9 src: use include/osmocom/abis instead of include/osmocom/gsm/abis
Harald prefers short paths.

This patch also remove commented includes in several files.
2011-06-07 12:21:51 +02:00
Pablo Neira Ayuso 0ba77d53a9 initial commit of libosmo-abis
still many things to get fixed
2011-06-05 18:32:44 +02:00