Skip to content
Snippets Groups Projects
Commit e2c2836a authored by Christian Engwer's avatar Christian Engwer
Browse files

test for awk

[[Imported from SVN: r5408]]
parent 4a7b72c0
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,11 @@ AC_DEFUN([DUNE_MODULE_ADD_SUMMARY_ENTRY],[
DUNE_ADD_SUMMARY_MOD_ENTRY(_dune_name,[$result])
])
m4_define([_dune_sub_version],"`echo $1 | awk -F. -v FIELD=$2 '{ print int($FIELD) }'`")
m4_define([_dune_sub_version],"`echo $1 | $AWK -F. -v FIELD=$2 '{ print int($FIELD) }'`")
AC_DEFUN([DUNE_PARSE_MODULE_VERSION],[
AC_REQUIRE([AC_PROG_AWK])
m4_pushdef([_dune_name], [$1])
m4_pushdef([_dune_version], [$2])
m4_pushdef([_dune_module], [m4_translit(_dune_name, [-], [_])])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment