aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2005-03-25 04:41:41 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2005-03-25 04:41:41 +0000
commit17998b22b59b393fe28c766e3bd72a0419f70041 (patch)
tree69b832401346b668037c811e96ccd1486e1163a8 /libiberty/configure.ac
parentbb99744fd4346bc283e19ecc2236f320a6901242 (diff)
downloadgcc-17998b22b59b393fe28c766e3bd72a0419f70041.zip
gcc-17998b22b59b393fe28c766e3bd72a0419f70041.tar.gz
gcc-17998b22b59b393fe28c766e3bd72a0419f70041.tar.bz2
libiberty.h (xstrndup): Declare.
include: * libiberty.h (xstrndup): Declare. libiberty: * Makefile.in (CFILES): Add strndup.c and xstrndup.c. (REQUIRED_OFILES): Add xstrndup.o. (CONFIGURED_OFILES): Add strndup.o. Regenerate dependencies. * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup. * strndup.c, xstrndup.c: New. * config.in, configure, functions.texi: Regenerate. From-SVN: r97034
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r--libiberty/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index 4d5361b..9925053 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -248,6 +248,7 @@ funcs="$funcs strcasecmp"
funcs="$funcs strchr"
funcs="$funcs strdup"
funcs="$funcs strncasecmp"
+funcs="$funcs strndup"
funcs="$funcs strrchr"
funcs="$funcs strstr"
funcs="$funcs strtod"
@@ -275,7 +276,7 @@ if test "x" = "y"; then
AC_CHECK_FUNCS(asprintf atexit basename bcmp bcopy bsearch bzero calloc clock \
getcwd getpagesize gettimeofday index insque mkstemps memchr memcmp memcpy \
memmove mempcpy memset putenv random rename rindex sigsetmask \
- strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strrchr strstr \
+ strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strndup strrchr strstr \
strtod strtol strtoul tmpnam vasprintf vfprintf vprintf \
vsprintf waitpid getrusage on_exit psignal strerror strsignal \
sysconf times sbrk gettimeofday ffs snprintf vsnprintf \