Added two defines needed to make Linux compile

This commit is contained in:
Aaron VonderHaar
2003-02-20 02:01:48 +00:00
parent 4402a37e99
commit 12d7b433e4
+16
View File
@@ -28,5 +28,21 @@ AM_PATH_SDL
# in a way that breaks some configurations.
SDL_LIBS="`echo $SDL_LIBS | sed 's_-L/usr/lib/\?[[ $]]__'`"
# For now, we're only using autoconf on Linux
AH_TEMPLATE([WIN32],
[Indicates compilation on Windows])
AH_TEMPLATE([LINUX],
[Indicates compilation on Linux])
AC_DEFINE(LINUX)
# Some extra defines
AH_TEMPLATE([GL_COLOR_TABLE_FORMAT_EXT],
[Some systems (ie, Linux) don't define GL_COLOR_TABLE_FORMAT_EXT.
In these cases, use GL_COLOR_TABLE_FORMAT instead])
AC_CHECK_DECL(GL_COLOR_TABLE_FORMAT_EXT, [],
AC_DEFINE(GL_COLOR_TABLE_FORMAT_EXT,GL_COLOR_TABLE_FORMAT) )
AC_OUTPUT([Makefile src/Makefile])