|
From: Jun T. <tak...@kb...> - 2014-06-19 08:47:49
|
On 2014/06/17, at 4:43, Ethan A Merritt <sf...@us...> wrote:
> So I have changed gnuplot's autoconfigure script to add -lX11
> itself if it sees that the newer wxWidgets is being used.
This causes a problem on my Mac (and maybe on other systems);
the linker dies saying "-lX11 can't be found".
(OS X 10.8 / no X11 installed / wxWidgets=svn HEAD)
The following may be a possible fix, but not tested at all on Linux.
Index: configure.in
===================================================================
RCS file: /cvsroot/gnuplot/gnuplot/configure.in,v
retrieving revision 1.368
diff -r1.368 configure.in
1037c1037,1038
< if expr ${WXWIDGETS_VERSION} \> 2.8 >/dev/null; then
---
> if expr ${WXWIDGETS_VERSION} \> 2.8 >/dev/null && \
> ${WX_CONFIG} --basename | grep 'wx_gtk' >/dev/null 2>&1; then
|