From 61c19cc11f325017d0186e9c345b6b4f01a4dc72 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 3 Feb 2009 12:49:01 +0100 Subject: [PATCH] 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. --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {{{ -- 2.11.0