|
Revision ac96770ad7160323e2445859e128175d28f49295, 1.3 kB
(checked in by Holger Hans Peter Freyther <zecke@selfish.org>, 10 months ago)
|
|
[sccp] Implement parts of ITU SCCP for use in the A-Interface
include/sccp/sccp_types.h contain Q.713 and GSM definitions
include/sccp/sccp.h is the application interface resembling
the esentials of the UNIX socket interface.
src/sccp.c is the actual implementation of SCCP featuring
connection and UDT1 support.
tests/sccp/sccp.c is testing connection creation and formating
of the SCCP messages used by the A-interface. And
it contains a simple fuzzing test to test the
robustnes of the implementation.
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | dnl Process this file with autoconf to produce a configure script |
|---|
| 2 | AC_INIT |
|---|
| 3 | |
|---|
| 4 | AM_INIT_AUTOMAKE(openbsc, 0.0alpha1) |
|---|
| 5 | |
|---|
| 6 | dnl kernel style compile messages |
|---|
| 7 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
|---|
| 8 | |
|---|
| 9 | dnl checks for programs |
|---|
| 10 | AC_PROG_MAKE_SET |
|---|
| 11 | AC_PROG_CC |
|---|
| 12 | AC_PROG_INSTALL |
|---|
| 13 | AC_PROG_RANLIB |
|---|
| 14 | |
|---|
| 15 | dnl checks for libraries |
|---|
| 16 | AC_SEARCH_LIBS(crypt, crypt, |
|---|
| 17 | [LIBCRYPT="-lcrypt"; AC_DEFINE([VTY_CRYPT_PW], [], [Use crypt functionality of vty.])]) |
|---|
| 18 | |
|---|
| 19 | dnl checks for header files |
|---|
| 20 | AC_HEADER_STDC |
|---|
| 21 | |
|---|
| 22 | dnl Checks for typedefs, structures and compiler characteristics |
|---|
| 23 | |
|---|
| 24 | # The following test is taken from WebKit's webkit.m4 |
|---|
| 25 | saved_CFLAGS="$CFLAGS" |
|---|
| 26 | CFLAGS="$CFLAGS -fvisibility=hidden " |
|---|
| 27 | AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden]) |
|---|
| 28 | AC_COMPILE_IFELSE([char foo;], |
|---|
| 29 | [ AC_MSG_RESULT([yes]) |
|---|
| 30 | SYMBOL_VISIBILITY="-fvisibility=hidden"], |
|---|
| 31 | AC_MSG_RESULT([no])) |
|---|
| 32 | CFLAGS="$saved_CFLAGS" |
|---|
| 33 | AC_SUBST(SYMBOL_VISIBILITY) |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | dnl Generate the output |
|---|
| 37 | AM_CONFIG_HEADER(bscconfig.h) |
|---|
| 38 | |
|---|
| 39 | AC_OUTPUT( |
|---|
| 40 | openbsc.pc |
|---|
| 41 | include/openbsc/Makefile |
|---|
| 42 | include/vty/Makefile |
|---|
| 43 | include/sccp/Makefile |
|---|
| 44 | include/Makefile |
|---|
| 45 | src/Makefile |
|---|
| 46 | tests/Makefile |
|---|
| 47 | tests/debug/Makefile |
|---|
| 48 | tests/timer/Makefile |
|---|
| 49 | tests/sms/Makefile |
|---|
| 50 | tests/gsm0408/Makefile |
|---|
| 51 | tests/db/Makefile |
|---|
| 52 | tests/channel/Makefile |
|---|
| 53 | tests/sccp/Makefile |
|---|
| 54 | Makefile) |
|---|