summaryrefslogtreecommitdiff
path: root/xtrans.m4
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2018-08-25 11:18:52 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-08-25 11:23:22 -0700
commit7bd504f7ab7799ab77ad50eb39f6afdbaf2f9e50 (patch)
tree06e5061d3468a07b7cd8d80d14859d20eed5c642 /xtrans.m4
parent941cfa50bc2d45f20943fd21bab98e2eceeeb259 (diff)
downloadxorg-lib-libxtrans-7bd504f7ab7799ab77ad50eb39f6afdbaf2f9e50.tar.gz
Use strcasecmp if it's available, instead of lowercasing strings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xtrans.m4')
-rw-r--r--xtrans.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/xtrans.m4 b/xtrans.m4
index fe128b4..8215e87 100644
--- a/xtrans.m4
+++ b/xtrans.m4
@@ -134,6 +134,9 @@ AC_DEFUN([XTRANS_CONNECTION_FLAGS],[
AC_DEFINE(LOCALCONN,1,[Support os-specific local connections])
fi
+ # Other functions Xtrans may need
+ AC_CHECK_FUNCS([strcasecmp strlcpy])
+
]) # XTRANS_CONNECTION_FLAGS