]> git.eshelyaron.com Git - emacs.git/commitdiff
Port better to Autoconf 2.72
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 7 Feb 2024 21:17:57 +0000 (13:17 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 8 Feb 2024 08:41:24 +0000 (09:41 +0100)
* configure.ac: Set ac_cv_type_gid_t=yes to pacify Autoconf 2.72
AC_TYPE_GETGROUPS.  Problem reported by Nick Bowler in:
https://lists.gnu.org/r/autoconf-patches/2024-02/msg00001.html

(cherry picked from commit e34ebc0ccc6c27e7e1217baad9ca74dd7bea4c37)

configure.ac

index da78afd3fc519c259351c5369bf00342c599c5d1..b9bcb9a4648ab44f18722ff6f433e0e8f8f3e6ca 100644 (file)
@@ -2337,6 +2337,7 @@ fi
 AC_DEFUN([AC_TYPE_SIZE_T])
 # Likewise for obsolescent test for uid_t, gid_t; Emacs assumes them.
 AC_DEFUN([AC_TYPE_UID_T])
+ac_cv_type_gid_t=yes # AC_TYPE_GETGROUPS needs this in Autoconf 2.72.
 
 # Check for all math.h functions that Emacs uses; on some platforms,
 # -lm is needed for some of these functions.