Files
Tim Orling 8b29bc67af gnuplot: upgrade to 4.6.5
* automake patch from 4.4.4 is no longer needed
* PACKAGECONFIG for lua (lua term is only useful for LaTeX)
* linking problems with dlopen, etc. in lua loadlibs.c fixed
  ** this same problem was seen in jansa world builds for 4.4.4
  ** I am not able to replicate that error on 4.4.4

NOTE: qt is supported by this version, but I was not able to
figure out the configuration...

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-21 13:31:47 +02:00

17 lines
564 B
Diff

Index: gnuplot-4.6.5/configure.in
===================================================================
--- gnuplot-4.6.5.orig/configure.in
+++ gnuplot-4.6.5/configure.in
@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then
fi
if test "$with_lua" != no; then
+ dnl check for dlopen/dl to fix loadlibs link failure
+ AC_CHECK_FUNC([dlopen], [],
+ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl"))
+ AC_SUBST(DLOPEN_LIBS)
+ LUA_LIBS="$LUA_LIBS $DLOPEN_LIBS"
TERMLIBS="$TERMLIBS $LUA_LIBS"
CPPFLAGS="$CPPFLAGS $LUA_CFLAGS"
else