From 5776b387a28cdc4fe22081d20abb57154aed31a0 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Tue, 11 Mar 2008 05:01:30 +0000 Subject: [PATCH] Fix conditional for 'with_automation' in the lua50 case, also fix WITH_AUTOMATION conditional which was enabling if auto3 support was turnd on (should have been conditional on $with_automation) Originally committed to SVN as r2009. --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 54d413557..dbbc26c7e 100644 --- a/configure.in +++ b/configure.in @@ -504,6 +504,7 @@ fi if test "$lua50_lib" = "yes" && test "$lua50_include" = "yes"; then with_auto3="yes" + with_automation="yes" AC_DEFINE(WITH_AUTO3, 1, [Enable Automation (auto3, DEPRECIATED!), requires lua 5.0]) else with_auto3="no" @@ -517,7 +518,7 @@ if test "$with_automation" = "yes"; then AC_DEFINE(WITH_AUTOMATION, 1, [Enable Automation support, requires any automation language.]) fi -AM_CONDITIONAL([HAVE_AUTOMATION], [test "$with_auto3" = "yes"]) +AM_CONDITIONAL([HAVE_AUTOMATION], [test "$with_automation" = "yes"]) ################