From: Florian Forster Date: Wed, 18 Apr 2007 11:44:10 +0000 (+0200) Subject: configure.in: Print the Perl-version in the configure-summary. X-Git-Tag: collectd-4.0.0~82 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7d32c2bc4698575da48fadc005784b796554ad37;p=collectd.git configure.in: Print the Perl-version in the configure-summary. --- diff --git a/configure.in b/configure.in index e14606f8..c16d1354 100644 --- a/configure.in +++ b/configure.in @@ -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