-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
36 lines (28 loc) · 886 Bytes
/
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
AC_INIT([libtruepeak], [0.1], [[email protected]])
AM_INIT_AUTOMAKE([foreign])
LT_INIT
AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
#AM_PROG_CC_C_O
AC_ARG_ENABLE([findtruepeak],
AS_HELP_STRING([--disable-findtruepeak], [Disable the findtruepeak binary]))
AS_IF([test "x$enable_findtruepeak" != "xno"],
[PKG_CHECK_MODULES([DEPS], [sndfile >= 1.0],
[AM_CONDITIONAL(BUILD_FINDTRUEPEAK, true)],
[AM_CONDITIONAL(BUILD_FINDTRUEPEAK, false)]
)],
[AM_CONDITIONAL(BUILD_FINDTRUEPEAK, false)]
)
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT