1--- configure.orig	2017-11-23 11:59:30.644837000 -0800
2+++ configure	2017-11-23 12:01:09.450617000 -0800
3@@ -11246,12 +11246,12 @@
4         pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
5     else
6         if test -n "$PKG_CONFIG" && \
7-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
8-  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
9+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
10+  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
11   ac_status=$?
12   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13   test $ac_status = 0; }; then
14-  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
15+  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.3" 2>/dev/null`
16 else
17   pkg_failed=yes
18 fi
19@@ -11264,12 +11264,12 @@
20         pkg_cv_LUA_LIBS="$LUA_LIBS"
21     else
22         if test -n "$PKG_CONFIG" && \
23-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
24-  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
25+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
26+  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
27   ac_status=$?
28   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29   test $ac_status = 0; }; then
30-  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
31+  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
32 else
33   pkg_failed=yes
34 fi
35@@ -11288,9 +11288,9 @@
36         _pkg_short_errors_supported=no
37 fi
38         if test $_pkg_short_errors_supported = yes; then
39-	        LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
40+	        LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
41         else
42-	        LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
43+	        LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
44         fi
45 	# Put the nasty error message in config.log where it belongs
46 	echo "$LUA_PKG_ERRORS" >&5
47@@ -11739,7 +11739,7 @@
48 	LUA_LIBS=$pkg_cv_LUA_LIBS
49         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
50 $as_echo "yes" >&6; }
51-	LUA=lua5.3
52+	LUA=lua53
53 fi
54 elif test $pkg_failed = untried; then
55 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
56@@ -11754,12 +11754,12 @@
57         pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
58     else
59         if test -n "$PKG_CONFIG" && \
60-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
61-  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
62+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
63+  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
64   ac_status=$?
65   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66   test $ac_status = 0; }; then
67-  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
68+  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.3" 2>/dev/null`
69 else
70   pkg_failed=yes
71 fi
72@@ -11772,12 +11772,12 @@
73         pkg_cv_LUA_LIBS="$LUA_LIBS"
74     else
75         if test -n "$PKG_CONFIG" && \
76-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
77-  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
78+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
79+  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
80   ac_status=$?
81   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
82   test $ac_status = 0; }; then
83-  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
84+  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
85 else
86   pkg_failed=yes
87 fi
88@@ -11796,9 +11796,9 @@
89         _pkg_short_errors_supported=no
90 fi
91         if test $_pkg_short_errors_supported = yes; then
92-	        LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
93+	        LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
94         else
95-	        LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
96+	        LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
97         fi
98 	# Put the nasty error message in config.log where it belongs
99 	echo "$LUA_PKG_ERRORS" >&5
100@@ -12247,7 +12247,7 @@
101 	LUA_LIBS=$pkg_cv_LUA_LIBS
102         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
103 $as_echo "yes" >&6; }
104-	LUA=lua5.3
105+	LUA=lua53
106 fi
107 else
108 	LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
109@@ -12290,7 +12290,7 @@
110   return 0;
111 }
112 _ACEOF
113-for ac_lib in '' lua lua5.3 lua5.2 lua5.1; do
114+for ac_lib in '' lua lua53 lua5.2 lua5.1; do
115   if test -z "$ac_lib"; then
116     ac_res="none required"
117   else
118