summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-23 18:15:13 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-23 18:15:13 -0800
commitebcdc687d02e34240bd98b9f1396225eee4e4240 (patch)
tree9fd914cf30e47cb2e0e1e9b8c20837078e7108d4 /configure.ac
parentef450fb99630a406c4638d8ba251eac45e434411 (diff)
Use asprintf() if available
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 43fdf0b..347249b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,9 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
+# Checks for library functions.
+AC_CHECK_FUNCS([asprintf])
+
# Internationalization & localization support
AC_SEARCH_LIBS([gettext], [intl], [USE_GETTEXT="yes"], [USE_GETTEXT="no"])
AC_MSG_CHECKING([where to install localized messages])