aboutsummaryrefslogtreecommitdiff
path: root/build/meta/autoconf.m4
diff options
context:
space:
mode:
Diffstat (limited to 'build/meta/autoconf.m4')
-rw-r--r--build/meta/autoconf.m417
1 files changed, 10 insertions, 7 deletions
diff --git a/build/meta/autoconf.m4 b/build/meta/autoconf.m4
index 3370b9c..9e5db6d 100644
--- a/build/meta/autoconf.m4
+++ b/build/meta/autoconf.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