]> git.draconx.ca Git - pcm-dplii.git/blob - configure.ac
Initial commit
[pcm-dplii.git] / configure.ac
1 dnl Copyright © 2014 Nick Bowler
2 dnl
3 dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
4 dnl This is free software: you are free to do what the fuck you want to.
5 dnl There is NO WARRANTY, to the extent permitted by law.])
6 AC_PREREQ([2.68])
7 AC_INIT([pcm-dplii], [0], [nbowler@draconx.ca])
8 AC_CONFIG_HEADERS([config.h])
9
10 AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects])
11 AM_SILENT_RULES([yes])
12 AC_PROG_CC_C99
13 AM_PROG_CC_C_O
14 LT_INIT
15
16 AC_ARG_WITH([plugindir],
17         AS_HELP_STRING([--with-plugindir=DIR],
18                 [ALSA plugin location (default: ${libdir}/alsa-lib)]),
19                 [plugindir=$withval], [plugindir='${libdir}/alsa-lib'])
20 AC_SUBST([plugindir])
21
22 PKG_CHECK_MODULES([ALSA], [alsa])
23 DX_CHECK_LIBAVRESAMPLE
24
25 AC_CONFIG_FILES([Makefile])
26 AC_OUTPUT