Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
PYTHON = @PYTHON3@
GREP = @GREP@
SED = @SED@
+AWK = @AWK@
# include syntax-check.mk file
include $(top_srcdir)/build-aux/syntax-check.mk
grep_prog = find_program('grep')
endif
+awk_prog = find_program('awk')
+
syntax_check_conf = configuration_data({
'top_srcdir': meson.source_root(),
'top_builddir': meson.build_root(),
'PYTHON3': python3_prog.path(),
'GREP': grep_prog.path(),
'SED': sed_prog.path(),
+ 'AWK': awk_prog.path(),
})
configure_file(
# along with this program. If not, see
# <http://www.gnu.org/licenses/>.
-# These variables ought to be defined through the configure.ac section
-# of the module description. But some packages import this file directly,
-# ignoring the module description.
-AWK ?= awk
-
# Helper variables.
_empty =
_sp = $(_empty) $(_empty)