diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-08-11 23:03:06 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-08-11 23:03:06 +0000 |
commit | 8bec02eb33779b2232bd9f1728b71cbdcde3ad3f (patch) | |
tree | 4354b16d1db3eb30ed9bcca4666883c82c8599b3 /macosx-setup.sh | |
parent | 765c81a932c12dcbfb0d0401dd435925facc517c (diff) |
Add some patches to make PortAudio build with the macosx-setup.sh
script.
svn path=/trunk/; revision=44446
Diffstat (limited to 'macosx-setup.sh')
-rwxr-xr-x | macosx-setup.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/macosx-setup.sh b/macosx-setup.sh index 728efc364c..c16323c567 100755 --- a/macosx-setup.sh +++ b/macosx-setup.sh @@ -396,6 +396,28 @@ then curl -L -O http://www.portaudio.com/archives/$PORTAUDIO_VERSION.tgz || exit 1 tar xf $PORTAUDIO_VERSION.tgz || exit 1 cd portaudio + # + # Fix some problems with Xcode 4 and PortAudio's configure + # script - patch the configure script and rebuild it. + # + # "autoreconf -if" is what the PortAudio README.configure.txt + # file says to use; I'm guessing it's required in order to + # adapt to the libtool *you* have installed rather than the + # one installed on the machine on which the PortAudio tarball + # was built. + # + # However, it appears that, as PortAudio doesn't use + # automake, it removes config.guess and config.sub and + # *doesn't replace them* as it doesn't run "automake --add-missing". + # We therefore do so ourselves. + # + patch -p0 configure.in <../../macosx-support-lib-patches/portaudio-configure.in.patch + autoreconf -if + automake --add-missing + # + # And also un-comment an include that's required on Lion. + # + patch -p0 include/pa_mac_core.h <../../macosx-support-lib-patches/portaudio-pa_mac_core.h.patch ./configure || exit 1 make -j 3 || exit 1 $DO_MAKE_INSTALL || exit 1 |