Tell automake to put object files in subdirectories.
authorRalph Giles <giles@mozilla.com>
Tue, 2 Aug 2011 18:43:43 +0000 (11:43 -0700)
committerRalph Giles <giles@mozilla.com>
Tue, 2 Aug 2011 18:43:43 +0000 (11:43 -0700)
commit2852cb1486ca68fe418bdebcda7ecc9581127b4d
tree9fdeb21985c6bf9df8ef8d947ba1ac3aa2416ef2
parent5840aaf26c83f0e6beff57ced047a31be995dd20
Tell automake to put object files in subdirectories.

Previously the autotools build litered whatever directory
'make' was invoked from with intermediate files. Adding
'subdir-objects' to AUTOMAKE_OPTIONS tells it to put them
in subdirectories according to the relative paths to the
source files, .i.e. silk/schur.o for $(srcdir)/silk/schur.c

The change to autogen.sh is necessary to handle the
(apparently new) case where an AUTOMAKE_OPTIONS line is
given without a minimum version number.
Makefile.am
autogen.sh
configure.ac