diff options
| author | Guillem Jover <guillem@hadrons.org> | 2011-07-19 17:56:32 +0200 |
|---|---|---|
| committer | Guillem Jover <guillem@hadrons.org> | 2011-07-19 17:56:32 +0200 |
| commit | 8ffb28cda58be37d52ed8f7c3b9967574f0a4233 (patch) | |
| tree | bc53f512993a5a7e313f09ea8978a068c50a2b21 | |
| parent | 76a838e31d3b702b0489792e9cc13018fa331749 (diff) | |
build: Define GLIDE3_ALPHA when using glide3
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3d1f278..2c2012a 100644 --- a/configure.ac +++ b/configure.ac @@ -76,7 +76,10 @@ AC_HEADER_STDC AC_CHECK_HEADER([glide.h], [], [AC_MSG_ERROR([<glide.h> is required])]) -AC_CHECK_DECL([grGet], [AC_DEFINE(GLIDE3, 1, [glide3x available])], [], +AC_CHECK_DECL([grGet], + [AC_DEFINE(GLIDE3, 1, [glide3x available]) + AC_DEFINE(GLIDE3_ALPHA, 1, [glide3x alpha available])], + [], [#include <glide.h>]) GLIDE_CFLAGS="-I$glideincludedir" |
