configure error on fedora 15
GoogleCodeExporter opened this issue · 0 comments
GoogleCodeExporter commented
On Fedora 15, with NVIDIA SDK and openclcc-11.8, the configure script fails,
event if proper options are supplied.
LDFLAGS="-L/usr/lib/nvidia" ./configure --with-include=/usr/local/cuda/include/
[...]
checking CL/cl.h usability... no
checking CL/cl.h presence... no
checking for CL/cl.h... no
checking OpenCL/cl.h usability... no
checking OpenCL/cl.h presence... no
checking for OpenCL/cl.h... no
OpenCL header files not found in your system
But, by moving AC_ARG_WITH([include]...) directive from configure.ac before
AC_CHECK_HEADER([CL/cl.h]...) and running autoconf, it works as expected.
Original issue reported on code.google.com by francis....@gmail.com
on 20 Oct 2011 at 8:05