xserver: Branch 'master'
Dodji Seketeli
dodji at kemper.freedesktop.org
Mon Sep 10 23:51:20 PDT 2007
configure.ac | 1 +
1 file changed, 1 insertion(+)
New commits:
diff-tree 2e3e08d31e908ceadeef16d6069cdaf8c61d7ed1 (from e8c73ac697aa472e10b4d8c093a715df0bf545af)
Author: Dodji Seketeli <dodji at openedhand.com>
Date: Tue Sep 11 08:50:41 2007 +0200
xserver: test presence of strlcpy in configure
* configure.ac: define HAVE_STRLCPY when function strlcat is present
this serves at least to unbreak libxtrans code compilation.
diff --git a/configure.ac b/configure.ac
index 0025ecc..24b12df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -186,6 +186,7 @@ AC_CHECK_FUNC([getpeerucred],
AC_DEFINE(HAS_GETPEERUCRED, 1, [Have the 'getpeerucred' function.]))
AC_CHECK_FUNC([strlcat], HAVE_STRLCAT=yes, HAVE_STRLCAT=no)
AM_CONDITIONAL(NEED_STRLCAT, [test x$HAVE_STRLCAT = xno])
+AC_CHECK_FUNC([strlcpy], AC_DEFINE(HAS_STRLCPY, 1, [Have the 'strlcpy' function]))
AM_CONDITIONAL(NEED_VSNPRINTF, [test x$HAVE_VSNPRINTF = xno])
More information about the xorg-commit
mailing list