From: Todd C. Miller Date: Thu, 2 Nov 2000 17:55:06 +0000 (+0000) Subject: For NCR, add -lc89 to LIBS, not SUDO_LIBS and cache the existence X-Git-Tag: SUDO_1_6_4~231 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8eb484858692ede8e88c96d21f601b1a8098c5b0;p=sudo For NCR, add -lc89 to LIBS, not SUDO_LIBS and cache the existence of strcasecmp(). --- diff --git a/configure.in b/configure.in index a68f3f562..1230c3c86 100644 --- a/configure.in +++ b/configure.in @@ -1416,7 +1416,7 @@ case "$host" in mansectform=4 ;; *-ncr-sysv4*|*-ncr-sysvr4*) - AC_CHECK_LIB(c89, strcasecmp, [SUDO_LIBS="${SUDO_LIBS} -lc89"; LIBS="${LIBS} -lc89"]) + AC_CHECK_LIB(c89, strcasecmp, AC_DEFINE(HAVE_STRCASECMP) [LIBS="${LIBS} -lc89"; ac_cv_func_strcasecmp=yes]) mansectsu=1m mansectform=4 ;;