Re: '#####' comment handling in aclocal

2008-04-19 Thread Peter Simons
Hi Ralf, > http://www.gnu.org/software/automake/manual/html_node/General-Operation.html Thank you for helping me out with that link. I changed the distribution format of the Autoconf Macro Archive to avoid '#' style comments. > IIRC the rationale is that one may want to have comments that

Re: '#####' comment handling in aclocal

2008-04-12 Thread Ralf Wildenhues
Hi Peter, * Peter Simons wrote on Sat, Apr 12, 2008 at 01:20:51PM CEST: > > It appears that aclocal strips those "# ..." comments while > copying the macros into the generated aclocal.m4 file. > > I was wondering whether this behavior is intentional and, > assuming that it is, what the ratio

'#####' comment handling in aclocal

2008-04-12 Thread Peter Simons
Hi, the Autoconf Macro Archive distributes m4 source codes that contain comment lines beginning with multiple '#' characters, i.e. five of them, as in the following example: http://autoconf-archive.cryp.to/acx_blas.m4 It appears that aclocal strips those "# ..." comments while copying the

Re: comment handling in aclocal ... bug or feature ?

2006-03-27 Thread Alexandre Duret-Lutz
>>> "MF" == Mike Frysinger <[EMAIL PROTECTED]> writes: MF> we hit a bunch of bugs in Gentoo because the dgs package installs a MF> path_dps.m4 file with a ton of helpful comments explaining how to use it ... MF> one such snippet looks like: MF> dnl [2] Put follwoing codes in the acinclud

Re: comment handling in aclocal ... bug or feature ?

2006-03-20 Thread Mike Frysinger
On Thursday 16 March 2006 19:04, Mike Frysinger wrote: > ive attached a patch which updates the comment handling in a few places > under the assumption that the behavior i'm seeing is a bug :) ok, previous patch was a little too aggressive ... it'd keep '#' comments from being output to the file

Re: comment handling in aclocal ... bug or feature ?

2006-03-20 Thread Mike Frysinger
On Thursday 16 March 2006 19:04, Mike Frysinger wrote: > ive attached a patch which updates the comment handling in a few places > under the assumption that the behavior i'm seeing is a bug :) seems the deletion of '#.*' is too aggressive ... updated patch removes just dnl comments now ... -mike

Re: comment handling in aclocal ... bug or feature ?

2006-03-16 Thread Mike Frysinger
On Thursday 16 March 2006 23:24, Ralf Wildenhues wrote: > Maybe even better if you test the other comment styles as well. attached -mike 2006-03-16 Mike Frysinger <[EMAIL PROTECTED]> * aclocal.in (scan_configure_dep): Ignore ## lines. (scan_file): Remove dnl and # comments. * tests/commen11.

Re: comment handling in aclocal ... bug or feature ?

2006-03-16 Thread Ralf Wildenhues
Hi Mike, * Mike Frysinger wrote on Fri, Mar 17, 2006 at 01:04:29AM CET: > > dnl include(path_dps.m4) > > the trouble is that aclocal finds the 'include(path_dps.m4)' file and then > tries to include it resulting in something like: This sounds definitely like a bug to me. > --- tests/com

comment handling in aclocal ... bug or feature ?

2006-03-16 Thread Mike Frysinger
we hit a bunch of bugs in Gentoo because the dgs package installs a path_dps.m4 file with a ton of helpful comments explaining how to use it ... one such snippet looks like: dnl [2] Put follwoing codes in the acinclude.m4 dnl include(path_dps.m4) dnl [3] Add path_dps.m4 to EXTRA_DIST i