Objective-C support in automake >= 1.6 is broken.
When project contains *.m sources (Objective-C), automake wants OBJCDEPMOD
variable to be defined. This variable can only be defined with
_AM_DEPENDENCIES(OBJC) macro. This macro documented as "private macros you
should not call directly"
There is no any documented way to define OBJCDEPMOD.
On the other side, where is gcj.m4 file, that defines AM_PROG_GCJ macro. This
macro defines GCJ, GCJFLAGS and GCJDEPMOD variables.
Created attachment 401 [details]
Objective-C compiles support via AM_PROG_OBJC (aclocal)
Applied in automake_1.8-1.8.3-alt3.
The file did not make it to the installed files.
You have to add it to dist_m4data_DATA variable in m4/Makefile to have it installed.
It was fixed a long time ago.