X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=2d4c68105ffcd59de132eafdbfe32156a976083b;hb=20f17fde07f125cf84c2019177fc52c5cf608d85;hp=8dda7104514bd760b0f8373004c09bb99b5b4162;hpb=6743e8a4e1bd0b627fee3a3e51226c07c3facbcb;p=collectd.git diff --git a/configure.ac b/configure.ac index 8dda7104..2d4c6810 100644 --- a/configure.ac +++ b/configure.ac @@ -6314,6 +6314,18 @@ AC_ARG_WITH(perl-bindings, [AS_HELP_STRING([--with-perl-bindings@<:@=OPTIONS@:>@ with_perl_bindings="no (no perl interpreter found)" fi ]) + +if test "x$with_perl_bindings" = "xyes" +then + AC_MSG_CHECKING([for the ExtUtils::MakeMaker module]) + if $PERL -MExtUtils::MakeMaker -e '' 2>/dev/null; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + with_perl_bindings="no (ExtUtils::MakeMaker not found)" + fi +fi + if test "x$with_perl_bindings" = "xyes" then PERL_BINDINGS="perl"