Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /trunk/configure.ac
ViewVC logotype

Diff of /trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2474, Sat Oct 12 17:30:40 2013 UTC revision 2487, Mon Oct 21 17:14:46 2013 UTC
# Line 88  Line 88 
88  dnl  dnl
89  dnl check for OpenCL support  dnl check for OpenCL support
90  dnl  dnl
91  LIBS_CL="none"  CL_LIBS="none"
92  case "$host_os" in  case "$host_os" in
93    darwin*) # On Mac OS X we check for installed frameworks    darwin*) # On Mac OS X we check for installed frameworks
94      AX_CHECK_FRAMEWORK([OpenCL], [LIBS_CL="-framework OpenCL"], [])      AX_CHECK_FRAMEWORK([OpenCL], [CL_LIBS="-framework OpenCL"], [])
95    ;;    ;;
96    *)    *)
97      AC_CHECK_LIB([OpenCL],[clGetPlatformIDs],[LIBS_CL="-lOpenCL"])      AC_CHECK_LIB([OpenCL],[clGetPlatformIDs],[CL_LIBS="-lOpenCL"])
98    ;;    ;;
99  esac  esac
100  if test x"$LIBS_CL" = xnone ; then  if test x"$CL_LIBS" = xnone ; then
101    AC_MSG_WARN([no OpenCL library found])    AC_MSG_WARN([no OpenCL library found])
102    CL_ENABLED=false    CL_ENABLED=false
103    CL_VERSION=0    CL_VERSION=0
# Line 179  Line 179 
179    # restore saved CPPFLAGS    # restore saved CPPFLAGS
180      CPPFLAGS=$save_CPPFLAGS      CPPFLAGS=$save_CPPFLAGS
181    # substitutions    # substitutions
182      AC_SUBST(LIBS_CL)      AC_SUBST(CL_LIBS)
183      AC_SUBST(CPPFLAGS_CL)      AC_SUBST(CPPFLAGS_CL)
184    #    #
185    # determine the sizes of the host-side OpenCL types    # determine the sizes of the host-side OpenCL types

Legend:
Removed from v.2474  
changed lines
  Added in v.2487

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0