Aubio patches to fix a number of Linux build issues.

Mo DeJong mdejong at
Tue Aug 9 00:28:54 CEST 2005

On Mon, 8 Aug 2005 15:21:17 -0700
Mo DeJong <mdejong at> wrote:

> Hello all
> I just went through the slightly frustrating experience of trying to compile
> aubio on my Linux box. There were a number of build related issues.
> I have attached a patch that fixes these issues.
> First, building outside the source tree does not work with the aubio-0.1.8
> release. The attached patch uses the proper path names in the Makefiles
> to get that working.

Oops, I hit send before finishing the description of what the patch did.

The patch removes the aubio-0.1.8/src/config.h file, this is needed so
that the config.h generated during the build will be seen correctly
when building outside the srcdir. I guess the old approach was to
assume that config.h would be overwritten, but that is not a valid
assumption for all builds. Removing the config.h from the source dir
is the right fix.

The patch adds AM_MAINTAINER_MODE to the script.
This is needed to keep the delivered .tar.gz file from rebuilding the
generated files when timestamps don't match up. It is a bad idea to
give out tar files that require autoconf, automake, and so on to build.

The patch adds a acinclude.m4 that contains pkg-config macros. These
are required by the build process but they are not shipped with the
tar file. Again, the broken build code will make it very hard for folks
to build aubio.

I also added some checks for c99 varargs macro support since my
compiler does not like these. The patch will use gcc style varargs
macros when no c99 macro support is available.

A full regen via bootstrap is needed after adding these patches.

I hope that helps
Mo DeJong

To unsubscribe, send mail to aubio-unsubscribe at

More information about the aubio-user mailing list