- Fixed large filesystem check (removed comments)
authorMarius Tomaschewski <mt@suse.de>
Tue, 31 Jan 2006 12:27:31 +0000 (12:27 +0000)
committerMarius Tomaschewski <mt@suse.de>
Tue, 31 Jan 2006 12:27:31 +0000 (12:27 +0000)
configure.ac

index 9fe85b9..13c6ddc 100644 (file)
@@ -56,17 +56,17 @@ AC_SUBST(LIBZYPP_VERSION_INFO)
 dnl ==================================================
 
 CXXFLAGS="-g -O2 -Wall -Wformat"
-#AC_SYS_LARGEFILE
-#if test "$enable_largefile" != no ; then
-#      enable_largefile=yes
-#
-#      if test "$ac_cv_sys_file_offset_bits" != no; then
-#              CXXFLAGS="$CXXFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
-#      fi
-#      if test "$ac_cv_sys_large_files" != no; then
-#              CXXFLAGS="$CXXFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
-#      fi
-#fi
+AC_SYS_LARGEFILE
+if test "$enable_largefile" != no ; then
+       enable_largefile=yes
+
+       if test "$ac_cv_sys_file_offset_bits" != no; then
+               CXXFLAGS="$CXXFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
+       fi
+       if test "$ac_cv_sys_large_files" != no; then
+               CXXFLAGS="$CXXFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
+       fi
+fi
 
 dnl ==================================================