Rewrite configure check for CUDA
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 16 Dec 2018 19:16:59 +0000 (20:16 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 16 Dec 2018 19:16:59 +0000 (20:16 +0100)
commitc0419e0943fedda5e025e9be0d5d9be93d3ea758
tree8331100e34adc8cd1757dc00108d2b50208ea8b7
parenta96e1c4a5e2c0244607b9da71175c2a12a4451fd
Rewrite configure check for CUDA

It had a bunch of issues, one of them that it touched CFLAGS, the other
that it didn't use CUDA_CFLAGS.

The check is still too simple, we need to check if we can actually use
the library instead of just the header.
Makefile.am
configure.ac