configure.in: Print the Perl-version in the configure-summary.
authorFlorian Forster <sifnfors@faui02l.informatik.uni-erlangen.de>
Wed, 18 Apr 2007 11:44:10 +0000 (13:44 +0200)
committerFlorian Forster <sifnfors@faui02l.informatik.uni-erlangen.de>
Wed, 18 Apr 2007 11:44:10 +0000 (13:44 +0200)
configure.in

index e14606f..c16d135 100644 (file)
@@ -1304,8 +1304,10 @@ AC_COLLECTD([wireless],  [disable], [module], [wireless link statistics])
 
 AC_OUTPUT(Makefile src/Makefile src/collectd.conf src/liboconfig/Makefile src/liboping/Makefile)
 
-if test "x$with_libperl" != "xyes"
+if test "x$with_libperl" = "xyes"
 then
+       with_libperl="yes (version `perl -MConfig -e 'print $Config{version};'`)"
+else
        enable_perl="no (needs libperl)"
 fi