diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2013-06-24 11:22:57 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2013-06-24 17:18:28 +0200 |
commit | 715c99d286876cd01b787b8810c062f66f3e3f0b (patch) | |
tree | 36f0596a7d092b1aa44d13a199153000fe9f08a5 | |
parent | b473f9e1f5f8d4c606ff80191db0c525dc923bd7 (diff) |
automake: Disable portability warnings
When they are enabled, autogen.sh fails with:
automake: warnings are treated as errors
gtk-doc.make:77: warning: GTK_DOC_V_SETUP_$(V: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:78: warning: GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:96: warning: GTK_DOC_V_SCAN_$(V: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:97: warning: GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:100: warning: GTK_DOC_V_INTROSPECT_$(V: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:101: warning: GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:132: warning: GTK_DOC_V_XML_$(V: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:133: warning: GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:149: warning: GTK_DOC_V_HTML_$(V: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:150: warning: GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:153: warning: GTK_DOC_V_XREF_$(V: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:154: warning: GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:185: warning: GTK_DOC_V_PDF_$(V: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
gtk-doc.make:186: warning: GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
doc/reference/Makefile.am:59: 'gtk-doc.make' included from here
autoreconf: automake failed with exit status: 1
on my F19.
-Wportability used to be automatically disabled with automake <= 1.12 when using
silent rules, but this is no longer the case with automake 1.13 which is what
fedora 19 uses: http://www.flameeyes.eu/autotools-mythbuster/automake/silent.html
"As of version 1.13, though, this opt-in is no longer necessary, as all the
Makefiles are generated to support them. The silent-rules option is now a
no-op, doing nothing at all, in particular not silencing the portability
warnings."
This commit disables these warnings in order to avoid autogen.sh breakage
because of the use of -Werror, they can be reenabled once gtk-doc.make is
fixed to avoid these portability warnings.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8ab5b6b..bd59ccf 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,7 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADER([config.h]) AC_CONFIG_AUX_DIR([build-aux]) -AM_INIT_AUTOMAKE([foreign dist-bzip2 -Wall -Werror]) +AM_INIT_AUTOMAKE([foreign dist-bzip2 -Wall -Werror -Wno-portability]) m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) LT_INIT AM_MAINTAINER_MODE |