summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/group-member.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/m4/group-member.m4 b/m4/group-member.m4
new file mode 100644
index 000000000..bdfdec42e
--- /dev/null
+++ b/m4/group-member.m4
@@ -0,0 +1,12 @@
+#serial 1
+
+dnl Written by Jim Meyering
+
+AC_DEFUN(jm_FUNC_GROUP_MEMBER,
+ [
+ dnl Do this replacement check manually because I want the hyphen
+ dnl (not the underscore) in the filename.
+ AC_CHECK_FUNC(group_member, , [LIBOBJS="$LIBOBJS group-member.$ac_objext"])
+ AC_SUBST(LIBOBJS)
+ ]
+)