annotate src/portaudio_20140130/bindings/cpp/configure.ac @ 39:7ddb4fc30dac

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