optional large file support

Original commit message from CVS:
optional large file support
This commit is contained in:
Joshua N. Pritikin 2001-09-14 15:57:46 +00:00
parent ef37a388d0
commit e6746d6eee

View file

@ -168,6 +168,25 @@ AC_MSG_RESULT(no)
)
AC_MSG_CHECKING(for large file support)
AC_TRY_RUN([
#define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
int main () { return !(sizeof(off_t) == 8); }
],
[
AC_MSG_RESULT(yes)
CORE_CFLAGS="$CORE_CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
GST_DEFINE_CFLAGS="$GST_DEFINE_CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
],
[
AC_MSG_RESULT(no)
],
[
AC_MSG_RESULT(no)
])
dnl Check for essential libraries first:
dnl ====================================