summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8ef5619..3dcf488 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,10 @@ XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XDRIINFO, x11 glproto)
+PKG_CHECK_MODULES(XDRIINFO, x11 xext glproto)
+
+# libGL depends on libm
+XDRIINFO_LIBS="${XDRIINFO_LIBS} -lm"
# Checks for non-pkg-config packages (Mesa or vendor OpenGL)
AC_SEARCH_LIBS([glXGetProcAddressARB], [GL], [],