Using autogen I received many warnings and I am not confident the output is ok. The problem seems to be the input files for autogen and the instructions. As I am no autogen or automake expert, I copy the output verbatim and hope you guys are able to figure out whether it needs changing.
[gbonnema@mahatma c]$ ./autogen.sh
aclocal
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader
libtoolize --copy --force
libtoolize: putting auxiliary files in .'.
libtoolize: copying file
./ltmain.sh'
libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding
-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
automake -a -c
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:9: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:12: installing './compile'
configure.in:13: installing './config.guess'
configure.in:13: installing './config.sub'
configure.in:9: installing './install-sh'
configure.in:9: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/ta_abstract/Makefile.am:4: warning: source file 'frames/ta_frame.c' is in a subdirectory,
src/ta_abstract/Makefile.am:4: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/ta_abstract/Makefile.am:4: warning: source file 'tables/table_a.c' is in a subdirectory,
src/ta_abstract/Makefile.am:4: but option 'subdir-objects' is disabled
src/ta_abstract/Makefile.am:4: warning: source file 'tables/table_b.c' is in a subdirectory,
src/ta_abstract/Makefile.am:4: but option 'subdir-objects' is disabled
src/ta_abstract/Makefile.am:4: warning: source file 'tables/table_c.c' is in a subdirectory,
src/ta_abstract/Makefile.am:4: but option 'subdir-objects' is disabled
..... many repetitions of the last 2 lines ....
I've fixed these bugs in my fork. They seems to be harmless and doesn't affect project build much.
You can just do what autogen suggests.
1. Rename configure.in to configure.ac
2. Add
ACLOCAL_AMFLAGS = -I m4
to Makefile.am3. Add
AC_CONFIG_MACRO_DIR([m4])
to configure.acI think that's all I've done.