4 ms·
Because it's just a bunch of macros. To create an aggregated list, they would all have to, instead of printing out what they want, add their info to some global
by andrewflnr 13y ago
Because it's just a bunch of macros. To create an aggregated list, they would all have to, instead of printing out what they want, add their info to some global variable, whose name they all agree on in advance and probably with some kind of standard format. Which isn't to say it couldn't be done, but it would be much more complicated.
- mansr 13y agoIt wouldn't take much at all to have the AC_ERROR macro append the message to a global variable, set a global error flag, and continue. At the end of the script, if the error flag is set, the aggregated error messages would be printed. The variable names would only need to be coordinated between AC_ERROR and one other macro called at the end.