From: Florian Forster Date: Wed, 18 Mar 2009 10:11:18 +0000 (+0100) Subject: configure: Prefixed cache-ids in AC_CACHE_CHECK with "c_cv_". X-Git-Tag: collectd-4.6.2^0 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b1d3856d265c13c3684feda9e06fd0c7738ac4d1;p=collectd.git configure: Prefixed cache-ids in AC_CACHE_CHECK with "c_cv_". autoconf requires the string "_cv_" to be present in cache-ids. This patch adds/changes `have_broken_perl_load_module' which was added after 4.5. --- diff --git a/configure.in b/configure.in index 07d71d8b..3514572e 100644 --- a/configure.in +++ b/configure.in @@ -1880,7 +1880,7 @@ then LDFLAGS=$SAVE_LDFLAGS fi -have_broken_perl_load_module="no" +c_cv_have_broken_perl_load_module="no" if test "x$with_libperl" = "xyes" then SAVE_CFLAGS=$CFLAGS @@ -1891,7 +1891,7 @@ then LDFLAGS="$LDFLAGS $PERL_LDFLAGS" AC_CACHE_CHECK([for broken Perl_load_module()], - [have_broken_perl_load_module], + [c_cv_have_broken_perl_load_module], AC_LINK_IFELSE( AC_LANG_PROGRAM( [[ @@ -1906,8 +1906,8 @@ then newSVpv ("Collectd::Plugin::FooBar", 24), Nullsv); ]]), - [have_broken_perl_load_module="no"], - [have_broken_perl_load_module="yes"] + [c_cv_have_broken_perl_load_module="no"], + [c_cv_have_broken_perl_load_module="yes"] ) ) @@ -1915,7 +1915,7 @@ then LDFLAGS=$SAVE_LDFLAGS fi AM_CONDITIONAL(HAVE_BROKEN_PERL_LOAD_MODULE, - test "x$have_broken_perl_load_module" = "xyes") + test "x$c_cv_have_broken_perl_load_module" = "xyes") if test "x$with_libperl" = "xyes" then