diff options
Diffstat (limited to 'build/meta/automake.m4')
-rw-r--r-- | build/meta/automake.m4 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/build/meta/automake.m4 b/build/meta/automake.m4 index 3efb5b7..d057f26 100644 --- a/build/meta/automake.m4 +++ b/build/meta/automake.m4 @@ -4,16 +4,19 @@ m4_divert(-1) # copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC # license : GNU GPL v2; see accompanying LICENSE file -m4_include(__meta_base__`/common.m4') +m4_changequote([, ]) -m4_define(`__path_impl__', `__env_impl__(`$1')') -m4_define(`__path__', `m4_equote()__path_impl__(`$1')`'m4_dquote()') +m4_include(__meta_base__[/common.m4]) -m4_define(`__file_impl__', `__env_impl__(`$1')') -m4_define(`__file__', `m4_equote()__file_impl__(`$1')`'m4_dquote()') +m4_define([__path_impl__], [__env_impl__([$1])]) +m4_define([__path__], [m4_equote()__path_impl__([$1])[]m4_dquote()]) -# Disable quoting. +m4_define([__file_impl__], [__env_impl__([$1])]) +m4_define([__file__], [m4_equote()__file_impl__([$1])[]m4_dquote()]) + +# Disable comments and quoting. # -m4_changequote('') +m4_changecom([]) +m4_changequote([]) m4_divert(0)m4_dnl |