Use configure.in to test for endianness on UNIX

This commit is contained in:
Marcus Comstedt
2012-05-08 16:12:33 +02:00
parent 4370f6c9d6
commit 82fb48738d
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@ AC_PREFIX_DEFAULT([/usr])
AC_PROG_LIBTOOL
AC_PROG_CC
AC_PROG_CXX
AC_C_BIGENDIAN
AC_SEARCH_LIBS([sqrt], [m], [], AC_MSG_ERROR([Can't LÖVE without C math library]))
AC_SEARCH_LIBS([SDL_Init], [SDL], [], AC_MSG_ERROR([Can't LÖVE without SDL]))
AC_SEARCH_LIBS([glLoadIdentity], [GL], [], AC_MSG_ERROR([Can't LÖVE without OpenGL]))