You can make it older automake safe by adding the following rule in your
configure.ac:

m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

It doesn't matter to me (we anyway use 1.11 for MPICH2), but it might be
convenient for other users.

 -- Pavan

On 10/23/2009 06:50 AM, Brice Goglin wrote:
> I'd like to require automake 1.11 for hwloc 1.0 so that we get the new
> silent-rules feature. It gives you "CC foo.o" instead of the too-long
> unreadable compile line (if you do make V=0 or configure with
> --enable-silent-rules). Patch below.
> 
> Does anybody have anything against this?
> 
> Brice
> 
> --- configure.ac    (revision 1231)
> +++ configure.ac    (working copy)
> @@ -19,7 +19,7 @@
>  AC_CANONICAL_SYSTEM
>  AC_CONFIG_SRCDIR([src/topology.c])
>  
> -AM_INIT_AUTOMAKE([1.10 dist-bzip2 foreign tar-ustar -Wall -Werror])
> +AM_INIT_AUTOMAKE([1.11 dist-bzip2 foreign tar-ustar silent-rules -Wall
> -Werror])
>  
>  # Make configure depend on the VERSION file, since it's used in AC_INIT
>  
> 
> _______________________________________________
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji

Reply via email to