configure.in: Be more verbose if libperl exists but doesn't support ithreads.
authorFlorian Forster <octo@huhu.verplant.org>
Mon, 18 May 2009 11:05:26 +0000 (13:05 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Mon, 18 May 2009 11:05:26 +0000 (13:05 +0200)
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