Commit 712afbac authored by Philip Withnall's avatar Philip Withnall
Browse files

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
parent 3c04bf88
AC_INIT([Hitori],[3.16.1],[https://bugzilla.gnome.org/enter_bug.cgi?product=hitori],[hitori],[https://wiki.gnome.org/Apps/Hitori])
AX_IS_RELEASE([git-directory])
AM_INIT_AUTOMAKE([check-news dist-xz no-dist-gzip subdir-objects])
AC_CONFIG_HEADERS([config.h])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment