Package: automake1.8
Version: 1.8.5+nogfdl-2
Severity: wishlist
Tags: patch
Usertags: autoconf-warning

Hi,

When using «autoreconf -fi -Wall» the m4 provided files trigger
autoconf warnings, which is quite annoying as it makes it more
difficult to see what are the warnings on your configure.ac or m4
files.

The attached patch fixes this.

regards,
guillem
--- m4/options.m4	2003-06-02 10:08:40.000000000 +0300
+++ m4/options.m4	2007-04-09 20:26:26.000000000 +0300
@@ -34,7 +34,7 @@ AC_DEFUN([_AM_SET_OPTION],
 # ----------------------------------
 # OPTIONS is a space-separated list of Automake options.
 AC_DEFUN([_AM_SET_OPTIONS],
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+[m4_foreach_w([_AM_Option],[$1],[_AM_SET_OPTION(_AM_Option)])])
 
 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
 # -------------------------------------------

Reply via email to