forked from mia/Aegisub
Whoops, missed some of the lua50 glue, also remove some old crufted that was
commented out. Originally committed to SVN as r2033.
This commit is contained in:
parent
44acbee51f
commit
3ab038d373
1 changed files with 7 additions and 11 deletions
18
configure.in
18
configure.in
|
@ -421,9 +421,13 @@ AM_CONDITIONAL([HAVE_AUTO4_LUA], [test "$with_auto4" != "no"])
|
||||||
##################
|
##################
|
||||||
## Auto3 (LUA 5.0)
|
## Auto3 (LUA 5.0)
|
||||||
##################
|
##################
|
||||||
#if test -z "$lua50-lib-dir"; then
|
AC_ARG_WITH(lua50-lib,
|
||||||
# AC_MSG_WARN([You must supply both --with-lua50-lib AND --with-lua50-include.])
|
[ --with-lua50-lib=PREFIX PATH location of lua 5.0 library
|
||||||
#fi
|
(required for auto3 support)], [lua50_lib_dir="-L$withval"])
|
||||||
|
AC_ARG_WITH(lua50-include,
|
||||||
|
[ --with-lua50-include=PREFIX
|
||||||
|
PATH location of lua 5.0 includes
|
||||||
|
(required for auto3 support)], [lua50_include_dir="-I$withval"])
|
||||||
|
|
||||||
if ! test -z "$lua50_lib_dir" && ! test -z "$lua50_include_dir"; then
|
if ! test -z "$lua50_lib_dir" && ! test -z "$lua50_include_dir"; then
|
||||||
aegisub_save_LDFLAGS="$LDFLAGS"
|
aegisub_save_LDFLAGS="$LDFLAGS"
|
||||||
|
@ -537,14 +541,6 @@ AC_SUBST(RUBY_LDFLAGS)
|
||||||
AM_CONDITIONAL([HAVE_AUTO4_RUBY], [test "$with_ruby" != "no"])
|
AM_CONDITIONAL([HAVE_AUTO4_RUBY], [test "$with_ruby" != "no"])
|
||||||
|
|
||||||
|
|
||||||
AC_ARG_WITH(lua50-lib,
|
|
||||||
[ --with-lua50-lib=PREFIX PATH location of lua 5.0 library
|
|
||||||
(required for auto3 support)], [lua50_lib_dir="-L$withval"])
|
|
||||||
AC_ARG_WITH(lua50-include,
|
|
||||||
[ --with-lua50-include=PREFIX
|
|
||||||
PATH location of lua 5.0 includes
|
|
||||||
(required for auto3 support)], [lua50_include_dir="-I$withval"])
|
|
||||||
|
|
||||||
# Automation setup
|
# Automation setup
|
||||||
if test "$with_automation" = "yes"; then
|
if test "$with_automation" = "yes"; then
|
||||||
AC_DEFINE(WITH_AUTOMATION, 1, [Enable Automation support, requires any automation language.])
|
AC_DEFINE(WITH_AUTOMATION, 1, [Enable Automation support, requires any automation language.])
|
||||||
|
|
Loading…
Reference in a new issue