diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-06-01 19:11:41 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-06-01 19:11:41 +0000 |
commit | 04bd71265a51eb3c842c45b332a45575a8660e60 (patch) | |
tree | 7c0baf34c197b31f6b14229caa0d35aa4918b65c /configure.ac | |
parent | 214df94a1478591f737d5a41c65af0b26e8fa35b (diff) |
Multiple portability fixes
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@57 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 58653d4..ad9b536 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(thrust3d, 0.0.2, taw27@cam.ac.uk) +AC_INIT(thrust3d, 0.0.3, taw27@cam.ac.uk) VERSION=AC_PACKAGE_VERSION AM_CONFIG_HEADER(config.h) @@ -43,6 +43,9 @@ OPENGL_LIBS=-lGL], AC_MSG_ERROR([ AC_CHECK_LIB(GLU, main, [GLU_LIBS=-lGLU], AC_MSG_ERROR([ *** GLU not found. Do you have 'libglu-dev' or similar installed?])) +AC_CHECK_LIB(GLEW, main, [GLEW_LIBS=-lGLEW], AC_MSG_ERROR([ +*** GLEW not found. Do you have 'libglew-dev' or similar installed?])) + AC_MSG_CHECKING([libpng]) if $PKG_CONFIG --atleast-version 1.2.0 libpng ; then LIBPNG_VERSION=`$PKG_CONFIG --modversion libpng` @@ -56,7 +59,7 @@ else fi CFLAGS="$CFLAGS $LIBSDL_CFLAGS $OPENGL_CFLAGS $LIBPNG_CFLAGS" -LIBS="$LIBS $LIBSDL_LIBS $OPENGL_LIBS $GLU_LIBS $LIBPNG_LIBS" +LIBS="$LIBS $LIBSDL_LIBS $OPENGL_LIBS $GLU_LIBS $GLEW_LIBS $LIBPNG_LIBS" AC_OUTPUT(Makefile src/Makefile data/Makefile) |