diff -Naur gnuplot-4.2.3_orig/src/Makefile.am gnuplot-4.2.3/src/Makefile.am --- gnuplot-4.2.3_orig/src/Makefile.am 2007-08-26 19:50:20.000000000 +0200 +++ gnuplot-4.2.3/src/Makefile.am 2008-07-18 13:16:19.000000000 +0200 @@ -45,7 +45,7 @@ gnuplot_SOURCES += binary.c endif -gnuplot_LDADD = $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS) +gnuplot_LDADD = $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS) -lm -llua gnuplot_x11_SOURCES = gplt_x11.c gplt_x11.h gpexecute.c gpexecute.h mousecmn.h diff -Naur gnuplot-4.2.3_orig/src/Makefile.in gnuplot-4.2.3/src/Makefile.in --- gnuplot-4.2.3_orig/src/Makefile.in 2008-03-08 21:06:29.000000000 +0100 +++ gnuplot-4.2.3/src/Makefile.in 2008-07-18 13:16:51.000000000 +0200 @@ -291,7 +291,7 @@ term.c term.h time.c unset.c util.c util.h util3d.c util3d.h \ variable.c variable.h version.c version.h $(am__append_1) \ $(am__append_2) -gnuplot_LDADD = $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS) +gnuplot_LDADD = $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS) -lm -llua gnuplot_x11_SOURCES = gplt_x11.c gplt_x11.h gpexecute.c gpexecute.h mousecmn.h gnuplot_x11_LDADD = getcolor_x11.o $(XLIBS) bf_test_SOURCES = bf_test.c binary.c binary.h alloc.c diff -Naur gnuplot-4.2.3_orig/src/term.h gnuplot-4.2.3/src/term.h --- gnuplot-4.2.3_orig/src/term.h 2006-04-29 07:30:07.000000000 +0200 +++ gnuplot-4.2.3/src/term.h 2008-07-18 13:17:16.000000000 +0200 @@ -455,4 +455,7 @@ # include "wxt.trm" #endif +/* Lua/TikZ */ +#include "lua.trm" + #endif /* !SHORT_TERMLIST */