[gnome-builder] library-template: Fix macro quoting in configure.ac
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] library-template: Fix macro quoting in configure.ac
- Date: Thu, 11 Feb 2016 10:50:41 +0000 (UTC)
commit e6d4e108338f125191b6125f857c9d3b738c11d3
Author: Philip Withnall <philip withnall collabora co uk>
Date: Sun Jan 31 11:10:15 2016 +0100
library-template: Fix macro quoting in configure.ac
To keep this pedant happy. I can’t explain why it’s better than before.
https://bugzilla.gnome.org/show_bug.cgi?id=761356
.../library_template/shared-library/configure.ac | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/plugins/library-template/library_template/shared-library/configure.ac
b/plugins/library-template/library_template/shared-library/configure.ac
index b3caf92..0eaebd7 100644
--- a/plugins/library-template/library_template/shared-library/configure.ac
+++ b/plugins/library-template/library_template/shared-library/configure.ac
@@ -20,7 +20,7 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([data/{{name}}-1.0.pc.in])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
-AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
+AC_SUBST([ACLOCAL_AMFLAGS], "-I m4")
AC_CANONICAL_HOST
@@ -30,9 +30,9 @@ dnl ***********************************************************************
MAJOR_VERSION=major_version
MINOR_VERSION=minor_version
MICRO_VERSION=micro_version
-AC_SUBST(MAJOR_VERSION)
-AC_SUBST(MINOR_VERSION)
-AC_SUBST(MICRO_VERSION)
+AC_SUBST([MAJOR_VERSION])
+AC_SUBST([MINOR_VERSION])
+AC_SUBST([MICRO_VERSION])
dnl ***********************************************************************
@@ -48,7 +48,7 @@ dnl ***********************************************************************
dnl Internationalization
dnl ***********************************************************************
GETTEXT_PACKAGE=AC_PACKAGE_TARNAME
-AC_SUBST(GETTEXT_PACKAGE)
+AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [GETTEXT package name])
AM_GNU_GETTEXT_VERSION([0.19.6])
@@ -84,9 +84,9 @@ dnl ***********************************************************************
dnl Add extra debugging with --enable-debug
dnl ***********************************************************************
m4_define([debug_default],[m4_if(m4_eval(minor_version%2),[1],[yes],[minimum])])
-AC_ARG_ENABLE(debug,
- AS_HELP_STRING([--enable-debug=@<:@no/minimum/yes@:>@],
- [turn on debugging @<:@default=debug_default@:>@]),
+AC_ARG_ENABLE([debug],
+ [AS_HELP_STRING([--enable-debug=@<:@no/minimum/yes@:>@],
+ [turn on debugging @<:@default=debug_default@:>@])],
,
enable_debug=debug_default)
AS_CASE(["$enable_debug"],
@@ -103,7 +103,7 @@ AS_CASE(["$enable_debug"],
CFLAGS="$CFLAGS -DG_DISABLE_CAST_CHECKS"
],
[])
-AC_SUBST(CFLAGS)
+AC_SUBST([CFLAGS])
dnl ***********************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]