[gjs/wip/ptomato/autotools: 2/16] build: Use AX_IS_RELEASE



commit 4c640c657f2d8675bb3b3c42a5af759539af4238
Author: Philip Chimento <philip chimento gmail com>
Date:   Mon Sep 26 20:34:38 2016 -0700

    build: Use AX_IS_RELEASE
    
    Check for the presence of a git repository to determine whether things
    like compiler warnings should be fatal. The warnings themselves will be
    hooked up later.
    
    This adds an implicit dependency on autoconf-archive or GNOME’s
    m4-common. These are pulled in by JHBuild, and the relevant macros are
    automatically distributed in tarballs — so the dependencies only need to
    be explicitly installed if you are building from git without using
    JHBuild. This is an unsupported use case.
    
    Note that AC_CONFIG_MACRO_DIR() has already been added to configure.ac.
    
    https://wiki.gnome.org/Projects/GnomeCommon/Migration

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3e43109..e1ba7eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,6 +10,7 @@ m4_define(pkg_int_version, (pkg_major_version * 100 + pkg_minor_version) * 100 +
 AC_PREREQ(2.61)
 AC_INIT([gjs], pkg_version, [http://bugzilla.gnome.org/enter_bug.cgi?product=gjs])
 AM_INIT_AUTOMAKE([dist-xz no-dist-gzip tar-ustar])
+AX_IS_RELEASE([git-directory])
 AC_CONFIG_SRCDIR([gjs/console.cpp])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADER([config.h])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]