summaryrefslogtreecommitdiff
path: root/m4/simpleops_public.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/simpleops_public.m4')
-rw-r--r--m4/simpleops_public.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/m4/simpleops_public.m4 b/m4/simpleops_public.m4
new file mode 100644
index 0000000..6e76b64
--- /dev/null
+++ b/m4/simpleops_public.m4
@@ -0,0 +1,12 @@
+AC_DEFUN([SIMPLEOPS_CONFIG],
+[dnl
+ AX_PTHREAD
+
+ SIMPLEOPS_CFLAGS="$PTHREAD_CFLAGS"
+ SIMPLEOPS_LIBS="$PTHREAD_LIBS"
+ SIMPLEOPS_CC="$PTHREAD_CC"
+
+ AC_SUBST(SIMPLEOPS_LIBS)
+ AC_SUBST(SIMPLEOPS_CFLAGS)
+ AC_SUBST(SIMPLEOPS_CC)
+])