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