diff options
Diffstat (limited to '')
-rwxr-xr-x | configure | 10 | ||||
-rw-r--r-- | configure.ac | 10 |
2 files changed, 10 insertions, 10 deletions
@@ -5021,7 +5021,7 @@ $as_echo "yes" >&6; } $as_echo "no" >&6; } # check if package is required - if test xno = xyes -o x"$with_lua" = xyes ; then + if test xcheck = xyes -o x"$with_lua" = xyes ; then # print error message and quit err_msg=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.2"` as_fn_error $? " @@ -5038,7 +5038,7 @@ See the pkg-config man page for more details. fi lua_LIB_NAME="lua5.2" -if [ x$lua_HAVE = yes ]; then +if [ x$lua_HAVE = xyes ]; then if test x$lua_HAVE = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of lua" >&5 @@ -5224,7 +5224,7 @@ $as_echo "yes" >&6; } $as_echo "no" >&6; } # check if package is required - if test xno = xyes -o x"$with_lua" = xyes ; then + if test xcheck = xyes -o x"$with_lua" = xyes ; then # print error message and quit err_msg=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.1"` as_fn_error $? " @@ -5241,7 +5241,7 @@ See the pkg-config man page for more details. fi lua_LIB_NAME="lua5.1" - if [ x$lua_HAVE = yes ]; then + if [ x$lua_HAVE = xyes ]; then if test x$lua_HAVE = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of lua" >&5 @@ -5583,7 +5583,7 @@ eof $as_echo "[$FFMPEG_VERSION]" >&6; } fi - fi + fi fi diff --git a/configure.ac b/configure.ac index c0cebb94..2c566f53 100644 --- a/configure.ac +++ b/configure.ac @@ -177,20 +177,20 @@ PKG_HAVE([sqlite3], [sqlite3], yes) # find lua 5.2 or 5.11 # (K)Ubuntu uses lua5.2.pc and lua5.1.pc, # Mac OS X and other linux distributions use lua.pc -PKG_HAVE([lua], [lua5.2], no) +PKG_HAVE([lua], [lua5.2], check) lua_LIB_NAME="lua5.2" if [[ x$lua_HAVE = xyes ]]; then PKG_VERSION([lua], [lua5.2]) else - PKG_HAVE([lua], [lua5.1], no) + PKG_HAVE([lua], [lua5.1], check) lua_LIB_NAME="lua5.1" if [[ x$lua_HAVE = xyes ]]; then PKG_VERSION([lua], [lua5.1]) else - PKG_HAVE([lua], [lua >= 5.1], yes) + PKG_HAVE([lua], [lua >= 5.1], yes) lua_LIB_NAME="lua" - PKG_VERSION([lua], [lua]) - fi + PKG_VERSION([lua], [lua]) + fi fi AC_SUBST(lua_LIB_NAME) |