SHA256
1
0
forked from pool/osmo-iuh
osmo-iuh/0001-iu_client-uses-gprs_msgb.h.patch
Jan Engelhardt d1f5e15735 Accepting request 760942 from home:mnhauke:osmocom:CNI-2020-01
- Update to new upstream release 0.6.0
  * sabp: Generate C/H files for SABP; create libosmo-sabp
  * sabp: Add Procedure Codes and IEI constants to CommonDataTypes
  * sabp: fixup SABP ASN.1 to avoid IOC (which are not supported
    by our toolchain)
  * sabp: Initial import of SABP ASN.1 from 3GPP TS 25.419 V11.1.0
    (2013-03)
  * hnbgw: Add libosmoctrl's VTY CTRL command initialization
  * iu_client: allow to control the notifications
- Add subpackage for libosmo-sabp
- Update patch:
  * 0001-iu_client-uses-gprs_msgb.h.patch

OBS-URL: https://build.opensuse.org/request/show/760942
OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=20
2020-01-07 11:52:02 +00:00

30 lines
1.1 KiB
Diff

diff --git a/configure.ac b/configure.ac
index 6328975..4e54137 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,6 +34,7 @@ fi
PKG_PROG_PKG_CONFIG([0.20])
PKG_CHECK_MODULES(OSMOCORE, libosmocore >= 0.12.0)
+PKG_CHECK_MODULES([OSMOGB], [libosmogb])
PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.12.0)
PKG_CHECK_MODULES(OSMOVTY, libosmovty >= 0.12.0)
PKG_CHECK_MODULES(OSMOCTRL, libosmoctrl >= 0.12.0)
diff --git a/src/Makefile.am b/src/Makefile.am
index 1c3a64a..a13295b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -55,9 +55,10 @@ gen_sabp.stamp: $(ASN1_ROOT)/sabp/SABP-PDU-Contents.asn $(ASN1TOSTRUCT)
sabp_decoder.c sabp_encoder.c: gen_sabp.stamp
-AM_CFLAGS = -Wall -I$(top_srcdir)/include -I$(top_builddir)/include \
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include \
$(OSMOCORE_CFLAGS) $(OSMOVTY_CFLAGS) $(OSMOCTRL_CFLAGS) $(OSMOGSM_CFLAGS) \
- $(OSMONETIF_CFLAGS) $(ASN1C_CFLAGS) $(OSMOSIGTRAN_CFLAGS)
+ $(OSMONETIF_CFLAGS) $(ASN1C_CFLAGS) $(OSMOSIGTRAN_CFLAGS) $(OSMOGB_CFLAGS)
+AM_CFLAGS = -Wall
# build the shared RANAP + SABP library
#