Re: Is autoupdate supposed to scan comments?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to NightStrike on 2/18/2008 10:40 PM:
| I have a configure.ac file with a line like this:
|
| #AC_CANONICAL_SYSTEM is obsolete
|
| When I run autoupdate, it changes that line to read:
|
| #AC_CANONICAL_TARGET is obsolete
|
|
| Shouldn't autoupdate ignore comments when scanning for macro names
| that need to updating?

I'm not sure that this is wise, since how do you tell a true m4 comment
apart from quoted content like [#include <stdlib.h>]?  It might be
possible to patch autoupdate to no longer disable comments, but I don't
know how easy it would be, since autoupdate does quite a bit of m4 magic
in defining which macros exist at which time, nor do I know if it would
break other things.

|  Or am I doing something wrong?

No - for now, the fact that autoupdate disables all comments (or in other
words, updates the contents of comments) is intentional - look at
autoupdate, for the definition of __au_disable.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@xxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHuts084KuGfSFAYARAuDdAKCugpoq4JkHTmTl21wBLFT2cUFeCACgj4lQ
oFn2qs20H1DpHMBd1ctgNqQ=
=0T3+
-----END PGP SIGNATURE-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux