remove unneeded stuff
don't need id3lib anymore don't test for "LINUX"; test for the actual feature you need
This commit is contained in:
@@ -16,8 +16,6 @@ AC_SEARCH_LIBS(vorbis_comment_add, [vorbis], have_vorbis=yes, have_vorbis=no)
|
||||
AC_SEARCH_LIBS(ogg_stream_init, [ogg], have_ogg=yes, have_ogg=no)
|
||||
AC_SEARCH_LIBS(ov_open, [vorbisfile], have_vorbisfile=yes, have_vorbisfile=no)
|
||||
AC_SEARCH_LIBS(mad_synth_init, [mad], have_mad=yes, have_mad=no)
|
||||
AC_SEARCH_LIBS(id3_tag_parse, [id3tag], have_mad=yes, have_mad=no)
|
||||
AC_SEARCH_LIBS(deflate, [z], have_libz=yes, have_libz=no)
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
@@ -28,21 +26,5 @@ 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])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user