configure.ac 1.21 KB
Newer Older
Arun Raghavan's avatar
Arun Raghavan committed
1
# Revision changelog (version - date, svn rev. from upstream that was merged)
2
#    0.1 - 21 Oct 2011, r789
Arun Raghavan's avatar
Arun Raghavan committed
3
AC_INIT([webrtc-audio-processing], [0.1])
Arun Raghavan's avatar
Arun Raghavan committed
4
AM_INIT_AUTOMAKE([dist-xz subdir-objects tar-ustar])
Arun Raghavan's avatar
Arun Raghavan committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

AC_SUBST(LIBWEBRTC_AUDIO_PROCESSING_VERSION_INFO, [0:0:0])

AM_SILENT_RULES([yes])

AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_PROG_INSTALL

AC_LANG_C
AC_LANG_CPLUSPLUS

AC_ARG_WITH([ns-mode],
	    AS_HELP_STRING([--with-ns-mode=float|fixed], [Noise suppresion mode to use. Default is float]))

AS_CASE(["x${with_ns_mode}"],
	["fixed"], [NS_FIXED=1],
	["float"], [NS_FIXED=0],
	[NS_FIXED=0])
AM_CONDITIONAL(NS_FIXED, [test "x${NS_FIXED}" = "x1"])

Arun Raghavan's avatar
Arun Raghavan committed
27
28
COMMON_CFLAGS="-DNDEBUG -I\$(top_srcdir)"
COMMON_CXXFLAGS="-std=c++11 -DNDEBUG -I\$(top_srcdir)"
Arun Raghavan's avatar
Arun Raghavan committed
29
30
31
32
AC_SUBST([COMMON_CFLAGS])
AC_SUBST([COMMON_CXXFLAGS])

AC_CONFIG_FILES([
33
webrtc-audio-processing.pc
Arun Raghavan's avatar
Arun Raghavan committed
34
Makefile
Arun Raghavan's avatar
Arun Raghavan committed
35
36
37
38
39
40
41
42
43
44
webrtc/Makefile
webrtc/common_audio/Makefile
webrtc/system_wrappers/Makefile
webrtc/modules/Makefile
webrtc/modules/audio_processing/Makefile
webrtc/modules/audio_processing/utility/Makefile
webrtc/modules/audio_processing/ns/Makefile
webrtc/modules/audio_processing/aec/Makefile
webrtc/modules/audio_processing/aecm/Makefile
webrtc/modules/audio_processing/agc/Makefile
Arun Raghavan's avatar
Arun Raghavan committed
45
46
47
])

AC_OUTPUT