Wireshark-commits: [Wireshark-commits] master 67ad1de: FindLUA.cmake: reject version 5.3

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 15 Nov 2015 20:15:53 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=67ad1de0d06128c9eda70adb3f172c8b7ff4d6b6
Submitter: Bill Meier (wmeier@xxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

67ad1de by Peter Wu (peter@xxxxxxxxxxxxx):

    FindLUA.cmake: reject version 5.3
    
    Lua 5.3 could still be used when located at /usr/include/lua.h. Detect
    and reject it in that case.
    
    Rename LUA_VERSION to LUA_VERSION_NUM to avoid a conflict with
    pkg-config (which uses a different version format). Ensure that the
    regex matches a number only.
    
    Bug: 11706
    Change-Id: Idb7e3e1a8d9c6e4ab9ab1816c4dedea7de9dde8e
    Reviewed-on: https://code.wireshark.org/review/11836
    Reviewed-by: Bill Meier <wmeier@xxxxxxxxxxx>
    

Actions performed:

    from  a8e7740   Lua: Check for nil valuestring for integer fields.
    adds  67ad1de   FindLUA.cmake: reject version 5.3


Summary of changes:
 cmake/modules/FindLUA.cmake |   36 ++++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 14 deletions(-)