aboutsummaryrefslogtreecommitdiff
path: root/libgomp/plugin/configfrag.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/plugin/configfrag.ac')
-rw-r--r--libgomp/plugin/configfrag.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgomp/plugin/configfrag.ac b/libgomp/plugin/configfrag.ac
index 292829fb4ab..29416d565ac 100644
--- a/libgomp/plugin/configfrag.ac
+++ b/libgomp/plugin/configfrag.ac
@@ -36,6 +36,9 @@ if test x"$plugin_support" = xyes; then
elif test "x${enable_offload_targets-no}" != xno; then
AC_MSG_ERROR([Can't support offloading without support for plugins])
fi
+AC_CHECK_HEADERS_ONCE(unistd.h)
+AC_CHECK_FUNCS_ONCE(secure_getenv __secure_getenv getuid geteuid getgid getegid)
+
# Look for the CUDA driver package.
CUDA_DRIVER_INCLUDE=