[geocode-glib] build: Add AX_IS_RELEASE



commit 0e2efdbaa043896819b2e2803feb07f7f6a09f86
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Thu Oct 13 12:23:25 2016 +0100

    build: Add AX_IS_RELEASE
    
    Automatically turn on or off various release-dependent configure options
    based on whether a git directory is present. If it’s present, we assume
    we’re doing development, so fatal warnings (etc.) are turned on.
    Otherwise, we assume it’s a release and they are turned off.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756311

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 091c7b7..4d8416b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,6 +8,7 @@ AC_INIT([geocode-glib],
         [gclib_version_major.gclib_version_minor.gclib_version_micro],
         [http://bugzilla.gnome.org/enter_bug.cgi?product=geocode-glib],
         [geocode-glib])
+AX_IS_RELEASE([git-directory])
 
 AC_CONFIG_SRCDIR([geocode-glib/test-gcglib.c])
 AC_CONFIG_HEADERS([config.h])


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