> ACLOCAL_AMFLAGS = -I config
In the file project/config/x11_ext.m4 I need to reuse some code from the file project/config/x11.m4 and so in the file project/config/x11_ext.m4 I have this line:
> m4_include([x11.m4])
Now I want to reconfigure the project and so I execute in the project directory:
> ~project >autoreconf -i
I get this:
> ~/project >autoreconf -i > configure.in:482: /usr/bin/m4: Cannot open x11.m4: No such file or > directory > autom4te: /usr/bin/m4 failed with exit status: 1 > aclocal: autom4te failed with exit status: 1 > autoreconf: aclocal failed with exit status: 1
However, when my inclusion line is this:
> m4_include([config/x11.m4])
then I get the following error:
> ~/project >autoreconf -i > config/x11_ext.m4:80: file `config/config/x11.m4' does not exist > autoreconf: aclocal failed with exit status: 1
I would appreciate your advice on how to fix this problem.
Thanks for reading.
Best, Irek