diff options
Diffstat (limited to 'recipes-extended/diod/files/0001-build-Find-lua-with-pkg-config.patch')
| -rw-r--r-- | recipes-extended/diod/files/0001-build-Find-lua-with-pkg-config.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-extended/diod/files/0001-build-Find-lua-with-pkg-config.patch b/recipes-extended/diod/files/0001-build-Find-lua-with-pkg-config.patch index 9f61792a..0f4049b6 100644 --- a/recipes-extended/diod/files/0001-build-Find-lua-with-pkg-config.patch +++ b/recipes-extended/diod/files/0001-build-Find-lua-with-pkg-config.patch | |||
| @@ -11,11 +11,11 @@ Upstream-Status: Inappropriate (Embedded specific) | |||
| 11 | configure.ac | 26 +++++++++++++++++++++++++- | 11 | configure.ac | 26 +++++++++++++++++++++++++- |
| 12 | 1 file changed, 25 insertions(+), 1 deletion(-) | 12 | 1 file changed, 25 insertions(+), 1 deletion(-) |
| 13 | 13 | ||
| 14 | diff --git a/configure.ac b/configure.ac | 14 | Index: diod-1.1.0+git/configure.ac |
| 15 | index e8fcdb2..f3ebdc5 100644 | 15 | =================================================================== |
| 16 | --- a/configure.ac | 16 | --- diod-1.1.0+git.orig/configure.ac |
| 17 | +++ b/configure.ac | 17 | +++ diod-1.1.0+git/configure.ac |
| 18 | @@ -121,7 +121,31 @@ AC_ARG_ENABLE([config], | 18 | @@ -138,7 +138,31 @@ AC_ARG_ENABLE([config], |
| 19 | [AS_HELP_STRING([--disable-config], [disable lua config file support])]) | 19 | [AS_HELP_STRING([--disable-config], [disable lua config file support])]) |
| 20 | 20 | ||
| 21 | AS_IF([test "x$enable_config" != "xno"], [ | 21 | AS_IF([test "x$enable_config" != "xno"], [ |
| @@ -27,7 +27,7 @@ index e8fcdb2..f3ebdc5 100644 | |||
| 27 | + dnl AX_LUA_LIBS are still usable. | 27 | + dnl AX_LUA_LIBS are still usable. |
| 28 | + PKG_CHECK_EXISTS([lua], [ | 28 | + PKG_CHECK_EXISTS([lua], [ |
| 29 | + AS_IF([ | 29 | + AS_IF([ |
| 30 | + $PKG_CONFIG --atleast-version=5.1 lua && $PKG_CONFIG --max-version=5.5 lua | 30 | + $PKG_CONFIG --atleast-version=5.1 lua && $PKG_CONFIG --max-version=5.6 lua |
| 31 | + ],[ | 31 | + ],[ |
| 32 | + AC_ARG_VAR([LUA], [The LUA interpreter, e.g. /usr/bin/lua5.1]) | 32 | + AC_ARG_VAR([LUA], [The LUA interpreter, e.g. /usr/bin/lua5.1]) |
| 33 | + dnl should really check that the file exists ... | 33 | + dnl should really check that the file exists ... |
