[gjs] build: Use AX_IS_RELEASE
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] build: Use AX_IS_RELEASE
- Date: Fri, 30 Sep 2016 20:04:54 +0000 (UTC)
commit a38614d63a083bdb7327ab1ec85875f16ad6c018
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
https://bugzilla.gnome.org/show_bug.cgi?id=772027
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]