bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automake fails to correctly parse configure.in


From: Roger Leigh
Subject: automake fails to correctly parse configure.in
Date: 02 Aug 2001 17:15:59 +0100

I am using autoconf 2.50 with automake 1.4-p2, and get the following
failure:

address@hidden:/tmp/test$ automake --verbose
automake: reading configure.in
automake: reading aclocal.m4
automake: reading Makefile.am
configure.in: 923: required file `./translit([$1.in' not found
automake: creating Makefile.in

The problem lies in this line in a macro:
AC_CONFIG_FILES(translit([$1], [A-Z], [a-z])-config, chmod +x translit([$1], 
[A-Z], [a-z])-config)

The filename is generated from a parameter given to the macro, so if
the macro were expanded, the real filename would be seen.  I'm not
sure why automake even requires the information; presumably to put in
a distclean rule, but it's by no means essential.

Is there any way around this problem e.g. by writing m4 in a different
style?

Regards,
Roger

-- 
Roger Leigh ** Registration Number: 151826, http://counter.li.org **
Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/
For GPG Public Key: finger address@hidden or see public keyservers.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]