From b1d3856d265c13c3684feda9e06fd0c7738ac4d1 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 18 Mar 2009 11:11:18 +0100 Subject: [PATCH] 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. --- configure.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.11.0