diff --git a/configure.ac b/configure.ac index 5e88d06..311abfe 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ case "${host}" in ;; *) HOST=LINUX - LIBGL="-lGL -lGLU" + LIBGL=`pkg-config --libs glu glew` ;; esac AM_CONDITIONAL(HOST_IS_MSW, [test "x$HOST" == xMSW]) diff --git a/src/Makefile.am b/src/Makefile.am index 4d47ea3..3cb6614 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,8 +24,6 @@ wxmacmolplt_SOURCES = \ frequenciesdialog.cpp frequenciesdialog.h \ GaussHermite.cpp GaussHermite.h \ Geometries.cpp Geometries.h \ - glew.cpp glew.h \ - glxew.h wglew.h \ glf.cpp glf.h \ GlobalExceptions.h \ Globals.h \ diff --git a/src/mmp_gl.h b/src/mmp_gl.h index daa1eb7..1345b90 100644 --- a/src/mmp_gl.h +++ b/src/mmp_gl.h @@ -1,7 +1,7 @@ #ifndef MMP_GL_H #define MMP_GL_H -#include "glew.h" +#include #include #include #include