GNOME Bugzilla – Bug 780862
autotools: Use AM_DISTCHECK_CONFIGURE_FLAGS
Last modified: 2017-04-03 14:31:10 UTC
Since automake 1.11.2 it is recommended that packages use AM_DISTCHECK_CONFIGURE_FLAGS instead of DISTCHECK_CONFIGURE_FLAGS as the latter is intended to be a user variable. We had this in endless for a while already, it's probably a good idea to apply it upstream now. See https://github.com/endlessm/gdm/commit/83bf7e9773ca79dcd9b42472a47a6f84e87ac319#diff-67e997bcfdac55191033d57a16d1408a
Created attachment 349160 [details] [review] Patch proposal attached (from Sam Spilsbury)
Comment on attachment 349160 [details] [review] Patch proposal attached (from Sam Spilsbury) >From b89e0beaf4e59bb7ee988a210e2e952d8f6bc115 Mon Sep 17 00:00:00 2001 >From: Sam Spilsbury <smspillaz@gmail.com> >Date: Tue, 21 Jul 2015 08:14:59 +0800 >Subject: [PATCH] Makefile: Move to AM_DISTCHECK_CONFIGURE_FLAGS > >Since automake 1.11.2 it is recommended that packages >use AM_DISTCHECK_CONFIGURE_FLAGS instead of >DISTCHECK_CONFIGURE_FLAGS as the latter is intended >to be a user variable. >--- > Makefile.am | 2 +- > configure.ac | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Makefile.am b/Makefile.am >index fa3bdcc..d3c46c8 100644 >--- a/Makefile.am >+++ b/Makefile.am >@@ -30,4 +30,4 @@ EXTRA_DIST = \ > DISTCLEANFILES = \ > $(NULL) > >-DISTCHECK_CONFIGURE_FLAGS = --enable-split-authentication --enable-introspection >+AM_DISTCHECK_CONFIGURE_FLAGS = --enable-split-authentication --enable-introspection >diff --git a/configure.ac b/configure.ac >index 060816d..d9a5b5c 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -6,7 +6,7 @@ AC_INIT([gdm], > > AC_CONFIG_SRCDIR([daemon/gdm-manager.c]) > >-AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-xz tar-ustar -Wall]) >+AM_INIT_AUTOMAKE([1.11.2 no-dist-gzip dist-xz tar-ustar -Wall]) > m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) > AM_MAINTAINER_MODE([enable]) > >-- >2.9.3 >
Created attachment 349170 [details] [review] Patch proposal attached (from Sam Spilsbury) Please ignore the previous comment (and sorry for the spam).
Review of attachment 349170 [details] [review]: sure!
Thanks, fixed in master: https://git.gnome.org/browse/gdm/commit/?id=8918b0b52c0848be5a4f9f17a5b634a99da3c8f6