Download the source for FAAD2 v2.5 on sourceforge : http://sourceforge.net/project/showfiles.php?group_id=704

Edit configure.in and remove the AC_CONFIG_FILES statements for the plugins and the frontend.

You might also have to comment the typdefs in common/mp4ff/mp4ff_int_types.h, in case of redefinition problems.

$ ./bootstrap
$ export HAVE_BMP_FALSE=1
$ ./configure --disable-drm --disable-mpeg4ip

It seems FAAD2 needs help installing itself, so you may need to manually move the files in the include directory to, say, /usr/local/include, and the same for the libfaad.a, libfaad.la files.

Note that as of 12/11/2007 the downloadable tarballs from sourceforge do not build. The safest way to build both faac and faad2 is to CVS them.