m4: prepend m4 builtins with "m4_"
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 6 May 2012 08:15:59 +0000 (10:15 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 6 May 2012 08:15:59 +0000 (10:15 +0200)
commit37267407001d025b48648c4fbcf5b3f16072fcc1
tree0c77e39cb379622b27626c9481f61e8664b7c51a
parentbd75e7a8901e4df8730a7a9a4bf0f7fbe5a511ae
m4: prepend m4 builtins with "m4_"

The comments in 'lib/autoconf/autoconf.m4' from Autoconf 2.69 read:

  We discourage the use of the non prefixed macro names: M4sugar maps
  all the builtins into 'm4_'.  Autoconf has been converted to these
  names too.  But users may still depend upon these, so reestablish
  them.

Alas, in our init.m4 files, we were still using m4 builtins without
prefixing them with "m4_".  Not nice for a package that is one of the
major clients of Autoconf, and an integral part of the GNU Autotools!

Fix the issue.

* m4/init.m4 (AM_INIT_AUTOMAKE): Use 'm4_define' and 'm4_defn' instead
of 'define' and 'defn'.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
m4/init.m4