* m4/isfinite.m4 (gl_ISFINITEL_WORKS): Link the test program with -lm if
necessary.
+2026-02-02 Bruno Haible <bruno@clisp.org>
+
+ isfinite-no-c++: Avoid unnecessary override of isfinite().
+ * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Link the test program with -lm if
+ necessary.
+
2026-01-29 Bruno Haible <bruno@clisp.org>
gettext: Partially update to gettext 1.0.
# isfinite.m4
-# serial 23
+# serial 24
dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
AC_CACHE_CHECK([whether isfinite(long double) works], [gl_cv_func_isfinitel_works],
[
+ saved_LIBS="$LIBS"
+ LIBS="$LIBS $ISFINITE_LIBM"
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <float.h>
#include <limits.h>
*) gl_cv_func_isfinitel_works="guessing yes" ;;
esac
])
+ LIBS="$saved_LIBS"
])
])