diff --git a/configure.in b/configure.in index 583d33393..65980d95f 100644 --- a/configure.in +++ b/configure.in @@ -34,6 +34,7 @@ AC_SEARCH_LIBS([FT_Load_Glyph], [freetype], [], AC_MSG_ERROR([Can't LÖVE withou AC_SEARCH_LIBS([PHYSFS_init], [physfs], [], AC_MSG_ERROR([Can't LÖVE without PhysicsFS])) AC_SEARCH_LIBS([ModPlug_Load], [modplug], [], AC_MSG_ERROR([Can't LÖVE without ModPlug])) 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_SEARCH_LIBS([FLAC__metadata_chain_new], [FLAC++], [], AC_MSG_ERROR([Can't LÖVE without FLAC++])) AC_CONFIG_FILES([ diff --git a/platform/unix/gen-makefile b/platform/unix/gen-makefile index 7fa35de21..e75836f01 100644 --- a/platform/unix/gen-makefile +++ b/platform/unix/gen-makefile @@ -3,7 +3,7 @@ echo Generating src/Makefile.am ... cd src inc_current=. inc_modules="$inc_current/modules" -echo "AM_CPPFLAGS = -I$inc_current -I$inc_modules -I/usr/include/AL -I/usr/include/freetype2 \$(INCLUDE_LUA) -I/usr/include/SDL +echo "AM_CPPFLAGS = -I$inc_current -I$inc_modules -I/usr/include/AL -I/usr/include/freetype2 \$(INCLUDE_LUA) -I/usr/include/SDL \$(FILE_OFFSET) AUTOMAKE_OPTIONS = subdir-objects DEFAULT_INCLUDES = SUBDIRS =