pkgsrc/graphics/pstoedit/patches/patch-aa
itohy 2ae9d9e223 pstoedit, a converter from PostScript and PDF files to
other vector graphic formats, including fig (xfig, transfig),
tgif .obj, DXF (CAD exchange format), PIC (troff), LaTeX2e picture,
and etc.

Some files may not be converted.
International characters may be broken into polylines and splines,
but would be better than nothing.
2000-07-18 07:46:40 +00:00

26 lines
630 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2000/07/18 07:46:40 itohy Exp $
--- configure.in.orig Tue May 2 05:02:00 2000
+++ configure.in Sat Jun 24 19:30:17 2000
@@ -18,6 +18,21 @@
AC_PROG_INSTALL
AC_PATH_PROG(GS,gs,gs)
+dnl X11 support. Stolen from plotutils.
+AC_PATH_XTRA
+AC_SUBST(X_CFLAGS)
+AC_SUBST(X_LIBS)
+AC_SUBST(X_TOOLKIT_LIBS)
+AC_SUBST(X_PRE_LIBS)
+AC_SUBST(X_BASIC_LIBS)
+AC_SUBST(X_EXTRA_LIBS)
+
+X_TOOLKIT_LIBS="-lXaw -lXmu -lXt"
+X_BASIC_LIBS="-lXext -lX11"
+
+LDFLAGS="$X_LIBS $LDFLAGS"
+CPPFLAGS="$X_CFLAGS $CPPFLAGS"
+
dnl Look for various optional libraries.
AC_CHECK_LIB(dl,main,[LDL=-ldl],[LDL=])
AC_SUBST(LDL)