In r13510 I had neglected to build with all local libraries and some of
them needed attention.
So, I also took the opportunity to work out the locale directory and
how to keep it unmolested as well. As a result, all locales are rebuilt
as expected, but into the "build" directory.
As a bonus you may now test Audacity from the "build" directory and have
Nyquist plugins and message catalogs available (so you can test other
languages again without havint to install).
So, again:
mkdir buildme
cd buildme
../configure
make
./audacity
You may now do:
mkdir build
cd build
../configure
./audacity
And all but one directory will remain unmolested...no more object files
in "src".
And if you look carefully, you'll see that the newly built "audacity" is
copied to the top of the build tree...no more having to use "src/audacity"
to run.
You can of course still do the configure from the top and get all of the
objects strewn about the tree.
I still haven't figured out how to keep the locale directory from getting
soiled. I'm not really sure there's a way around it really.
The automake manual says: "the contents of a non-empty AM_TESTS_ENVIRONMENT
must be terminated by a semicolon." Without the semicolon, the perl command
will indefinitely wait for input from stdin.
The all target should not try to build targets that are disabled by configure.
Otherwise make will try to build the programs (even if you disabled them) and
fail if libsndfile was not found.
We will need a working all target when we want to use automake for Audacity.
src/vamp-hostsdk/PluginLoader.cpp uses the dlopen function. On some platforms
you have to link against dl for this function. configure checks for dlopen
and adds -ldl to LIBS if you have to link against dl. We need to pass this
LIBS variable when linking the hostsdk library.
1) Revert "Reintroduce patch for building local libvorbis with local libogg." (r12914)
2) Remove acinclude.m4 and regenerate autotool files to use a newer
pkg-config checking macro to get the override facility.
3) Override pkg-config check for libogg by specifying OGG_CFLAGS and OGG_LIBS.