summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 16:01:01 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 16:01:01 +0000
commit9650dc9335c7230769c951784fec79bd04d0d967 (patch)
treea711cf5302cd8ab60c80e20bab4c2c6f6a20f420
parent2830b22abe3deb1b6c482daa37f6e1a3d1dfad8d (diff)
Proper dependencies for OpenBSD.
-rw-r--r--app/xdriinfo/configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/xdriinfo/configure.ac b/app/xdriinfo/configure.ac
index 00b495240..3bab4d540 100644
--- a/app/xdriinfo/configure.ac
+++ b/app/xdriinfo/configure.ac
@@ -33,7 +33,11 @@ AC_PROG_INSTALL
AC_TYPE_SIGNAL
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XDRIINFO, x11 glproto)
+PKG_CHECK_MODULES(XDRIINFO, xext x11 glproto)
+
+# libGL depends on libm
+XDRIINFO_LIBS="${XDRIINFO_LIBS} -lm"
+
AC_SUBST(XDRIINFO_CFLAGS)
AC_SUBST(XDRIINFO_LIBS)