To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
The primary repository for this project is hosted at https://github.com/sonic-visualiser/sv-dependency-builds .
This repository is a read-only copy which is updated automatically every hour.
root / src / portaudio_20161030_catalina_patch / bindings / cpp / configure.ac @ 162:d43aab368df9
History | View | Annotate | Download (1.32 KB)
| 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 |