summaryrefslogtreecommitdiffstats
path: root/src/host/gprsdecode/configure.ac
diff options
context:
space:
mode:
authorLuca Melette <luca@srlabs.de>2018-01-22 17:14:08 +0100
committerVadim Yanitskiy <axilirator@gmail.com>2018-02-06 14:05:17 +0700
commite357646ed708bd5acc56b250d01bd695fff9cd73 (patch)
treee5de1a50a54fff4f97428b3d5473f35c11350309 /src/host/gprsdecode/configure.ac
parent9fa291dd2ba880be0a07c0c3fff1ce537bbee4d1 (diff)
Import gprsdecode utility from SRLabs
This change introduces a modified version of gprsdecode utility, which is intended to decode the GPRS burst captures and forward decoded packets to the GSMTAP sink. The following modifications were made: - use shared libosmocoding library for GSM 05.03 coding; - use optget for command line options parsing; - use a single application select loop; - use GNU automake as the build system; - add regression tests (GNU autotest); - clean up and comment the code; - add license headers; The code is based on work of SRLabs: https://srlabs.de/ git://git.srlabs.de/gprsdecode.git Related: OS#1672 Change-Id: I12234d37c66b83b8abd60f7511fa1d7837db1856
Diffstat (limited to 'src/host/gprsdecode/configure.ac')
-rw-r--r--src/host/gprsdecode/configure.ac29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/host/gprsdecode/configure.ac b/src/host/gprsdecode/configure.ac
new file mode 100644
index 00000000..8da68c80
--- /dev/null
+++ b/src/host/gprsdecode/configure.ac
@@ -0,0 +1,29 @@
+dnl Process this file with autoconf to produce a configure script
+AC_INIT([gprsdecode], [0.0.0])
+AM_INIT_AUTOMAKE
+
+dnl kernel style compile messages
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+dnl Tests
+AC_CONFIG_TESTDIR(tests)
+
+dnl checks for programs
+AC_PROG_MAKE_SET
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_RANLIB
+
+dnl checks for libraries
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm)
+PKG_CHECK_MODULES(LIBOSMOCODING, libosmocoding)
+
+dnl checks for header files
+AC_HEADER_STDC
+
+dnl generates the output files
+AC_OUTPUT(
+ Makefile
+ tests/Makefile
+)