compliance;
compliance=color_info->compliance;
- if (GlobExpression(token,"*SVG*",MagickTrue) != MagickFalse)
+ if (strcasestr(token,"SVG") != (char *) NULL)
compliance|=SVGCompliance;
- if (GlobExpression(token,"*X11*",MagickTrue) != MagickFalse)
+ if (strcasestr(token,"X11") != (char *) NULL)
compliance|=X11Compliance;
- if (GlobExpression(token,"*XPM*",MagickTrue) != MagickFalse)
+ if (strcasestr(token,"XPM") != (char *) NULL)
compliance|=XPMCompliance;
color_info->compliance=(ComplianceType) compliance;
break;
#if !defined(strcasecmp)
# define strcasecmp _stricmp
#endif
+#if !defined(strcasestr)
+# define strcasestr StrStrIA
+#endif
#if !defined(strncasecmp)
# define strncasecmp _strnicmp
#endif
if (CompareMagickByteBuffer(&buffer,DocumentProcessColors,length) != MagickFalse)
{
p=GetMagickByteBufferDatum(&buffer);
- if ((GlobExpression(p,"*Cyan*",MagickTrue) != MagickFalse) ||
- (GlobExpression(p,"*Magenta*",MagickTrue) != MagickFalse) ||
- (GlobExpression(p,"*Yellow*",MagickTrue) != MagickFalse))
+ if ((strcasestr(p,"Cyan") != (char *) NULL) ||
+ (strcasestr(p,"Magenta") != (char *) NULL) ||
+ (strcasestr(p,"Yellow") != (char *) NULL))
ps_info->cmyk=MagickTrue;
}
if (CompareMagickByteBuffer(&buffer,CMYKCustomColor,strlen(CMYKCustomColor)) != MagickFalse)
/* Define to 1 if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
+/* Define to 1 if you have the `strcasestr' function. */
+#undef HAVE_STRCASESTR
+
/* Define to 1 if you have the `strchr' function. */
#undef HAVE_STRCHR
MAGICK_VERSION=7.0.8-69
-MAGICK_GIT_REVISION=16183:d158c5c7f:20191012
+MAGICK_GIT_REVISION=16237:a9b81c8d5:20191015
# Substitute library versioning
# Check for functions
#
-for ac_func in acosh _aligned_malloc asinh atanh atoll atexit cabs carg cimag creal clock clock_getres clock_gettime ctime_r directio erf _exit execvp fchmod floor fork ftime ftruncate getc_unlocked getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r isnan j0 j1 lltostr localtime_r lstat memmove memset mkstemp munmap nanosleep newlocale _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign posix_spawnp pow pread pwrite qsort_r raise rand_r readlink realpath select seekdir sendfile setlocale socket sqrt setvbuf stat strchr strrchr strcspn strdup strpbrk strspn strstr strtod strtod_l strtol strtoul symlink sysconf sigemptyset sigaction spawnvp strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times ulltostr uselocale usleep utime vfprintf vfprintf_l vsprintf vsnprintf vsnprintf_l waitpid _wfopen _wstat
+for ac_func in acosh _aligned_malloc asinh atanh atoll atexit cabs carg cimag creal clock clock_getres clock_gettime ctime_r directio erf _exit execvp fchmod floor fork ftime ftruncate getc_unlocked getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r isnan j0 j1 lltostr localtime_r lstat memmove memset mkstemp munmap nanosleep newlocale _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign posix_spawnp pow pread pwrite qsort_r raise rand_r readlink realpath select seekdir sendfile setlocale socket sqrt setvbuf stat strcasestr strchr strrchr strcspn strdup strpbrk strspn strstr strtod strtod_l strtol strtoul symlink sysconf sigemptyset sigaction spawnvp strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times ulltostr uselocale usleep utime vfprintf vfprintf_l vsprintf vsnprintf vsnprintf_l waitpid _wfopen _wstat
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
# Check for functions
#
-AC_CHECK_FUNCS([acosh _aligned_malloc asinh atanh atoll atexit cabs carg cimag creal clock clock_getres clock_gettime ctime_r directio erf _exit execvp fchmod floor fork ftime ftruncate getc_unlocked getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r isnan j0 j1 lltostr localtime_r lstat memmove memset mkstemp munmap nanosleep newlocale _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign posix_spawnp pow pread pwrite qsort_r raise rand_r readlink realpath select seekdir sendfile setlocale socket sqrt setvbuf stat strchr strrchr strcspn strdup strpbrk strspn strstr strtod strtod_l strtol strtoul symlink sysconf sigemptyset sigaction spawnvp strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times ulltostr uselocale usleep utime vfprintf vfprintf_l vsprintf vsnprintf vsnprintf_l waitpid _wfopen _wstat])
+AC_CHECK_FUNCS([acosh _aligned_malloc asinh atanh atoll atexit cabs carg cimag creal clock clock_getres clock_gettime ctime_r directio erf _exit execvp fchmod floor fork ftime ftruncate getc_unlocked getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r isnan j0 j1 lltostr localtime_r lstat memmove memset mkstemp munmap nanosleep newlocale _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign posix_spawnp pow pread pwrite qsort_r raise rand_r readlink realpath select seekdir sendfile setlocale socket sqrt setvbuf stat strcasestr strchr strrchr strcspn strdup strpbrk strspn strstr strtod strtod_l strtol strtoul symlink sysconf sigemptyset sigaction spawnvp strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times ulltostr uselocale usleep utime vfprintf vfprintf_l vsprintf vsnprintf vsnprintf_l waitpid _wfopen _wstat])
# Substitute compiler name to build/link PerlMagick
#
\-compress type type of pixel compression when writing the image
\-define format:option
define one or more image format options
+ \-delay value display the next image after pausing
\-density geometry horizontal and vertical density of the image
\-depth value image depth
\-display server query font from this X server
\-flip flip image in the vertical direction
\-flop flop image in the horizontal direction
\-frame geometry surround image with an ornamental border
+ \-layers method optimize or compare image layers
\-monochrome transform image to black and white
\-polaroid angle simulate a Polaroid picture
\-resize geometry resize the image