From: cristy Date: Wed, 21 Sep 2011 16:41:16 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6973 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1e0cc10ffdbd6b4ff3b1d6879f007ac41344b30;p=imagemagick --- diff --git a/MagickCore/version.h b/MagickCore/version.h index c25adc266..24e66fff4 100644 --- a/MagickCore/version.h +++ b/MagickCore/version.h @@ -27,7 +27,7 @@ extern "C" { */ #define MagickPackageName "ImageMagick" #define MagickCopyright "Copyright (C) 1999-2011 ImageMagick Studio LLC" -#define MagickSVNRevision "5300" +#define MagickSVNRevision "5364" #define MagickLibVersion 0x700 #define MagickLibVersionText "7.0.0" #define MagickLibVersionNumber 7,0,0 diff --git a/config/configure.xml b/config/configure.xml index c0c133a7a..6eac2c6d1 100644 --- a/config/configure.xml +++ b/config/configure.xml @@ -10,7 +10,7 @@ - + diff --git a/configure b/configure index d5c857b97..f275e36ea 100755 --- a/configure +++ b/configure @@ -3584,7 +3584,7 @@ MAGICK_LIBRARY_CURRENT_MIN=`expr $MAGICK_LIBRARY_CURRENT - $MAGICK_LIBRARY_AGE` MAGICK_LIBRARY_VERSION_INFO=$MAGICK_LIBRARY_CURRENT:$MAGICK_LIBRARY_REVISION:$MAGICK_LIBRARY_AGE -MAGICK_SVN_REVISION=5300 +MAGICK_SVN_REVISION=5364 @@ -9557,9 +9557,11 @@ fi LFS_CPPFLAGS='' if test "$enable_largefile" != no; then - if test "$ac_cv_sys_file_offset_bits" != 'no'; then - LFS_CPPFLAGS="$LFS_CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" - else + case $ac_cv_sys_file_offset_bits in + no) + # nothing to do here as the host supports LFS fine + ;; + unknown) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native large file support" >&5 $as_echo_n "checking for native large file support... " >&6; } if test "$cross_compiling" = yes; then : @@ -9595,7 +9597,11 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi + ;; + *) + LFS_CPPFLAGS="$LFS_CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" + ;; + esac if test "$ac_cv_sys_large_files" != 'no'; then LFS_CPPFLAGS="$LFS_CPPFLAGS -D_LARGE_FILES=1" fi diff --git a/configure.ac b/configure.ac index f4edf7583..d8998fe23 100755 --- a/configure.ac +++ b/configure.ac @@ -431,9 +431,11 @@ AC_SYS_LARGEFILE AC_FUNC_FSEEKO LFS_CPPFLAGS='' if test "$enable_largefile" != no; then - if test "$ac_cv_sys_file_offset_bits" != 'no'; then - LFS_CPPFLAGS="$LFS_CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" - else + case $ac_cv_sys_file_offset_bits in + no) + # nothing to do here as the host supports LFS fine + ;; + unknown) AC_MSG_CHECKING([for native large file support]) AC_RUN_IFELSE([AC_LANG_PROGRAM([#include main () { @@ -442,7 +444,11 @@ if test "$enable_largefile" != no; then [ac_cv_sys_file_offset_bits=64; AC_DEFINE(_FILE_OFFSET_BITS,64) AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) - fi + ;; + *) + LFS_CPPFLAGS="$LFS_CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" + ;; + esac if test "$ac_cv_sys_large_files" != 'no'; then LFS_CPPFLAGS="$LFS_CPPFLAGS -D_LARGE_FILES=1" fi