aboutsummaryrefslogtreecommitdiffstats
path: root/math/oleo/files/patch-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'math/oleo/files/patch-configure.in')
-rw-r--r--math/oleo/files/patch-configure.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/math/oleo/files/patch-configure.in b/math/oleo/files/patch-configure.in
new file mode 100644
index 000000000000..dda291c3f25b
--- /dev/null
+++ b/math/oleo/files/patch-configure.in
@@ -0,0 +1,21 @@
+--- configure.in.orig Thu Nov 23 05:31:55 2000
++++ configure.in Sat Dec 2 10:41:01 2000
+@@ -208,13 +208,15 @@
+ dnl the libplot from GNU plotutils sometimes requires linking the
+ dnl X and Motif libraries
+ dnl
+-AC_CHECK_LIB(plot, pl_openpl_r,
++if test "$with_motif" = "yes"; then
++ AC_CHECK_LIB(plot, pl_openpl_r,
+ AC_DEFINE(HAVE_LIBPLOT)
+ LIBS="$LIBS -lplot")
+
+-AC_CHECK_LIB(sciplot, sp_begin_plot)
+-if test x$ac_cv_lib_sciplot_sp_begin_plot = xyes; then
++ AC_CHECK_LIB(sciplot, sp_begin_plot)
++ if test x$ac_cv_lib_sciplot_sp_begin_plot = xyes; then
+ AC_DEFINE(HAVE_LIBSCIPLOT)
++ fi
+ fi
+
+ dnl Checks for Guile