summaryrefslogtreecommitdiff
path: root/third_party/resample/configure.in
blob: ae13f30d34e8366c1261dd52005fd06448b52f7b (plain)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
# BEGIN modified/added by jos (all else written by autoscan)
AC_INIT([resample],[1.8.1],[resample-bugs@w3k.org])
AM_INIT_AUTOMAKE(resample,1.8.1)
# (also removed testdir for now)
# END modified/added by jos
AC_CONFIG_SRCDIR([src/smallfilter.h])
AC_CONFIG_HEADER([config.h])

# Checks for programs.
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_INSTALL

# Checks for libraries.
# FIXME: Replace `main' with a function in `-lm':
AC_CHECK_LIB([m], [main])

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h limits.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_TYPE_MODE_T
AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_ALLOCA
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_FUNC_STAT
AC_FUNC_STRFTIME
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([atexit floor getcwd memmove memset pathconf pow sqrt strdup strerror strtol])

AC_CONFIG_FILES([Makefile
                 man/Makefile
                 sndlib-20/makefile
                 sndlib-20/sndins/Makefile
                 src/Makefile])
AC_OUTPUT
AM_INIT_AUTOMAKE