/
configure.ac
73 lines (57 loc) · 1.72 KB
/
configure.ac
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
AC_INIT(sipXmediaLib, 0.0.4.3.2, sipx-dev@list.sipfoundry.org)
AC_CONFIG_AUX_DIR(config)
m4_include([config/general.m4])
m4_include([config/sipXlib.m4])
SFAC_SIPX_INSTALL_PREFIX
AM_INIT_AUTOMAKE(foreign)
SFAC_AUTOMAKE_VERSION([1.6])
CHECK_AUTOCONF
AC_CONFIG_SRCDIR([src/mp/MpCallFlowGraph.cpp])
AM_CONFIG_HEADER([config.h])
AC_C_BIGENDIAN
AC_PROG_LIBTOOL
# Checks for programs.
AC_PROG_CXX
AX_COMPILER_VENDOR
AC_PROG_CC
CHECK_XARGS_REPLACE
# Checks for libraries.
CHECK_COREAUDIO
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
CHECK_CPPUNIT
# CHECK_RPM_DEBUG
# Note that SFAC_STRICT_COMPILE_NO_WARNINGS_ALLOWED must be called before
# SFAC_INIT_FLAGS, but also that SFAC_LIB_STACK will call SFAC_INIT_FLAGS also.
SFAC_STRICT_COMPILE_NO_WARNINGS_ALLOWED
SFAC_INIT_FLAGS
# sipX dependancies
SFAC_LIB_STACK
SFAC_FEATURE_SIP_TLS
# Enable local audio support (microphone / speaker)
AC_ARG_ENABLE(local_audio,
[ --enable-local-audio Enable local audio (speaker and microphone)],
[ case "${enableval}" in
yes) enable_local_audio=true ;;
no) enable_local_audio=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-local-audio) ;;
esac],[enable_local_audio=false])
AM_CONDITIONAL(ENABLE_LOCAL_AUDIO, test x$enable_local_audio = xtrue)
ENABLE_DOC
ENABLE_DOXYGEN
AM_CONDITIONAL(DOC, test x$enable_doc = xyes)
AM_CONDITIONAL(GENERATE_DOXYGEN, test x$enable_doxygen = xyes)
CHECK_GIPSNEQ
AC_CONFIG_FILES([
Makefile
include/Makefile
src/Makefile
src/test/Makefile
bin/Makefile
doc/Makefile
])
AC_OUTPUT