From cd97834bedaa31a2f281c7751f0d6395e5a49145 Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Tue, 7 Feb 2006 14:49:40 +0000 Subject: [PATCH] *** empty log message *** --- configure | 6 ++++-- configure.ac | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/configure b/configure index fe817e23..f75a2d19 100755 --- a/configure +++ b/configure @@ -19735,14 +19735,16 @@ if test "${with_default_strip_size+set}" = set; then fi; -if test "$HAVE_STRIPCHOP" = "yes" ; then +if test "$HAVE_STRIPCHOP" = "yes" \ + -a "x$with_default_strip_size" != "xno"; then cat >>confdefs.h <<\_ACEOF #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP _ACEOF - if test "x$with_default_strip_size" = "x" ; then + if test "x$with_default_strip_size" = "x" \ + -o "x$with_default_strip_size" = "xyes"; then with_default_strip_size="8192" fi diff --git a/configure.ac b/configure.ac index 5475f8c4..31eec512 100644 --- a/configure.ac +++ b/configure.ac @@ -451,10 +451,12 @@ AC_ARG_WITH(default-strip-size, AS_HELP_STRING([--with-default-strip-size=SIZE], [default size of the strip in bytes (when strip chopping enabled) [[default=8192]]]),,) -if test "$HAVE_STRIPCHOP" = "yes" ; then +if test "$HAVE_STRIPCHOP" = "yes" \ + -a "x$with_default_strip_size" != "xno"; then AC_DEFINE(STRIPCHOP_DEFAULT,TIFF_STRIPCHOP,[Support strip chopping (whether or not to convert single-strip uncompressed images to mutiple strips of specified size to reduce memory usage)]) - if test "x$with_default_strip_size" = "x" ; then + if test "x$with_default_strip_size" = "x" \ + -o "x$with_default_strip_size" = "xyes"; then with_default_strip_size="8192" fi