summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 22:49:21 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 22:49:21 -0700
commit1de8253f0ede02ec87d28b028de97da79adc12e2 (patch)
treee73452b10b6d53fa4b617165f560a3b93173df32 /configure.ac
parent3d58c22c4c2729d52b5278c0e6350c0f9f44cfa8 (diff)
Replace sprintf & strcpy calls with snprintf & strlcpy
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 3a0fb2a..8e9d602 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,8 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
+AC_CHECK_FUNCS([strlcpy])
+
# Checks for pkg-config packages
PKG_CHECK_MODULES(XCALC, xaw7 xt x11)