This is the mail archive of the
automake-prs@sources.redhat.com
mailing list for the automake project.
Re: automake/450: aclocal chokes on files explicitly included into configure.ac
- From: adl at sources dot redhat dot com
- To: adl at sources dot redhat dot com, automake-prs at sources dot redhat dot com, peb at mppmu dot mpg dot de, tromey at redhat dot com
- Date: 1 Mar 2005 11:51:31 -0000
- Subject: Re: automake/450: aclocal chokes on files explicitly included into configure.ac
- Reply-to: adl at sources dot redhat dot com, adl at sources dot redhat dot com, automake-prs at sources dot redhat dot com, peb at mppmu dot mpg dot de, tromey at redhat dot com, automake-gnats at sources dot redhat dot com
Synopsis: aclocal chokes on files explicitly included into configure.ac
Responsible-Changed-From-To: tromey->adl
Responsible-Changed-By: adl
Responsible-Changed-When: Tue Mar 1 11:51:31 2005
Responsible-Changed-Why:
.
State-Changed-From-To: closed->open
State-Changed-By: adl
State-Changed-When: Tue Mar 1 11:51:31 2005
State-Changed-Why:
Thanks for the test case. I'll look into this.
Fixing your example is easy, though. Simply rewrite
sinclude([common.ac]) as MY_COMMON and define the contents
of common.ac as the MY_COMMON macro. Then run `aclocal -I .' (or wherever you put common.ac), and let it do the m4_include for you. There is almost no reason to do handwritten includes nowadays.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=automake&pr=450