[gnutls-devel] GnuTLS | configure: make the C99 detection more resiliant (!2081)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Mar 5 12:38:16 CET 2026



Ross Burton created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/2081

Project:Branches: rossburton/gnutls:c99 to gnutls/gnutls:master
Author:   Ross Burton



<!-- Add a description of the new feature/bug fix. Reference any relevant bugs. -->

* configure: make the C99 detection more resiliant

autoconf 2.73 will default to C23 by default, which means that the >C99
detection logic in configure.ac will fail because it only handles c11
and c99.

Instead of adding c23 to the list and then breaking again in the future,
flip the logic around (as suggested by Zack Weinberg) and check
explicitly for just c89.

Closes #1806.

Signed-off-by: Ross Burton <ross.burton at arm.com>

## Checklist
 * [x] Commits have `Signed-off-by:` with name/author being identical to the commit author
 * [ ] Code modified for feature
 * [ ] Test suite updated with functionality tests
 * [ ] Test suite updated with negative tests
 * [ ] Documentation updated / NEWS entry present (for non-trivial changes)

## Reviewer's checklist:
 * [ ] Any issues marked for closing are addressed
 * [ ] There is a test suite reasonably covering new functionality or modifications
 * [ ] Function naming, parameters, return values, types, etc., are consistent and according to `CONTRIBUTION.md`
 * [ ] This feature/change has adequate documentation added
 * [ ] No obvious mistakes in the code

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2081
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/3-3wv3s6vc23o45x319e7zxeuvy/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260305/0696c938/attachment-0001.html>


More information about the Gnutls-devel mailing list