forked from mia/Aegisub
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.
This commit is contained in:
parent
7c505f06d4
commit
5776b387a2
1 changed files with 2 additions and 1 deletions
|
@ -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"])
|
||||
|
||||
|
||||
################
|
||||
|
|
Loading…
Reference in a new issue