libgomp: Also consider --with-cuda-driver flags for build-tree testing.
For installed testing, we assume all that to be provided in the sysroot.
libgomp/
* configure.ac (CUDA_DRIVER_INCLUDE, CUDA_DRIVER_LIB): New
substituted variables.
(testsuite/libgomp-test-support.exp): Instantiate file.
* Makefile.in: Regenerate.
* configure: Likewise.
* testsuite/Makefile.in: Likewise.
* testsuite/libgomp-test-support.exp.in: New file.
* testsuite/lib/libgomp.exp: Load it.
(libgomp_init): For build-tree testing, add the CUDA paths to
ALWAYS_CFLAGS and always_ld_library_path.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@216951 138bc75d-0d04-0410-961f-82ee72b054a4