* bin/autom4te (handle_m4): Apply shell_quote to macro names.
* tests/tools.at (autom4te --trace and unusual macro names): New
test.
* THANKS: Update.
Signed-off-by: Eric Blake <ebb9@byu.net>
+2009-01-27 Peter Breitenlohner <peb@mppmu.mpg.de> (tiny change)
+
+ Quote traced macros passed from autom4te to M4.
+ * bin/autom4te (handle_m4): Apply shell_quote to macro names.
+ * tests/tools.at (autom4te --trace and unusual macro names): New
+ test.
+ * THANKS: Update.
+
2009-01-26 Eric Blake <ebb9@byu.net>
Improve AC_DEFUN_ONCE semantics.
Paul Townsend ?
Pavel Roskin pavel_roskin@geocities.com
Per Øyvind Karlsen peroyvind@mandriva.org
+Peter Breitenlohner peb@mppmu.mpg.de
Peter Eisentraut peter_e@gmx.net
Peter Hendrickson pdh@wiredyne.com
Peter O'Gorman peter@pogma.com
coding: utf-8
End:
-Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
-Free Software Foundation, Inc.
+Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+2008, 2009 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
if 0;
# autom4te - Wrapper around M4 libraries.
-# Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008 Free Software
-# Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009 Free
+# Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
. ' --debug=aflq'
. (!exists $ENV{'AUTOM4TE_NO_FATAL'} ? ' --fatal-warning' : '')
. " @M4_DEBUGFILE@=" . shell_quote ("$tcache" . $req->id . "t")
- . join (' --trace=', '', sort @macro)
+ . join (' --trace=', '', map { shell_quote ($_) } sort @macro)
. " " . files_to_options (@ARGV)
. " > " . shell_quote ("$ocache" . $req->id . "t"));
AT_BANNER([Executables (autoheader, autoupdate...).])
-# Copyright (C) 2000, 2001, 2003, 2004, 2006, 2007, 2008 Free Software
-# Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003, 2004, 2006, 2007, 2008, 2009 Free
+# Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
AT_CLEANUP
+# autom4te --trace and unusual macro names
+# ----------------------------------------
+
+AT_SETUP([autom4te --trace and unusual macro names])
+
+AT_DATA([file.m4],
+[[
+]])
+AT_CHECK_AUTOM4TE([-t 'TR A CE' -t 'TR(A)CE' file.m4])
+
+AT_CLEANUP
+
+
## ------------------ ##
## autoconf --trace. ##
## ------------------ ##