diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2015-06-09 20:40:30 -0400 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2015-06-11 13:33:11 +0000 |
commit | aa8a171955928cac6cb606f89d0e9ea38e805939 (patch) | |
tree | e8e864488627f729350241678f45b5c54855ba2c /acinclude.m4 | |
parent | 7907b82863bf0d0d9e85fcf61923fffee698285d (diff) |
Search for the Lua (version < 5.3) package first: it's the most common case.
Change-Id: I5a74870c491d46e538200f2b275b1608c0afecd4
Ping-Bug: 11219
Reviewed-on: https://code.wireshark.org/review/8865
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 700df49789..9a3d0f36c5 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -816,7 +816,7 @@ AC_DEFUN([AC_WIRESHARK_LIBLUA_CHECK],[ # We use a for loop instead of giving all the package names to # PKG_CHECK_MODULES because doing the latter doesn't appear to # work reliably (some package names are not searched for). - for pkg in lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua5.0 lua-5.0 lua50 "lua < 5.3" + for pkg in "lua < 5.3" lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua5.0 lua-5.0 lua50 do PKG_CHECK_MODULES(LUA, $pkg, [have_lua=yes], [true]) |