File: configure.ac

package info (click to toggle)
libbs2b 3.1.0+dfsg-2.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,612 kB
  • ctags: 197
  • sloc: sh: 9,174; ansic: 1,500; cpp: 190; makefile: 75
file content (38 lines) | stat: -rw-r--r-- 970 bytes parent folder | download | duplicates (2)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.63])
AC_INIT([libbs2b], [3.1.0], [boris_mikhaylov@users.sourceforge.net])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.10.1 -Wall foreign subdir-objects
                  dist-zip dist-bzip2])
AC_CONFIG_SRCDIR([src/bs2b.h])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG

# Checks for libraries.
PKG_CHECK_EXISTS([sndfile], [], [
    AC_MSG_ERROR(Please install libsndfile.)
])

# Checks for header files.
AC_CHECK_HEADERS([fcntl.h malloc.h string.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([strrchr])

AC_CONFIG_FILES([libbs2b.pc
                 Makefile
                 doc/Makefile
                 src/Makefile
                 win32/Makefile])
AC_OUTPUT