]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: dev: Detect and possibly define constexpr using Autoconf
authorOndřej Surý <ondrej@isc.org>
Wed, 25 Dec 2024 14:22:27 +0000 (14:22 +0000)
committerOndřej Surý <ondrej@isc.org>
Wed, 25 Dec 2024 14:22:27 +0000 (14:22 +0000)
commit1fea227ab8b247fabd75d23afd7a4b72d7584672
tree7911f1dce86c4ae95eaa8e834cbf562f054cac50
parent8d9bc93e81e0092ef9fe05ba14c222a14d392b6d
parent7b26becec02a8e18428b05de1e388af00b9aa8c5
chg: dev: Detect and possibly define constexpr using Autoconf

Previously, we had an ISC_CONSTEXPR macro that was expanded to either
`constexpr` or `static const`, depending on compiler support.  To make
the code cleaner, move `constexpr` support detection to Autoconf; if
`constexpr` support is missing from the compiler, define `constexpr` as
`static const` in config.h.

Merge branch 'ondrej/rename-ISC_CONSTEXPR-to-constexpr-shim' into 'main'

See merge request isc-projects/bind9!9924