[Fso] [PATCH] configure.ac: don't use dash in m4 macro names

Martin Jansa martin.jansa at gmail.com
Tue May 5 13:44:46 CEST 2015


* otherwise it doesn't get expanded and vala-dbus-binding-tool ends with version 'vala-dbus-binding-tool_version'

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 configure.ac | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 48f007c..18d0bde 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,9 @@
-m4_define([vala-dbus-binding-tool_released], [0])
-m4_define([vala-dbus-binding-tool_base_version], [1.0])
-m4_define([vala-dbus-binding-tool_maybe_gitrev], m4_if(vala-dbus-binding-tool_released, [1], [], [m4_esyscmd([git show-ref --hash=5 HEAD | tr -d '\n\r'])]))
-m4_define([vala-dbus-binding-tool_version], m4_if(vala-dbus-binding-tool_released, [1], [vala-dbus-binding-tool_base_version], [vala-dbus-binding-tool_base_version-vala-dbus-binding-tool_maybe_gitrev]))
+m4_define([vala_dbus_binding_tool_released], [0])
+m4_define([vala_dbus_binding_tool_base_version], [1.0])
+m4_define([vala_dbus_binding_tool_maybe_gitrev], m4_if(vala_dbus_binding_tool_released, [1], [], [m4_esyscmd([git show-ref --hash=5 HEAD | tr -d '\n\r'])]))
+m4_define([vala_dbus_binding_tool_version], m4_if(vala_dbus_binding_tool_released, [1], [vala_dbus_binding_tool_base_version], [vala_dbus_binding_tool_base_version-vala_dbus_binding_tool_maybe_gitrev]))
 
-AC_INIT([vala-dbus-binding-tool], [vala-dbus-binding-tool_version], [fso at openphoenux.org], [vala-dbus-binding-tool])
+AC_INIT([vala-dbus-binding-tool], [vala_dbus_binding_tool_version], [fso at openphoenux.org], [vala-dbus-binding-tool])
 AC_CONFIG_SRCDIR([src/Makefile.am])
 AC_CONFIG_HEADERS(config.h)
 AM_INIT_AUTOMAKE([dist-bzip2])
-- 
2.3.5



More information about the Fso mailing list