aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
blob: 7bc8b63a41a901e638b2d127c8f9059876d5fe09 (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
dnl Process this file with autoconf to produce a configure script
AC_INIT

AM_INIT_AUTOMAKE(openbsc, 0.0alpha1)

dnl checks for programs
AC_PROG_MAKE_SET
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_RANLIB

dnl checks for libraries
AC_SEARCH_LIBS(crypt, crypt,
    [LIBCRYPT="-lcrypt"; AC_DEFINE([VTY_CRYPT_PW], [], [Use crypt functionality of vty.])])

dnl checks for header files
AC_HEADER_STDC

dnl Checks for typedefs, structures and compiler characteristics

AC_OUTPUT(
    openbsc.pc
    include/openbsc/Makefile
    include/vty/Makefile
    include/Makefile
    src/Makefile
    tests/Makefile
    tests/debug/Makefile
    tests/timer/Makefile
    tests/sms/Makefile
    tests/gsm0408/Makefile
    tests/db/Makefile
    Makefile)