From 513f15441a64b2c324ffe4f5a0b4e4fe91119c01 Mon Sep 17 00:00:00 2001 From: Matt Messier Date: Tue, 15 May 2007 14:48:11 -0400 Subject: Tweak large file CPPFLAGS --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 24dbaf2e9..684a2a830 100644 --- a/configure.ac +++ b/configure.ac @@ -948,9 +948,9 @@ AC_SYS_LARGEFILE dnl Add macros to the compiler command line that are also in config.h for things dnl that do not #include config.h. dnl known: src/input/libreal, src/input/librtsp -test x"$ac_cv_sys_file_offset_bits" = x"yes" && CPPFLAGS="-D_FILE_OFFSET_BITS=64 $CPPFLAGS" -test x"$ac_cv_sys_largefile_source" = x"yes" && CPPFLAGS="-D_LARGEFILE_SOURCE $CPPFLAGS" -test x"$ac_cv_sys_large_files" = x"yes" && CPPFLAGS="-D_LARGE_FILES $CPPFLAGS" +test x"$ac_cv_sys_file_offset_bits" != x"no" && CPPFLAGS="-D_FILE_OFFSET_BITS=64 $CPPFLAGS" +test x"$ac_cv_sys_largefile_source" != x"no" && CPPFLAGS="-D_LARGEFILE_SOURCE $CPPFLAGS" +test x"$ac_cv_sys_large_files" != x"" && test x"$ac_cv_sys_large_files" != x"no" && CPPFLAGS="-D_LARGE_FILES $CPPFLAGS" dnl ------- -- cgit v1.2.3