File: configure.ac

package info (click to toggle)
lv2proc 0.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 496 kB
  • ctags: 91
  • sloc: ansic: 1,053; sh: 1,046; makefile: 21
file content (40 lines) | stat: -rw-r--r-- 992 bytes parent folder | download
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
dnl
dnl NASPRO - The NASPRO Architecture for Sound PROcessing
dnl A simple command line effect processor using LV2 plugins
dnl
dnl Copyright (C) 2011-2013 LV2proc development team
dnl
dnl See the COPYING file for license conditions.
dnl

AC_PREREQ([2.68])

AC_INIT([LV2proc], [0.5.0], [zanga.mail@gmail.com])
AC_COPYRIGHT([Copyright (C) 2011-2013 LV2proc development team])

AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])

AM_INIT_AUTOMAKE

# Command line options.

# Checks for programs.
AC_PROG_CC_C99

# Checks for libraries.
PKG_CHECK_MODULES([SNDFILE], [sndfile])
PKG_CHECK_MODULES([LILV], [lilv-0])

# Checks for header files.
AC_CHECK_HEADERS([math.h], , [AC_MSG_ERROR([C math library header not found.])])

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.
AC_SEARCH_LIBS([roundf], [m], , [AC_MSG_ERROR([C math library not found.])])

# Output.
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT