summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 21:07:30 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-16 22:58:49 -0800
commitd0dfd2128e6111b967c51136d97093d3b53ee6d6 (patch)
tree63c7c0abdb2a5d0fa52013abe9dee3f710839c73 /configure.ac
parentfecb1f5a0c2121de6d9209fc9525ac7d9b9555ea (diff)
Replace chk_malloc + sprintf with asprintf
Includes local private copy of asprintf for OS'es without it in libc. Removes chk_malloc as no callers remain anymore. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index de88e4c..f9ebca3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,7 @@ XORG_DEFAULT_OPTIONS
AC_CONFIG_HEADERS([config.h])
-AC_CHECK_FUNCS([strncasecmp])
+AC_CHECK_FUNCS([strncasecmp asprintf])
# Checks for pkg-config packages
PKG_CHECK_MODULES(XMODMAP, x11 xproto >= 7.0.17)