From 066b59df4a07fb426f7a4173a0e57818ab26d875 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 3 Nov 2022 17:55:47 -0700 Subject: Use strtof() if available, instead of casting atof() to float Signed-off-by: Alan Coopersmith --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d526307..6a3fda0 100644 --- a/configure.ac +++ b/configure.ac @@ -37,6 +37,8 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS +AC_CHECK_FUNCS([strtof]) + # Checks for pkg-config packages PKG_CHECK_MODULES(XGAMMA, [x11 xxf86vm xproto >= 7.0.17]) -- cgit v1.2.3