aboutsummaryrefslogtreecommitdiff
path: root/curses/configure.ac
blob: c397e03bee0b531951ade0c7cb9b41785a266893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
AC_INIT([fmplayer], [0.1.0])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AM_SILENT_RULES([yes])
AC_PROG_CC_C99

PKG_CHECK_MODULES([PORTAUDIO], [portaudio-2.0])
AC_ARG_WITH([samplerate], AS_HELP_STRING([--with-samplerate], [Use libsamplerate and output at native samplerate (needed on NetBSD)]))
AS_IF([test "x$with_samplerate" = "xyes"], [
  PKG_CHECK_MODULES([SAMPLERATE], [samplerate])
  AC_DEFINE([HAVE_SAMPLERATE])
])
AX_WITH_CURSES
AM_ICONV

AC_CONFIG_FILES([Makefile])
AC_OUTPUT