[Openais] [PATCH] build: silence automake portability warnings
Jan Friesse
jfriesse at redhat.com
Wed Jun 17 03:34:34 PDT 2009
Jim,
OpenAIS need some love too.
Jim Meyering wrote:
> Without this patch, running automake provokes this:
>
> exec/Makefile.am:66: SHARED_LIBS:%.so.$(SONAME: non-POSIX variable name
> exec/Makefile.am:67: SHARED_LIBS:%.so.$(SONAME: non-POSIX variable name
> exec/Makefile.am:77: `%'-style pattern rules are a GNU make extension
> exec/Makefile.am:97: `%'-style pattern rules are a GNU make extension
> lcr/Makefile.am:53: `%'-style pattern rules are a GNU make extension
> lcr/Makefile.am:56: `%'-style pattern rules are a GNU make extension
> lib/Makefile.am:78: `%'-style pattern rules are a GNU make extension
> lib/Makefile.am:101: `%'-style pattern rules are a GNU make extension
> man/Makefile.am:104: `%'-style pattern rules are a GNU make extension
> pkgconfig/Makefile.am:42: `%'-style pattern rules are a GNU make extension
> pkgconfig/Makefile.am:53: `%'-style pattern rules are a GNU make extension
> services/Makefile.am:53: `%'-style pattern rules are a GNU make extension
> services/Makefile.am:56: `%'-style pattern rules are a GNU make extension
> services/Makefile.am:59: `%'-style pattern rules are a GNU make extension
> services/Makefile.am:62: `%'-style pattern rules are a GNU make extension
> services/Makefile.am:66: `%'-style pattern rules are a GNU make extension
>
> With the patch, automake is silent.
>
> From bf060985f84776afe89da02d1f9deff5eda4dacb Mon Sep 17 00:00:00 2001
> From: Jim Meyering <meyering at redhat.com>
> Date: Wed, 17 Jun 2009 11:08:36 +0200
> Subject: [PATCH] build: silence automake portability warnings
>
> * configure.ac: Enable automake's -Wno-portability option.
> We depend on GNU make.
> ---
> configure.ac | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index ea8313c..bec4b36 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -5,7 +5,7 @@
> AC_PREREQ([2.61])
>
> AC_INIT([corosync], [trunk], [openais at lists.osdl.org])
> -AM_INIT_AUTOMAKE
> +AM_INIT_AUTOMAKE([-Wno-portability])
>
> AC_CONFIG_SRCDIR([lib/coroipcc.c])
> AC_CONFIG_HEADER([include/corosync/config.h include/corosync/cs_config.h])
> --
> 1.6.3.2.406.gd6a466
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais
More information about the Openais
mailing list