File: configure.in

package info (click to toggle)
tapiir 0.6-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 568 kB
  • ctags: 301
  • sloc: cpp: 1,557; makefile: 84
file content (20 lines) | stat: -rw-r--r-- 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/Tap.cxx)
AM_INIT_AUTOMAKE(tapiir, 0.6)
AM_CONFIG_HEADER(src/config.h)

dnl Checks for programs.
AC_PROG_CXX

dnl Checks for libraries.
AC_CHECK_LIB(pthread,pthread_mutex_init,,AC_MSG_ERROR("missing pthread"))
AC_CHECK_LIB(fltk,numericsort,,AC_MSG_ERROR("missing fltk"))

AM_PATH_ALSA(0.9.0,,AC_MSG_ERROR("missing alsa"))

dnl Checks for header files.
AC_STDC_HEADERS
AC_HAVE_HEADERS(stdio.h string.h stdlib.h getopt.h \
sched.h pthread.h sys/mman.h sys/time.h)

AC_OUTPUT([Makefile src/Makefile])