Code

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 e14606f889522a378bcd44be0d39a604f81025aa..c16d13544f86ca7a8ad03cfe23a1e2bc26006203 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