Enabled headless build in autotools

This commit is contained in:
Bart van Strien
2011-06-08 17:14:41 +02:00
parent 1d5fca6f46
commit 3460bf918c
3 changed files with 10 additions and 0 deletions
+3
View File
@@ -39,6 +39,9 @@ AC_SEARCH_LIBS([ModPlug_Load], [modplug], [], AC_MSG_ERROR([Can't LÖVE without
AC_SEARCH_LIBS([mpg123_open_feed], [mpg123], [], AC_MSG_ERROR([Can't LÖVE without Mpg123]))
AC_SEARCH_LIBS([mpg123_seek_64], [mpg123], AC_SUBST([FILE_OFFSET],[-D_FILE_OFFSET_BITS=64]), AC_SUBST([FILE_OFFSET],[]))
AC_SEARCH_LIBS([ov_open], [vorbisfile], [], AC_MSG_ERROR([Can't LÖVE without VorbisFile]))
AC_ARG_ENABLE([headless],
[ --enable-headless Build with less SDL],
AC_DEFINE([LOVE_HEADLESS], [], [Build with less SDL]), [])
AC_CONFIG_FILES([
Makefile
src/Makefile