summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Messier <mmessier@grapetv.org>2007-05-15 14:48:11 -0400
committerMatt Messier <mmessier@grapetv.org>2007-05-15 14:48:11 -0400
commit513f15441a64b2c324ffe4f5a0b4e4fe91119c01 (patch)
tree9fa3195d281a0e9f9afd21d7de38cc0dca31fd06
parentae322a1285602b350bd32390244b1c1ef6a2187e (diff)
downloadxine-lib-513f15441a64b2c324ffe4f5a0b4e4fe91119c01.tar.gz
xine-lib-513f15441a64b2c324ffe4f5a0b4e4fe91119c01.tar.bz2
Tweak large file CPPFLAGS
-rw-r--r--configure.ac6
1 files 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 -------