new file mode 100644
@@ -0,0 +1,7 @@
+# ODP_PTHREAD
+# -----------
+# Check for pthreads availability
+AC_DEFUN([ODP_PTHREAD], [dnl
+AX_PTHREAD([CC="$PTHREAD_CC"],
+ [AC_MSG_FAILURE([We require pthreads to be available])])
+])
@@ -3,7 +3,7 @@ IMPLEMENTATION_NAME="odp-linux"
ODP_VISIBILITY
ODP_ATOMIC
-m4_include([platform/linux-generic/m4/odp_pthread.m4])
+ODP_PTHREAD
ODP_TIMER
ODP_OPENSSL
m4_include([platform/linux-generic/m4/odp_pcap.m4])
deleted file mode 100644
@@ -1,8 +0,0 @@
-##########################################################################
-# Check for pthreads availability
-##########################################################################
-
-AX_PTHREAD([CC="$PTHREAD_CC"], [
- echo "Error! We require pthreads to be available"
- exit -1
- ])