|
Re: Automake includes bug: msg#00109sysutils.automake.general
Bob Friesenhahn <bfriesen@xxxxxxxxxxxxxxxxxxx> writes: > Using Automake 1.9.1 & Perl 5.8.4 there is a bug with file inclusion. > > Out of the lines: > > include $(srcdir)/config/Makefile.ami > include $(srcdir)/ltdl/Makefile.ami > include $(srcdir)/magick/Makefile.ami > include $(srcdir)/coders/Makefile.ami > include $(srcdir)/filters/Makefile.ami > include $(srcdir)/Magick++/Makefile.ami > include $(srcdir)/wand/Makefile.ami > include $(srcdir)/utilities/Makefile.ami > > all of the inclusions work correctly except for the line > > include $(srcdir)/Magick++/Makefile.ami > > which is transposed directly into the Makefile.in file without otherwise > being processed by Automake. > > Is there a fix or workaround for this other than altering the source tree > or moving the file? Here is a patch: 2004-08-30 Andreas Schwab <schwab@xxxxxxx> * automake.in ($PATH_PATTERN): Add `+'. Index: automake.in =================================================================== RCS file: /cvs/automake/automake/automake.in,v retrieving revision 1.1577 diff -u -p -a -u -p -a -r1.1577 automake.in --- automake.in 8 Aug 2004 19:05:13 -0000 1.1577 +++ automake.in 30 Aug 2004 08:39:04 -0000 @@ -187,7 +187,7 @@ my $ELSE_PATTERN = '^else(?:\s+(!?)\s*([A-Za-z][A-Za-z0-9_]*))?\s*(?:#.*)?' . "\$"; my $ENDIF_PATTERN = '^endif(?:\s+(!?)\s*([A-Za-z][A-Za-z0-9_]*))?\s*(?:#.*)?' . "\$"; -my $PATH_PATTERN = '(\w|[/.-])+'; +my $PATH_PATTERN = '(\w|[+/.-])+'; # This will pass through anything not of the prescribed form. my $INCLUDE_PATTERN = ('^include\s+' . '((\$\(top_srcdir\)/' . $PATH_PATTERN . ')' Andreas. -- Andreas Schwab, SuSE Labs, schwab@xxxxxxx SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Automake includes bug: 00109, Bob Friesenhahn |
|---|---|
| Next by Date: | Re: Automake includes bug: 00109, Bob Friesenhahn |
| Previous by Thread: | Automake includes bugi: 00109, Bob Friesenhahn |
| Next by Thread: | Re: Automake includes bug: 00109, Bob Friesenhahn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |