summaryrefslogtreecommitdiff
path: root/libgomp/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/configure.ac')
-rw-r--r--libgomp/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgomp/configure.ac b/libgomp/configure.ac
index b1696d05514..2e41ca8aee5 100644
--- a/libgomp/configure.ac
+++ b/libgomp/configure.ac
@@ -216,6 +216,13 @@ case "$host" in
;;
esac
+# RTEMS specific checks
+case "$host" in
+ *-*-rtems*)
+ AC_CHECK_TYPES([struct _Mutex_Control],[],[],[#include <sys/lock.h>])
+ ;;
+esac
+
GCC_LINUX_FUTEX(:)
# Check for pthread_{,attr_}[sg]etaffinity_np.