X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=d27a79ce522690512c1f435e5d7f7e375d1ba6b6;hb=e48fdc0268b0be35cb1b839a3aef67e99a05ca5c;hp=d6326805fdee94fa630e9649132729b742a8817c;hpb=bc093b888a6d44d2346da9ca4063822f7a35a91c;p=supertux.git diff --git a/configure.ac b/configure.ac index d6326805f..d27a79ce5 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,11 @@ 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 + dnl Checks for library functions. AC_CHECK_FUNCS(mkdir strdup strstr)