From 2cde3a8227080d75413aea438bffc96fdf13c33f Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Mon, 25 Sep 2017 10:08:57 +0200 Subject: [PATCH] =?UTF-8?q?Update=20autotools=20build=20for=20the=20luautf?= =?UTF-8?q?8=20=E2=86=92=20lua53=20rename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Additionally add the library as a dependency for the love.data module --HG-- branch : minor --- platform/unix/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/unix/configure.ac b/platform/unix/configure.ac index 6fb9f052e..ac72551cc 100644 --- a/platform/unix/configure.ac +++ b/platform/unix/configure.ac @@ -81,7 +81,7 @@ AS_VAR_IF([enable_mpg123], [no], # Add flags for optional libraries AC_ARG_ENABLE([library-enet], [ --disable-library-enet Turn off library enet], [], [enable_library_enet=yes]) AC_ARG_ENABLE([library-luasocket], [ --disable-library-luasocket Turn off library luasocket], [], [enable_library_luasocket=yes]) -AC_ARG_ENABLE([library-luautf8], [ --disable-library-luautf8 Turn off library luautf8], [], [enable_library_luautf8=yes]) +AC_ARG_ENABLE([library-lua53], [ --disable-library-lua53 Turn off library lua53 (lua 5.3 backports, required by love.data)], [], [enable_library_lua53=yes]) # Select the libraries we need to build, based on the selected modules AS_VAR_IF([enable_module_physics], [yes], [enable_library_Box2D=yes], [enable_library_Box2D=no]) @@ -89,6 +89,7 @@ AS_VAR_IF([enable_module_image], [yes], [enable_library_ddsparse=yes], [enable_l AS_VAR_IF([enable_module_graphics], [yes], [enable_library_glad=yes], [enable_library_glad=no]) AS_VAR_IF([enable_module_graphics], [yes], [enable_library_glslang=yes], [enable_library_glslang=no]) AS_VAR_IF([enable_module_image], [yes], [enable_library_lodepng=yes], [enable_library_lodepng=no]) +AS_VAR_IF([enable_module_data], [yes], [enable_library_lua53=yes], []) AS_VAR_IF([enable_module_math], [yes], [enable_library_lz4=yes], [enable_library_lz4=no]) AS_VAR_IF([enable_module_math], [yes], [enable_library_noise1234=yes], [enable_library_noise1234=no]) AS_VAR_IF([enable_module_image], [yes], [enable_library_stb=yes], [enable_library_stb=no])