From: Sebastian Harl Date: Tue, 3 Feb 2009 11:49:01 +0000 (+0100) Subject: configure: Do not conditionally use AM_CONDITIONAL(). X-Git-Tag: collectd-4.6.0~59 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=61c19cc1;p=collectd.git configure: Do not conditionally use AM_CONDITIONAL(). Defining HAVE_BROKEN_PERL_LOAD_MODULE was done conditionally which would cause configure to fail in case it's not defined. --- diff --git a/configure.in b/configure.in index 18a83b08..d4239852 100644 --- a/configure.in +++ b/configure.in @@ -1950,6 +1950,7 @@ then LDFLAGS=$SAVE_LDFLAGS fi +have_broken_perl_load_module="no" if test "x$with_libperl" = "xyes" then SAVE_CFLAGS=$CFLAGS @@ -1980,12 +1981,11 @@ then ) ) - AM_CONDITIONAL(HAVE_BROKEN_PERL_LOAD_MODULE, - test "x$have_broken_perl_load_module" = "xyes") - CFLAGS=$SAVE_CFLAGS LDFLAGS=$SAVE_LDFLAGS fi +AM_CONDITIONAL(HAVE_BROKEN_PERL_LOAD_MODULE, + test "x$have_broken_perl_load_module" = "xyes") # }}} # --with-libpq {{{