From 7bd504f7ab7799ab77ad50eb39f6afdbaf2f9e50 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 25 Aug 2018 11:18:52 -0700 Subject: Use strcasecmp if it's available, instead of lowercasing strings Signed-off-by: Alan Coopersmith --- xtrans.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xtrans.m4') 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 -- cgit v1.2.3