summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-03 17:55:47 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-03 17:55:47 -0700
commit066b59df4a07fb426f7a4173a0e57818ab26d875 (patch)
tree7ce55f25ead698209264db4cd61bed7835fb0c58 /configure.ac
parent120c202bc39abfdfd7a60e407abd742e6cb218e2 (diff)
Use strtof() if available, instead of casting atof() to float
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
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])