From 6c3572673d30eadb50cbff2b1b0b066866d45c88 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Mon, 3 Sep 2007 16:44:06 +0000 Subject: test for strlcpy (so i can use it in _bsddb.c) --- configure.in | 2 +- pyconfig.h.in | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index fe401c3..f23d77f 100644 --- a/configure.in +++ b/configure.in @@ -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) diff --git a/pyconfig.h.in b/pyconfig.h.in index b24f49a..e08cb0f 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -538,6 +538,9 @@ /* Define to 1 if you have the 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 header file. */ #undef HAVE_STROPTS_H -- cgit v0.12