Index: trunk/php/luasandbox/config.m4 |
— | — | @@ -15,9 +15,12 @@ |
16 | 16 | m4_include([m4/pkg.m4]) |
17 | 17 | PKG_PROG_PKG_CONFIG |
18 | 18 | |
19 | | - dnl We need lua5.1 or fallback to luajit: |
20 | | - PKG_CHECK_MODULES([LUA], [lua5.1],, [ |
21 | | - PKG_CHECK_MODULES([LUA], [luajit]) |
| 19 | + dnl We need lua or fallback to luajit. |
| 20 | + dnl Under debian package is known as 'lua5.1' |
| 21 | + PKG_CHECK_MODULES([LUA], [lua],, [ |
| 22 | + PKG_CHECK_MODULES([LUA], [lua5.1],, [ |
| 23 | + PKG_CHECK_MODULES([LUA], [luajit]) |
| 24 | + ]) |
22 | 25 | ]) |
23 | 26 | |
24 | 27 | dnl LUA_LIBS and LUA_CFLAGS interprets them: |