1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00
freebsd-ports/math/oleo/files/patch-configure.in
John Marino 0b70cc11ff math/oleo: document ncurses and remove extern errno
While here, regenerate all patches with makepatch
2016-08-23 16:25:35 +00:00

22 lines
640 B
Plaintext

--- configure.in.orig 2001-03-10 14:32:29 UTC
+++ configure.in
@@ -213,13 +213,15 @@ dnl This needs to be done after the X an
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