Mercurial > hg > sv-dependency-builds
comparison src/portaudio_20161030/bindings/cpp/configure.ac @ 140:59a8758c56b1
Add source for PortAudio stable v190600_20161030
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 03 Jan 2017 13:44:07 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
139:413e081fcc6f | 140:59a8758c56b1 |
---|---|
1 # | |
2 # PortAudioCpp V19 autoconf input file | |
3 # Shamelessly ripped from the PortAudio one by Dominic Mazzoni | |
4 # Ludwig Schwardt | |
5 # Customized for automake by Mikael Magnusson | |
6 # | |
7 | |
8 # Require autoconf >= 2.13 | |
9 AC_PREREQ(2.13) | |
10 | |
11 m4_define([lt_current], [0]) | |
12 m4_define([lt_revision], [12]) | |
13 m4_define([lt_age], [0]) | |
14 | |
15 AC_INIT([PortAudioCpp], [12]) | |
16 AC_CONFIG_SRCDIR([include/portaudiocpp/PortAudioCpp.hxx]) | |
17 AM_INIT_AUTOMAKE | |
18 AM_MAINTAINER_MODE | |
19 | |
20 ###### Top-level directory of pacpp | |
21 ###### This makes it easy to shuffle the build directories | |
22 ###### Also edit AC_CONFIG_SRCDIR above (wouldn't accept this variable)! | |
23 PACPP_ROOT="\$(top_srcdir)" | |
24 PORTAUDIO_ROOT="../.." | |
25 | |
26 # Various other variables and flags | |
27 DEFAULT_INCLUDES="-I$PACPP_ROOT/include -I$PACPP_ROOT/$PORTAUDIO_ROOT/include" | |
28 CFLAGS=${CFLAGS-"-g -O2 -Wall -ansi -pedantic"} | |
29 CXXFLAGS=${CXXFLAGS-"${CFLAGS}"} | |
30 | |
31 LT_VERSION_INFO="lt_current:lt_revision:lt_age" | |
32 | |
33 # Checks for programs | |
34 | |
35 AC_PROG_CC | |
36 AC_PROG_CXX | |
37 AC_LIBTOOL_WIN32_DLL | |
38 AC_PROG_LIBTOOL | |
39 | |
40 # Transfer these variables to the Makefile | |
41 AC_SUBST(DEFAULT_INCLUDES) | |
42 AC_SUBST(PORTAUDIO_ROOT) | |
43 AC_SUBST(CXXFLAGS) | |
44 AC_SUBST(LT_VERSION_INFO) | |
45 | |
46 AC_CONFIG_FILES([ | |
47 Makefile | |
48 lib/Makefile | |
49 include/Makefile | |
50 bin/Makefile | |
51 doc/Makefile | |
52 portaudiocpp.pc | |
53 ]) | |
54 AC_OUTPUT |