1AH_TEMPLATE([LOVE_ENABLE_AUDIO], []) 2if test x"$enable_module_audio" = xyes; then 3 AC_DEFINE([LOVE_ENABLE_AUDIO], []) 4fi 5AM_CONDITIONAL([LOVE_MODULE_AUDIO], [test x$enable_module_audio = xyes]) 6 7AH_TEMPLATE([LOVE_ENABLE_DATA], []) 8if test x"$enable_module_data" = xyes; then 9 AC_DEFINE([LOVE_ENABLE_DATA], []) 10fi 11AM_CONDITIONAL([LOVE_MODULE_DATA], [test x$enable_module_data = xyes]) 12 13AH_TEMPLATE([LOVE_ENABLE_EVENT], []) 14if test x"$enable_module_event" = xyes; then 15 AC_DEFINE([LOVE_ENABLE_EVENT], []) 16fi 17AM_CONDITIONAL([LOVE_MODULE_EVENT], [test x$enable_module_event = xyes]) 18 19AH_TEMPLATE([LOVE_ENABLE_FILESYSTEM], []) 20if test x"$enable_module_filesystem" = xyes; then 21 AC_DEFINE([LOVE_ENABLE_FILESYSTEM], []) 22fi 23AM_CONDITIONAL([LOVE_MODULE_FILESYSTEM], [test x$enable_module_filesystem = xyes]) 24 25AH_TEMPLATE([LOVE_ENABLE_FONT], []) 26if test x"$enable_module_font" = xyes; then 27 AC_DEFINE([LOVE_ENABLE_FONT], []) 28fi 29AM_CONDITIONAL([LOVE_MODULE_FONT], [test x$enable_module_font = xyes]) 30 31AH_TEMPLATE([LOVE_ENABLE_GRAPHICS], []) 32if test x"$enable_module_graphics" = xyes; then 33 AC_DEFINE([LOVE_ENABLE_GRAPHICS], []) 34fi 35AM_CONDITIONAL([LOVE_MODULE_GRAPHICS], [test x$enable_module_graphics = xyes]) 36 37AH_TEMPLATE([LOVE_ENABLE_IMAGE], []) 38if test x"$enable_module_image" = xyes; then 39 AC_DEFINE([LOVE_ENABLE_IMAGE], []) 40fi 41AM_CONDITIONAL([LOVE_MODULE_IMAGE], [test x$enable_module_image = xyes]) 42 43AH_TEMPLATE([LOVE_ENABLE_JOYSTICK], []) 44if test x"$enable_module_joystick" = xyes; then 45 AC_DEFINE([LOVE_ENABLE_JOYSTICK], []) 46fi 47AM_CONDITIONAL([LOVE_MODULE_JOYSTICK], [test x$enable_module_joystick = xyes]) 48 49AH_TEMPLATE([LOVE_ENABLE_KEYBOARD], []) 50if test x"$enable_module_keyboard" = xyes; then 51 AC_DEFINE([LOVE_ENABLE_KEYBOARD], []) 52fi 53AM_CONDITIONAL([LOVE_MODULE_KEYBOARD], [test x$enable_module_keyboard = xyes]) 54 55AH_TEMPLATE([LOVE_ENABLE_LOVE], []) 56if test x"$enable_module_love" = xyes; then 57 AC_DEFINE([LOVE_ENABLE_LOVE], []) 58fi 59AM_CONDITIONAL([LOVE_MODULE_LOVE], [test x$enable_module_love = xyes]) 60 61AH_TEMPLATE([LOVE_ENABLE_MATH], []) 62if test x"$enable_module_math" = xyes; then 63 AC_DEFINE([LOVE_ENABLE_MATH], []) 64fi 65AM_CONDITIONAL([LOVE_MODULE_MATH], [test x$enable_module_math = xyes]) 66 67AH_TEMPLATE([LOVE_ENABLE_MOUSE], []) 68if test x"$enable_module_mouse" = xyes; then 69 AC_DEFINE([LOVE_ENABLE_MOUSE], []) 70fi 71AM_CONDITIONAL([LOVE_MODULE_MOUSE], [test x$enable_module_mouse = xyes]) 72 73AH_TEMPLATE([LOVE_ENABLE_PHYSICS], []) 74if test x"$enable_module_physics" = xyes; then 75 AC_DEFINE([LOVE_ENABLE_PHYSICS], []) 76fi 77AM_CONDITIONAL([LOVE_MODULE_PHYSICS], [test x$enable_module_physics = xyes]) 78 79AH_TEMPLATE([LOVE_ENABLE_SOUND], []) 80if test x"$enable_module_sound" = xyes; then 81 AC_DEFINE([LOVE_ENABLE_SOUND], []) 82fi 83AM_CONDITIONAL([LOVE_MODULE_SOUND], [test x$enable_module_sound = xyes]) 84 85AH_TEMPLATE([LOVE_ENABLE_SYSTEM], []) 86if test x"$enable_module_system" = xyes; then 87 AC_DEFINE([LOVE_ENABLE_SYSTEM], []) 88fi 89AM_CONDITIONAL([LOVE_MODULE_SYSTEM], [test x$enable_module_system = xyes]) 90 91AH_TEMPLATE([LOVE_ENABLE_THREAD], []) 92if test x"$enable_module_thread" = xyes; then 93 AC_DEFINE([LOVE_ENABLE_THREAD], []) 94fi 95AM_CONDITIONAL([LOVE_MODULE_THREAD], [test x$enable_module_thread = xyes]) 96 97AH_TEMPLATE([LOVE_ENABLE_TIMER], []) 98if test x"$enable_module_timer" = xyes; then 99 AC_DEFINE([LOVE_ENABLE_TIMER], []) 100fi 101AM_CONDITIONAL([LOVE_MODULE_TIMER], [test x$enable_module_timer = xyes]) 102 103AH_TEMPLATE([LOVE_ENABLE_TOUCH], []) 104if test x"$enable_module_touch" = xyes; then 105 AC_DEFINE([LOVE_ENABLE_TOUCH], []) 106fi 107AM_CONDITIONAL([LOVE_MODULE_TOUCH], [test x$enable_module_touch = xyes]) 108 109AH_TEMPLATE([LOVE_ENABLE_VIDEO], []) 110if test x"$enable_module_video" = xyes; then 111 AC_DEFINE([LOVE_ENABLE_VIDEO], []) 112fi 113AM_CONDITIONAL([LOVE_MODULE_VIDEO], [test x$enable_module_video = xyes]) 114 115AH_TEMPLATE([LOVE_ENABLE_WINDOW], []) 116if test x"$enable_module_window" = xyes; then 117 AC_DEFINE([LOVE_ENABLE_WINDOW], []) 118fi 119AM_CONDITIONAL([LOVE_MODULE_WINDOW], [test x$enable_module_window = xyes]) 120 121AH_TEMPLATE([LOVE_ENABLE_BOX2D], []) 122if test x"$enable_library_Box2D" = xyes; then 123 AC_DEFINE([LOVE_ENABLE_BOX2D], []) 124fi 125AM_CONDITIONAL([LOVE_LIBRARY_BOX2D], [test x$enable_library_Box2D = xyes]) 126 127AH_TEMPLATE([LOVE_ENABLE_DDSPARSE], []) 128if test x"$enable_library_ddsparse" = xyes; then 129 AC_DEFINE([LOVE_ENABLE_DDSPARSE], []) 130fi 131AM_CONDITIONAL([LOVE_LIBRARY_DDSPARSE], [test x$enable_library_ddsparse = xyes]) 132 133AH_TEMPLATE([LOVE_ENABLE_DR_FLAC], []) 134if test x"$enable_library_dr_flac" = xyes; then 135 AC_DEFINE([LOVE_ENABLE_DR_FLAC], []) 136fi 137AM_CONDITIONAL([LOVE_LIBRARY_DR_FLAC], [test x$enable_library_dr_flac = xyes]) 138 139AH_TEMPLATE([LOVE_ENABLE_ENET], []) 140if test x"$enable_library_enet" = xyes; then 141 AC_DEFINE([LOVE_ENABLE_ENET], []) 142fi 143AM_CONDITIONAL([LOVE_LIBRARY_ENET], [test x$enable_library_enet = xyes]) 144 145AH_TEMPLATE([LOVE_ENABLE_GLAD], []) 146if test x"$enable_library_glad" = xyes; then 147 AC_DEFINE([LOVE_ENABLE_GLAD], []) 148fi 149AM_CONDITIONAL([LOVE_LIBRARY_GLAD], [test x$enable_library_glad = xyes]) 150 151AH_TEMPLATE([LOVE_ENABLE_GLSLANG], []) 152if test x"$enable_library_glslang" = xyes; then 153 AC_DEFINE([LOVE_ENABLE_GLSLANG], []) 154fi 155AM_CONDITIONAL([LOVE_LIBRARY_GLSLANG], [test x$enable_library_glslang = xyes]) 156 157AH_TEMPLATE([LOVE_ENABLE_LODEPNG], []) 158if test x"$enable_library_lodepng" = xyes; then 159 AC_DEFINE([LOVE_ENABLE_LODEPNG], []) 160fi 161AM_CONDITIONAL([LOVE_LIBRARY_LODEPNG], [test x$enable_library_lodepng = xyes]) 162 163AH_TEMPLATE([LOVE_ENABLE_LUA53], []) 164if test x"$enable_library_lua53" = xyes; then 165 AC_DEFINE([LOVE_ENABLE_LUA53], []) 166fi 167AM_CONDITIONAL([LOVE_LIBRARY_LUA53], [test x$enable_library_lua53 = xyes]) 168 169AH_TEMPLATE([LOVE_ENABLE_LUASOCKET], []) 170if test x"$enable_library_luasocket" = xyes; then 171 AC_DEFINE([LOVE_ENABLE_LUASOCKET], []) 172fi 173AM_CONDITIONAL([LOVE_LIBRARY_LUASOCKET], [test x$enable_library_luasocket = xyes]) 174 175AH_TEMPLATE([LOVE_ENABLE_LZ4], []) 176if test x"$enable_library_lz4" = xyes; then 177 AC_DEFINE([LOVE_ENABLE_LZ4], []) 178fi 179AM_CONDITIONAL([LOVE_LIBRARY_LZ4], [test x$enable_library_lz4 = xyes]) 180 181AH_TEMPLATE([LOVE_ENABLE_NOISE1234], []) 182if test x"$enable_library_noise1234" = xyes; then 183 AC_DEFINE([LOVE_ENABLE_NOISE1234], []) 184fi 185AM_CONDITIONAL([LOVE_LIBRARY_NOISE1234], [test x$enable_library_noise1234 = xyes]) 186 187AH_TEMPLATE([LOVE_ENABLE_PHYSFS], []) 188if test x"$enable_library_physfs" = xyes; then 189 AC_DEFINE([LOVE_ENABLE_PHYSFS], []) 190fi 191AM_CONDITIONAL([LOVE_LIBRARY_PHYSFS], [test x$enable_library_physfs = xyes]) 192 193AH_TEMPLATE([LOVE_ENABLE_STB], []) 194if test x"$enable_library_stb" = xyes; then 195 AC_DEFINE([LOVE_ENABLE_STB], []) 196fi 197AM_CONDITIONAL([LOVE_LIBRARY_STB], [test x$enable_library_stb = xyes]) 198 199AH_TEMPLATE([LOVE_ENABLE_TINYEXR], []) 200if test x"$enable_library_tinyexr" = xyes; then 201 AC_DEFINE([LOVE_ENABLE_TINYEXR], []) 202fi 203AM_CONDITIONAL([LOVE_LIBRARY_TINYEXR], [test x$enable_library_tinyexr = xyes]) 204 205AH_TEMPLATE([LOVE_ENABLE_UTF8], []) 206if test x"$enable_library_utf8" = xyes; then 207 AC_DEFINE([LOVE_ENABLE_UTF8], []) 208fi 209AM_CONDITIONAL([LOVE_LIBRARY_UTF8], [test x$enable_library_utf8 = xyes]) 210 211AH_TEMPLATE([LOVE_ENABLE_WUFF], []) 212if test x"$enable_library_Wuff" = xyes; then 213 AC_DEFINE([LOVE_ENABLE_WUFF], []) 214fi 215AM_CONDITIONAL([LOVE_LIBRARY_WUFF], [test x$enable_library_Wuff = xyes]) 216 217AH_TEMPLATE([LOVE_ENABLE_XXHASH], []) 218if test x"$enable_library_xxHash" = xyes; then 219 AC_DEFINE([LOVE_ENABLE_XXHASH], []) 220fi 221AM_CONDITIONAL([LOVE_LIBRARY_XXHASH], [test x$enable_library_xxHash = xyes]) 222 223AC_SUBST([LOVE_SUFFIX], []) 224