This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 07-prog-error.patch



| Akim> +		&prog_error ("version is incorrect: $VERSION")
| Akim> +		    if ($VERSION !~ /([0-9]+)\.([0-9]+)([a-z])?/);
| 
| The automake style is to write trailing `if's without parens:
| 
| +		&prog_error ("version is incorrect: $VERSION")
| +		    if $VERSION !~ /([0-9]+)\.([0-9]+)([a-z])?/;
| 
| (unless the condition requires a line break, then parens are added so
| that tab will work -- sort of like the GNU style for C)
| 
| Could you make this change?

Sure!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]