X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=0affc1a37fb44f94cbf3c2c0ee1f3faf35e8420c;hb=34c1e9c69233f77147d8fd63259250b331cd8e8f;hp=d6326805fdee94fa630e9649132729b742a8817c;hpb=bc093b888a6d44d2346da9ca4063822f7a35a91c;p=supertux.git diff --git a/configure.ac b/configure.ac index d6326805f..0affc1a37 100644 --- a/configure.ac +++ b/configure.ac @@ -89,12 +89,6 @@ AM_ICONV AC_SUBST([ICONV_LIBS], [$LIBICONV]) dnl =========================================================================== -dnl Check for OpenGL -AX_CHECK_GL -if test "$no_gl" = "yes"; then - AC_MSG_ERROR([Please install opengl libraries and headers]) -fi - dnl Check for SDL SDL_VERSION=1.2.4 AM_PATH_SDL($SDL_VERSION, @@ -130,6 +124,15 @@ NP_FINDLIB([OPENAL], [OpenAL], [OpenAL], [AC_MSG_ERROR([Please intall OpenAL])], [], []) +AX_CHECK_GL +if test "$no_gl" = "yes"; then + AC_MSG_ERROR([Please install opengl libraries and headers]) +fi +AX_CHECK_GLU +if test "$no_glu" = "yes"; then + AC_MSG_ERROR([Please install opengl utility libraries and headers]) +fi + dnl Checks for library functions. AC_CHECK_FUNCS(mkdir strdup strstr)