]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 25 Apr 2010 23:18:00 +0000 (23:18 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 25 Apr 2010 23:18:00 +0000 (23:18 +0000)
20 files changed:
Makefile.in
config/config.h.in
config/configure.xml
configure
configure.ac
m4/ac_prog_perl_version.m4 [deleted file]
m4/ax_compare_version.m4 [new file with mode: 0644]
m4/ax_cxx_bool.m4 [new file with mode: 0644]
m4/ax_cxx_namespace_std.m4 [new file with mode: 0644]
m4/ax_cxx_namespaces.m4 [new file with mode: 0644]
m4/ax_lang_compiler_ms.m4
m4/ax_prefix_config_h.m4
m4/ax_prog_perl_version.m4 [new file with mode: 0644]
m4/ax_pthread.m4 [moved from m4/acx_pthread.m4 with 85% similarity]
m4/cxx_have_bool.m4 [deleted file]
m4/cxx_have_namespaces.m4 [deleted file]
m4/cxx_have_std_libs.m4
m4/cxx_have_std_namespace.m4 [deleted file]
magick/magick-config.h
magick/version.h

index 40082714471ebefa811116055d152f42a8f6b81e..c3dba047467c10cc3477e78fea7ea9976fd94ae0 100644 (file)
@@ -276,17 +276,18 @@ DIST_COMMON = $(am__configure_deps) $(am__include_HEADERS_DIST) \
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_compile_warnings.m4 \
-       $(top_srcdir)/m4/ac_func_fseeko.m4 \
-       $(top_srcdir)/m4/ac_prog_perl_version.m4 \
-       $(top_srcdir)/m4/acx_pthread.m4 $(top_srcdir)/m4/argz.m4 \
+       $(top_srcdir)/m4/ac_func_fseeko.m4 $(top_srcdir)/m4/argz.m4 \
+       $(top_srcdir)/m4/ax_compare_version.m4 \
+       $(top_srcdir)/m4/ax_cxx_bool.m4 \
+       $(top_srcdir)/m4/ax_cxx_namespace_std.m4 \
+       $(top_srcdir)/m4/ax_cxx_namespaces.m4 \
        $(top_srcdir)/m4/ax_lang_compiler_ms.m4 \
        $(top_srcdir)/m4/ax_opencl.m4 \
        $(top_srcdir)/m4/ax_prefix_config_h.m4 \
-       $(top_srcdir)/m4/cxx_have_bool.m4 \
+       $(top_srcdir)/m4/ax_prog_perl_version.m4 \
+       $(top_srcdir)/m4/ax_pthread.m4 \
        $(top_srcdir)/m4/cxx_have_lstring.m4 \
-       $(top_srcdir)/m4/cxx_have_namespaces.m4 \
        $(top_srcdir)/m4/cxx_have_std_libs.m4 \
-       $(top_srcdir)/m4/cxx_have_std_namespace.m4 \
        $(top_srcdir)/m4/framework.m4 $(top_srcdir)/m4/libtool.m4 \
        $(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
@@ -2406,6 +2407,7 @@ PERL = @PERL@
 PERLMAINCC = @PERLMAINCC@
 PERL_MAKE_OPTIONS = @PERL_MAKE_OPTIONS@
 PERL_SUPPORTS_DESTDIR = @PERL_SUPPORTS_DESTDIR@
+PERL_VERSION = @PERL_VERSION@
 PERSISTINCLUDE_DIR = @PERSISTINCLUDE_DIR@
 PGPDecodeDelegate = @PGPDecodeDelegate@
 PKG_CONFIG = @PKG_CONFIG@
@@ -2476,12 +2478,12 @@ abs_top_srcdir = @abs_top_srcdir@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-acx_pthread_config = @acx_pthread_config@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
 am__tar = @am__tar@
 am__untar = @am__untar@
+ax_pthread_config = @ax_pthread_config@
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
index 13ff83fe296fbef2b681f95c935ae5f79e8635c1..a954f4619d9d3b92fafda2054e8e25dc65067590 100644 (file)
 /* define if the compiler implements namespaces */
 #undef HAVE_NAMESPACES
 
+/* Define if g++ supports namespace std. */
+#undef HAVE_NAMESPACE_STD
+
 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
 #undef HAVE_NDIR_H
 
 /* define if the compiler supports ISO C++ standard library */
 #undef HAVE_STD_LIBS
 
-/* define if the compiler supports the std namespace */
-#undef HAVE_STD_NAMESPACE
-
 /* Define to 1 if you have the `strcasecmp' function. */
 #undef HAVE_STRCASECMP
 
index 394a7aa857a19bc635740e1743299de53a912156..95ea689132409a5adba64b02f14bbeec850da7fa 100644 (file)
@@ -9,7 +9,7 @@
   <configure name="NAME" value="ImageMagick"/>
   <configure name="LIB_VERSION" value="0x661"/>
   <configure name="LIB_VERSION_NUMBER" value="6,6,1,6"/>
-  <configure name="RELEASE_DATE" value="2010-04-24"/>
+  <configure name="RELEASE_DATE" value="2010-04-25"/>
   <configure name="CONFIGURE" value="./configure "/>
   <configure name="PREFIX" value="/usr/local"/>
   <configure name="EXEC-PREFIX" value="/usr/local"/>
index d2afb12424432516494c8a01b61a8d7637c8f4b4..9b9b10e9a06a0d121443962192c9a1e14d818d00 100755 (executable)
--- a/configure
+++ b/configure
@@ -773,6 +773,7 @@ WITH_PERL_STATIC_FALSE
 WITH_PERL_STATIC_TRUE
 WITH_PERL_FALSE
 WITH_PERL_TRUE
+PERL_VERSION
 GSVersion
 GSPSDevice
 GSPDFDevice
@@ -1027,7 +1028,7 @@ OPENMP_CFLAGS
 PTHREAD_CFLAGS
 PTHREAD_LIBS
 PTHREAD_CC
-acx_pthread_config
+ax_pthread_config
 WinPathScript
 USING_CL_FALSE
 USING_CL_TRUE
@@ -8011,7 +8012,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-acx_pthread_ok=no
+ax_pthread_ok=no
 
 # We used to check for pthread.h first, but this fails if pthread.h
 # requires special compiler flags (e.g. on True64 or Sequent).
@@ -8046,13 +8047,13 @@ return pthread_join ();
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  acx_pthread_ok=yes
+  ax_pthread_ok=yes
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
-$as_echo "$acx_pthread_ok" >&6; }
-        if test x"$acx_pthread_ok" = xno; then
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
+$as_echo "$ax_pthread_ok" >&6; }
+        if test x"$ax_pthread_ok" = xno; then
                 PTHREAD_LIBS=""
                 PTHREAD_CFLAGS=""
         fi
@@ -8070,7 +8071,7 @@ fi
 # which indicates that we try without any flags at all, and "pthread-config"
 # which is a program returning the flags for the Pth emulation library.
 
-acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
+ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
 
 # The ordering *is* (sometimes) important.  Some notes on the
 # individual items follow:
@@ -8103,12 +8104,16 @@ case "${host_cpu}-${host_os}" in
         # who knows whether they'll stub that too in a future libc.)  So,
         # we'll just look for -pthreads and -lpthread first:
 
-        acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
+        ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
         ;;
+
+       *-darwin*)
+       acx_pthread_flags="-pthread $acx_pthread_flags"
+       ;;
 esac
 
-if test x"$acx_pthread_ok" = xno; then
-for flag in $acx_pthread_flags; do
+if test x"$ax_pthread_ok" = xno; then
+for flag in $ax_pthread_flags; do
 
         case $flag in
                 none)
@@ -8127,11 +8132,11 @@ $as_echo_n "checking whether pthreads work with $flag... " >&6; }
 set dummy pthread-config; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
+if test "${ac_cv_prog_ax_pthread_config+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
-  if test -n "$acx_pthread_config"; then
-  ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
+  if test -n "$ax_pthread_config"; then
+  ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
 else
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
@@ -8140,7 +8145,7 @@ do
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_acx_pthread_config="yes"
+    ac_cv_prog_ax_pthread_config="yes"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
@@ -8148,20 +8153,20 @@ done
   done
 IFS=$as_save_IFS
 
-  test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
+  test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
 fi
 fi
-acx_pthread_config=$ac_cv_prog_acx_pthread_config
-if test -n "$acx_pthread_config"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
-$as_echo "$acx_pthread_config" >&6; }
+ax_pthread_config=$ac_cv_prog_ax_pthread_config
+if test -n "$ax_pthread_config"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
+$as_echo "$ax_pthread_config" >&6; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
 
 
-               if test x"$acx_pthread_config" = xno; then continue; fi
+               if test x"$ax_pthread_config" = xno; then continue; fi
                PTHREAD_CFLAGS="`pthread-config --cflags`"
                PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
                ;;
@@ -8190,18 +8195,23 @@ $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <pthread.h>
+                    static void routine(void* a) {a=0;}
+                    static void* start_routine(void* a) {return a;}
 int
 main ()
 {
-pthread_t th; pthread_join(th, 0);
-                     pthread_attr_init(0); pthread_cleanup_push(0, 0);
-                     pthread_create(0,0,0,0); pthread_cleanup_pop(0);
+pthread_t th; pthread_attr_t attr;
+                     pthread_join(th, 0);
+                     pthread_attr_init(&attr);
+                     pthread_cleanup_push(routine, 0);
+                     pthread_create(&th,0,start_routine,0);
+                     pthread_cleanup_pop(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  acx_pthread_ok=yes
+  ax_pthread_ok=yes
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
@@ -8209,9 +8219,9 @@ rm -f core conftest.err conftest.$ac_objext \
         LIBS="$save_LIBS"
         CFLAGS="$save_CFLAGS"
 
-        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
-$as_echo "$acx_pthread_ok" >&6; }
-        if test "x$acx_pthread_ok" = xyes; then
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
+$as_echo "$ax_pthread_ok" >&6; }
+        if test "x$ax_pthread_ok" = xyes; then
                 break;
         fi
 
@@ -8221,7 +8231,7 @@ done
 fi
 
 # Various other checks:
-if test "x$acx_pthread_ok" = xyes; then
+if test "x$ax_pthread_ok" = xyes; then
         save_LIBS="$LIBS"
         LIBS="$PTHREAD_LIBS $LIBS"
         save_CFLAGS="$CFLAGS"
@@ -8332,13 +8342,13 @@ fi
 
 
 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
-if test x"$acx_pthread_ok" = xyes; then
+if test x"$ax_pthread_ok" = xyes; then
 
 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
 
         :
 else
-        acx_pthread_ok=no
+        ax_pthread_ok=no
 
 fi
 ac_ext=c
@@ -8348,7 +8358,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-    if test "$acx_pthread_ok" = yes; then
+    if test "$ax_pthread_ok" = yes; then
         have_threads=yes
         DEF_THREAD="$PTHREAD_CFLAGS"
         CFLAGS="$CFLAGS $DEF_THREAD"
@@ -8436,6 +8446,361 @@ MAGICK_PCFLAGS="$MAGICK_PCFLAGS $OPENMP_CFLAGS"
 
 # Enable support for OpenCL
 
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ax_pthread_ok=no
+
+# We used to check for pthread.h first, but this fails if pthread.h
+# requires special compiler flags (e.g. on True64 or Sequent).
+# It gets checked for in the link test anyway.
+
+# First of all, check if the user has set any of the PTHREAD_LIBS,
+# etcetera environment variables, and if threads linking works using
+# them:
+if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
+        save_CFLAGS="$CFLAGS"
+        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+        save_LIBS="$LIBS"
+        LIBS="$PTHREAD_LIBS $LIBS"
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
+$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
+        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 pthread_join ();
+int
+main ()
+{
+return pthread_join ();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  ax_pthread_ok=yes
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
+$as_echo "$ax_pthread_ok" >&6; }
+        if test x"$ax_pthread_ok" = xno; then
+                PTHREAD_LIBS=""
+                PTHREAD_CFLAGS=""
+        fi
+        LIBS="$save_LIBS"
+        CFLAGS="$save_CFLAGS"
+fi
+
+# We must check for the threads library under a number of different
+# names; the ordering is very important because some systems
+# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
+# libraries is broken (non-POSIX).
+
+# Create a list of thread flags to try.  Items starting with a "-" are
+# C compiler flags, and other items are library names, except for "none"
+# which indicates that we try without any flags at all, and "pthread-config"
+# which is a program returning the flags for the Pth emulation library.
+
+ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
+
+# The ordering *is* (sometimes) important.  Some notes on the
+# individual items follow:
+
+# pthreads: AIX (must check this before -lpthread)
+# none: in case threads are in libc; should be tried before -Kthread and
+#       other compiler flags to prevent continual compiler warnings
+# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
+# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
+# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
+# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
+# -pthreads: Solaris/gcc
+# -mthreads: Mingw32/gcc, Lynx/gcc
+# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
+#      doesn't hurt to check since this sometimes defines pthreads too;
+#      also defines -D_REENTRANT)
+#      ... -mt is also the pthreads flag for HP/aCC
+# pthread: Linux, etcetera
+# --thread-safe: KAI C++
+# pthread-config: use pthread-config program (for GNU Pth library)
+
+case "${host_cpu}-${host_os}" in
+        *solaris*)
+
+        # On Solaris (at least, for some versions), libc contains stubbed
+        # (non-functional) versions of the pthreads routines, so link-based
+        # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
+        # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
+        # a function called by this macro, so we could check for that, but
+        # who knows whether they'll stub that too in a future libc.)  So,
+        # we'll just look for -pthreads and -lpthread first:
+
+        ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
+        ;;
+
+       *-darwin*)
+       acx_pthread_flags="-pthread $acx_pthread_flags"
+       ;;
+esac
+
+if test x"$ax_pthread_ok" = xno; then
+for flag in $ax_pthread_flags; do
+
+        case $flag in
+                none)
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
+$as_echo_n "checking whether pthreads work without any flags... " >&6; }
+                ;;
+
+                -*)
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
+$as_echo_n "checking whether pthreads work with $flag... " >&6; }
+                PTHREAD_CFLAGS="$flag"
+                ;;
+
+               pthread-config)
+               # Extract the first word of "pthread-config", so it can be a program name with args.
+set dummy pthread-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ax_pthread_config+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ax_pthread_config"; then
+  ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_ax_pthread_config="yes"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
+fi
+fi
+ax_pthread_config=$ac_cv_prog_ax_pthread_config
+if test -n "$ax_pthread_config"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
+$as_echo "$ax_pthread_config" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+               if test x"$ax_pthread_config" = xno; then continue; fi
+               PTHREAD_CFLAGS="`pthread-config --cflags`"
+               PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
+               ;;
+
+                *)
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
+$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
+                PTHREAD_LIBS="-l$flag"
+                ;;
+        esac
+
+        save_LIBS="$LIBS"
+        save_CFLAGS="$CFLAGS"
+        LIBS="$PTHREAD_LIBS $LIBS"
+        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+
+        # Check for various functions.  We must include pthread.h,
+        # since some functions may be macros.  (On the Sequent, we
+        # need a special flag -Kthread to make this header compile.)
+        # We check for pthread_join because it is in -lpthread on IRIX
+        # while pthread_create is in libc.  We check for pthread_attr_init
+        # due to DEC craziness with -lpthreads.  We check for
+        # pthread_cleanup_push because it is one of the few pthread
+        # functions on Solaris that doesn't have a non-functional libc stub.
+        # We try pthread_create on general principles.
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pthread.h>
+                    static void routine(void* a) {a=0;}
+                    static void* start_routine(void* a) {return a;}
+int
+main ()
+{
+pthread_t th; pthread_attr_t attr;
+                     pthread_join(th, 0);
+                     pthread_attr_init(&attr);
+                     pthread_cleanup_push(routine, 0);
+                     pthread_create(&th,0,start_routine,0);
+                     pthread_cleanup_pop(0);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  ax_pthread_ok=yes
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+
+        LIBS="$save_LIBS"
+        CFLAGS="$save_CFLAGS"
+
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
+$as_echo "$ax_pthread_ok" >&6; }
+        if test "x$ax_pthread_ok" = xyes; then
+                break;
+        fi
+
+        PTHREAD_LIBS=""
+        PTHREAD_CFLAGS=""
+done
+fi
+
+# Various other checks:
+if test "x$ax_pthread_ok" = xyes; then
+        save_LIBS="$LIBS"
+        LIBS="$PTHREAD_LIBS $LIBS"
+        save_CFLAGS="$CFLAGS"
+        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+
+        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
+$as_echo_n "checking for joinable pthread attribute... " >&6; }
+       attr_name=unknown
+       for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pthread.h>
+int
+main ()
+{
+int attr=$attr; return attr;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  attr_name=$attr; break
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+       done
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
+$as_echo "$attr_name" >&6; }
+        if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
+
+cat >>confdefs.h <<_ACEOF
+#define PTHREAD_CREATE_JOINABLE $attr_name
+_ACEOF
+
+        fi
+
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
+$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
+        flag=no
+        case "${host_cpu}-${host_os}" in
+            *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
+            *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
+        esac
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
+$as_echo "${flag}" >&6; }
+        if test "x$flag" != xno; then
+            PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
+        fi
+
+        LIBS="$save_LIBS"
+        CFLAGS="$save_CFLAGS"
+
+        # More AIX lossage: must compile with xlc_r or cc_r
+       if test x"$GCC" != xyes; then
+          for ac_prog in xlc_r cc_r
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$PTHREAD_CC"; then
+  ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_PTHREAD_CC="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
+if test -n "$PTHREAD_CC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
+$as_echo "$PTHREAD_CC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$PTHREAD_CC" && break
+done
+test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
+
+        else
+          PTHREAD_CC=$CC
+       fi
+else
+        PTHREAD_CC="$CC"
+fi
+
+
+
+
+
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
+if test x"$ax_pthread_ok" = xyes; then
+
+$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
+
+        :
+else
+        ax_pthread_ok=no
+
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
 # Check whether --enable-opencl was given.
 if test "${enable_opencl+set}" = set; then :
   enableval=$enable_opencl; disable_opencl=$enableval
@@ -9203,13 +9568,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
 else
   lt_cv_nm_interface="BSD nm"
   echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:9206: $ac_compile\"" >&5)
+  (eval echo "\"\$as_me:9571: $ac_compile\"" >&5)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:9209: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+  (eval echo "\"\$as_me:9574: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:9212: output\"" >&5)
+  (eval echo "\"\$as_me:9577: output\"" >&5)
   cat conftest.out >&5
   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     lt_cv_nm_interface="MS dumpbin"
@@ -10400,7 +10765,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 10403 "configure"' > conftest.$ac_ext
+  echo '#line 10768 "configure"' > conftest.$ac_ext
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -12485,11 +12850,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12488: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:12853: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:12492: \$? = $ac_status" >&5
+   echo "$as_me:12857: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -12824,11 +13189,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12827: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13192: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:12831: \$? = $ac_status" >&5
+   echo "$as_me:13196: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -12929,11 +13294,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12932: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13297: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:12936: \$? = $ac_status" >&5
+   echo "$as_me:13301: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -12984,11 +13349,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:12987: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13352: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:12991: \$? = $ac_status" >&5
+   echo "$as_me:13356: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -15354,7 +15719,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 15357 "configure"
+#line 15722 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -15450,7 +15815,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 15453 "configure"
+#line 15818 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -17406,11 +17771,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:17409: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:17774: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:17413: \$? = $ac_status" >&5
+   echo "$as_me:17778: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -17505,11 +17870,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:17508: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:17873: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:17512: \$? = $ac_status" >&5
+   echo "$as_me:17877: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -17557,11 +17922,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:17560: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:17925: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:17564: \$? = $ac_status" >&5
+   echo "$as_me:17929: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -18969,7 +19334,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 18972 "configure"
+#line 19337 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -23296,7 +23661,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler recognizes bool as a built-in type" >&5
 $as_echo_n "checking whether the compiler recognizes bool as a built-in type... " >&6; }
-if test "${ac_cv_cxx_have_bool+set}" = set; then :
+if test "${ax_cv_cxx_bool+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23322,9 +23687,9 @@ bool b = true; return f(b);
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_cxx_have_bool=yes
+  ax_cv_cxx_bool=yes
 else
-  ac_cv_cxx_have_bool=no
+  ax_cv_cxx_bool=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  ac_ext=cpp
@@ -23335,9 +23700,9 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_bool" >&5
-$as_echo "$ac_cv_cxx_have_bool" >&6; }
-if test "$ac_cv_cxx_have_bool" = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_bool" >&5
+$as_echo "$ax_cv_cxx_bool" >&6; }
+if test "$ax_cv_cxx_bool" = yes; then
 
 $as_echo "#define HAVE_BOOL /**/" >>confdefs.h
 
@@ -23345,7 +23710,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
-if test "${ac_cv_cxx_have_namespaces+set}" = set; then :
+if test "${ax_cv_cxx_namespaces+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23367,9 +23732,9 @@ using namespace Outer::Inner; return i;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_cxx_have_namespaces=yes
+  ax_cv_cxx_namespaces=yes
 else
-  ac_cv_cxx_have_namespaces=no
+  ax_cv_cxx_namespaces=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  ac_ext=cpp
@@ -23380,46 +23745,46 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_namespaces" >&5
-$as_echo "$ac_cv_cxx_have_namespaces" >&6; }
-if test "$ac_cv_cxx_have_namespaces" = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_namespaces" >&5
+$as_echo "$ax_cv_cxx_namespaces" >&6; }
+if test "$ax_cv_cxx_namespaces" = yes; then
 
 $as_echo "#define HAVE_NAMESPACES /**/" >>confdefs.h
 
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the std namespace" >&5
-$as_echo_n "checking whether the compiler supports the std namespace... " >&6; }
-if test "${ac_cv_cxx_have_std_namespace+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports namespace std" >&5
+$as_echo_n "checking if g++ supports namespace std... " >&6; }
+if test "${ax_cv_cxx_have_std_namespace+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
 
- ac_ext=cpp
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <iostream>
-       std::istream& is = std::cin;
-
+                  std::istream& is = std::cin;
 int
 main ()
 {
-return 0;
+
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_cv_cxx_have_std_namespace=yes
+  ax_cv_cxx_have_std_namespace=yes
 else
-  ac_cv_cxx_have_std_namespace=no
+  ax_cv_cxx_have_std_namespace=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_ext=cpp
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
@@ -23427,13 +23792,13 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_std_namespace" >&5
-$as_echo "$ac_cv_cxx_have_std_namespace" >&6; }
-if test "$ac_cv_cxx_have_std_namespace" = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_have_std_namespace" >&5
+$as_echo "$ax_cv_cxx_have_std_namespace" >&6; }
+  if test "$ax_cv_cxx_have_std_namespace" = yes; then
 
-$as_echo "#define HAVE_STD_NAMESPACE /**/" >>confdefs.h
+$as_echo "#define HAVE_NAMESPACE_STD /**/" >>confdefs.h
 
-fi
+  fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports ISO C++ standard library" >&5
 $as_echo_n "checking whether the compiler supports ISO C++ standard library... " >&6; }
@@ -23600,11 +23965,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler is sufficient for Magick++" >&5
 $as_echo_n "checking whether C++ compiler is sufficient for Magick++... " >&6; }
     if \
-        test $ac_cv_cxx_have_bool = 'yes' && \
+        test $ax_cv_cxx_bool = 'yes' && \
         test $ac_cv_cxx_have_lstring = 'yes' && \
-        test $ac_cv_cxx_have_namespaces = 'yes' && \
+        test $ax_cv_cxx_namespaces = 'yes' && \
         test $ac_cv_cxx_have_std_libs = 'yes' && \
-        test $ac_cv_cxx_have_std_namespace = 'yes'; then
+        test $ax_cv_cxx_have_std_namespace = 'yes'; then
         have_magick_plus_plus='yes'
     else
         have_magick_plus_plus='no (failed tests)'
@@ -31655,68 +32020,74 @@ if test "$have_perl" != 'no'; then
         with_perl_dynamic='yes'
     fi
     # Is PERL's MakeMaker new enough to support DESTDIR?
-    # Make sure we have perl
-if test -z "$PERL"; then
-# Extract the first word of "perl", so it can be a program name with args.
-set dummy perl; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_PERL+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  if test -n "$PERL"; then
-  ac_cv_prog_PERL="$PERL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_PERL="perl"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
 
-fi
-fi
-PERL=$ac_cv_prog_PERL
-if test -n "$PERL"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
-$as_echo "$PERL" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
 
 
-fi
 
-# Check if version of Perl is sufficient
-ac_perl_version="5.8.1"
+    if test -n "$PERL"; then :
+
+        ax_perl_version="5.8.1"
+
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl version" >&5
+$as_echo_n "checking for perl version... " >&6; }
+
+        perl_version=`$PERL --version 2>&1 | $GREP "This is perl" | $SED -e 's/.* v\([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'`
+
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $perl_version" >&5
+$as_echo "$perl_version" >&6; }
+
+       PERL_VERSION=$perl_version
+
+
+
+
+
+  # Used to indicate true or false condition
+  ax_compare_version=false
+
+  # Convert the two version strings to be compared into a format that
+  # allows a simple string comparison.  The end result is that a version
+  # string of the form 1.12.5-r617 will be converted to the form
+  # 0001001200050617.  In other words, each number is zero padded to four
+  # digits, and non digits are removed.
+
+  ax_compare_version_A=`echo "$ax_perl_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
+                     -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
+                     -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
+                     -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
+                     -e 's/[^0-9]//g'`
+
+
+  ax_compare_version_B=`echo "$perl_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
+                     -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
+                     -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
+                     -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
+                     -e 's/[^0-9]//g'`
+
+
+    ax_compare_version=`echo "x$ax_compare_version_A
+x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
+
+
+
+    if test "$ax_compare_version" = "true" ; then
+
+           :
+            PERL_SUPPORTS_DESTDIR='yes'
+
+    else
+           :
+            PERL_SUPPORTS_DESTDIR='no'
 
-if test "x$PERL" != "x"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl version greater than or equal to $ac_perl_version" >&5
-$as_echo_n "checking for perl version greater than or equal to $ac_perl_version... " >&6; }
-  # NB: It would be nice to log the error if there is one, but we cannot rely
-  # on autoconf internals
-  $PERL -e "use $ac_perl_version;" > /dev/null 2>&1
-  if test $? -ne 0; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; };
-    PERL_SUPPORTS_DESTDIR='no'
-  else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
-$as_echo "ok" >&6; };
-    PERL_SUPPORTS_DESTDIR='yes'
   fi
+
+
 else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find perl" >&5
-$as_echo "$as_me: WARNING: could not find perl" >&2;}
+
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the perl interpreter" >&5
+$as_echo "$as_me: WARNING: could not find the perl interpreter" >&2;}
+        PERL_SUPPORTS_DESTDIR='no'
+
 fi
 
 fi
@@ -33937,11 +34308,11 @@ $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for
   if test -f $ac_prefix_conf_INP ; then
     echo "s/^#undef  *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
     echo "s/^#undef  *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
-    echo "s/^#define  *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
-    echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
+    echo "s/^#define  *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1\\" >> conftest.prefix
+    echo "#define $ac_prefix_conf_UPP""_\\1\\2\\" >> conftest.prefix
     echo "#endif/" >>conftest.prefix
-    echo "s/^#define  *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
-    echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
+    echo "s/^#define  *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1\\" >> conftest.prefix
+    echo "#define $ac_prefix_conf_LOW""_\\1\\2\\" >> conftest.prefix
     echo "#endif/" >> conftest.prefix
     # now executing _script on _DEF input to create _OUT output file
     echo "#ifndef $ac_prefix_conf_DEF"      >$tmp/pconfig.h
index 20f50c317d07216502660d2449f19faffd925035..c788ce3d42965c3dc9972ce2c0a044d8e7507237 100755 (executable)
@@ -381,8 +381,8 @@ AC_ARG_WITH([threads],
 
 have_threads=no
 if test "$with_threads" != 'no'; then
-    ACX_PTHREAD()
-    if test "$acx_pthread_ok" = yes; then
+    AX_PTHREAD()
+    if test "$ax_pthread_ok" = yes; then
         have_threads=yes
         DEF_THREAD="$PTHREAD_CFLAGS"
         CFLAGS="$CFLAGS $DEF_THREAD"
@@ -1052,9 +1052,9 @@ if test "$with_magick_plus_plus" = 'yes'; then
     # functional iomanip iosfwd iostream iterator list string strstream utility
     AC_LANG([C++])
     AC_PROG_CXX
-    AC_CXX_HAVE_BOOL
-    AC_CXX_HAVE_NAMESPACES
-    AC_CXX_HAVE_STD_NAMESPACE
+    AX_CXX_BOOL
+    AX_CXX_NAMESPACES
+    AX_CXX_NAMESPACE_STD
     AC_CXX_HAVE_STD_LIBS
     AC_CXX_HAVE_LSTRING
     AC_OPENMP([C++])
@@ -1062,11 +1062,11 @@ if test "$with_magick_plus_plus" = 'yes'; then
 
     AC_MSG_CHECKING([whether C++ compiler is sufficient for Magick++])
     if \
-        test $ac_cv_cxx_have_bool = 'yes' && \
+        test $ax_cv_cxx_bool = 'yes' && \
         test $ac_cv_cxx_have_lstring = 'yes' && \
-        test $ac_cv_cxx_have_namespaces = 'yes' && \
+        test $ax_cv_cxx_namespaces = 'yes' && \
         test $ac_cv_cxx_have_std_libs = 'yes' && \
-        test $ac_cv_cxx_have_std_namespace = 'yes'; then
+        test $ax_cv_cxx_have_std_namespace = 'yes'; then
         have_magick_plus_plus='yes'
     else
         have_magick_plus_plus='no (failed tests)'
@@ -3223,7 +3223,7 @@ if test "$have_perl" != 'no'; then
         with_perl_dynamic='yes'
     fi
     # Is PERL's MakeMaker new enough to support DESTDIR?
-    AC_PROG_PERL_VERSION(5.8.1,[PERL_SUPPORTS_DESTDIR='yes'],[PERL_SUPPORTS_DESTDIR='no'])
+    AX_PROG_PERL_VERSION(5.8.1,[PERL_SUPPORTS_DESTDIR='yes'],[PERL_SUPPORTS_DESTDIR='no'])
 fi
 AM_CONDITIONAL(WITH_PERL, test "$have_perl" != 'no')
 AM_CONDITIONAL(WITH_PERL_STATIC, test $with_perl_static = 'yes')
diff --git a/m4/ac_prog_perl_version.m4 b/m4/ac_prog_perl_version.m4
deleted file mode 100644 (file)
index 37d89bd..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-dnl Available from the GNU Autoconf Macro Archive at:
-dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_prog_perl_version.html
-dnl
-AC_DEFUN([AC_PROG_PERL_VERSION],[dnl
-# Make sure we have perl
-if test -z "$PERL"; then
-AC_CHECK_PROG(PERL,perl,perl)
-fi
-
-# Check if version of Perl is sufficient
-ac_perl_version="$1"
-
-if test "x$PERL" != "x"; then
-  AC_MSG_CHECKING(for perl version greater than or equal to $ac_perl_version)
-  # NB: It would be nice to log the error if there is one, but we cannot rely
-  # on autoconf internals
-  $PERL -e "use $ac_perl_version;" > /dev/null 2>&1
-  if test $? -ne 0; then
-    AC_MSG_RESULT(no);
-    $3
-  else
-    AC_MSG_RESULT(ok);
-    $2
-  fi
-else
-  AC_MSG_WARN(could not find perl)
-fi
-])dnl # AC_PROG_PERL_VERSION
diff --git a/m4/ax_compare_version.m4 b/m4/ax_compare_version.m4
new file mode 100644 (file)
index 0000000..74dc0fd
--- /dev/null
@@ -0,0 +1,177 @@
+# ===========================================================================
+#    http://www.gnu.org/software/autoconf-archive/ax_compare_version.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+#   AX_COMPARE_VERSION(VERSION_A, OP, VERSION_B, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+#
+# DESCRIPTION
+#
+#   This macro compares two version strings. Due to the various number of
+#   minor-version numbers that can exist, and the fact that string
+#   comparisons are not compatible with numeric comparisons, this is not
+#   necessarily trivial to do in a autoconf script. This macro makes doing
+#   these comparisons easy.
+#
+#   The six basic comparisons are available, as well as checking equality
+#   limited to a certain number of minor-version levels.
+#
+#   The operator OP determines what type of comparison to do, and can be one
+#   of:
+#
+#    eq  - equal (test A == B)
+#    ne  - not equal (test A != B)
+#    le  - less than or equal (test A <= B)
+#    ge  - greater than or equal (test A >= B)
+#    lt  - less than (test A < B)
+#    gt  - greater than (test A > B)
+#
+#   Additionally, the eq and ne operator can have a number after it to limit
+#   the test to that number of minor versions.
+#
+#    eq0 - equal up to the length of the shorter version
+#    ne0 - not equal up to the length of the shorter version
+#    eqN - equal up to N sub-version levels
+#    neN - not equal up to N sub-version levels
+#
+#   When the condition is true, shell commands ACTION-IF-TRUE are run,
+#   otherwise shell commands ACTION-IF-FALSE are run. The environment
+#   variable 'ax_compare_version' is always set to either 'true' or 'false'
+#   as well.
+#
+#   Examples:
+#
+#     AX_COMPARE_VERSION([3.15.7],[lt],[3.15.8])
+#     AX_COMPARE_VERSION([3.15],[lt],[3.15.8])
+#
+#   would both be true.
+#
+#     AX_COMPARE_VERSION([3.15.7],[eq],[3.15.8])
+#     AX_COMPARE_VERSION([3.15],[gt],[3.15.8])
+#
+#   would both be false.
+#
+#     AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8])
+#
+#   would be true because it is only comparing two minor versions.
+#
+#     AX_COMPARE_VERSION([3.15.7],[eq0],[3.15])
+#
+#   would be true because it is only comparing the lesser number of minor
+#   versions of the two values.
+#
+#   Note: The characters that separate the version numbers do not matter. An
+#   empty string is the same as version 0. OP is evaluated by autoconf, not
+#   configure, so must be a string, not a variable.
+#
+#   The author would like to acknowledge Guido Draheim whose advice about
+#   the m4_case and m4_ifvaln functions make this macro only include the
+#   portions necessary to perform the specific comparison specified by the
+#   OP argument in the final configure script.
+#
+# LICENSE
+#
+#   Copyright (c) 2008 Tim Toolan <toolan@ele.uri.edu>
+#
+#   Copying and distribution of this file, with or without modification, are
+#   permitted in any medium without royalty provided the copyright notice
+#   and this notice are preserved. This file is offered as-is, without any
+#   warranty.
+
+#serial 11
+
+dnl #########################################################################
+AC_DEFUN([AX_COMPARE_VERSION], [
+  AC_REQUIRE([AC_PROG_AWK])
+
+  # Used to indicate true or false condition
+  ax_compare_version=false
+
+  # Convert the two version strings to be compared into a format that
+  # allows a simple string comparison.  The end result is that a version
+  # string of the form 1.12.5-r617 will be converted to the form
+  # 0001001200050617.  In other words, each number is zero padded to four
+  # digits, and non digits are removed.
+  AS_VAR_PUSHDEF([A],[ax_compare_version_A])
+  A=`echo "$1" | sed -e 's/\([[0-9]]*\)/Z\1Z/g' \
+                     -e 's/Z\([[0-9]]\)Z/Z0\1Z/g' \
+                     -e 's/Z\([[0-9]][[0-9]]\)Z/Z0\1Z/g' \
+                     -e 's/Z\([[0-9]][[0-9]][[0-9]]\)Z/Z0\1Z/g' \
+                     -e 's/[[^0-9]]//g'`
+
+  AS_VAR_PUSHDEF([B],[ax_compare_version_B])
+  B=`echo "$3" | sed -e 's/\([[0-9]]*\)/Z\1Z/g' \
+                     -e 's/Z\([[0-9]]\)Z/Z0\1Z/g' \
+                     -e 's/Z\([[0-9]][[0-9]]\)Z/Z0\1Z/g' \
+                     -e 's/Z\([[0-9]][[0-9]][[0-9]]\)Z/Z0\1Z/g' \
+                     -e 's/[[^0-9]]//g'`
+
+  dnl # In the case of le, ge, lt, and gt, the strings are sorted as necessary
+  dnl # then the first line is used to determine if the condition is true.
+  dnl # The sed right after the echo is to remove any indented white space.
+  m4_case(m4_tolower($2),
+  [lt],[
+    ax_compare_version=`echo "x$A
+x$B" | sed 's/^ *//' | sort -r | sed "s/x${A}/false/;s/x${B}/true/;1q"`
+  ],
+  [gt],[
+    ax_compare_version=`echo "x$A
+x$B" | sed 's/^ *//' | sort | sed "s/x${A}/false/;s/x${B}/true/;1q"`
+  ],
+  [le],[
+    ax_compare_version=`echo "x$A
+x$B" | sed 's/^ *//' | sort | sed "s/x${A}/true/;s/x${B}/false/;1q"`
+  ],
+  [ge],[
+    ax_compare_version=`echo "x$A
+x$B" | sed 's/^ *//' | sort -r | sed "s/x${A}/true/;s/x${B}/false/;1q"`
+  ],[
+    dnl Split the operator from the subversion count if present.
+    m4_bmatch(m4_substr($2,2),
+    [0],[
+      # A count of zero means use the length of the shorter version.
+      # Determine the number of characters in A and B.
+      ax_compare_version_len_A=`echo "$A" | $AWK '{print(length)}'`
+      ax_compare_version_len_B=`echo "$B" | $AWK '{print(length)}'`
+
+      # Set A to no more than B's length and B to no more than A's length.
+      A=`echo "$A" | sed "s/\(.\{$ax_compare_version_len_B\}\).*/\1/"`
+      B=`echo "$B" | sed "s/\(.\{$ax_compare_version_len_A\}\).*/\1/"`
+    ],
+    [[0-9]+],[
+      # A count greater than zero means use only that many subversions
+      A=`echo "$A" | sed "s/\(\([[0-9]]\{4\}\)\{m4_substr($2,2)\}\).*/\1/"`
+      B=`echo "$B" | sed "s/\(\([[0-9]]\{4\}\)\{m4_substr($2,2)\}\).*/\1/"`
+    ],
+    [.+],[
+      AC_WARNING(
+        [illegal OP numeric parameter: $2])
+    ],[])
+
+    # Pad zeros at end of numbers to make same length.
+    ax_compare_version_tmp_A="$A`echo $B | sed 's/./0/g'`"
+    B="$B`echo $A | sed 's/./0/g'`"
+    A="$ax_compare_version_tmp_A"
+
+    # Check for equality or inequality as necessary.
+    m4_case(m4_tolower(m4_substr($2,0,2)),
+    [eq],[
+      test "x$A" = "x$B" && ax_compare_version=true
+    ],
+    [ne],[
+      test "x$A" != "x$B" && ax_compare_version=true
+    ],[
+      AC_WARNING([illegal OP parameter: $2])
+    ])
+  ])
+
+  AS_VAR_POPDEF([A])dnl
+  AS_VAR_POPDEF([B])dnl
+
+  dnl # Execute ACTION-IF-TRUE / ACTION-IF-FALSE.
+  if test "$ax_compare_version" = "true" ; then
+    m4_ifvaln([$4],[$4],[:])dnl
+    m4_ifvaln([$5],[else $5])dnl
+  fi
+]) dnl AX_COMPARE_VERSION
diff --git a/m4/ax_cxx_bool.m4 b/m4/ax_cxx_bool.m4
new file mode 100644 (file)
index 0000000..4a74230
--- /dev/null
@@ -0,0 +1,45 @@
+# ===========================================================================
+#        http://www.gnu.org/software/autoconf-archive/ax_cxx_bool.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+#   AX_CXX_BOOL
+#
+# DESCRIPTION
+#
+#   If the compiler recognizes bool as a separate built-in type, define
+#   HAVE_BOOL. Note that a typedef is not a separate type since you cannot
+#   overload a function such that it accepts either the basic type or the
+#   typedef.
+#
+# LICENSE
+#
+#   Copyright (c) 2008 Todd Veldhuizen
+#   Copyright (c) 2008 Luc Maisonobe <luc@spaceroots.org>
+#
+#   Copying and distribution of this file, with or without modification, are
+#   permitted in any medium without royalty provided the copyright notice
+#   and this notice are preserved. This file is offered as-is, without any
+#   warranty.
+
+#serial 6
+
+AU_ALIAS([AC_CXX_BOOL], [AX_CXX_BOOL])
+AC_DEFUN([AX_CXX_BOOL],
+[AC_CACHE_CHECK(whether the compiler recognizes bool as a built-in type,
+ax_cv_cxx_bool,
+[AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_COMPILE([
+int f(int  x){return 1;}
+int f(char x){return 1;}
+int f(bool x){return 1;}
+],[bool b = true; return f(b);],
+ ax_cv_cxx_bool=yes, ax_cv_cxx_bool=no)
+ AC_LANG_RESTORE
+])
+if test "$ax_cv_cxx_bool" = yes; then
+  AC_DEFINE(HAVE_BOOL,,[define if bool is a built-in type])
+fi
+])
diff --git a/m4/ax_cxx_namespace_std.m4 b/m4/ax_cxx_namespace_std.m4
new file mode 100644 (file)
index 0000000..67d8b09
--- /dev/null
@@ -0,0 +1,39 @@
+# ===========================================================================
+#   http://www.gnu.org/software/autoconf-archive/ax_cxx_namespace_std.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+#   AX_CXX_NAMESPACE_STD
+#
+# DESCRIPTION
+#
+#   If the compiler supports namespace std, define HAVE_NAMESPACE_STD.
+#
+# LICENSE
+#
+#   Copyright (c) 2009 Todd Veldhuizen
+#   Copyright (c) 2009 Luc Maisonobe <luc@spaceroots.org>
+#
+#   Copying and distribution of this file, with or without modification, are
+#   permitted in any medium without royalty provided the copyright notice
+#   and this notice are preserved. This file is offered as-is, without any
+#   warranty.
+
+#serial 6
+
+AU_ALIAS([AC_CXX_NAMESPACE_STD], [AX_CXX_NAMESPACE_STD])
+AC_DEFUN([AX_CXX_NAMESPACE_STD], [
+  AC_CACHE_CHECK(if g++ supports namespace std,
+  ax_cv_cxx_have_std_namespace,
+  [AC_LANG_SAVE
+  AC_LANG_CPLUSPLUS
+  AC_TRY_COMPILE([#include <iostream>
+                  std::istream& is = std::cin;],,
+  ax_cv_cxx_have_std_namespace=yes, ax_cv_cxx_have_std_namespace=no)
+  AC_LANG_RESTORE
+  ])
+  if test "$ax_cv_cxx_have_std_namespace" = yes; then
+    AC_DEFINE(HAVE_NAMESPACE_STD,,[Define if g++ supports namespace std. ])
+  fi
+])
diff --git a/m4/ax_cxx_namespaces.m4 b/m4/ax_cxx_namespaces.m4
new file mode 100644 (file)
index 0000000..9fdc374
--- /dev/null
@@ -0,0 +1,40 @@
+# ===========================================================================
+#     http://www.gnu.org/software/autoconf-archive/ax_cxx_namespaces.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+#   AX_CXX_NAMESPACES
+#
+# DESCRIPTION
+#
+#   If the compiler can prevent names clashes using namespaces, define
+#   HAVE_NAMESPACES.
+#
+# LICENSE
+#
+#   Copyright (c) 2008 Todd Veldhuizen
+#   Copyright (c) 2008 Luc Maisonobe <luc@spaceroots.org>
+#
+#   Copying and distribution of this file, with or without modification, are
+#   permitted in any medium without royalty provided the copyright notice
+#   and this notice are preserved. This file is offered as-is, without any
+#   warranty.
+
+#serial 6
+
+AU_ALIAS([AC_CXX_NAMESPACES], [AX_CXX_NAMESPACES])
+AC_DEFUN([AX_CXX_NAMESPACES],
+[AC_CACHE_CHECK(whether the compiler implements namespaces,
+ax_cv_cxx_namespaces,
+[AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_COMPILE([namespace Outer { namespace Inner { int i = 0; }}],
+                [using namespace Outer::Inner; return i;],
+ ax_cv_cxx_namespaces=yes, ax_cv_cxx_namespaces=no)
+ AC_LANG_RESTORE
+])
+if test "$ax_cv_cxx_namespaces" = yes; then
+  AC_DEFINE(HAVE_NAMESPACES,,[define if the compiler implements namespaces])
+fi
+])
index 1c85d7794074f1d13219ce3dd9275f742283333d..658ca85e32762b39c00e8966cb260373bbd80f6c 100644 (file)
@@ -1,33 +1,29 @@
-# -*- mode: autoconf -*-
+# ===========================================================================
+#    http://www.gnu.org/software/autoconf-archive/ax_lang_compiler_ms.html
+# ===========================================================================
 #
-# Check whether the compiler for the current language is Microsoft.
+# SYNOPSIS
 #
-# This macro is modeled after _AC_LANG_COMPILER_GNU in the GNU Autoconf
-# implementation.
+#   AX_LANG_COMPILER_MS
 #
-# version: 1.0
-# author: Braden McDaniel <braden@endoframe.com>
+# DESCRIPTION
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+#   Check whether the compiler for the current language is Microsoft.
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+#   This macro is modeled after _AC_LANG_COMPILER_GNU in the GNU Autoconf
+#   implementation.
 #
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# LICENSE
 #
-# As a special exception, the you may copy, distribute and modify the
-# configure scripts that are the output of Autoconf when processing
-# the Macro.  You need not follow the terms of the GNU General Public
-# License when using or distributing such scripts.
+#   Copyright (c) 2009 Braden McDaniel <braden@endoframe.com>
 #
+#   Copying and distribution of this file, with or without modification, are
+#   permitted in any medium without royalty provided the copyright notice
+#   and this notice are preserved. This file is offered as-is, without any
+#   warranty.
+
+#serial 8
+
 AC_DEFUN([AX_LANG_COMPILER_MS],
 [AC_CACHE_CHECK([whether we are using the Microsoft _AC_LANG compiler],
                 [ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms],
index be0ba48bf59cbd58f8206bfcb6b932d43db595f2..b37f08b02913b8d52c5890c7b5cee0eb26561609 100644 (file)
@@ -1,5 +1,5 @@
 # ===========================================================================
-#       http://www.nongnu.org/autoconf-archive/ax_prefix_config_h.html
+#    http://www.gnu.org/software/autoconf-archive/ax_prefix_config_h.html
 # ===========================================================================
 #
 # SYNOPSIS
 #   it by itself". You might want to clean up about these - consider an
 #   extra mylib/conf.h that reads something like:
 #
-#      #include <mylib/_config.h>
-#      #ifndef _testpkg_const
-#      #define _testpkg_const const
-#      #endif
+#     #include <mylib/_config.h>
+#     #ifndef _testpkg_const
+#     #define _testpkg_const const
+#     #endif
 #
 #   and then start using _testpkg_const in the header files. That is also a
 #   good thing to differentiate whether some library-user has starting to
 #   modified version of the Autoconf Macro, you may extend this special
 #   exception to the GPL to apply to your modified version as well.
 
+#serial 9
+
 AC_DEFUN([AX_PREFIX_CONFIG_H],[dnl
 AC_BEFORE([AC_CONFIG_HEADERS],[$0])dnl
 AC_CONFIG_COMMANDS([ifelse($1,,$PACKAGE-config.h,$1)],[dnl
@@ -165,11 +167,11 @@ else
   if test -f $_INP ; then
     echo "s/^@%:@undef  *\\(@<:@m4_cr_LETTERS[]_@:>@\\)/@%:@undef $_UPP""_\\1/" > _script
     echo "s/^@%:@undef  *\\(@<:@m4_cr_letters@:>@\\)/@%:@undef $_LOW""_\\1/" >> _script
-    echo "s/^@%:@def[]ine  *\\(@<:@m4_cr_LETTERS[]_@:>@@<:@_symbol@:>@*\\)\\(.*\\)/@%:@ifndef $_UPP""_\\1 \\" >> _script
-    echo "@%:@def[]ine $_UPP""_\\1 \\2 \\" >> _script
+    echo "s/^@%:@def[]ine  *\\(@<:@m4_cr_LETTERS[]_@:>@@<:@_symbol@:>@*\\)\\(.*\\)/@%:@ifndef $_UPP""_\\1\\" >> _script
+    echo "@%:@def[]ine $_UPP""_\\1\\2\\" >> _script
     echo "@%:@endif/" >>_script
-    echo "s/^@%:@def[]ine  *\\(@<:@m4_cr_letters@:>@@<:@_symbol@:>@*\\)\\(.*\\)/@%:@ifndef $_LOW""_\\1 \\" >> _script
-    echo "@%:@define $_LOW""_\\1 \\2 \\" >> _script
+    echo "s/^@%:@def[]ine  *\\(@<:@m4_cr_letters@:>@@<:@_symbol@:>@*\\)\\(.*\\)/@%:@ifndef $_LOW""_\\1\\" >> _script
+    echo "@%:@define $_LOW""_\\1\\2\\" >> _script
     echo "@%:@endif/" >> _script
     # now executing _script on _DEF input to create _OUT output file
     echo "@%:@ifndef $_DEF"      >$tmp/pconfig.h
diff --git a/m4/ax_prog_perl_version.m4 b/m4/ax_prog_perl_version.m4
new file mode 100644 (file)
index 0000000..18d9f74
--- /dev/null
@@ -0,0 +1,66 @@
+# ===========================================================================
+#   http://www.gnu.org/software/autoconf-archive/ax_prog_perl_version.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+#   AX_PROG_PERL_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+#
+# DESCRIPTION
+#
+#   Makes sure that perl supports the version indicated. If true the shell
+#   commands in ACTION-IF-TRUE are executed. If not the shell commands in
+#   ACTION-IF-FALSE are run. Note if $PERL is not set (for example by
+#   running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
+#
+#   Example:
+#
+#     AC_PATH_PROG([PERL],[perl])
+#     AX_PROG_PERL_VERSION([5.8.0],[ ... ],[ ... ])
+#
+#   This will check to make sure that the perl you have supports at least
+#   version 5.8.0.
+#
+#   NOTE: This macro uses the $PERL variable to perform the check.
+#   AX_WITH_PERL can be used to set that variable prior to running this
+#   macro. The $PERL_VERSION variable will be valorized with the detected
+#   version.
+#
+# LICENSE
+#
+#   Copyright (c) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+#
+#   Copying and distribution of this file, with or without modification, are
+#   permitted in any medium without royalty provided the copyright notice
+#   and this notice are preserved. This file is offered as-is, without any
+#   warranty.
+
+#serial 11
+
+AC_DEFUN([AX_PROG_PERL_VERSION],[
+    AC_REQUIRE([AC_PROG_SED])
+    AC_REQUIRE([AC_PROG_GREP])
+
+    AS_IF([test -n "$PERL"],[
+        ax_perl_version="$1"
+
+        AC_MSG_CHECKING([for perl version])
+        changequote(<<,>>)
+        perl_version=`$PERL --version 2>&1 | $GREP "This is perl" | $SED -e 's/.* v\([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'`
+        changequote([,])
+        AC_MSG_RESULT($perl_version)
+
+       AC_SUBST([PERL_VERSION],[$perl_version])
+
+        AX_COMPARE_VERSION([$ax_perl_version],[le],[$perl_version],[
+           :
+            $2
+        ],[
+           :
+            $3
+        ])
+    ],[
+        AC_MSG_WARN([could not find the perl interpreter])
+        $3
+    ])
+])
similarity index 85%
rename from m4/acx_pthread.m4
rename to m4/ax_pthread.m4
index 798d6d1c66181655ddea4145618585eaaadd0518..bdae47716c62af98ba555ac94cec96ee08636630 100644 (file)
@@ -1,10 +1,10 @@
 # ===========================================================================
-#           http://www.nongnu.org/autoconf-archive/acx_pthread.html
+#        http://www.gnu.org/software/autoconf-archive/ax_pthread.html
 # ===========================================================================
 #
 # SYNOPSIS
 #
-#   ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+#   AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
 #
 # DESCRIPTION
 #
@@ -25,9 +25,9 @@
 #   If you are only building threads programs, you may wish to use these
 #   variables in your default LIBS, CFLAGS, and CC:
 #
-#          LIBS="$PTHREAD_LIBS $LIBS"
-#          CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-#          CC="$PTHREAD_CC"
+#     LIBS="$PTHREAD_LIBS $LIBS"
+#     CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+#     CC="$PTHREAD_CC"
 #
 #   In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
 #   has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
 #   modified version of the Autoconf Macro, you may extend this special
 #   exception to the GPL to apply to your modified version as well.
 
-AC_DEFUN([ACX_PTHREAD], [
+#serial 7
+
+AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
+AC_DEFUN([AX_PTHREAD], [
 AC_REQUIRE([AC_CANONICAL_HOST])
 AC_LANG_SAVE
 AC_LANG_C
-acx_pthread_ok=no
+ax_pthread_ok=no
 
 # We used to check for pthread.h first, but this fails if pthread.h
 # requires special compiler flags (e.g. on True64 or Sequent).
@@ -94,9 +97,9 @@ if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
         save_LIBS="$LIBS"
         LIBS="$PTHREAD_LIBS $LIBS"
         AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
-        AC_TRY_LINK_FUNC(pthread_join, acx_pthread_ok=yes)
-        AC_MSG_RESULT($acx_pthread_ok)
-        if test x"$acx_pthread_ok" = xno; then
+        AC_TRY_LINK_FUNC(pthread_join, ax_pthread_ok=yes)
+        AC_MSG_RESULT($ax_pthread_ok)
+        if test x"$ax_pthread_ok" = xno; then
                 PTHREAD_LIBS=""
                 PTHREAD_CFLAGS=""
         fi
@@ -114,7 +117,7 @@ fi
 # which indicates that we try without any flags at all, and "pthread-config"
 # which is a program returning the flags for the Pth emulation library.
 
-acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
+ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
 
 # The ordering *is* (sometimes) important.  Some notes on the
 # individual items follow:
@@ -147,12 +150,16 @@ case "${host_cpu}-${host_os}" in
         # who knows whether they'll stub that too in a future libc.)  So,
         # we'll just look for -pthreads and -lpthread first:
 
-        acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
+        ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
         ;;
+
+       *-darwin*)
+       acx_pthread_flags="-pthread $acx_pthread_flags"
+       ;;
 esac
 
-if test x"$acx_pthread_ok" = xno; then
-for flag in $acx_pthread_flags; do
+if test x"$ax_pthread_ok" = xno; then
+for flag in $ax_pthread_flags; do
 
         case $flag in
                 none)
@@ -165,8 +172,8 @@ for flag in $acx_pthread_flags; do
                 ;;
 
                pthread-config)
-               AC_CHECK_PROG(acx_pthread_config, pthread-config, yes, no)
-               if test x"$acx_pthread_config" = xno; then continue; fi
+               AC_CHECK_PROG(ax_pthread_config, pthread-config, yes, no)
+               if test x"$ax_pthread_config" = xno; then continue; fi
                PTHREAD_CFLAGS="`pthread-config --cflags`"
                PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
                ;;
@@ -191,17 +198,22 @@ for flag in $acx_pthread_flags; do
         # pthread_cleanup_push because it is one of the few pthread
         # functions on Solaris that doesn't have a non-functional libc stub.
         # We try pthread_create on general principles.
-        AC_TRY_LINK([#include <pthread.h>],
-                    [pthread_t th; pthread_join(th, 0);
-                     pthread_attr_init(0); pthread_cleanup_push(0, 0);
-                     pthread_create(0,0,0,0); pthread_cleanup_pop(0); ],
-                    [acx_pthread_ok=yes])
+        AC_TRY_LINK([#include <pthread.h>
+                    static void routine(void* a) {a=0;}
+                    static void* start_routine(void* a) {return a;}],
+                    [pthread_t th; pthread_attr_t attr;
+                     pthread_join(th, 0);
+                     pthread_attr_init(&attr);
+                     pthread_cleanup_push(routine, 0);
+                     pthread_create(&th,0,start_routine,0);
+                     pthread_cleanup_pop(0); ],
+                    [ax_pthread_ok=yes])
 
         LIBS="$save_LIBS"
         CFLAGS="$save_CFLAGS"
 
-        AC_MSG_RESULT($acx_pthread_ok)
-        if test "x$acx_pthread_ok" = xyes; then
+        AC_MSG_RESULT($ax_pthread_ok)
+        if test "x$ax_pthread_ok" = xyes; then
                 break;
         fi
 
@@ -211,7 +223,7 @@ done
 fi
 
 # Various other checks:
-if test "x$acx_pthread_ok" = xyes; then
+if test "x$ax_pthread_ok" = xyes; then
         save_LIBS="$LIBS"
         LIBS="$PTHREAD_LIBS $LIBS"
         save_CFLAGS="$CFLAGS"
@@ -260,12 +272,12 @@ AC_SUBST(PTHREAD_CFLAGS)
 AC_SUBST(PTHREAD_CC)
 
 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
-if test x"$acx_pthread_ok" = xyes; then
+if test x"$ax_pthread_ok" = xyes; then
         ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
         :
 else
-        acx_pthread_ok=no
+        ax_pthread_ok=no
         $2
 fi
 AC_LANG_RESTORE
-])dnl ACX_PTHREAD
+])dnl AX_PTHREAD
diff --git a/m4/cxx_have_bool.m4 b/m4/cxx_have_bool.m4
deleted file mode 100644 (file)
index 53e6c6a..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-dnl @synopsis AC_CXX_HAVE_BOOL
-dnl
-dnl If the compiler recognizes bool as a separate built-in type, define
-dnl HAVE_BOOL. Note that a typedef is not a separate type since you
-dnl cannot overload a function such that it accepts either the basic
-dnl type or the typedef.
-dnl
-dnl @category Cxx
-dnl @author Todd Veldhuizen
-dnl @author Luc Maisonobe <luc@spaceroots.org>
-dnl @version 2004-02-04
-dnl @license AllPermissive
-
-AC_DEFUN([AC_CXX_HAVE_BOOL],
-[AC_CACHE_CHECK(whether the compiler recognizes bool as a built-in type,
-ac_cv_cxx_have_bool,
-[AC_LANG_SAVE
- AC_LANG_CPLUSPLUS
- AC_TRY_COMPILE([
-int f(int  x){return 1;}
-int f(char x){return 1;}
-int f(bool x){return 1;}
-],[bool b = true; return f(b);],
- ac_cv_cxx_have_bool=yes, ac_cv_cxx_have_bool=no)
- AC_LANG_RESTORE
-])
-if test "$ac_cv_cxx_have_bool" = yes; then
-  AC_DEFINE(HAVE_BOOL,,[define if bool is a built-in type])
-fi
-])
diff --git a/m4/cxx_have_namespaces.m4 b/m4/cxx_have_namespaces.m4
deleted file mode 100644 (file)
index 70dcc14..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-dnl @synopsis AC_CXX_HAVE_NAMESPACES
-dnl
-dnl If the compiler can prevent names clashes using namespaces, define
-dnl HAVE_NAMESPACES.
-dnl
-dnl @category Cxx
-dnl @author Todd Veldhuizen
-dnl @author Luc Maisonobe <luc@spaceroots.org>
-dnl @version 2004-02-04
-dnl @license AllPermissive
-
-AC_DEFUN([AC_CXX_HAVE_NAMESPACES],
-[AC_CACHE_CHECK(whether the compiler implements namespaces,
-ac_cv_cxx_have_namespaces,
-[AC_LANG_SAVE
- AC_LANG_CPLUSPLUS
- AC_TRY_COMPILE([namespace Outer { namespace Inner { int i = 0; }}],
-                [using namespace Outer::Inner; return i;],
- ac_cv_cxx_have_namespaces=yes, ac_cv_cxx_have_namespaces=no)
- AC_LANG_RESTORE
-])
-if test "$ac_cv_cxx_have_namespaces" = yes; then
-  AC_DEFINE(HAVE_NAMESPACES,,[define if the compiler implements namespaces])
-fi
-])
index 28a28b3464cc41cb2d01667f405a993d662350c4..cfdbfdb1ba8894ec3c9442dcd663a82c82b298e1 100644 (file)
@@ -13,7 +13,7 @@ dnl @license AllPermissive
 AC_DEFUN([AC_CXX_HAVE_STD_LIBS],
 [AC_CACHE_CHECK(whether the compiler supports ISO C++ standard library,
 ac_cv_cxx_have_std_libs,
-[AC_REQUIRE([AC_CXX_HAVE_NAMESPACES])
+[AC_REQUIRE([AX_CXX_NAMESPACES])
  AC_LANG_SAVE
  AC_LANG_CPLUSPLUS
  AC_TRY_COMPILE([#include <iostream>
diff --git a/m4/cxx_have_std_namespace.m4 b/m4/cxx_have_std_namespace.m4
deleted file mode 100644 (file)
index 35be1cd..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-dnl @synopsis AC_CXX_HAVE_STD_NAMESPACE
-dnl
-dnl If the compiler supports the std namespace, define
-dnl HAVE_STD_NAMESPACE.
-dnl
-dnl @category Cxx
-dnl @author Todd Veldhuizen
-dnl @author Luc Maisonobe <luc@spaceroots.org>
-dnl @version 2004-02-04
-dnl @license AllPermissive
-
-AC_DEFUN([AC_CXX_HAVE_STD_NAMESPACE],
-[AC_CACHE_CHECK(whether the compiler supports the std namespace,
-ac_cv_cxx_have_std_namespace,
-[AC_LANG_SAVE
- AC_LANG_CPLUSPLUS
- AC_TRY_COMPILE([#include <iostream>
-       std::istream& is = std::cin;
-       ],[return 0;],
- ac_cv_cxx_have_std_namespace=yes, ac_cv_cxx_have_std_namespace=no)
- AC_LANG_RESTORE
-])
-if test "$ac_cv_cxx_have_std_namespace" = yes; then
-  AC_DEFINE(HAVE_STD_NAMESPACE,,[define if the compiler supports the std namespace])
-fi
-])
index 3771119b4b33be7c6635a55d895db18c96b84adf..f8b6e1ad17f88341417258e373122db6285af223 100644 (file)
 /* #undef BUILD_MODULES */
 
 /* Define if you have the bzip2 library */
-#ifndef MAGICKCORE_BZLIB_DELEGATE 
-#define MAGICKCORE_BZLIB_DELEGATE  1 
+#ifndef MAGICKCORE_BZLIB_DELEGATE
+#define MAGICKCORE_BZLIB_DELEGATE 1
 #endif
 
 /* Define if you have CAIRO library */
-#ifndef MAGICKCORE_CAIRO_DELEGATE 
-#define MAGICKCORE_CAIRO_DELEGATE  1 
+#ifndef MAGICKCORE_CAIRO_DELEGATE
+#define MAGICKCORE_CAIRO_DELEGATE 1
 #endif
 
 /* permit enciphering and deciphering image pixels */
-#ifndef MAGICKCORE_CIPHER_SUPPORT 
-#define MAGICKCORE_CIPHER_SUPPORT  1 
+#ifndef MAGICKCORE_CIPHER_SUPPORT
+#define MAGICKCORE_CIPHER_SUPPORT 1
 #endif
 
 /* Define to 1 if the `closedir' function returns void instead of `int'. */
 /* #undef CLOSEDIR_VOID */
 
 /* Location of coder modules */
-#ifndef MAGICKCORE_CODER_PATH 
-#define MAGICKCORE_CODER_PATH  "/usr/local/lib/ImageMagick-6.6.1/modules-Q16/coders/" 
+#ifndef MAGICKCORE_CODER_PATH
+#define MAGICKCORE_CODER_PATH "/usr/local/lib/ImageMagick-6.6.1/modules-Q16/coders/"
 #endif
 
 /* Subdirectory of lib where coder modules are installed */
-#ifndef MAGICKCORE_CODER_RELATIVE_PATH 
-#define MAGICKCORE_CODER_RELATIVE_PATH  "ImageMagick-6.6.1/modules-Q16/coders" 
+#ifndef MAGICKCORE_CODER_RELATIVE_PATH
+#define MAGICKCORE_CODER_RELATIVE_PATH "ImageMagick-6.6.1/modules-Q16/coders"
 #endif
 
 /* Directory where architecture-dependent configuration files live. */
-#ifndef MAGICKCORE_CONFIGURE_PATH 
-#define MAGICKCORE_CONFIGURE_PATH  "/usr/local/lib/ImageMagick-6.6.1/config/" 
+#ifndef MAGICKCORE_CONFIGURE_PATH
+#define MAGICKCORE_CONFIGURE_PATH "/usr/local/lib/ImageMagick-6.6.1/config/"
 #endif
 
 /* Subdirectory of lib where architecture-dependent configuration files live.
    */
-#ifndef MAGICKCORE_CONFIGURE_RELATIVE_PATH 
-#define MAGICKCORE_CONFIGURE_RELATIVE_PATH  "ImageMagick-6.6.1/config" 
+#ifndef MAGICKCORE_CONFIGURE_RELATIVE_PATH
+#define MAGICKCORE_CONFIGURE_RELATIVE_PATH "ImageMagick-6.6.1/config"
 #endif
 
 /* Define if you have DJVU library */
-#ifndef MAGICKCORE_DJVU_DELEGATE 
-#define MAGICKCORE_DJVU_DELEGATE  1 
+#ifndef MAGICKCORE_DJVU_DELEGATE
+#define MAGICKCORE_DJVU_DELEGATE 1
 #endif
 
 /* Directory where ImageMagick documents live. */
-#ifndef MAGICKCORE_DOCUMENTATION_PATH 
-#define MAGICKCORE_DOCUMENTATION_PATH  "/usr/local/share/doc/ImageMagick-6.6.1/" 
+#ifndef MAGICKCORE_DOCUMENTATION_PATH
+#define MAGICKCORE_DOCUMENTATION_PATH "/usr/local/share/doc/ImageMagick-6.6.1/"
 #endif
 
 /* Define if you have Display Postscript */
 /* #undef EXCLUDE_DEPRECATED */
 
 /* Directory where executables are installed. */
-#ifndef MAGICKCORE_EXECUTABLE_PATH 
-#define MAGICKCORE_EXECUTABLE_PATH  "/usr/local/bin/" 
+#ifndef MAGICKCORE_EXECUTABLE_PATH
+#define MAGICKCORE_EXECUTABLE_PATH "/usr/local/bin/"
 #endif
 
 /* Define if you have FFTW library */
-#ifndef MAGICKCORE_FFTW_DELEGATE 
-#define MAGICKCORE_FFTW_DELEGATE  1 
+#ifndef MAGICKCORE_FFTW_DELEGATE
+#define MAGICKCORE_FFTW_DELEGATE 1
 #endif
 
 /* Location of filter modules */
-#ifndef MAGICKCORE_FILTER_PATH 
-#define MAGICKCORE_FILTER_PATH  "/usr/local/lib/ImageMagick-6.6.1/modules-Q16/filters/" 
+#ifndef MAGICKCORE_FILTER_PATH
+#define MAGICKCORE_FILTER_PATH "/usr/local/lib/ImageMagick-6.6.1/modules-Q16/filters/"
 #endif
 
 /* Subdirectory of lib where filter modules are installed */
-#ifndef MAGICKCORE_FILTER_RELATIVE_PATH 
-#define MAGICKCORE_FILTER_RELATIVE_PATH  "ImageMagick-6.6.1/modules-Q16/filters" 
+#ifndef MAGICKCORE_FILTER_RELATIVE_PATH
+#define MAGICKCORE_FILTER_RELATIVE_PATH "ImageMagick-6.6.1/modules-Q16/filters"
 #endif
 
 /* Define if you have FONTCONFIG library */
-#ifndef MAGICKCORE_FONTCONFIG_DELEGATE 
-#define MAGICKCORE_FONTCONFIG_DELEGATE  1 
+#ifndef MAGICKCORE_FONTCONFIG_DELEGATE
+#define MAGICKCORE_FONTCONFIG_DELEGATE 1
 #endif
 
 /* Define if you have FlashPIX library */
 /* #undef FPX_DELEGATE */
 
 /* Define if you have FreeType (TrueType font) library */
-#ifndef MAGICKCORE_FREETYPE_DELEGATE 
-#define MAGICKCORE_FREETYPE_DELEGATE  1 
+#ifndef MAGICKCORE_FREETYPE_DELEGATE
+#define MAGICKCORE_FREETYPE_DELEGATE 1
 #endif
 
 /* Define if you have Ghostscript library or framework */
 /* #undef GVC_DELEGATE */
 
 /* Define to 1 if you have the `argz_add' function. */
-#ifndef MAGICKCORE_HAVE_ARGZ_ADD 
-#define MAGICKCORE_HAVE_ARGZ_ADD  1 
+#ifndef MAGICKCORE_HAVE_ARGZ_ADD
+#define MAGICKCORE_HAVE_ARGZ_ADD 1
 #endif
 
 /* Define to 1 if you have the `argz_append' function. */
-#ifndef MAGICKCORE_HAVE_ARGZ_APPEND 
-#define MAGICKCORE_HAVE_ARGZ_APPEND  1 
+#ifndef MAGICKCORE_HAVE_ARGZ_APPEND
+#define MAGICKCORE_HAVE_ARGZ_APPEND 1
 #endif
 
 /* Define to 1 if you have the `argz_count' function. */
-#ifndef MAGICKCORE_HAVE_ARGZ_COUNT 
-#define MAGICKCORE_HAVE_ARGZ_COUNT  1 
+#ifndef MAGICKCORE_HAVE_ARGZ_COUNT
+#define MAGICKCORE_HAVE_ARGZ_COUNT 1
 #endif
 
 /* Define to 1 if you have the `argz_create_sep' function. */
-#ifndef MAGICKCORE_HAVE_ARGZ_CREATE_SEP 
-#define MAGICKCORE_HAVE_ARGZ_CREATE_SEP  1 
+#ifndef MAGICKCORE_HAVE_ARGZ_CREATE_SEP
+#define MAGICKCORE_HAVE_ARGZ_CREATE_SEP 1
 #endif
 
 /* Define to 1 if you have the <argz.h> header file. */
-#ifndef MAGICKCORE_HAVE_ARGZ_H 
-#define MAGICKCORE_HAVE_ARGZ_H  1 
+#ifndef MAGICKCORE_HAVE_ARGZ_H
+#define MAGICKCORE_HAVE_ARGZ_H 1
 #endif
 
 /* Define to 1 if you have the `argz_insert' function. */
-#ifndef MAGICKCORE_HAVE_ARGZ_INSERT 
-#define MAGICKCORE_HAVE_ARGZ_INSERT  1 
+#ifndef MAGICKCORE_HAVE_ARGZ_INSERT
+#define MAGICKCORE_HAVE_ARGZ_INSERT 1
 #endif
 
 /* Define to 1 if you have the `argz_next' function. */
-#ifndef MAGICKCORE_HAVE_ARGZ_NEXT 
-#define MAGICKCORE_HAVE_ARGZ_NEXT  1 
+#ifndef MAGICKCORE_HAVE_ARGZ_NEXT
+#define MAGICKCORE_HAVE_ARGZ_NEXT 1
 #endif
 
 /* Define to 1 if you have the `argz_stringify' function. */
-#ifndef MAGICKCORE_HAVE_ARGZ_STRINGIFY 
-#define MAGICKCORE_HAVE_ARGZ_STRINGIFY  1 
+#ifndef MAGICKCORE_HAVE_ARGZ_STRINGIFY
+#define MAGICKCORE_HAVE_ARGZ_STRINGIFY 1
 #endif
 
 /* Define to 1 if you have the <arm/limits.h> header file. */
 /* #undef HAVE_ARM_LIMITS_H */
 
 /* Define to 1 if you have the `atexit' function. */
-#ifndef MAGICKCORE_HAVE_ATEXIT 
-#define MAGICKCORE_HAVE_ATEXIT  1 
+#ifndef MAGICKCORE_HAVE_ATEXIT
+#define MAGICKCORE_HAVE_ATEXIT 1
 #endif
 
 /* define if bool is a built-in type */
-#ifndef MAGICKCORE_HAVE_BOOL 
-#define MAGICKCORE_HAVE_BOOL  /**/ 
+#ifndef MAGICKCORE_HAVE_BOOL
+#define MAGICKCORE_HAVE_BOOL /**/
 #endif
 
 /* Define to 1 if you have the `cimag' function. */
-#ifndef MAGICKCORE_HAVE_CIMAG 
-#define MAGICKCORE_HAVE_CIMAG  1 
+#ifndef MAGICKCORE_HAVE_CIMAG
+#define MAGICKCORE_HAVE_CIMAG 1
 #endif
 
 /* Define to 1 if you have the `clock' function. */
-#ifndef MAGICKCORE_HAVE_CLOCK 
-#define MAGICKCORE_HAVE_CLOCK  1 
+#ifndef MAGICKCORE_HAVE_CLOCK
+#define MAGICKCORE_HAVE_CLOCK 1
 #endif
 
 /* Define to 1 if you have clock_gettime. */
-#ifndef MAGICKCORE_HAVE_CLOCK_GETTIME 
-#define MAGICKCORE_HAVE_CLOCK_GETTIME  1 
+#ifndef MAGICKCORE_HAVE_CLOCK_GETTIME
+#define MAGICKCORE_HAVE_CLOCK_GETTIME 1
 #endif
 
 /* Define to 1 if clock_gettime supports CLOCK_REALTIME. */
-#ifndef MAGICKCORE_HAVE_CLOCK_REALTIME 
-#define MAGICKCORE_HAVE_CLOCK_REALTIME  1 
+#ifndef MAGICKCORE_HAVE_CLOCK_REALTIME
+#define MAGICKCORE_HAVE_CLOCK_REALTIME 1
 #endif
 
 /* Define to 1 if you have the `closedir' function. */
-#ifndef MAGICKCORE_HAVE_CLOSEDIR 
-#define MAGICKCORE_HAVE_CLOSEDIR  1 
+#ifndef MAGICKCORE_HAVE_CLOSEDIR
+#define MAGICKCORE_HAVE_CLOSEDIR 1
 #endif
 
 /* Define to 1 if you have the <CL/cl.h> header file. */
 /* #undef HAVE_CL_CL_H */
 
 /* Define to 1 if you have the <complex.h> header file. */
-#ifndef MAGICKCORE_HAVE_COMPLEX_H 
-#define MAGICKCORE_HAVE_COMPLEX_H  1 
+#ifndef MAGICKCORE_HAVE_COMPLEX_H
+#define MAGICKCORE_HAVE_COMPLEX_H 1
 #endif
 
 /* Define to 1 if you have the declaration of `cygwin_conv_path', and to 0 if
 
 /* Define to 1 if you have the declaration of `pread', and to 0 if you don't.
    */
-#ifndef MAGICKCORE_HAVE_DECL_PREAD 
-#define MAGICKCORE_HAVE_DECL_PREAD  1 
+#ifndef MAGICKCORE_HAVE_DECL_PREAD
+#define MAGICKCORE_HAVE_DECL_PREAD 1
 #endif
 
 /* Define to 1 if you have the declaration of `pwrite', and to 0 if you don't.
    */
-#ifndef MAGICKCORE_HAVE_DECL_PWRITE 
-#define MAGICKCORE_HAVE_DECL_PWRITE  1 
+#ifndef MAGICKCORE_HAVE_DECL_PWRITE
+#define MAGICKCORE_HAVE_DECL_PWRITE 1
 #endif
 
 /* Define to 1 if you have the declaration of `strlcpy', and to 0 if you
    don't. */
-#ifndef MAGICKCORE_HAVE_DECL_STRLCPY 
-#define MAGICKCORE_HAVE_DECL_STRLCPY  0 
+#ifndef MAGICKCORE_HAVE_DECL_STRLCPY
+#define MAGICKCORE_HAVE_DECL_STRLCPY 0
 #endif
 
 /* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
    don't. */
-#ifndef MAGICKCORE_HAVE_DECL_VSNPRINTF 
-#define MAGICKCORE_HAVE_DECL_VSNPRINTF  1 
+#ifndef MAGICKCORE_HAVE_DECL_VSNPRINTF
+#define MAGICKCORE_HAVE_DECL_VSNPRINTF 1
 #endif
 
 /* Define to 1 if you have the `directio' function. */
 
 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
    */
-#ifndef MAGICKCORE_HAVE_DIRENT_H 
-#define MAGICKCORE_HAVE_DIRENT_H  1 
+#ifndef MAGICKCORE_HAVE_DIRENT_H
+#define MAGICKCORE_HAVE_DIRENT_H 1
 #endif
 
 /* Define if you have the GNU dld library. */
 /* #undef HAVE_DLD_H */
 
 /* Define to 1 if you have the `dlerror' function. */
-#ifndef MAGICKCORE_HAVE_DLERROR 
-#define MAGICKCORE_HAVE_DLERROR  1 
+#ifndef MAGICKCORE_HAVE_DLERROR
+#define MAGICKCORE_HAVE_DLERROR 1
 #endif
 
 /* Define to 1 if you have the <dlfcn.h> header file. */
-#ifndef MAGICKCORE_HAVE_DLFCN_H 
-#define MAGICKCORE_HAVE_DLFCN_H  1 
+#ifndef MAGICKCORE_HAVE_DLFCN_H
+#define MAGICKCORE_HAVE_DLFCN_H 1
 #endif
 
 /* Define to 1 if you have the <dl.h> header file. */
 /* #undef HAVE_DYLD */
 
 /* Define to 1 if you have the <errno.h> header file. */
-#ifndef MAGICKCORE_HAVE_ERRNO_H 
-#define MAGICKCORE_HAVE_ERRNO_H  1 
+#ifndef MAGICKCORE_HAVE_ERRNO_H
+#define MAGICKCORE_HAVE_ERRNO_H 1
 #endif
 
 /* Define to 1 if the system has the type `error_t'. */
-#ifndef MAGICKCORE_HAVE_ERROR_T 
-#define MAGICKCORE_HAVE_ERROR_T  1 
+#ifndef MAGICKCORE_HAVE_ERROR_T
+#define MAGICKCORE_HAVE_ERROR_T 1
 #endif
 
 /* Define to 1 if you have the `execvp' function. */
-#ifndef MAGICKCORE_HAVE_EXECVP 
-#define MAGICKCORE_HAVE_EXECVP  1 
+#ifndef MAGICKCORE_HAVE_EXECVP
+#define MAGICKCORE_HAVE_EXECVP 1
 #endif
 
 /* Define to 1 if you have the `fchmod' function. */
-#ifndef MAGICKCORE_HAVE_FCHMOD 
-#define MAGICKCORE_HAVE_FCHMOD  1 
+#ifndef MAGICKCORE_HAVE_FCHMOD
+#define MAGICKCORE_HAVE_FCHMOD 1
 #endif
 
 /* Define to 1 if you have the <fcntl.h> header file. */
-#ifndef MAGICKCORE_HAVE_FCNTL_H 
-#define MAGICKCORE_HAVE_FCNTL_H  1 
+#ifndef MAGICKCORE_HAVE_FCNTL_H
+#define MAGICKCORE_HAVE_FCNTL_H 1
 #endif
 
 /* Define to 1 if you have the `floor' function. */
-#ifndef MAGICKCORE_HAVE_FLOOR 
-#define MAGICKCORE_HAVE_FLOOR  1 
+#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_FORK  1 
+#ifndef MAGICKCORE_HAVE_FORK
+#define MAGICKCORE_HAVE_FORK 1
 #endif
 
 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
-#ifndef MAGICKCORE_HAVE_FSEEKO 
-#define MAGICKCORE_HAVE_FSEEKO  1 
+#ifndef MAGICKCORE_HAVE_FSEEKO
+#define MAGICKCORE_HAVE_FSEEKO 1
 #endif
 
 /* Define to 1 if you have the <ft2build.h> header file. */
-#ifndef MAGICKCORE_HAVE_FT2BUILD_H 
-#define MAGICKCORE_HAVE_FT2BUILD_H  1 
+#ifndef MAGICKCORE_HAVE_FT2BUILD_H
+#define MAGICKCORE_HAVE_FT2BUILD_H 1
 #endif
 
 /* Define to 1 if you have the `ftime' function. */
-#ifndef MAGICKCORE_HAVE_FTIME 
-#define MAGICKCORE_HAVE_FTIME  1 
+#ifndef MAGICKCORE_HAVE_FTIME
+#define MAGICKCORE_HAVE_FTIME 1
 #endif
 
 /* Define to 1 if you have the `ftruncate' function. */
-#ifndef MAGICKCORE_HAVE_FTRUNCATE 
-#define MAGICKCORE_HAVE_FTRUNCATE  1 
+#ifndef MAGICKCORE_HAVE_FTRUNCATE
+#define MAGICKCORE_HAVE_FTRUNCATE 1
 #endif
 
 /* Define to 1 if you have the `getcwd' function. */
-#ifndef MAGICKCORE_HAVE_GETCWD 
-#define MAGICKCORE_HAVE_GETCWD  1 
+#ifndef MAGICKCORE_HAVE_GETCWD
+#define MAGICKCORE_HAVE_GETCWD 1
 #endif
 
 /* Define to 1 if you have the `getdtablesize' function. */
-#ifndef MAGICKCORE_HAVE_GETDTABLESIZE 
-#define MAGICKCORE_HAVE_GETDTABLESIZE  1 
+#ifndef MAGICKCORE_HAVE_GETDTABLESIZE
+#define MAGICKCORE_HAVE_GETDTABLESIZE 1
 #endif
 
 /* Define to 1 if you have the `getexecname' function. */
 /* #undef HAVE_GETEXECNAME */
 
 /* Define to 1 if you have the `getpagesize' function. */
-#ifndef MAGICKCORE_HAVE_GETPAGESIZE 
-#define MAGICKCORE_HAVE_GETPAGESIZE  1 
+#ifndef MAGICKCORE_HAVE_GETPAGESIZE
+#define MAGICKCORE_HAVE_GETPAGESIZE 1
 #endif
 
 /* Define to 1 if you have the `getpid' function. */
-#ifndef MAGICKCORE_HAVE_GETPID 
-#define MAGICKCORE_HAVE_GETPID  1 
+#ifndef MAGICKCORE_HAVE_GETPID
+#define MAGICKCORE_HAVE_GETPID 1
 #endif
 
 /* Define to 1 if you have the `getrlimit' function. */
-#ifndef MAGICKCORE_HAVE_GETRLIMIT 
-#define MAGICKCORE_HAVE_GETRLIMIT  1 
+#ifndef MAGICKCORE_HAVE_GETRLIMIT
+#define MAGICKCORE_HAVE_GETRLIMIT 1
 #endif
 
 /* Define to 1 if you have the `getrusage' function. */
-#ifndef MAGICKCORE_HAVE_GETRUSAGE 
-#define MAGICKCORE_HAVE_GETRUSAGE  1 
+#ifndef MAGICKCORE_HAVE_GETRUSAGE
+#define MAGICKCORE_HAVE_GETRUSAGE 1
 #endif
 
 /* Define to 1 if you have the `gettimeofday' function. */
-#ifndef MAGICKCORE_HAVE_GETTIMEOFDAY 
-#define MAGICKCORE_HAVE_GETTIMEOFDAY  1 
+#ifndef MAGICKCORE_HAVE_GETTIMEOFDAY
+#define MAGICKCORE_HAVE_GETTIMEOFDAY 1
 #endif
 
 /* Define to 1 if you have the `gmtime_r' function. */
-#ifndef MAGICKCORE_HAVE_GMTIME_R 
-#define MAGICKCORE_HAVE_GMTIME_R  1 
+#ifndef MAGICKCORE_HAVE_GMTIME_R
+#define MAGICKCORE_HAVE_GMTIME_R 1
 #endif
 
 /* Define to 1 if you have the <inttypes.h> header file. */
-#ifndef MAGICKCORE_HAVE_INTTYPES_H 
-#define MAGICKCORE_HAVE_INTTYPES_H  1 
+#ifndef MAGICKCORE_HAVE_INTTYPES_H
+#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 
+#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 
+#ifndef MAGICKCORE_HAVE_J1
+#define MAGICKCORE_HAVE_J1 1
 #endif
 
 /* Define if you have the <lcms2.h> header file. */
 /* #undef HAVE_LCMS2_H */
 
 /* Define if you have the <lcms.h> header file. */
-#ifndef MAGICKCORE_HAVE_LCMS_H 
-#define MAGICKCORE_HAVE_LCMS_H  1 
+#ifndef MAGICKCORE_HAVE_LCMS_H
+#define MAGICKCORE_HAVE_LCMS_H 1
 #endif
 
 /* Define if you have the <lcms/lcms2.h> header file. */
 /* #undef HAVE_LCMS_LCMS_H */
 
 /* Define if you have the libdl library or equivalent. */
-#ifndef MAGICKCORE_HAVE_LIBDL 
-#define MAGICKCORE_HAVE_LIBDL  1 
+#ifndef MAGICKCORE_HAVE_LIBDL
+#define MAGICKCORE_HAVE_LIBDL 1
 #endif
 
 /* Define if libdlloader will be built on this platform */
-#ifndef MAGICKCORE_HAVE_LIBDLLOADER 
-#define MAGICKCORE_HAVE_LIBDLLOADER  1 
+#ifndef MAGICKCORE_HAVE_LIBDLLOADER
+#define MAGICKCORE_HAVE_LIBDLLOADER 1
 #endif
 
 /* Define to 1 if you have the `gcov' library (-lgcov). */
 /* #undef HAVE_LIBGCOV */
 
 /* Define to 1 if you have the <limits.h> header file. */
-#ifndef MAGICKCORE_HAVE_LIMITS_H 
-#define MAGICKCORE_HAVE_LIMITS_H  1 
+#ifndef MAGICKCORE_HAVE_LIMITS_H
+#define MAGICKCORE_HAVE_LIMITS_H 1
 #endif
 
 /* Define to 1 if you have the <linux/unistd.h> header file. */
-#ifndef MAGICKCORE_HAVE_LINUX_UNISTD_H 
-#define MAGICKCORE_HAVE_LINUX_UNISTD_H  1 
+#ifndef MAGICKCORE_HAVE_LINUX_UNISTD_H
+#define MAGICKCORE_HAVE_LINUX_UNISTD_H 1
 #endif
 
 /* Define to 1 if you have the <locale.h> header file. */
-#ifndef MAGICKCORE_HAVE_LOCALE_H 
-#define MAGICKCORE_HAVE_LOCALE_H  1 
+#ifndef MAGICKCORE_HAVE_LOCALE_H
+#define MAGICKCORE_HAVE_LOCALE_H 1
 #endif
 
 /* Define to 1 if you have the `localtime_r' function. */
-#ifndef MAGICKCORE_HAVE_LOCALTIME_R 
-#define MAGICKCORE_HAVE_LOCALTIME_R  1 
+#ifndef MAGICKCORE_HAVE_LOCALTIME_R
+#define MAGICKCORE_HAVE_LOCALTIME_R 1
 #endif
 
 /* Define to 1 if the type `long double' works and has more range or precision
    than `double'. */
-#ifndef MAGICKCORE_HAVE_LONG_DOUBLE_WIDER 
-#define MAGICKCORE_HAVE_LONG_DOUBLE_WIDER  1 
+#ifndef MAGICKCORE_HAVE_LONG_DOUBLE_WIDER
+#define MAGICKCORE_HAVE_LONG_DOUBLE_WIDER 1
 #endif
 
 /* Define to 1 if you have the `lstat' function. */
-#ifndef MAGICKCORE_HAVE_LSTAT 
-#define MAGICKCORE_HAVE_LSTAT  1 
+#ifndef MAGICKCORE_HAVE_LSTAT
+#define MAGICKCORE_HAVE_LSTAT 1
 #endif
 
 /* define if the compiler implements L"widestring" */
-#ifndef MAGICKCORE_HAVE_LSTRING 
-#define MAGICKCORE_HAVE_LSTRING  /**/ 
+#ifndef MAGICKCORE_HAVE_LSTRING
+#define MAGICKCORE_HAVE_LSTRING /**/
 #endif
 
 /* Define this if a modern libltdl is already installed */
-#ifndef MAGICKCORE_HAVE_LTDL 
-#define MAGICKCORE_HAVE_LTDL  1 
+#ifndef MAGICKCORE_HAVE_LTDL
+#define MAGICKCORE_HAVE_LTDL 1
 #endif
 
 /* Define to 1 if you have the <machine/param.h> header file. */
 /* #undef HAVE_MACH_O_DYLD_H */
 
 /* Define to 1 if you have the `memmove' function. */
-#ifndef MAGICKCORE_HAVE_MEMMOVE 
-#define MAGICKCORE_HAVE_MEMMOVE  1 
+#ifndef MAGICKCORE_HAVE_MEMMOVE
+#define MAGICKCORE_HAVE_MEMMOVE 1
 #endif
 
 /* Define to 1 if you have the <memory.h> header file. */
-#ifndef MAGICKCORE_HAVE_MEMORY_H 
-#define MAGICKCORE_HAVE_MEMORY_H  1 
+#ifndef MAGICKCORE_HAVE_MEMORY_H
+#define MAGICKCORE_HAVE_MEMORY_H 1
 #endif
 
 /* Define to 1 if you have the `memset' function. */
-#ifndef MAGICKCORE_HAVE_MEMSET 
-#define MAGICKCORE_HAVE_MEMSET  1 
+#ifndef MAGICKCORE_HAVE_MEMSET
+#define MAGICKCORE_HAVE_MEMSET 1
 #endif
 
 /* Define to 1 if you have the `mkstemp' function. */
-#ifndef MAGICKCORE_HAVE_MKSTEMP 
-#define MAGICKCORE_HAVE_MKSTEMP  1 
+#ifndef MAGICKCORE_HAVE_MKSTEMP
+#define MAGICKCORE_HAVE_MKSTEMP 1
 #endif
 
 /* Define to 1 if you have a working `mmap' system call. */
-#ifndef MAGICKCORE_HAVE_MMAP 
-#define MAGICKCORE_HAVE_MMAP  1 
+#ifndef MAGICKCORE_HAVE_MMAP
+#define MAGICKCORE_HAVE_MMAP 1
 #endif
 
 /* Define to 1 if you have a working `mmap' system call. */
-#ifndef MAGICKCORE_HAVE_MMAP_FILEIO 
-#define MAGICKCORE_HAVE_MMAP_FILEIO  1 
+#ifndef MAGICKCORE_HAVE_MMAP_FILEIO
+#define MAGICKCORE_HAVE_MMAP_FILEIO 1
 #endif
 
 /* Define to 1 if you have the `munmap' function. */
-#ifndef MAGICKCORE_HAVE_MUNMAP 
-#define MAGICKCORE_HAVE_MUNMAP  1 
+#ifndef MAGICKCORE_HAVE_MUNMAP
+#define MAGICKCORE_HAVE_MUNMAP 1
 #endif
 
 /* define if the compiler implements namespaces */
-#ifndef MAGICKCORE_HAVE_NAMESPACES 
-#define MAGICKCORE_HAVE_NAMESPACES  /**/ 
+#ifndef MAGICKCORE_HAVE_NAMESPACES
+#define MAGICKCORE_HAVE_NAMESPACES /**/
+#endif
+
+/* Define if g++ supports namespace std. */
+#ifndef MAGICKCORE_HAVE_NAMESPACE_STD
+#define MAGICKCORE_HAVE_NAMESPACE_STD /**/
 #endif
 
 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
 /* #undef HAVE_OPENCL_CL_H */
 
 /* Define to 1 if you have the `opendir' function. */
-#ifndef MAGICKCORE_HAVE_OPENDIR 
-#define MAGICKCORE_HAVE_OPENDIR  1 
+#ifndef MAGICKCORE_HAVE_OPENDIR
+#define MAGICKCORE_HAVE_OPENDIR 1
 #endif
 
 /* Define to 1 if you have the <OS.h> header file. */
 /* #undef HAVE_OS_H */
 
 /* Define to 1 if you have the `pclose' function. */
-#ifndef MAGICKCORE_HAVE_PCLOSE 
-#define MAGICKCORE_HAVE_PCLOSE  1 
+#ifndef MAGICKCORE_HAVE_PCLOSE
+#define MAGICKCORE_HAVE_PCLOSE 1
 #endif
 
 /* Define to 1 if you have the `poll' function. */
-#ifndef MAGICKCORE_HAVE_POLL 
-#define MAGICKCORE_HAVE_POLL  1 
+#ifndef MAGICKCORE_HAVE_POLL
+#define MAGICKCORE_HAVE_POLL 1
 #endif
 
 /* Define to 1 if you have the `popen' function. */
-#ifndef MAGICKCORE_HAVE_POPEN 
-#define MAGICKCORE_HAVE_POPEN  1 
+#ifndef MAGICKCORE_HAVE_POPEN
+#define MAGICKCORE_HAVE_POPEN 1
 #endif
 
 /* Define to 1 if you have the `posix_fadvise' function. */
-#ifndef MAGICKCORE_HAVE_POSIX_FADVISE 
-#define MAGICKCORE_HAVE_POSIX_FADVISE  1 
+#ifndef MAGICKCORE_HAVE_POSIX_FADVISE
+#define MAGICKCORE_HAVE_POSIX_FADVISE 1
 #endif
 
 /* Define to 1 if you have the `posix_fallocate' function. */
-#ifndef MAGICKCORE_HAVE_POSIX_FALLOCATE 
-#define MAGICKCORE_HAVE_POSIX_FALLOCATE  1 
+#ifndef MAGICKCORE_HAVE_POSIX_FALLOCATE
+#define MAGICKCORE_HAVE_POSIX_FALLOCATE 1
 #endif
 
 /* Define to 1 if you have the `posix_madvise' function. */
-#ifndef MAGICKCORE_HAVE_POSIX_MADVISE 
-#define MAGICKCORE_HAVE_POSIX_MADVISE  1 
+#ifndef MAGICKCORE_HAVE_POSIX_MADVISE
+#define MAGICKCORE_HAVE_POSIX_MADVISE 1
 #endif
 
 /* Define to 1 if you have the `posix_memalign' function. */
-#ifndef MAGICKCORE_HAVE_POSIX_MEMALIGN 
-#define MAGICKCORE_HAVE_POSIX_MEMALIGN  1 
+#ifndef MAGICKCORE_HAVE_POSIX_MEMALIGN
+#define MAGICKCORE_HAVE_POSIX_MEMALIGN 1
 #endif
 
 /* Define to 1 if you have the `pow' function. */
-#ifndef MAGICKCORE_HAVE_POW 
-#define MAGICKCORE_HAVE_POW  1 
+#ifndef MAGICKCORE_HAVE_POW
+#define MAGICKCORE_HAVE_POW 1
 #endif
 
 /* Define to 1 if you have the `pread' function. */
-#ifndef MAGICKCORE_HAVE_PREAD 
-#define MAGICKCORE_HAVE_PREAD  1 
+#ifndef MAGICKCORE_HAVE_PREAD
+#define MAGICKCORE_HAVE_PREAD 1
 #endif
 
 /* Define if libtool can extract symbol lists from object files. */
-#ifndef MAGICKCORE_HAVE_PRELOADED_SYMBOLS 
-#define MAGICKCORE_HAVE_PRELOADED_SYMBOLS  1 
+#ifndef MAGICKCORE_HAVE_PRELOADED_SYMBOLS
+#define MAGICKCORE_HAVE_PRELOADED_SYMBOLS 1
 #endif
 
 /* Define to 1 if you have the <process.h> header file. */
 /* #undef HAVE_PROCESS_H */
 
 /* Define if you have POSIX threads libraries and header files. */
-#ifndef MAGICKCORE_HAVE_PTHREAD 
-#define MAGICKCORE_HAVE_PTHREAD  1 
+#ifndef MAGICKCORE_HAVE_PTHREAD
+#define MAGICKCORE_HAVE_PTHREAD 1
 #endif
 
 /* Define to 1 if you have the `pwrite' function. */
-#ifndef MAGICKCORE_HAVE_PWRITE 
-#define MAGICKCORE_HAVE_PWRITE  1 
+#ifndef MAGICKCORE_HAVE_PWRITE
+#define MAGICKCORE_HAVE_PWRITE 1
 #endif
 
 /* Define to 1 if you have the `raise' function. */
-#ifndef MAGICKCORE_HAVE_RAISE 
-#define MAGICKCORE_HAVE_RAISE  1 
+#ifndef MAGICKCORE_HAVE_RAISE
+#define MAGICKCORE_HAVE_RAISE 1
 #endif
 
 /* Define to 1 if you have the `rand_r' function. */
-#ifndef MAGICKCORE_HAVE_RAND_R 
-#define MAGICKCORE_HAVE_RAND_R  1 
+#ifndef MAGICKCORE_HAVE_RAND_R
+#define MAGICKCORE_HAVE_RAND_R 1
 #endif
 
 /* Define to 1 if you have the `readdir' function. */
-#ifndef MAGICKCORE_HAVE_READDIR 
-#define MAGICKCORE_HAVE_READDIR  1 
+#ifndef MAGICKCORE_HAVE_READDIR
+#define MAGICKCORE_HAVE_READDIR 1
 #endif
 
 /* Define to 1 if you have the `readdir_r' function. */
-#ifndef MAGICKCORE_HAVE_READDIR_R 
-#define MAGICKCORE_HAVE_READDIR_R  1 
+#ifndef MAGICKCORE_HAVE_READDIR_R
+#define MAGICKCORE_HAVE_READDIR_R 1
 #endif
 
 /* Define to 1 if you have the `readlink' function. */
-#ifndef MAGICKCORE_HAVE_READLINK 
-#define MAGICKCORE_HAVE_READLINK  1 
+#ifndef MAGICKCORE_HAVE_READLINK
+#define MAGICKCORE_HAVE_READLINK 1
 #endif
 
 /* Define to 1 if you have the `realpath' function. */
-#ifndef MAGICKCORE_HAVE_REALPATH 
-#define MAGICKCORE_HAVE_REALPATH  1 
+#ifndef MAGICKCORE_HAVE_REALPATH
+#define MAGICKCORE_HAVE_REALPATH 1
 #endif
 
 /* Define to 1 if you have the `seekdir' function. */
-#ifndef MAGICKCORE_HAVE_SEEKDIR 
-#define MAGICKCORE_HAVE_SEEKDIR  1 
+#ifndef MAGICKCORE_HAVE_SEEKDIR
+#define MAGICKCORE_HAVE_SEEKDIR 1
 #endif
 
 /* Define to 1 if you have the `select' function. */
-#ifndef MAGICKCORE_HAVE_SELECT 
-#define MAGICKCORE_HAVE_SELECT  1 
+#ifndef MAGICKCORE_HAVE_SELECT
+#define MAGICKCORE_HAVE_SELECT 1
 #endif
 
 /* Define to 1 if you have the `setlocale' function. */
-#ifndef MAGICKCORE_HAVE_SETLOCALE 
-#define MAGICKCORE_HAVE_SETLOCALE  1 
+#ifndef MAGICKCORE_HAVE_SETLOCALE
+#define MAGICKCORE_HAVE_SETLOCALE 1
 #endif
 
 /* Define to 1 if you have the `setvbuf' function. */
-#ifndef MAGICKCORE_HAVE_SETVBUF 
-#define MAGICKCORE_HAVE_SETVBUF  1 
+#ifndef MAGICKCORE_HAVE_SETVBUF
+#define MAGICKCORE_HAVE_SETVBUF 1
 #endif
 
 /* X11 server supports shape extension */
-#ifndef MAGICKCORE_HAVE_SHAPE 
-#define MAGICKCORE_HAVE_SHAPE  1 
+#ifndef MAGICKCORE_HAVE_SHAPE
+#define MAGICKCORE_HAVE_SHAPE 1
 #endif
 
 /* X11 server supports shared memory extension */
-#ifndef MAGICKCORE_HAVE_SHARED_MEMORY 
-#define MAGICKCORE_HAVE_SHARED_MEMORY  1 
+#ifndef MAGICKCORE_HAVE_SHARED_MEMORY
+#define MAGICKCORE_HAVE_SHARED_MEMORY 1
 #endif
 
 /* Define if you have the shl_load function. */
 /* #undef HAVE_SHL_LOAD */
 
 /* Define to 1 if you have the `sigaction' function. */
-#ifndef MAGICKCORE_HAVE_SIGACTION 
-#define MAGICKCORE_HAVE_SIGACTION  1 
+#ifndef MAGICKCORE_HAVE_SIGACTION
+#define MAGICKCORE_HAVE_SIGACTION 1
 #endif
 
 /* Define to 1 if you have the `sigemptyset' function. */
-#ifndef MAGICKCORE_HAVE_SIGEMPTYSET 
-#define MAGICKCORE_HAVE_SIGEMPTYSET  1 
+#ifndef MAGICKCORE_HAVE_SIGEMPTYSET
+#define MAGICKCORE_HAVE_SIGEMPTYSET 1
 #endif
 
 /* Define to 1 if you have the `spawnvp' function. */
 /* #undef HAVE_SPAWNVP */
 
 /* Define to 1 if you have the `sqrt' function. */
-#ifndef MAGICKCORE_HAVE_SQRT 
-#define MAGICKCORE_HAVE_SQRT  1 
+#ifndef MAGICKCORE_HAVE_SQRT
+#define MAGICKCORE_HAVE_SQRT 1
 #endif
 
 /* Define to 1 if you have the `stat' function. */
-#ifndef MAGICKCORE_HAVE_STAT 
-#define MAGICKCORE_HAVE_STAT  1 
+#ifndef MAGICKCORE_HAVE_STAT
+#define MAGICKCORE_HAVE_STAT 1
 #endif
 
 /* Define to 1 if you have the <stdarg.h> header file. */
-#ifndef MAGICKCORE_HAVE_STDARG_H 
-#define MAGICKCORE_HAVE_STDARG_H  1 
+#ifndef MAGICKCORE_HAVE_STDARG_H
+#define MAGICKCORE_HAVE_STDARG_H 1
 #endif
 
 /* Define to 1 if stdbool.h conforms to C99. */
-#ifndef MAGICKCORE_HAVE_STDBOOL_H 
-#define MAGICKCORE_HAVE_STDBOOL_H  1 
+#ifndef MAGICKCORE_HAVE_STDBOOL_H
+#define MAGICKCORE_HAVE_STDBOOL_H 1
 #endif
 
 /* Define to 1 if you have the <stdint.h> header file. */
-#ifndef MAGICKCORE_HAVE_STDINT_H 
-#define MAGICKCORE_HAVE_STDINT_H  1 
+#ifndef MAGICKCORE_HAVE_STDINT_H
+#define MAGICKCORE_HAVE_STDINT_H 1
 #endif
 
 /* Define to 1 if you have the <stdlib.h> header file. */
-#ifndef MAGICKCORE_HAVE_STDLIB_H 
-#define MAGICKCORE_HAVE_STDLIB_H  1 
+#ifndef MAGICKCORE_HAVE_STDLIB_H
+#define MAGICKCORE_HAVE_STDLIB_H 1
 #endif
 
 /* define if the compiler supports ISO C++ standard library */
-#ifndef MAGICKCORE_HAVE_STD_LIBS 
-#define MAGICKCORE_HAVE_STD_LIBS  /**/ 
-#endif
-
-/* define if the compiler supports the std namespace */
-#ifndef MAGICKCORE_HAVE_STD_NAMESPACE 
-#define MAGICKCORE_HAVE_STD_NAMESPACE  /**/ 
+#ifndef MAGICKCORE_HAVE_STD_LIBS
+#define MAGICKCORE_HAVE_STD_LIBS /**/
 #endif
 
 /* Define to 1 if you have the `strcasecmp' function. */
-#ifndef MAGICKCORE_HAVE_STRCASECMP 
-#define MAGICKCORE_HAVE_STRCASECMP  1 
+#ifndef MAGICKCORE_HAVE_STRCASECMP
+#define MAGICKCORE_HAVE_STRCASECMP 1
 #endif
 
 /* Define to 1 if you have the `strchr' function. */
-#ifndef MAGICKCORE_HAVE_STRCHR 
-#define MAGICKCORE_HAVE_STRCHR  1 
+#ifndef MAGICKCORE_HAVE_STRCHR
+#define MAGICKCORE_HAVE_STRCHR 1
 #endif
 
 /* Define to 1 if you have the `strcspn' function. */
-#ifndef MAGICKCORE_HAVE_STRCSPN 
-#define MAGICKCORE_HAVE_STRCSPN  1 
+#ifndef MAGICKCORE_HAVE_STRCSPN
+#define MAGICKCORE_HAVE_STRCSPN 1
 #endif
 
 /* Define to 1 if you have the `strdup' function. */
-#ifndef MAGICKCORE_HAVE_STRDUP 
-#define MAGICKCORE_HAVE_STRDUP  1 
+#ifndef MAGICKCORE_HAVE_STRDUP
+#define MAGICKCORE_HAVE_STRDUP 1
 #endif
 
 /* Define to 1 if you have the `strerror' function. */
-#ifndef MAGICKCORE_HAVE_STRERROR 
-#define MAGICKCORE_HAVE_STRERROR  1 
+#ifndef MAGICKCORE_HAVE_STRERROR
+#define MAGICKCORE_HAVE_STRERROR 1
 #endif
 
 /* Define to 1 if you have the `strerror_r' function. */
-#ifndef MAGICKCORE_HAVE_STRERROR_R 
-#define MAGICKCORE_HAVE_STRERROR_R  1 
+#ifndef MAGICKCORE_HAVE_STRERROR_R
+#define MAGICKCORE_HAVE_STRERROR_R 1
 #endif
 
 /* Define to 1 if cpp supports the ANSI # stringizing operator. */
-#ifndef MAGICKCORE_HAVE_STRINGIZE 
-#define MAGICKCORE_HAVE_STRINGIZE  1 
+#ifndef MAGICKCORE_HAVE_STRINGIZE
+#define MAGICKCORE_HAVE_STRINGIZE 1
 #endif
 
 /* Define to 1 if you have the <strings.h> header file. */
-#ifndef MAGICKCORE_HAVE_STRINGS_H 
-#define MAGICKCORE_HAVE_STRINGS_H  1 
+#ifndef MAGICKCORE_HAVE_STRINGS_H
+#define MAGICKCORE_HAVE_STRINGS_H 1
 #endif
 
 /* Define to 1 if you have the <string.h> header file. */
-#ifndef MAGICKCORE_HAVE_STRING_H 
-#define MAGICKCORE_HAVE_STRING_H  1 
+#ifndef MAGICKCORE_HAVE_STRING_H
+#define MAGICKCORE_HAVE_STRING_H 1
 #endif
 
 /* Define to 1 if you have the `strlcat' function. */
 /* #undef HAVE_STRLCPY */
 
 /* Define to 1 if you have the `strncasecmp' function. */
-#ifndef MAGICKCORE_HAVE_STRNCASECMP 
-#define MAGICKCORE_HAVE_STRNCASECMP  1 
+#ifndef MAGICKCORE_HAVE_STRNCASECMP
+#define MAGICKCORE_HAVE_STRNCASECMP 1
 #endif
 
 /* Define to 1 if you have the `strpbrk' function. */
-#ifndef MAGICKCORE_HAVE_STRPBRK 
-#define MAGICKCORE_HAVE_STRPBRK  1 
+#ifndef MAGICKCORE_HAVE_STRPBRK
+#define MAGICKCORE_HAVE_STRPBRK 1
 #endif
 
 /* Define to 1 if you have the `strrchr' function. */
-#ifndef MAGICKCORE_HAVE_STRRCHR 
-#define MAGICKCORE_HAVE_STRRCHR  1 
+#ifndef MAGICKCORE_HAVE_STRRCHR
+#define MAGICKCORE_HAVE_STRRCHR 1
 #endif
 
 /* Define to 1 if you have the `strspn' function. */
-#ifndef MAGICKCORE_HAVE_STRSPN 
-#define MAGICKCORE_HAVE_STRSPN  1 
+#ifndef MAGICKCORE_HAVE_STRSPN
+#define MAGICKCORE_HAVE_STRSPN 1
 #endif
 
 /* Define to 1 if you have the `strstr' function. */
-#ifndef MAGICKCORE_HAVE_STRSTR 
-#define MAGICKCORE_HAVE_STRSTR  1 
+#ifndef MAGICKCORE_HAVE_STRSTR
+#define MAGICKCORE_HAVE_STRSTR 1
 #endif
 
 /* Define to 1 if you have the `strtol' function. */
-#ifndef MAGICKCORE_HAVE_STRTOL 
-#define MAGICKCORE_HAVE_STRTOL  1 
+#ifndef MAGICKCORE_HAVE_STRTOL
+#define MAGICKCORE_HAVE_STRTOL 1
 #endif
 
 /* Define to 1 if you have the `strtoul' function. */
-#ifndef MAGICKCORE_HAVE_STRTOUL 
-#define MAGICKCORE_HAVE_STRTOUL  1 
+#ifndef MAGICKCORE_HAVE_STRTOUL
+#define MAGICKCORE_HAVE_STRTOUL 1
 #endif
 
 /* Define to 1 if you have the `symlink' function. */
-#ifndef MAGICKCORE_HAVE_SYMLINK 
-#define MAGICKCORE_HAVE_SYMLINK  1 
+#ifndef MAGICKCORE_HAVE_SYMLINK
+#define MAGICKCORE_HAVE_SYMLINK 1
 #endif
 
 /* Define to 1 if you have the `sysconf' function. */
-#ifndef MAGICKCORE_HAVE_SYSCONF 
-#define MAGICKCORE_HAVE_SYSCONF  1 
+#ifndef MAGICKCORE_HAVE_SYSCONF
+#define MAGICKCORE_HAVE_SYSCONF 1
 #endif
 
 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
 /* #undef HAVE_SYS_DL_H */
 
 /* Define to 1 if you have the <sys/ipc.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_IPC_H 
-#define MAGICKCORE_HAVE_SYS_IPC_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_IPC_H
+#define MAGICKCORE_HAVE_SYS_IPC_H 1
 #endif
 
 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
 /* #undef HAVE_SYS_NDIR_H */
 
 /* Define to 1 if you have the <sys/param.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_PARAM_H 
-#define MAGICKCORE_HAVE_SYS_PARAM_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_PARAM_H
+#define MAGICKCORE_HAVE_SYS_PARAM_H 1
 #endif
 
 /* Define to 1 if you have the <sys/resource.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_RESOURCE_H 
-#define MAGICKCORE_HAVE_SYS_RESOURCE_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_RESOURCE_H
+#define MAGICKCORE_HAVE_SYS_RESOURCE_H 1
 #endif
 
 /* Define to 1 if you have the <sys/select.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_SELECT_H 
-#define MAGICKCORE_HAVE_SYS_SELECT_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_SELECT_H
+#define MAGICKCORE_HAVE_SYS_SELECT_H 1
 #endif
 
 /* Define to 1 if you have the <sys/socket.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_SOCKET_H 
-#define MAGICKCORE_HAVE_SYS_SOCKET_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_SOCKET_H
+#define MAGICKCORE_HAVE_SYS_SOCKET_H 1
 #endif
 
 /* Define to 1 if you have the <sys/stat.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_STAT_H 
-#define MAGICKCORE_HAVE_SYS_STAT_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_STAT_H
+#define MAGICKCORE_HAVE_SYS_STAT_H 1
 #endif
 
 /* Define to 1 if you have the <sys/syslimits.h> header file. */
 /* #undef HAVE_SYS_SYSLIMITS_H */
 
 /* Define to 1 if you have the <sys/timeb.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_TIMEB_H 
-#define MAGICKCORE_HAVE_SYS_TIMEB_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_TIMEB_H
+#define MAGICKCORE_HAVE_SYS_TIMEB_H 1
 #endif
 
 /* Define to 1 if you have the <sys/times.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_TIMES_H 
-#define MAGICKCORE_HAVE_SYS_TIMES_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_TIMES_H
+#define MAGICKCORE_HAVE_SYS_TIMES_H 1
 #endif
 
 /* Define to 1 if you have the <sys/time.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_TIME_H 
-#define MAGICKCORE_HAVE_SYS_TIME_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_TIME_H
+#define MAGICKCORE_HAVE_SYS_TIME_H 1
 #endif
 
 /* Define to 1 if you have the <sys/types.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_TYPES_H 
-#define MAGICKCORE_HAVE_SYS_TYPES_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_TYPES_H
+#define MAGICKCORE_HAVE_SYS_TYPES_H 1
 #endif
 
 /* Define to 1 if you have the <sys/wait.h> header file. */
-#ifndef MAGICKCORE_HAVE_SYS_WAIT_H 
-#define MAGICKCORE_HAVE_SYS_WAIT_H  1 
+#ifndef MAGICKCORE_HAVE_SYS_WAIT_H
+#define MAGICKCORE_HAVE_SYS_WAIT_H 1
 #endif
 
 /* Define to 1 if you have the `telldir' function. */
-#ifndef MAGICKCORE_HAVE_TELLDIR 
-#define MAGICKCORE_HAVE_TELLDIR  1 
+#ifndef MAGICKCORE_HAVE_TELLDIR
+#define MAGICKCORE_HAVE_TELLDIR 1
 #endif
 
 /* Define to 1 if you have the `tempnam' function. */
-#ifndef MAGICKCORE_HAVE_TEMPNAM 
-#define MAGICKCORE_HAVE_TEMPNAM  1 
+#ifndef MAGICKCORE_HAVE_TEMPNAM
+#define MAGICKCORE_HAVE_TEMPNAM 1
 #endif
 
 /* Define to 1 if you have the <tiffconf.h> header file. */
-#ifndef MAGICKCORE_HAVE_TIFFCONF_H 
-#define MAGICKCORE_HAVE_TIFFCONF_H  1 
+#ifndef MAGICKCORE_HAVE_TIFFCONF_H
+#define MAGICKCORE_HAVE_TIFFCONF_H 1
 #endif
 
 /* Define to 1 if you have the `TIFFIsCODECConfigured' function. */
-#ifndef MAGICKCORE_HAVE_TIFFISCODECCONFIGURED 
-#define MAGICKCORE_HAVE_TIFFISCODECCONFIGURED  1 
+#ifndef MAGICKCORE_HAVE_TIFFISCODECCONFIGURED
+#define MAGICKCORE_HAVE_TIFFISCODECCONFIGURED 1
 #endif
 
 /* Define to 1 if you have the `TIFFMergeFieldInfo' function. */
-#ifndef MAGICKCORE_HAVE_TIFFMERGEFIELDINFO 
-#define MAGICKCORE_HAVE_TIFFMERGEFIELDINFO  1 
+#ifndef MAGICKCORE_HAVE_TIFFMERGEFIELDINFO
+#define MAGICKCORE_HAVE_TIFFMERGEFIELDINFO 1
 #endif
 
 /* Define to 1 if you have the `TIFFReadEXIFDirectory' function. */
-#ifndef MAGICKCORE_HAVE_TIFFREADEXIFDIRECTORY 
-#define MAGICKCORE_HAVE_TIFFREADEXIFDIRECTORY  1 
+#ifndef MAGICKCORE_HAVE_TIFFREADEXIFDIRECTORY
+#define MAGICKCORE_HAVE_TIFFREADEXIFDIRECTORY 1
 #endif
 
 /* Define to 1 if you have the `TIFFSetErrorHandlerExt' function. */
-#ifndef MAGICKCORE_HAVE_TIFFSETERRORHANDLEREXT 
-#define MAGICKCORE_HAVE_TIFFSETERRORHANDLEREXT  1 
+#ifndef MAGICKCORE_HAVE_TIFFSETERRORHANDLEREXT
+#define MAGICKCORE_HAVE_TIFFSETERRORHANDLEREXT 1
 #endif
 
 /* Define to 1 if you have the `TIFFSetTagExtender' function. */
-#ifndef MAGICKCORE_HAVE_TIFFSETTAGEXTENDER 
-#define MAGICKCORE_HAVE_TIFFSETTAGEXTENDER  1 
+#ifndef MAGICKCORE_HAVE_TIFFSETTAGEXTENDER
+#define MAGICKCORE_HAVE_TIFFSETTAGEXTENDER 1
 #endif
 
 /* Define to 1 if you have the `TIFFSetWarningHandlerExt' function. */
-#ifndef MAGICKCORE_HAVE_TIFFSETWARNINGHANDLEREXT 
-#define MAGICKCORE_HAVE_TIFFSETWARNINGHANDLEREXT  1 
+#ifndef MAGICKCORE_HAVE_TIFFSETWARNINGHANDLEREXT
+#define MAGICKCORE_HAVE_TIFFSETWARNINGHANDLEREXT 1
 #endif
 
 /* Define to 1 if you have the `TIFFSwabArrayOfTriples' function. */
-#ifndef MAGICKCORE_HAVE_TIFFSWABARRAYOFTRIPLES 
-#define MAGICKCORE_HAVE_TIFFSWABARRAYOFTRIPLES  1 
+#ifndef MAGICKCORE_HAVE_TIFFSWABARRAYOFTRIPLES
+#define MAGICKCORE_HAVE_TIFFSWABARRAYOFTRIPLES 1
 #endif
 
 /* Define to 1 if you have the `times' function. */
-#ifndef MAGICKCORE_HAVE_TIMES 
-#define MAGICKCORE_HAVE_TIMES  1 
+#ifndef MAGICKCORE_HAVE_TIMES
+#define MAGICKCORE_HAVE_TIMES 1
 #endif
 
 /* Define to 1 if you have the <unistd.h> header file. */
-#ifndef MAGICKCORE_HAVE_UNISTD_H 
-#define MAGICKCORE_HAVE_UNISTD_H  1 
+#ifndef MAGICKCORE_HAVE_UNISTD_H
+#define MAGICKCORE_HAVE_UNISTD_H 1
 #endif
 
 /* Define to 1 if you have the `usleep' function. */
-#ifndef MAGICKCORE_HAVE_USLEEP 
-#define MAGICKCORE_HAVE_USLEEP  1 
+#ifndef MAGICKCORE_HAVE_USLEEP
+#define MAGICKCORE_HAVE_USLEEP 1
 #endif
 
 /* Define to 1 if you have the `utime' function. */
-#ifndef MAGICKCORE_HAVE_UTIME 
-#define MAGICKCORE_HAVE_UTIME  1 
+#ifndef MAGICKCORE_HAVE_UTIME
+#define MAGICKCORE_HAVE_UTIME 1
 #endif
 
 /* Define to 1 if you have the `vfork' function. */
-#ifndef MAGICKCORE_HAVE_VFORK 
-#define MAGICKCORE_HAVE_VFORK  1 
+#ifndef MAGICKCORE_HAVE_VFORK
+#define MAGICKCORE_HAVE_VFORK 1
 #endif
 
 /* Define to 1 if you have the <vfork.h> header file. */
 /* #undef HAVE_VFORK_H */
 
 /* Define to 1 if you have the `vprintf' function. */
-#ifndef MAGICKCORE_HAVE_VPRINTF 
-#define MAGICKCORE_HAVE_VPRINTF  1 
+#ifndef MAGICKCORE_HAVE_VPRINTF
+#define MAGICKCORE_HAVE_VPRINTF 1
 #endif
 
 /* Define to 1 if you have the `vsnprintf' function. */
-#ifndef MAGICKCORE_HAVE_VSNPRINTF 
-#define MAGICKCORE_HAVE_VSNPRINTF  1 
+#ifndef MAGICKCORE_HAVE_VSNPRINTF
+#define MAGICKCORE_HAVE_VSNPRINTF 1
 #endif
 
 /* Define to 1 if you have the `vsprintf' function. */
-#ifndef MAGICKCORE_HAVE_VSPRINTF 
-#define MAGICKCORE_HAVE_VSPRINTF  1 
+#ifndef MAGICKCORE_HAVE_VSPRINTF
+#define MAGICKCORE_HAVE_VSPRINTF 1
 #endif
 
 /* Define to 1 if you have the `waitpid' function. */
-#ifndef MAGICKCORE_HAVE_WAITPID 
-#define MAGICKCORE_HAVE_WAITPID  1 
+#ifndef MAGICKCORE_HAVE_WAITPID
+#define MAGICKCORE_HAVE_WAITPID 1
 #endif
 
 /* Define to 1 if you have the <wchar.h> header file. */
-#ifndef MAGICKCORE_HAVE_WCHAR_H 
-#define MAGICKCORE_HAVE_WCHAR_H  1 
+#ifndef MAGICKCORE_HAVE_WCHAR_H
+#define MAGICKCORE_HAVE_WCHAR_H 1
 #endif
 
 /* Define to 1 if you have the <windows.h> header file. */
 /* #undef HAVE_WINDOWS_H */
 
 /* This value is set to 1 to indicate that the system argz facility works */
-#ifndef MAGICKCORE_HAVE_WORKING_ARGZ 
-#define MAGICKCORE_HAVE_WORKING_ARGZ  1 
+#ifndef MAGICKCORE_HAVE_WORKING_ARGZ
+#define MAGICKCORE_HAVE_WORKING_ARGZ 1
 #endif
 
 /* Define to 1 if `fork' works. */
-#ifndef MAGICKCORE_HAVE_WORKING_FORK 
-#define MAGICKCORE_HAVE_WORKING_FORK  1 
+#ifndef MAGICKCORE_HAVE_WORKING_FORK
+#define MAGICKCORE_HAVE_WORKING_FORK 1
 #endif
 
 /* Define to 1 if `vfork' works. */
-#ifndef MAGICKCORE_HAVE_WORKING_VFORK 
-#define MAGICKCORE_HAVE_WORKING_VFORK  1 
+#ifndef MAGICKCORE_HAVE_WORKING_VFORK
+#define MAGICKCORE_HAVE_WORKING_VFORK 1
 #endif
 
 /* Define to 1 if the system has the type `_Bool'. */
-#ifndef MAGICKCORE_HAVE__BOOL 
-#define MAGICKCORE_HAVE__BOOL  1 
+#ifndef MAGICKCORE_HAVE__BOOL
+#define MAGICKCORE_HAVE__BOOL 1
 #endif
 
 /* Define to 1 if you have the `_exit' function. */
-#ifndef MAGICKCORE_HAVE__EXIT 
-#define MAGICKCORE_HAVE__EXIT  1 
+#ifndef MAGICKCORE_HAVE__EXIT
+#define MAGICKCORE_HAVE__EXIT 1
 #endif
 
 /* Define to 1 if you have the `_NSGetExecutablePath' function. */
 /* #undef HasUMEM */
 
 /* ImageMagick is formally installed under prefix */
-#ifndef MAGICKCORE_INSTALLED_SUPPORT 
-#define MAGICKCORE_INSTALLED_SUPPORT  1 
+#ifndef MAGICKCORE_INSTALLED_SUPPORT
+#define MAGICKCORE_INSTALLED_SUPPORT 1
 #endif
 
 /* Define if you have JBIG library */
 /* #undef JBIG_DELEGATE */
 
 /* Define if you have JPEG version 2 "Jasper" library */
-#ifndef MAGICKCORE_JP2_DELEGATE 
-#define MAGICKCORE_JP2_DELEGATE  1 
+#ifndef MAGICKCORE_JP2_DELEGATE
+#define MAGICKCORE_JP2_DELEGATE 1
 #endif
 
 /* Define if you have JPEG library */
-#ifndef MAGICKCORE_JPEG_DELEGATE 
-#define MAGICKCORE_JPEG_DELEGATE  1 
+#ifndef MAGICKCORE_JPEG_DELEGATE
+#define MAGICKCORE_JPEG_DELEGATE 1
 #endif
 
 /* Define if you have LCMS library */
-#ifndef MAGICKCORE_LCMS_DELEGATE 
-#define MAGICKCORE_LCMS_DELEGATE  1 
+#ifndef MAGICKCORE_LCMS_DELEGATE
+#define MAGICKCORE_LCMS_DELEGATE 1
 #endif
 
 /* Directory where architecture-dependent files live. */
-#ifndef MAGICKCORE_LIBRARY_PATH 
-#define MAGICKCORE_LIBRARY_PATH  "/usr/local/lib/ImageMagick-6.6.1/" 
+#ifndef MAGICKCORE_LIBRARY_PATH
+#define MAGICKCORE_LIBRARY_PATH "/usr/local/lib/ImageMagick-6.6.1/"
 #endif
 
 /* Subdirectory of lib where ImageMagick architecture dependent files are
    installed */
-#ifndef MAGICKCORE_LIBRARY_RELATIVE_PATH 
-#define MAGICKCORE_LIBRARY_RELATIVE_PATH  "ImageMagick-6.6.1" 
+#ifndef MAGICKCORE_LIBRARY_RELATIVE_PATH
+#define MAGICKCORE_LIBRARY_RELATIVE_PATH "ImageMagick-6.6.1"
 #endif
 
 /* Define if you have LQR library */
 /* #undef LQR_DELEGATE */
 
 /* Define if using libltdl to support dynamically loadable modules */
-#ifndef MAGICKCORE_LTDL_DELEGATE 
-#define MAGICKCORE_LTDL_DELEGATE  1 
+#ifndef MAGICKCORE_LTDL_DELEGATE
+#define MAGICKCORE_LTDL_DELEGATE 1
 #endif
 
 /* Define if the OS needs help to load dependent libraries for dlopen(). */
 /* #undef LTDL_DLOPEN_DEPLIBS */
 
 /* Define to the system default library search path. */
-#ifndef MAGICKCORE_LT_DLSEARCH_PATH 
-#define MAGICKCORE_LT_DLSEARCH_PATH  "/lib64:/usr/lib64:/lib:/usr/lib:/usr/lib64/alliance/lib:/usr/lib64/atlas:/usr/lib64/kicad:/usr/lib64/llvm:/usr/lib64/mysql:/usr/lib64/octave-3.2.4:/usr/lib64/openmotif:/usr/lib64/qt-3.3/lib:/usr/lib64/tcl8.5/tclx8.4:/usr/lib64/tcl8.5:/usr/lib64/wine/:/usr/lib64/xulrunner-1.9.2" 
+#ifndef MAGICKCORE_LT_DLSEARCH_PATH
+#define MAGICKCORE_LT_DLSEARCH_PATH "/lib64:/usr/lib64:/lib:/usr/lib:/usr/lib64/alliance/lib:/usr/lib64/atlas:/usr/lib64/kicad:/usr/lib64/llvm:/usr/lib64/mysql:/usr/lib64/octave-3.2.4:/usr/lib64/openmotif:/usr/lib64/qt-3.3/lib:/usr/lib64/tcl8.5/tclx8.4:/usr/lib64/tcl8.5:/usr/lib64/wine/:/usr/lib64/xulrunner-1.9.2"
 #endif
 
 /* The archive extension */
-#ifndef MAGICKCORE_LT_LIBEXT 
-#define MAGICKCORE_LT_LIBEXT  "a" 
+#ifndef MAGICKCORE_LT_LIBEXT
+#define MAGICKCORE_LT_LIBEXT "a"
 #endif
 
 /* Define to the extension used for runtime loadable modules, say, ".so". */
-#ifndef MAGICKCORE_LT_MODULE_EXT 
-#define MAGICKCORE_LT_MODULE_EXT  ".so" 
+#ifndef MAGICKCORE_LT_MODULE_EXT
+#define MAGICKCORE_LT_MODULE_EXT ".so"
 #endif
 
 /* Define to the name of the environment variable that determines the run-time
    module search path. */
-#ifndef MAGICKCORE_LT_MODULE_PATH_VAR 
-#define MAGICKCORE_LT_MODULE_PATH_VAR  "LD_LIBRARY_PATH" 
+#ifndef MAGICKCORE_LT_MODULE_PATH_VAR
+#define MAGICKCORE_LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
 #endif
 
 /* Define to the sub-directory in which libtool stores uninstalled libraries.
    */
-#ifndef MAGICKCORE_LT_OBJDIR 
-#define MAGICKCORE_LT_OBJDIR  ".libs/" 
+#ifndef MAGICKCORE_LT_OBJDIR
+#define MAGICKCORE_LT_OBJDIR ".libs/"
 #endif
 
 /* Define to prepend to default font search path. */
 /* #undef OPENEXR_DELEGATE */
 
 /* Define to the address where bug reports for this package should be sent. */
-#ifndef MAGICKCORE_PACKAGE_BUGREPORT 
-#define MAGICKCORE_PACKAGE_BUGREPORT  "http://www.imagemagick.org" 
+#ifndef MAGICKCORE_PACKAGE_BUGREPORT
+#define MAGICKCORE_PACKAGE_BUGREPORT "http://www.imagemagick.org"
 #endif
 
 /* Define to the full name of this package. */
-#ifndef MAGICKCORE_PACKAGE_NAME 
-#define MAGICKCORE_PACKAGE_NAME  "ImageMagick" 
+#ifndef MAGICKCORE_PACKAGE_NAME
+#define MAGICKCORE_PACKAGE_NAME "ImageMagick"
 #endif
 
 /* Define to the full name and version of this package. */
-#ifndef MAGICKCORE_PACKAGE_STRING 
-#define MAGICKCORE_PACKAGE_STRING  "ImageMagick 6.6.1" 
+#ifndef MAGICKCORE_PACKAGE_STRING
+#define MAGICKCORE_PACKAGE_STRING "ImageMagick 6.6.1"
 #endif
 
 /* Define to the one symbol short name of this package. */
-#ifndef MAGICKCORE_PACKAGE_TARNAME 
-#define MAGICKCORE_PACKAGE_TARNAME  "ImageMagick" 
+#ifndef MAGICKCORE_PACKAGE_TARNAME
+#define MAGICKCORE_PACKAGE_TARNAME "ImageMagick"
 #endif
 
 /* Define to the home page for this package. */
-#ifndef MAGICKCORE_PACKAGE_URL 
-#define MAGICKCORE_PACKAGE_URL  "" 
+#ifndef MAGICKCORE_PACKAGE_URL
+#define MAGICKCORE_PACKAGE_URL ""
 #endif
 
 /* Define to the version of this package. */
-#ifndef MAGICKCORE_PACKAGE_VERSION 
-#define MAGICKCORE_PACKAGE_VERSION  "6.6.1" 
+#ifndef MAGICKCORE_PACKAGE_VERSION
+#define MAGICKCORE_PACKAGE_VERSION "6.6.1"
 #endif
 
 /* Define if you have PNG library */
-#ifndef MAGICKCORE_PNG_DELEGATE 
-#define MAGICKCORE_PNG_DELEGATE  1 
+#ifndef MAGICKCORE_PNG_DELEGATE
+#define MAGICKCORE_PNG_DELEGATE 1
 #endif
 
 /* Define to necessary symbol if this constant uses a non-standard name on
 /* #undef PixelCacheThreshold */
 
 /* Number of bits in a pixel Quantum (8/16/32/64) */
-#ifndef MAGICKCORE_QUANTUM_DEPTH 
-#define MAGICKCORE_QUANTUM_DEPTH  16 
+#ifndef MAGICKCORE_QUANTUM_DEPTH
+#define MAGICKCORE_QUANTUM_DEPTH 16
 #endif
 
 /* Define as the return type of signal handlers (`int' or `void'). */
-#ifndef MAGICKCORE_RETSIGTYPE 
-#define MAGICKCORE_RETSIGTYPE  void 
+#ifndef MAGICKCORE_RETSIGTYPE
+#define MAGICKCORE_RETSIGTYPE void
 #endif
 
 /* Define if you have RSVG library */
-#ifndef MAGICKCORE_RSVG_DELEGATE 
-#define MAGICKCORE_RSVG_DELEGATE  1 
+#ifndef MAGICKCORE_RSVG_DELEGATE
+#define MAGICKCORE_RSVG_DELEGATE 1
 #endif
 
 /* Define to the type of arg 1 for `select'. */
-#ifndef MAGICKCORE_SELECT_TYPE_ARG1 
-#define MAGICKCORE_SELECT_TYPE_ARG1  int 
+#ifndef MAGICKCORE_SELECT_TYPE_ARG1
+#define MAGICKCORE_SELECT_TYPE_ARG1 int
 #endif
 
 /* Define to the type of args 2, 3 and 4 for `select'. */
-#ifndef MAGICKCORE_SELECT_TYPE_ARG234 
-#define MAGICKCORE_SELECT_TYPE_ARG234  (fd_set *) 
+#ifndef MAGICKCORE_SELECT_TYPE_ARG234
+#define MAGICKCORE_SELECT_TYPE_ARG234 (fd_set *)
 #endif
 
 /* Define to the type of arg 5 for `select'. */
-#ifndef MAGICKCORE_SELECT_TYPE_ARG5 
-#define MAGICKCORE_SELECT_TYPE_ARG5  (struct timeval *) 
+#ifndef MAGICKCORE_SELECT_TYPE_ARG5
+#define MAGICKCORE_SELECT_TYPE_ARG5 (struct timeval *)
 #endif
 
 /* Directory where architecture-independent configuration files live. */
-#ifndef MAGICKCORE_SHARE_CONFIGURE_PATH 
-#define MAGICKCORE_SHARE_CONFIGURE_PATH  "/usr/local/share/ImageMagick-6.6.1/config/" 
+#ifndef MAGICKCORE_SHARE_CONFIGURE_PATH
+#define MAGICKCORE_SHARE_CONFIGURE_PATH "/usr/local/share/ImageMagick-6.6.1/config/"
 #endif
 
 /* Subdirectory of lib where architecture-independent configuration files
    live. */
-#ifndef MAGICKCORE_SHARE_CONFIGURE_RELATIVE_PATH 
-#define MAGICKCORE_SHARE_CONFIGURE_RELATIVE_PATH  "ImageMagick-6.6.1/config" 
+#ifndef MAGICKCORE_SHARE_CONFIGURE_RELATIVE_PATH
+#define MAGICKCORE_SHARE_CONFIGURE_RELATIVE_PATH "ImageMagick-6.6.1/config"
 #endif
 
 /* Directory where architecture-independent files live. */
-#ifndef MAGICKCORE_SHARE_PATH 
-#define MAGICKCORE_SHARE_PATH  "/usr/local/share/ImageMagick-6.6.1/" 
+#ifndef MAGICKCORE_SHARE_PATH
+#define MAGICKCORE_SHARE_PATH "/usr/local/share/ImageMagick-6.6.1/"
 #endif
 
 /* The size of `off_t', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_OFF_T 
-#define MAGICKCORE_SIZEOF_OFF_T  8 
+#ifndef MAGICKCORE_SIZEOF_OFF_T
+#define MAGICKCORE_SIZEOF_OFF_T 8
 #endif
 
 /* The size of `signed int', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_SIGNED_INT 
-#define MAGICKCORE_SIZEOF_SIGNED_INT  4 
+#ifndef MAGICKCORE_SIZEOF_SIGNED_INT
+#define MAGICKCORE_SIZEOF_SIGNED_INT 4
 #endif
 
 /* The size of `signed long', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_SIGNED_LONG 
-#define MAGICKCORE_SIZEOF_SIGNED_LONG  8 
+#ifndef MAGICKCORE_SIZEOF_SIGNED_LONG
+#define MAGICKCORE_SIZEOF_SIGNED_LONG 8
 #endif
 
 /* The size of `signed long long', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_SIGNED_LONG_LONG 
-#define MAGICKCORE_SIZEOF_SIGNED_LONG_LONG  8 
+#ifndef MAGICKCORE_SIZEOF_SIGNED_LONG_LONG
+#define MAGICKCORE_SIZEOF_SIGNED_LONG_LONG 8
 #endif
 
 /* The size of `signed short', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_SIGNED_SHORT 
-#define MAGICKCORE_SIZEOF_SIGNED_SHORT  2 
+#ifndef MAGICKCORE_SIZEOF_SIGNED_SHORT
+#define MAGICKCORE_SIZEOF_SIGNED_SHORT 2
 #endif
 
 /* The size of `size_t', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_SIZE_T 
-#define MAGICKCORE_SIZEOF_SIZE_T  8 
+#ifndef MAGICKCORE_SIZEOF_SIZE_T
+#define MAGICKCORE_SIZEOF_SIZE_T 8
 #endif
 
 /* The size of `unsigned int', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_UNSIGNED_INT 
-#define MAGICKCORE_SIZEOF_UNSIGNED_INT  4 
+#ifndef MAGICKCORE_SIZEOF_UNSIGNED_INT
+#define MAGICKCORE_SIZEOF_UNSIGNED_INT 4
 #endif
 
 /* The size of `unsigned int*', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_UNSIGNED_INTP 
-#define MAGICKCORE_SIZEOF_UNSIGNED_INTP  8 
+#ifndef MAGICKCORE_SIZEOF_UNSIGNED_INTP
+#define MAGICKCORE_SIZEOF_UNSIGNED_INTP 8
 #endif
 
 /* The size of `unsigned long', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_UNSIGNED_LONG 
-#define MAGICKCORE_SIZEOF_UNSIGNED_LONG  8 
+#ifndef MAGICKCORE_SIZEOF_UNSIGNED_LONG
+#define MAGICKCORE_SIZEOF_UNSIGNED_LONG 8
 #endif
 
 /* The size of `unsigned long long', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_UNSIGNED_LONG_LONG 
-#define MAGICKCORE_SIZEOF_UNSIGNED_LONG_LONG  8 
+#ifndef MAGICKCORE_SIZEOF_UNSIGNED_LONG_LONG
+#define MAGICKCORE_SIZEOF_UNSIGNED_LONG_LONG 8
 #endif
 
 /* The size of `unsigned short', as computed by sizeof. */
-#ifndef MAGICKCORE_SIZEOF_UNSIGNED_SHORT 
-#define MAGICKCORE_SIZEOF_UNSIGNED_SHORT  2 
+#ifndef MAGICKCORE_SIZEOF_UNSIGNED_SHORT
+#define MAGICKCORE_SIZEOF_UNSIGNED_SHORT 2
 #endif
 
 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
 /* #undef STAT_MACROS_BROKEN */
 
 /* Define to 1 if you have the ANSI C header files. */
-#ifndef MAGICKCORE_STDC_HEADERS 
-#define MAGICKCORE_STDC_HEADERS  1 
+#ifndef MAGICKCORE_STDC_HEADERS
+#define MAGICKCORE_STDC_HEADERS 1
 #endif
 
 /* Define if you have TIFF library */
-#ifndef MAGICKCORE_TIFF_DELEGATE 
-#define MAGICKCORE_TIFF_DELEGATE  1 
+#ifndef MAGICKCORE_TIFF_DELEGATE
+#define MAGICKCORE_TIFF_DELEGATE 1
 #endif
 
 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
-#ifndef MAGICKCORE_TIME_WITH_SYS_TIME 
-#define MAGICKCORE_TIME_WITH_SYS_TIME  1 
+#ifndef MAGICKCORE_TIME_WITH_SYS_TIME
+#define MAGICKCORE_TIME_WITH_SYS_TIME 1
 #endif
 
 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
 /* #undef WITH_DMALLOC */
 
 /* Define if you have WMF library */
-#ifndef MAGICKCORE_WMF_DELEGATE 
-#define MAGICKCORE_WMF_DELEGATE  1 
+#ifndef MAGICKCORE_WMF_DELEGATE
+#define MAGICKCORE_WMF_DELEGATE 1
 #endif
 
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
 #endif
 
 /* Location of X11 configure files */
-#ifndef MAGICKCORE_X11_CONFIGURE_PATH 
-#define MAGICKCORE_X11_CONFIGURE_PATH  "" 
+#ifndef MAGICKCORE_X11_CONFIGURE_PATH
+#define MAGICKCORE_X11_CONFIGURE_PATH ""
 #endif
 
 /* Define if you have X11 library */
-#ifndef MAGICKCORE_X11_DELEGATE 
-#define MAGICKCORE_X11_DELEGATE  1 
+#ifndef MAGICKCORE_X11_DELEGATE
+#define MAGICKCORE_X11_DELEGATE 1
 #endif
 
 /* Define if you have XML library */
-#ifndef MAGICKCORE_XML_DELEGATE 
-#define MAGICKCORE_XML_DELEGATE  1 
+#ifndef MAGICKCORE_XML_DELEGATE
+#define MAGICKCORE_XML_DELEGATE 1
 #endif
 
 /* Define to 1 if the X Window System is missing or not being used. */
 /* #undef X_DISPLAY_MISSING */
 
 /* Define if you have zlib compression library */
-#ifndef MAGICKCORE_ZLIB_DELEGATE 
-#define MAGICKCORE_ZLIB_DELEGATE  1 
+#ifndef MAGICKCORE_ZLIB_DELEGATE
+#define MAGICKCORE_ZLIB_DELEGATE 1
 #endif
 
 /* Number of bits in a file offset, on hosts where this is settable. */
-#ifndef MAGICKCORE__FILE_OFFSET_BITS 
-#define MAGICKCORE__FILE_OFFSET_BITS  64 
+#ifndef MAGICKCORE__FILE_OFFSET_BITS
+#define MAGICKCORE__FILE_OFFSET_BITS 64
 #endif
 
 /* enable run-time bounds-checking */
 /* Define to the equivalent of the C99 'restrict' keyword, or to
    nothing if this is not supported.  Do not define if restrict is
    supported directly.  */
-#ifndef _magickcore_restrict 
-#define _magickcore_restrict  __restrict 
+#ifndef _magickcore_restrict
+#define _magickcore_restrict __restrict
 #endif
 /* Work around a bug in Sun C++: it does not support _Restrict or
    __restrict__, even though the corresponding Sun C compiler ends up with
index 48d1e8e7d37c6f1a87b031da86eba7415fc236b1..442095070d111289101cc46f7d97897faaca909e 100644 (file)
@@ -33,7 +33,7 @@ extern "C" {
 #define MagickLibAddendum  "-6"
 #define MagickLibInterface  3
 #define MagickLibMinInterface  3
-#define MagickReleaseDate  "2010-04-24"
+#define MagickReleaseDate  "2010-04-25"
 #define MagickChangeDate   "20100424"
 #define MagickAuthoritativeURL  "http://www.imagemagick.org"
 #define MagickHomeURL  "file:///usr/local/share/doc/ImageMagick-6.6.1/index.html"