mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
syntax-check: Detect awk the same as all other programs
Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
f98baa1b54
commit
dddbc95375
@ -7,6 +7,7 @@ RUNUTF8 = @runutf8@
|
||||
PYTHON = @PYTHON3@
|
||||
GREP = @GREP@
|
||||
SED = @SED@
|
||||
AWK = @AWK@
|
||||
|
||||
# include syntax-check.mk file
|
||||
include $(top_srcdir)/build-aux/syntax-check.mk
|
||||
|
@ -26,6 +26,8 @@ else
|
||||
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(),
|
||||
@ -34,6 +36,7 @@ syntax_check_conf = configuration_data({
|
||||
'PYTHON3': python3_prog.path(),
|
||||
'GREP': grep_prog.path(),
|
||||
'SED': sed_prog.path(),
|
||||
'AWK': awk_prog.path(),
|
||||
})
|
||||
|
||||
configure_file(
|
||||
|
@ -19,11 +19,6 @@
|
||||
# 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)
|
||||
|
Loading…
Reference in New Issue
Block a user