diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-11-30 17:25:16 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-11-30 17:28:41 -0500 |
commit | 802153469d8763ed0dfe58590cee91aac1c49246 (patch) | |
tree | c08888f8e793377415a88e69bdf393835d5da867 /configure.ac | |
parent | 4f40f29ade4a6b2c0b27ba902281718662cdde82 (diff) | |
download | dimension-802153469d8763ed0dfe58590cee91aac1c49246.tar.xz |
Test for GLX usability.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
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 |