Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
check_function_exists(__getgroups_chk HAVE___GETGROUPS_CHK)
check_function_exists(setgroups HAVE_SETGROUPS)
+check_function_exists(getprogname HAVE_GETPROGNAME)
+
if (HAVE_SETGROUPS)
check_prototype_definition(setgroups
"int setgroups(int size, const gid_t *list)"
#cmakedefine HAVE_SYSCALL 1
#cmakedefine HAVE_SYSCALL_INT 1
+/* Define to 1 if you have the `getprogname' function. */
+#cmakedefine HAVE_GETPROGNAME 1
+
/*************************** LIBRARIES ***************************/
/**************************** OPTIONS ****************************/