+2001-10-20 Bruno Haible <haible@clisp.cons.org>
+
+ Assume strchr() exists.
+ * configure.in: Remove check for strchr.
+
2001-09-17 Bruno Haible <haible@clisp.cons.org>
* configure.in: Call gt_PREREQ_BACKUPFILE.
dnl Checks for library functions.
AC_FUNC_ALLOCA
AC_FUNC_VPRINTF
-AC_CHECK_FUNCS([getcwd mblen memcpy posix_spawn raise select strchr strerror \
-uname utime utimes])
+AC_CHECK_FUNCS([getcwd mblen memcpy posix_spawn raise select strerror uname \
+utime utimes])
AC_REPLACE_FUNCS([memset stpcpy stpncpy strcspn \
strcasecmp strncasecmp strpbrk strstr strtoul vasprintf])
AM_FUNC_GETLINE
+2001-10-20 Bruno Haible <haible@clisp.cons.org>
+
+ Assume strchr() exists. (Without it, explodename.c wouldn't link
+ anyway.)
+ * dcigettext.c (strchr): Remove fallback definition; it conflicts with
+ the variable 'index' in plural_lookup.
+ * l10nflist.c (strchr): Likewise.
+ * localealias.c (strchr): Likewise.
+
2001-09-24 Bruno Haible <haible@clisp.cons.org>
* loadmsgcat.c (_nl_init_domain_conv): Also enable transliteration
#include <stddef.h>
#include <stdlib.h>
-
#include <string.h>
-#if !HAVE_STRCHR && !defined _LIBC
-# ifndef strchr
-# define strchr index
-# endif
-#endif
#if defined HAVE_UNISTD_H || defined _LIBC
# include <unistd.h>
#endif
#include <string.h>
-#if !HAVE_STRCHR && !defined _LIBC
-# ifndef strchr
-# define strchr index
-# endif
-#endif
#if defined _LIBC || defined HAVE_ARGZ_H
# include <argz.h>
#endif
#include <stdlib.h>
-
#include <string.h>
-#if !HAVE_STRCHR && !defined _LIBC
-# ifndef strchr
-# define strchr index
-# endif
-#endif
#include "gettextP.h"
+2001-10-20 Bruno Haible <haible@clisp.cons.org>
+
+ Assume strchr() exists.
+ * system.h (strchr): Remove fallback definition.
+
2001-09-17 Bruno Haible <haible@clisp.cons.org>
* backupfile.h: New file, from fileutils-4.1 with modifications.
# define memcpy(D, S, N) bcopy ((S), (D), (N))
# endif
#endif
-#if !HAVE_STRCHR
-# ifndef strchr
-# define strchr index
-# endif
-#endif
#ifdef __GNUC__
# ifndef alloca
+2001-10-20 Bruno Haible <haible@clisp.cons.org>
+
+ Assume strchr() exists.
+ * gettext.m4 (AM_GNU_GETTEXT): Remove check for strchr.
+
2001-09-17 Bruno Haible <haible@clisp.cons.org>
* backupfile.m4: New file.
AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
stdlib.h string.h unistd.h sys/param.h])
AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getcwd getegid geteuid \
-getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
-strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
+getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strcasecmp strdup \
+strtoul tsearch __argz_count __argz_stringify __argz_next])
AM_ICONV
AM_LANGINFO_CODESET