/* Define to 1 if you have the `closedir' function. */
#undef HAVE_CLOSEDIR
-/* Define to 1 if you have the <CL/cl.h> header file. */
-#undef HAVE_CL_CL_H
+/* Define to 1 if you have the <CL/OpenCL.h> header file. */
+#undef HAVE_CL_OPENCL_H
/* Define to 1 if you have the <complex.h> header file. */
#undef HAVE_COMPLEX_H
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
#undef HAVE_NDIR_H
-/* Define to 1 if you have the <OpenCL/cl.h> header file. */
-#undef HAVE_OPENCL_CL_H
+/* Define to 1 if you have the <OpenCL/OpenCL.h> header file. */
+#undef HAVE_OPENCL_OPENCL_H
/* Define to 1 if you have the `opendir' function. */
#undef HAVE_OPENDIR
<configure name="NAME" value="ImageMagick"/>
<configure name="LIB_VERSION" value="0x657"/>
<configure name="LIB_VERSION_NUMBER" value="6,5,7,0"/>
- <configure name="RELEASE_DATE" value="2009-10-11"/>
+ <configure name="RELEASE_DATE" value="2009-10-12"/>
<configure name="CONFIGURE" value="./configure "/>
<configure name="PREFIX" value="/usr/local"/>
<configure name="EXEC-PREFIX" value="/usr/local"/>
CPPFLAGS="$CL_CFLAGS $CPPFLAGS"
-for ac_header in CL/cl.h OpenCL/cl.h
+for ac_header in CL/OpenCL.h OpenCL/OpenCL.h
do
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
# include <windows.h>
# endif
-# ifdef HAVE_CL_CL_H
+# ifdef HAVE_CL_OPENCL_H
# include <CL/cl.h>
-# elif defined(HAVE_OPENCL_CL_H)
-# include <OpenCL/cl.h>
+# elif defined(HAVE_OPENCL_OPENCL_H)
+# include <OpenCL/OpenCL.h>
# else
-# error no cl.h
+# error no OpenCL.h
# endif
int
main ()
{
-clBegin(0)
+clCreateContext(0)
;
return 0;
}
# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
# include <windows.h>
# endif
-# ifdef HAVE_CL_CL_H
+# ifdef HAVE_CL_OPENCL_H
# include <CL/cl.h>
-# elif defined(HAVE_OPENCL_CL_H)
-# include <OpenCL/cl.h>
+# elif defined(HAVE_OPENCL_OPENCL_H)
+# include <OpenCL/OpenCL.h>
# else
-# error no cl.h
+# error no OpenCL.h
# endif
int
main ()
{
-clBegin(0)
+clCreateContext(0)
;
return 0;
}
# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
# include <windows.h>
# endif
-# ifdef HAVE_CL_CL_H
+# ifdef HAVE_CL_OPENCL_H
# include <CL/cl.h>
-# elif defined(HAVE_OPENCL_CL_H)
-# include <OpenCL/cl.h>
+# elif defined(HAVE_OPENCL_OPENCL_H)
+# include <OpenCL/OpenCL.h>
# else
-# error no cl.h
+# error no OpenCL.h
# endif
int
main ()
{
-clBegin(0)
+clCreateContext(0)
;
return 0;
}
# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
# include <windows.h>
# endif
-# ifdef HAVE_CL_CL_H
+# ifdef HAVE_CL_OPENCL_H
# include <CL/cl.h>
-# elif defined(HAVE_OPENCL_CL_H)
-# include <OpenCL/cl.h>
+# elif defined(HAVE_OPENCL_OPENCL_H)
+# include <OpenCL/OpenCL.h>
# else
-# error no cl.h
+# error no OpenCL.h
# endif
int
main ()
{
-clBegin(0)
+clCreateContext(0)
;
return 0;
}
# "CL_LIBS", respectively. If no usable CL implementation is found, "no_cl"
# is set to "yes".
#
-# If the header "CL/cl.h" is found, "HAVE_CL_CL_H" is defined. If the header
-# "OpenCL/cl.h" is found, HAVE_OPENCL_CL_H is defined. These preprocessor
+# If the header "CL/OpenCL.h" is found, "HAVE_CL_OPENCL_H" is defined. If the header
+# "OpenCL/OpenCL.h" is found, HAVE_OPENCL_OPENCL_H is defined. These preprocessor
# definitions may not be mutually exclusive.
#
# Based on AX_CHECK_GL, version: 2.4 author: Braden McDaniel
ax_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CL_CFLAGS $CPPFLAGS"
-AC_CHECK_HEADERS([CL/cl.h OpenCL/cl.h])
+AC_CHECK_HEADERS([CL/OpenCL.h OpenCL/OpenCL.h])
CPPFLAGS=$ax_save_CPPFLAGS
AC_CHECK_HEADERS([windows.h])
# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
# include <windows.h>
# endif
-# ifdef HAVE_CL_CL_H
+# ifdef HAVE_CL_OPENCL_H
# include <CL/cl.h>
-# elif defined(HAVE_OPENCL_CL_H)
-# include <OpenCL/cl.h>
+# elif defined(HAVE_OPENCL_OPENCL_H)
+# include <OpenCL/OpenCL.h>
# else
-# error no cl.h
+# error no OpenCL.h
# endif]],
- [[clBegin(0)]])])
+ [[clCreateContext(0)]])])
AC_CACHE_CHECK([for OpenCL library], [ax_cv_check_cl_libcl],
[ax_cv_check_cl_libcl=no
#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 <CL/OpenCL.h> header file. */
+/* #undef HAVE_CL_OPENCL_H */
/* Define to 1 if you have the <complex.h> header file. */
#ifndef MAGICKCORE_HAVE_COMPLEX_H
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
-/* Define to 1 if you have the <OpenCL/cl.h> header file. */
-/* #undef HAVE_OPENCL_CL_H */
+/* Define to 1 if you have the <OpenCL/OpenCL.h> header file. */
+/* #undef HAVE_OPENCL_OPENCL_H */
/* Define to 1 if you have the `opendir' function. */
#ifndef MAGICKCORE_HAVE_OPENDIR
#define MagickLibVersionText "6.5.7"
#define MagickLibVersionNumber 2,0,0
#define MagickLibSubversion "-0"
-#define MagickReleaseDate "2009-10-11"
+#define MagickReleaseDate "2009-10-12"
#define MagickChangeDate "20091010"
#define MagickAuthoritativeURL "http://www.imagemagick.org"
#define MagickHomeURL "file:///usr/local/share/doc/ImageMagick-6.5.7/index.html"