diff options
author | Stijn Buys <ingar@osirion.org> | 2008-08-23 12:04:21 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-08-23 12:04:21 +0000 |
commit | 02e9a70009f79064043033abc5e597930aa11079 (patch) | |
tree | 606615f7ed162f9acc1e91f03b9745a12637d41a /configure.in | |
parent | 375b7d96a3974a03416c600b579048e48f1580a2 (diff) |
PNG support
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 1a6aee7..3c6db7a 100644 --- a/configure.in +++ b/configure.in @@ -193,6 +193,15 @@ else AC_SUBST(GL_LIBS) AC_SUBST(GL_CFLAGS) + AC_CHECK_HEADER(png.h, + HAVE_OPENGL=yes + AC_DEFINE(HAVE_PNG, 1, [Define this if you have libpng]), + AC_MSG_WARN([libpng include file png.h not found]) + ) + + LIBPNG_LIBS="-lpng" + AC_SUBST(LIBPNG_LIBS) + AC_CHECK_HEADER(AL/al.h, HAVE_OPENGL=yes AC_DEFINE(HAVE_OPENAL, 1, [Define this if you have OpenAL]), |