blob: e5abd94a03c67c302d4b97c4db0c4018e8eede7b (
plain)
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
|
$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)
|