Skip to content

Conversation

@eli-schwartz
Copy link

@eli-schwartz eli-schwartz commented Nov 8, 2024

ac_func_snprintf was very old, and produced illogical results with modern compilers. Specifically, the check always failed and claimed:

checking for snprintf... yes
checking for vsnprintf... yes
checking for working snprintf... no
checking for working vsnprintf... no
configure: WARNING: Will use fallback (v)snprintf() implementation.

autoconf-archive has migrated to a dedicated AX_ namespace and released a couple decades worth of improvements, including fixing this particular bug in 2022.

Bug: https://bugs.gentoo.org/898602

Instead of hardcoding calls to builtin(include) of all things!

autoreconf will detect existing macros in the specified macros directory
automatically and ensure that calls to `m4_include()` are synthesized
for you. We use ACLOCAL_AMFLAGS to ensure that updated versions of
macros we use get locally installed.
…ve edition

ac_func_snprintf was very old, and produced illogical results with
modern compilers. Specifically, the check always failed and claimed:

```
checking for snprintf... yes
checking for vsnprintf... yes
checking for working snprintf... no
checking for working vsnprintf... no
configure: WARNING: Will use fallback (v)snprintf() implementation.
```

autoconf-archive has migrated to a dedicated AX_ namespace and released
a couple decades worth of improvements, including fixing this particular
bug in 2022.

Bug: https://bugs.gentoo.org/898602
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant