summaryrefslogtreecommitdiff
path: root/m4/options.m4
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-03-15 17:36:40 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-03-17 23:24:38 +0100
commit3c5d9e8f2d52ee108d6d8d885ce8856da8021917 (patch)
tree03fd39f53a6bdf47db33002b7f03d60a41671ce1 /m4/options.m4
parente57541cb67682c1eb6c8874a20a06b6aa9ef1b9d (diff)
downloadautomake-3c5d9e8f2d52ee108d6d8d885ce8856da8021917.tar.gz
cosmetics: better use of m4 quoting and m4sugar macros
* m4/dmalloc.m4: Better use of m4 quoting. Bump serial number. * m4/gcj.m4: Likewise. * m4/init.m4: Likewise. * m4/install-sh.m4: Likewise. * m4/lex.m4: Likewise. * m4/multi.m4: Likewise. * m4/option.m4: Likewise. * m4/python.m4: Likewise. * m4/sanity.m4: Likewise. * m4/cond.m4: Likewise. Also, prefer the m4sugar macro 'm4_if' over the plain m4 macro 'ifelse'. * m4/depend.m4: Likewise.
Diffstat (limited to 'm4/options.m4')
-rw-r--r--m4/options.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/options.m4 b/m4/options.m4
index 6824d84fa..efdc49d1c 100644
--- a/m4/options.m4
+++ b/m4/options.m4
@@ -1,13 +1,13 @@
# Helper functions for option handling. -*- Autoconf -*-
-# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
+# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010, 2011 Free Software
# Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 5
+# serial 6
# _AM_MANGLE_OPTION(NAME)
# -----------------------
@@ -18,7 +18,7 @@ AC_DEFUN([_AM_MANGLE_OPTION],
# --------------------
# Set option NAME. Presently that only means defining a flag for this option.
AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
# _AM_SET_OPTIONS(OPTIONS)
# ------------------------