> You need to remember the path in which you installed automake and
> aclocal, and do something like
>
> cp glib/glib.m4 <that-prefix>/share/aclocal/glib.m4
>
> Dude, put that in the FAQ :-), and keep in mind that you will probably
> also need to do
>
> cp gtk+/gtk.m4 <that-prefix>/share/aclocal/gtk.m4
I normally have automake and gnome installed in different places, so
to avoid copying the .m4 stuff over, I do
ACLOCAL_FLAGS='-I /opt/gnome/share/aclocal' ./autogen.sh --prefix=/opt/gnome
Federico