aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
blob: 7eabd3a834afd39c473d27d435c56f38e9759f28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
dnl Process this file with autoconf to produce a configure script
AC_INIT([osmo-gsm-manuals],
	m4_esyscmd([./git-version-gen .tarball-version]),
	[openbsc@lists.osmocom.org])

dnl *This* is the root dir, even if an install-sh exists in ../ or ../../
AC_CONFIG_AUX_DIR([.])

AM_INIT_AUTOMAKE([foreign dist-bzip2 1.6 subdir-objects])

dnl checks for programs
AC_PROG_INSTALL
LT_INIT

dnl check for pkg-config (explained in detail in libosmocore/configure.ac)
AC_PATH_PROG(PKG_CONFIG_INSTALLED, pkg-config, no)
if test "x$PKG_CONFIG_INSTALLED" = "xno"; then
        AC_MSG_WARN([You need to install pkg-config])
fi
PKG_PROG_PKG_CONFIG([0.20])

if ! $srcdir/check-depends.sh
then
	AC_MSG_ERROR("missing dependencies!")
fi

AC_OUTPUT(
    osmo-gsm-manuals.pc
    Makefile
    tests/Makefile
    OsmoGSMTester/Makefile
    OsmoMGCP/Makefile
    OsmoNAT/Makefile
    OsmoNITB/Makefile
    OsmoSIPConnector/Makefile
    OsmoSTP/Makefile
    OsmoTRX/Makefile
    OsmocomBB/Makefile)