[metacity] configure.ac: reformat/redo version info and autoconf initialization
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] configure.ac: reformat/redo version info and autoconf initialization
- Date: Sun, 20 Sep 2015 18:09:03 +0000 (UTC)
commit 0b4789560edbfdb0efa594e8a952beafd5c6a70f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Sep 20 01:23:28 2015 +0300
configure.ac: reformat/redo version info and autoconf initialization
configure.ac | 30 +++++++++++++++++++++---------
1 files changed, 21 insertions(+), 9 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 61d58ad..aec1ffb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,14 +1,26 @@
-m4_define([metacity_major_version], [3])
-m4_define([metacity_minor_version], [17])
-m4_define([metacity_micro_version], [2])
+dnl **************************************************************************
+dnl Define version info
+dnl **************************************************************************
+
+m4_define([m_major_version], [3])
+m4_define([m_minor_version], [17])
+m4_define([m_micro_version], [2])
+m4_define([m_version], [m_major_version.m_minor_version.m_micro_version])
-m4_define([metacity_version],
- [metacity_major_version.metacity_minor_version.metacity_micro_version])
-AC_INIT([metacity], [metacity_version],
- [http://bugzilla.gnome.org/enter_bug.cgi?product=metacity])
+dnl **************************************************************************
+dnl Define bugzilla address
+dnl **************************************************************************
+
+m4_define([m_bugzilla_url],
+ [https://bugzilla.gnome.org/enter_bug.cgi?product=metacity])
+
+dnl **************************************************************************
+dnl Initialize autoconf
+dnl **************************************************************************
-AC_CONFIG_SRCDIR(src/core/display.c)
-AC_CONFIG_HEADERS(config.h)
+AC_INIT([metacity], [m_version], [m_bugzilla_url])
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_SRCDIR([src/core/display.c])
dnl **************************************************************************
dnl Set release policy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]