]> granicus.if.org Git - sudo/commitdiff
Add stlc{at,py} for those w/o it.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 12 Mar 2003 22:07:26 +0000 (22:07 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 12 Mar 2003 22:07:26 +0000 (22:07 +0000)
config.h.in
configure
configure.in

index 04a74b8e586cf682ab7e916a9cdcdba7e9c8bc2b..66b039c541ec2afee48ce2b116dc363becfde3f1 100644 (file)
 /* Define to 1 if you have the <string.h> header file. */
 #undef HAVE_STRING_H
 
+/* Define to 1 if you have the `strlcat' function. */
+#undef HAVE_STRLCAT
+
+/* Define to 1 if you have the `strlcpy' function. */
+#undef HAVE_STRLCPY
+
 /* Define to 1 if you have the `strrchr' function. */
 #undef HAVE_STRRCHR
 
 /* Define to send mail when the user is not allowed to run a command. */
 #undef SEND_MAIL_WHEN_NOT_OK
 
-/* Define to send mail when the user is not allowed to run sudo on this
-   host. */
+/* Define to send mail when the user is not allowed to run sudo on this host.
+   */
 #undef SEND_MAIL_WHEN_NO_HOST
 
 /* Define to send mail when the user is not in the sudoers file. */
index 1c606a8da6c0a40ec8025c8bd01f240e5e32ecce..cecb237eacd489c9917d1c6f1a3f3a39cd7e85fa 100755 (executable)
--- a/configure
+++ b/configure
@@ -10751,7 +10751,9 @@ _ACEOF
 
 
 
-for ac_func in strerror strcasecmp sigaction
+
+
+for ac_func in strerror strcasecmp sigaction strlcpy strlcat
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5
index 261b68664940e60f0f93984ca5d5f49b8cd3f213..2369dd7f125abeed32bed77a13d00d71832137b0 100644 (file)
@@ -1619,7 +1619,7 @@ AC_CHECK_FUNCS(lsearch, , [AC_CHECK_LIB(compat, lsearch, AC_CHECK_HEADER(search.
 AC_CHECK_FUNCS(utime, [SUDO_FUNC_UTIME_POSIX], [AC_LIBOBJ(utime)])
 SUDO_FUNC_FNMATCH(AC_DEFINE(HAVE_FNMATCH, 1, [Define if you have the `fnmatch' function.]), AC_LIBOBJ(fnmatch))
 SUDO_FUNC_ISBLANK
-AC_REPLACE_FUNCS(strerror strcasecmp sigaction)
+AC_REPLACE_FUNCS(strerror strcasecmp sigaction strlcpy strlcat)
 AC_CHECK_FUNCS(snprintf vsnprintf asprintf vasprintf, , [NEED_SNPRINTF=1])
 dnl
 dnl If NEED_SNPRINTF is set, add snprintf.c to LIBOBJS