--- a/configure.ac 2005-12-27 00:12:03.000000000 +0100 +++ b/configure.ac 2026-10-19 17:19:14.437096614 +0200 @@ -70,14 +70,14 @@ fi AC_MSG_CHECKING([for usability of initstate_r]) -AC_TRY_RUN([#include +AC_RUN_IFELSE([AC_LANG_SOURCE([[#include int main() { static struct random_data rand_data; static char rand_state[256]; initstate_r(0, rand_state, sizeof(rand_state), &rand_data); exit(0); -}], initstate_r_works=yes,, ]) +}]])], [initstate_r_works=yes], [], [initstate_r_works=yes]) if test "$initstate_r_works" != "yes"; then AC_MSG_RESULT([no])