Code

configure: Do not conditionally use AM_CONDITIONAL().
authorSebastian Harl <sh@tokkee.org>
Tue, 3 Feb 2009 11:49:01 +0000 (12:49 +0100)
committerSebastian Harl <sh@tokkee.org>
Thu, 5 Feb 2009 20:10:26 +0000 (21:10 +0100)
Defining HAVE_BROKEN_PERL_LOAD_MODULE was done conditionally which would cause
configure to fail in case it's not defined.

configure.in

index 18a83b08aafa6ec61f0d209e1e12bf31fbefd883..d42398524b05a087513222c5659af05de5b07d63 100644 (file)
@@ -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 {{{