]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - configure
The scheduler now uses the getgrouplist function when available (Issue #4611)
[thirdparty/cups.git] / configure
index c3af70dd1c2f525b7daa71222865a2e175eb98f9..38b2e9eb962a1b539989f67d3534f6f8765d5a4b 100755 (executable)
--- a/configure
+++ b/configure
@@ -5307,6 +5307,18 @@ fi
 done
 
 
+for ac_func in getgrouplist
+do :
+  ac_fn_c_check_func "$LINENO" "getgrouplist" "ac_cv_func_getgrouplist"
+if test "x$ac_cv_func_getgrouplist" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_GETGROUPLIST 1
+_ACEOF
+
+fi
+done
+
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff member in tm structure" >&5
 $as_echo_n "checking for tm_gmtoff member in tm structure... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext