]> git.ipfire.org Git - thirdparty/asterisk.git/commit
AC_HEADER_STDC causes a compile failure with autoconf 2.70
authorJaco Kroon <jaco@uls.co.za>
Fri, 8 Jan 2021 16:02:47 +0000 (18:02 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Mon, 18 Jan 2021 17:10:00 +0000 (11:10 -0600)
commitaa03d07a085d32dbc6b482aaa5215f539f60d771
treef1f6504f6307b23efd8a273f4f78ae96c9db2027
parent6915106cc1765acf31a9a9b409cd8193628f59fb
AC_HEADER_STDC causes a compile failure with autoconf 2.70

From https://www.mail-archive.com/bug-autoconf@gnu.org/msg04408.html

> ... the long-obsolete AC_HEADER_STDC, previously used internally by
> AC_INCLUDES_DEFAULT, used AC_EGREP_HEADER.  The AC_HEADER_STDC macro
> is now a no-op (and is not used at all within Autoconf anymore), so
> that change is likely what made the first use of AC_EGREP_HEADER the
> one inside the if condition, causing the observed results.

The implication is that the test does nothing anyway, and due to it
being a no-op from 2.70 onwards, results in the required not being set
to yes, resulting in ./configure to fail.

Change-Id: Ic1ff38d87f791fbf1f2a80512f81bb7110392460
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
configure
configure.ac