Package: scamp / 2.0.4+dfsg-1

Use-plplot-instead-of-plplotd.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From: Ole Streicher <ole@aip.de>
Date: Mon, 25 Sep 2017 13:56:36 +0200
Subject: Use plplot instead of plplotd

---
 acx_plplot.m4 | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/acx_plplot.m4 b/acx_plplot.m4
index d4da8c5..2843dc6 100644
--- a/acx_plplot.m4
+++ b/acx_plplot.m4
@@ -51,10 +51,10 @@ acx_plplot_ok=yes
 acx_plplotpkg_ok=no
 if test x$2 = x && test x$1 = x; then
   AC_MSG_CHECKING([for PLPlot pkg-config info])
-  if pkg-config --exists plplotd; then
+  if pkg-config --exists plplot; then
     AC_MSG_RESULT([yes])
-    [PLPLOT_CFLAGS=`pkg-config --cflags plplotd`]
-    [PLPLOT_LIBS=`pkg-config --libs plplotd`]
+    [PLPLOT_CFLAGS=`pkg-config --cflags plplot`]
+    [PLPLOT_LIBS=`pkg-config --libs plplot`]
     AC_DEFINE(PLPLOT_H, "plplot.h", [PLPlot header filename.])
     AC_DEFINE(PLPLOTP_H, "plplotP.h", [PLPlot private header filename.])
     acx_plplotpkg_ok=yes
@@ -91,11 +91,11 @@ if test x$acx_plplotpkg_ok = xno; then
     fi
   fi
   if test x$1 = x; then
-    AC_CHECK_LIB(plplotd, c_plinit,, [acx_plplot_ok=no])
-    [PLPLOT_LIBS="-lplplotd"]
+    AC_CHECK_LIB(plplot, c_plinit,, [acx_plplot_ok=no])
+    [PLPLOT_LIBS="-lplplot"]
   else
-    AC_CHECK_LIB(plplotd, c_plinit,, [acx_plplot_ok=no], [-L$1])
-    [PLPLOT_LIBS="-L$1 -lplplotd"]
+    AC_CHECK_LIB(plplot, c_plinit,, [acx_plplot_ok=no], [-L$1])
+    [PLPLOT_LIBS="-L$1 -lplplot"]
   fi
 fi