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

SCM Repository

[diderot] Diff of /branches/charisee_dev/configure.ac
ViewVC logotype

Diff of /branches/charisee_dev/configure.ac

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

revision 1874, Wed May 16 13:30:16 2012 UTC revision 1987, Mon Jul 30 18:32:23 2012 UTC
# Line 126  Line 126 
126    AC_CHECK_HEADERS([CL/cl.h OpenCL/cl.h], [HAVE_CL_H="yes"; break], [HAVE_CL_H="no"])    AC_CHECK_HEADERS([CL/cl.h OpenCL/cl.h], [HAVE_CL_H="yes"; break], [HAVE_CL_H="no"])
127    if test x"$HAVE_CL_H" = xno ; then    if test x"$HAVE_CL_H" = xno ; then
128      # check for AMD's SDK      # check for AMD's SDK
129      AC_MSG_CHECKING([for cl.h in AMD's SDK])      AC_MSG_CHECKING([for AMD's SDK cl.h])
130      if test -d /opt/AMDAPP/include/CL ; then      if test -d /opt/AMDAPP/include/CL ; then
131        HAVE_CL_H="yes"        HAVE_CL_H="yes"
132        AC_DEFINE([HAVE_CL_CL_H])        AC_DEFINE([HAVE_CL_CL_H])
# Line 134  Line 134 
134      fi      fi
135      AC_MSG_RESULT([$HAVE_CL_H])      AC_MSG_RESULT([$HAVE_CL_H])
136    fi    fi
137      if test x"$HAVE_CL_H" = xno ; then
138        # check for NVIDIA's SDK
139        AC_MSG_CHECKING([for NVIDIA's SDK cl.h])
140        if test -d /usr/local/cuda/include/CL ; then
141          HAVE_CL_H="yes"
142          AC_DEFINE([HAVE_CL_CL_H])
143          CPPFLAGS_CL="-I/usr/local/cuda/include"
144        fi
145        AC_MSG_RESULT([$HAVE_CL_H])
146      fi
147    if test x"$HAVE_CL_H" = xno ; then    if test x"$HAVE_CL_H" = xno ; then
148      AC_MSG_WARN([no cl.h found])      AC_MSG_WARN([no cl.h found])
149      CL_ENABLED=false      CL_ENABLED=false

Legend:
Removed from v.1874  
changed lines
  Added in v.1987

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