configure.in: Be more verbose if libperl exists but doesn't support ithreads.
[collectd.git] / configure.in
index 795a9e1..2d3d803 100644 (file)
@@ -3261,6 +3261,11 @@ else
        enable_perl="no (needs libperl)"
 fi
 
+if test "x$enable_perl" = "xno" && test "x$c_cv_have_perl_ithreads" = "xno"
+then
+       enable_perl="no (libperl doesn't support ithreads)"
+fi
+
 if test "x$with_perl_bindings" = "xyes" \
        && test "x$PERL_BINDINGS_OPTIONS" != "x"
 then