From: Paul Eggert Date: Mon, 24 Aug 2020 02:36:10 +0000 (-0700) Subject: sys_types: let Autoconf 2.70 do pid_t X-Git-Tag: v1.0~3679 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=cbe7df2c7c119cd2c91bf3ff2669bab015083e6a;p=gnulib.git sys_types: let Autoconf 2.70 do pid_t * m4/pid_t.m4 (AC_TYPE_PID_T): Redefine this Autoconf macro only for Autoconf versions 2.69 and earlier, since 2.70 will be fixed. --- diff --git a/ChangeLog b/ChangeLog index 073f96870b..c6b057e689 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2020-08-23 Paul Eggert + + sys_types: let Autoconf 2.70 do pid_t + * m4/pid_t.m4 (AC_TYPE_PID_T): Redefine this Autoconf macro + only for Autoconf versions 2.69 and earlier, since 2.70 + will be fixed. + 2020-08-23 Bruno Haible tests: Don't assume that pid_t fits in an 'int'. diff --git a/m4/pid_t.m4 b/m4/pid_t.m4 index 321082d006..4fb9c7aef9 100644 --- a/m4/pid_t.m4 +++ b/m4/pid_t.m4 @@ -1,9 +1,12 @@ -# pid_t.m4 serial 1 +# pid_t.m4 serial 2 dnl Copyright (C) 2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. +# The following implementation works around a problem in autoconf <= 2.69. +m4_version_prereq([2.70], [] ,[ + dnl Define pid_t if the headers don't define it. AC_DEFUN([AC_TYPE_PID_T], [ @@ -31,3 +34,5 @@ AC_DEFUN([AC_TYPE_PID_T], ], [AC_INCLUDES_DEFAULT]) ]) + +])# m4_version_prereq 2.70