]> granicus.if.org Git - python/commitdiff
test for strlcpy (so i can use it in _bsddb.c)
authorGregory P. Smith <greg@mad-scientist.com>
Mon, 3 Sep 2007 16:44:06 +0000 (16:44 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Mon, 3 Sep 2007 16:44:06 +0000 (16:44 +0000)
configure.in
pyconfig.h.in

index fe401c32e1654da2593868883d9a45cd9599d5dd..f23d77f2f023c3fead3af06769c32a85deeb65a8 100644 (file)
@@ -2256,7 +2256,7 @@ AC_CHECK_FUNCS(alarm bind_textdomain_codeset chflags chown clock confstr \
  putenv readlink realpath \
  select setegid seteuid setgid \
  setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \
- sigaction siginterrupt sigrelse strftime \
+ sigaction siginterrupt sigrelse strftime strlcpy \
  sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
  truncate uname unsetenv utimes waitpid wait3 wait4 wcscoll _getpty)
 
index b24f49a96128c038c56b4959eba5630cd3fdd668..e08cb0f362d6ac3235fe1de839bf4f9271eb3191 100644 (file)
 /* Define to 1 if you have the <string.h> header file. */
 #undef HAVE_STRING_H
 
+/* Define to 1 if you have the `strlcpy' function. */
+#undef HAVE_STRLCPY
+
 /* Define to 1 if you have the <stropts.h> header file. */
 #undef HAVE_STROPTS_H