summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-30 17:25:16 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-30 17:28:41 -0500
commit802153469d8763ed0dfe58590cee91aac1c49246 (patch)
treec08888f8e793377415a88e69bdf393835d5da867 /configure.ac
parent4f40f29ade4a6b2c0b27ba902281718662cdde82 (diff)
downloaddimension-802153469d8763ed0dfe58590cee91aac1c49246.tar.xz
Test for GLX usability.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b4147fd..81c299c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,6 +125,9 @@ AC_COMPILE_IFELSE([
AC_MSG_RESULT([no])]
)
+AC_CHECK_HEADER([GL/glx.h], [enable_glx=yes], [enable_glx=no])
+AM_CONDITIONAL([GLX], [test "$enable_glx" != "no"])
+
dnl Generate Makefiles
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_FILES([Makefile