diff options
author | Martin Szulecki | 2012-03-20 22:59:26 +0100 |
---|---|---|
committer | Martin Szulecki | 2012-03-22 18:54:15 +0100 |
commit | 5b5eaffa21105de2cd203f9271945669e0767e4b (patch) | |
tree | 8f4ba4432a26b65641c9dff72e598a1b911521ae | |
parent | a6be9013acc0f3f2ab37b703798e76409a1c7253 (diff) | |
download | libimobiledevice-5b5eaffa21105de2cd203f9271945669e0767e4b.tar.gz libimobiledevice-5b5eaffa21105de2cd203f9271945669e0767e4b.tar.bz2 |
Use AC_LANG_SOURCE to avoid warnings in configure.ac
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index dfaf9ee..f9d1e97 100644 --- a/configure.ac +++ b/configure.ac @@ -121,11 +121,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 <unistd.h> + AC_RUN_IFELSE([AC_LANG_SOURCE([#include <unistd.h> 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)]) |