From 11b93e83df1bdae1277d8059e25ef2344fed8706 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 20 Mar 2012 22:59:26 +0100 Subject: Use AC_LANG_SOURCE to avoid warnings in configure.ac --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index af70dd2..7dcf87b 100644 --- a/configure.ac +++ b/configure.ac @@ -172,11 +172,11 @@ if test "$enable_largefile" != no; then LFS_CFLAGS="$LFS_CFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" else AC_MSG_CHECKING(for native large file support) - AC_RUN_IFELSE([#include + AC_RUN_IFELSE([AC_LANG_SOURCE([#include int main (int argc, char **argv) { exit(!(sizeof(off_t) == 8)); - }], + }])], [ac_cv_sys_file_offset_bits=64; AC_DEFINE(_FILE_OFFSET_BITS,64) AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)]) -- cgit v1.1-32-gdbae