[Libosinfo] [osinfo-db-tools PATCH 1/2] configure: Look for Perl interpreter path

Andrea Bolognani abologna at redhat.com
Mon Sep 18 13:03:32 UTC 2017


The $(PERL) variable is used in cfg.mk, but configure is not
actually looking for the Perl interpreter path, so it will always
end up being empty.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 613afea..8170b2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,6 +8,9 @@ AC_CONFIG_HEADERS([config.h])
 AC_PROG_CC
 AC_PROG_LN_S
 
+# Perl is needed for syntax-check
+AC_PATH_PROG([PERL], [perl])
+
 LT_INIT([shared disable-static win32-dll])
 
 LIBOSINFO_COMPILE_WARNINGS
-- 
2.13.5




More information about the Libosinfo mailing list