Show
Ignore:
Timestamp:
10/12/09 19:02:39 (5 months ago)
Author:
cristy
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/configure

    r349 r368  
    80828082 
    80838083 
    8084 for ac_header in CL/cl.h OpenCL/cl.h 
     8084for ac_header in CL/OpenCL.h OpenCL/OpenCL.h 
    80858085do 
    80868086as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     
    84218421#   include <windows.h> 
    84228422# endif 
    8423 # ifdef HAVE_CL_CL_H 
     8423# ifdef HAVE_CL_OPENCL_H 
    84248424#   include <CL/cl.h> 
    8425 # elif defined(HAVE_OPENCL_CL_H) 
    8426 #   include <OpenCL/cl.h> 
     8425# elif defined(HAVE_OPENCL_OPENCL_H) 
     8426#   include <OpenCL/OpenCL.h> 
    84278427# else 
    8428 #   error no cl.h 
     8428#   error no OpenCL.h 
    84298429# endif 
    84308430int 
    84318431main () 
    84328432{ 
    8433 clBegin(0) 
     8433clCreateContext(0) 
    84348434  ; 
    84358435  return 0; 
     
    84738473#   include <windows.h> 
    84748474# endif 
    8475 # ifdef HAVE_CL_CL_H 
     8475# ifdef HAVE_CL_OPENCL_H 
    84768476#   include <CL/cl.h> 
    8477 # elif defined(HAVE_OPENCL_CL_H) 
    8478 #   include <OpenCL/cl.h> 
     8477# elif defined(HAVE_OPENCL_OPENCL_H) 
     8478#   include <OpenCL/OpenCL.h> 
    84798479# else 
    8480 #   error no cl.h 
     8480#   error no OpenCL.h 
    84818481# endif 
    84828482int 
    84838483main () 
    84848484{ 
    8485 clBegin(0) 
     8485clCreateContext(0) 
    84868486  ; 
    84878487  return 0; 
     
    85258525#   include <windows.h> 
    85268526# endif 
    8527 # ifdef HAVE_CL_CL_H 
     8527# ifdef HAVE_CL_OPENCL_H 
    85288528#   include <CL/cl.h> 
    8529 # elif defined(HAVE_OPENCL_CL_H) 
    8530 #   include <OpenCL/cl.h> 
     8529# elif defined(HAVE_OPENCL_OPENCL_H) 
     8530#   include <OpenCL/OpenCL.h> 
    85318531# else 
    8532 #   error no cl.h 
     8532#   error no OpenCL.h 
    85338533# endif 
    85348534int 
    85358535main () 
    85368536{ 
    8537 clBegin(0) 
     8537clCreateContext(0) 
    85388538  ; 
    85398539  return 0; 
     
    85968596#   include <windows.h> 
    85978597# endif 
    8598 # ifdef HAVE_CL_CL_H 
     8598# ifdef HAVE_CL_OPENCL_H 
    85998599#   include <CL/cl.h> 
    8600 # elif defined(HAVE_OPENCL_CL_H) 
    8601 #   include <OpenCL/cl.h> 
     8600# elif defined(HAVE_OPENCL_OPENCL_H) 
     8601#   include <OpenCL/OpenCL.h> 
    86028602# else 
    8603 #   error no cl.h 
     8603#   error no OpenCL.h 
    86048604# endif 
    86058605int 
    86068606main () 
    86078607{ 
    8608 clBegin(0) 
     8608clCreateContext(0) 
    86098609  ; 
    86108610  return 0;