Link in g++ for GLEW

This commit is contained in:
nobrakal 2017-07-24 20:48:52 +02:00 committed by GitHub
parent fdc1ac1e6e
commit 48e6434a61
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ AC_CHECK_LIB([SDL_gfx], [main], [], [AS_IF( test ["${host_os#*mingw}" != "$host_
AC_CHECK_LIB([SDL_ttf], [main], [], [AS_IF( test ["${host_os#*mingw}" != "$host_os"], [export wincppflags=$wincppflags" dll/SDL_ttf.dll" && AC_MSG_RESULT([Building for windows, ignoring])] ,AC_MSG_ERROR([SDL_ttf library was not found]))])
# Test for libpng
AC_CHECK_LIB([png], [main], [], AC_MSG_ERROR([png library was not found]))
# Test for glew
AC_CHECK_LIB([GLEW], [main], [], AC_MSG_ERROR([Glew library was not found]))
# Checks for header files.
AC_CHECK_HEADERS([stdlib.h unistd.h])