]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 20 Mar 2010 19:34:32 +0000 (19:34 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 20 Mar 2010 19:34:32 +0000 (19:34 +0000)
config/config.h.in
config/configure.xml
configure
configure.ac
magick/fx.c
magick/magick-config.h
magick/version.h

index 741adcd0ada63467e301e865103ce14324d46ffc..80a2415c3589c7bce2ad19dedc86fea542ad5bc7 100644 (file)
@@ -43,8 +43,7 @@
 /* Define if you have Display Postscript */
 #undef DPS_DELEGATE
 
-/* Build self-contained, embeddable, zero-configuration ImageMagick
-   (experimental) */
+/* Build self-contained, embeddable, zero-configuration ImageMagick */
 #undef EMBEDDABLE_SUPPORT
 
 /* exclude deprecated methods in MagickCore API */
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
+/* Define to 1 if you have the `j0' function. */
+#undef HAVE_J0
+
+/* Define to 1 if you have the `j1' function. */
+#undef HAVE_J1
+
 /* Define if you have the <lcms.h> header file. */
 #undef HAVE_LCMS_H
 
index d78339587ab73c1e0868cb0df78140b7eb2574cd..e8afd9731ba02b1aed3a555609cbd361be3e0dc6 100644 (file)
@@ -9,7 +9,7 @@
   <configure name="NAME" value="ImageMagick"/>
   <configure name="LIB_VERSION" value="0x660"/>
   <configure name="LIB_VERSION_NUMBER" value="6,6,0,8"/>
-  <configure name="RELEASE_DATE" value="2010-03-18"/>
+  <configure name="RELEASE_DATE" value="2010-03-20"/>
   <configure name="CONFIGURE" value="./configure "/>
   <configure name="PREFIX" value="/usr/local"/>
   <configure name="EXEC-PREFIX" value="/usr/local"/>
index a2121cfae69528444a60c3719e8b64fcb3a36bb3..25a4c29a79ef2a2f61ba36f5c1570d1cf1783cc5 100755 (executable)
--- a/configure
+++ b/configure
@@ -948,7 +948,6 @@ XMKMF
 BZLIB_LIBS
 BZLIB_DELEGATE_FALSE
 BZLIB_DELEGATE_TRUE
-MATH_LIBS
 CCMALLOCDelegate
 UMEM_LIBS
 HasUMEM_FALSE
@@ -958,6 +957,7 @@ GOMP_LIBS
 WITH_MAGICK_PLUS_PLUS_FALSE
 WITH_MAGICK_PLUS_PLUS_TRUE
 OPENMP_CXXFLAGS
+MATH_LIBS
 POW_LIB
 LIBOBJS
 UINTPTR_T
@@ -22644,7 +22644,54 @@ done
 
 
 
-for ac_func in _exit atexit clock directio execvp fchmod floor fork ftime ftruncate getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r localtime_r lstat memmove memset mkstemp munmap _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign pow pread pwrite raise rand_r readlink readdir_r realpath select seekdir setlocale sqrt setvbuf stat strchr strerror_r strrchr strcspn strdup strpbrk strspn strstr strtol strtoul symlink sysconf sigemptyset sigaction spawnvp strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times usleep utime vsprintf vsnprintf waitpid _wfopen _wstat
+#
+# Find math library
+#
+MATH_LIBS=''
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
+$as_echo_n "checking for sqrt in -lm... " >&6; }
+if test "${ac_cv_lib_m_sqrt+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sqrt ();
+int
+main ()
+{
+return sqrt ();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_m_sqrt=yes
+else
+  ac_cv_lib_m_sqrt=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
+$as_echo "$ac_cv_lib_m_sqrt" >&6; }
+if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
+  MATH_LIBS="-lm"
+fi
+
+LIBS="$MATH_LIBS $LIBS"
+
+
+for ac_func in _exit atexit clock directio execvp fchmod floor fork ftime ftruncate getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r j0 j1 localtime_r lstat memmove memset mkstemp munmap _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign pow pread pwrite raise rand_r readlink readdir_r realpath select seekdir setlocale sqrt setvbuf stat strchr strerror_r strrchr strcspn strdup strpbrk strspn strstr strtol strtoul symlink sysconf sigemptyset sigaction spawnvp strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times usleep utime vsprintf vsnprintf 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"
@@ -24233,53 +24280,6 @@ if test "$enable_efence" = 'yes'; then
     LIBS="$EFENCE_LIBS $LIBS"
 fi
 
-#
-# Find math library
-#
-MATH_LIBS=''
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
-$as_echo_n "checking for sqrt in -lm... " >&6; }
-if test "${ac_cv_lib_m_sqrt+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char sqrt ();
-int
-main ()
-{
-return sqrt ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_m_sqrt=yes
-else
-  ac_cv_lib_m_sqrt=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
-$as_echo "$ac_cv_lib_m_sqrt" >&6; }
-if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
-  MATH_LIBS="-lm"
-fi
-
-LIBS="$MATH_LIBS $LIBS"
-
-
 
 #
 # Check for BZLIB
index 451c251a6679e6a9288cd6dbb6e64c9f3143b293..fcf45646454e3af334f5ebcee2a939bc7aa6589c 100755 (executable)
@@ -977,7 +977,15 @@ AC_TYPE_SIGNAL
 AC_FUNC_STRTOD
 AC_FUNC_VPRINTF
 
-AC_CHECK_FUNCS([_exit atexit clock directio execvp fchmod floor fork ftime ftruncate getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r localtime_r lstat memmove memset mkstemp munmap _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign pow pread pwrite raise rand_r readlink readdir_r realpath select seekdir setlocale sqrt setvbuf stat strchr strerror_r strrchr strcspn strdup strpbrk strspn strstr strtol strtoul symlink sysconf sigemptyset sigaction spawnvp strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times usleep utime vsprintf vsnprintf waitpid _wfopen _wstat])
+#
+# Find math library
+#
+MATH_LIBS=''
+AC_CHECK_LIB(m,sqrt,MATH_LIBS="-lm",,)
+LIBS="$MATH_LIBS $LIBS"
+AC_SUBST(MATH_LIBS)
+
+AC_CHECK_FUNCS([_exit atexit clock directio execvp fchmod floor fork ftime ftruncate getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r j0 j1 localtime_r lstat memmove memset mkstemp munmap _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign pow pread pwrite raise rand_r readlink readdir_r realpath select seekdir setlocale sqrt setvbuf stat strchr strerror_r strrchr strcspn strdup strpbrk strspn strstr strtol strtoul symlink sysconf sigemptyset sigaction spawnvp strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times usleep utime vsprintf vsnprintf waitpid _wfopen _wstat])
 
 #
 # Check for clock_gettime().
@@ -1263,14 +1271,6 @@ if test "$enable_efence" = 'yes'; then
     LIBS="$EFENCE_LIBS $LIBS"
 fi
 
-#
-# Find math library
-#
-MATH_LIBS=''
-AC_CHECK_LIB(m,sqrt,MATH_LIBS="-lm",,)
-LIBS="$MATH_LIBS $LIBS"
-AC_SUBST(MATH_LIBS)
-
 dnl ===========================================================================
 
 #
index 2e0a3763609b9a0e204a9a7aeff171a9eca7f870..14b73e554b6fd876c7b441cafb0b4a4a84d3284c 100644 (file)
@@ -2262,18 +2262,22 @@ static MagickRealType FxEvaluateSubexpression(FxInfo *fx_info,
     {
       if (LocaleCompare(expression,"j") == 0)
         return(FxGetSymbol(fx_info,channel,x,y,expression,exception));
+#if defined(MAGICKCORE_HAVE_J0)
       if (LocaleNCompare(expression,"j0",2) == 0)
         {
           alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+2,beta,
             exception);
           return((MagickRealType) j0((double) alpha));
         }
+#endif
+#if defined(MAGICKCORE_HAVE_J1)
       if (LocaleNCompare(expression,"j1",2) == 0)
         {
           alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+2,beta,
             exception);
           return((MagickRealType) j1((double) alpha));
         }
+#endif
       if (LocaleNCompare(expression,"jinc",4) == 0)
         {
           alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4,beta,
index a05320de84654ca02e83949692fb14b64ef2eda9..c522a289d3ec54caf1e1d4827e70f073090584cf 100644 (file)
@@ -66,8 +66,7 @@
 /* Define if you have Display Postscript */
 /* #undef DPS_DELEGATE */
 
-/* Build self-contained, embeddable, zero-configuration ImageMagick
-   (experimental) */
+/* Build self-contained, embeddable, zero-configuration ImageMagick */
 /* #undef EMBEDDABLE_SUPPORT */
 
 /* exclude deprecated methods in MagickCore API */
 #endif
 
 /* Define to 1 if you have the `floor' function. */
-/* #undef HAVE_FLOOR */
+#ifndef MAGICKCORE_HAVE_FLOOR 
+#define MAGICKCORE_HAVE_FLOOR  1 
+#endif
 
 /* Define to 1 if you have the `fork' function. */
 #ifndef MAGICKCORE_HAVE_FORK 
 #define MAGICKCORE_HAVE_INTTYPES_H  1 
 #endif
 
+/* Define to 1 if you have the `j0' function. */
+#ifndef MAGICKCORE_HAVE_J0 
+#define MAGICKCORE_HAVE_J0  1 
+#endif
+
+/* Define to 1 if you have the `j1' function. */
+#ifndef MAGICKCORE_HAVE_J1 
+#define MAGICKCORE_HAVE_J1  1 
+#endif
+
 /* Define if you have the <lcms.h> header file. */
 #ifndef MAGICKCORE_HAVE_LCMS_H 
 #define MAGICKCORE_HAVE_LCMS_H  1 
 #endif
 
 /* Define to 1 if you have the `pow' function. */
-/* #undef HAVE_POW */
+#ifndef MAGICKCORE_HAVE_POW 
+#define MAGICKCORE_HAVE_POW  1 
+#endif
 
 /* Define to 1 if you have the `pread' function. */
 #ifndef MAGICKCORE_HAVE_PREAD 
 /* #undef HAVE_SPAWNVP */
 
 /* Define to 1 if you have the `sqrt' function. */
-/* #undef HAVE_SQRT */
+#ifndef MAGICKCORE_HAVE_SQRT 
+#define MAGICKCORE_HAVE_SQRT  1 
+#endif
 
 /* Define to 1 if you have the `stat' function. */
 #ifndef MAGICKCORE_HAVE_STAT 
index b477b363b775fe327d80fafda0f58f13ea1807df..3ebc1f39555f84292fd91bc82c5ddc741c646171 100644 (file)
@@ -33,8 +33,8 @@ extern "C" {
 #define MagickLibAddendum  "-8"
 #define MagickLibInterface  3
 #define MagickLibMinInterface  3
-#define MagickReleaseDate  "2010-03-18"
-#define MagickChangeDate   "20100317"
+#define MagickReleaseDate  "2010-03-20"
+#define MagickChangeDate   "20100318"
 #define MagickAuthoritativeURL  "http://www.imagemagick.org"
 #define MagickHomeURL  "file:///usr/local/share/doc/ImageMagick-6.6.0/index.html"
 #if (MAGICKCORE_QUANTUM_DEPTH == 8)