gnuplot/gnuplot-4.6.3-lua-5.1.patch

13 lines
657 B
Diff
Raw Permalink Normal View History

diff -Nru gnuplot-4.6.3.orig/configure.in gnuplot-4.6.3/configure.in
--- gnuplot-4.6.3.orig/configure.in 2013-04-11 22:04:07.000000000 +0200
+++ gnuplot-4.6.3/configure.in 2013-06-11 12:46:37.762458842 +0200
@@ -683,7 +683,7 @@
[test -z "${with_lua}" && with_lua=yes])
if test "${with_lua}" = yes ; then
- PKG_CHECK_MODULES(LUA, [lua], LUAFOUND=yes, [PKG_CHECK_MODULES(LUA, [lua5.1], LUAFOUND=yes, [LUAFOUND=no])])
+ PKG_CHECK_MODULES(LUA, [lua51], LUAFOUND=yes, [PKG_CHECK_MODULES(LUA, [lua5.1], LUAFOUND=yes, [LUAFOUND=no])])
if test $pkg_failed != no; then
AC_MSG_WARN([Could not find support for lua using pkg-config.])
with_lua=no