summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-10-26 09:12:43 +0000
committerBruno Haible <bruno@clisp.org>2001-10-26 09:12:43 +0000
commitdc0a34c6be759f1f4fe0dbc6ce3058b572e589f3 (patch)
tree8b902fe340a202b81ab1decedb6ff1b6b8423813 /m4
parent5640ef5179fa4ca31a5dac0a0b8353c6500f4529 (diff)
downloadexternal_gettext-dc0a34c6be759f1f4fe0dbc6ce3058b572e589f3.zip
external_gettext-dc0a34c6be759f1f4fe0dbc6ce3058b572e589f3.tar.gz
external_gettext-dc0a34c6be759f1f4fe0dbc6ce3058b572e589f3.tar.bz2
Use getc_unlocked instead of getc where possible, for speed.
Diffstat (limited to 'm4')
-rw-r--r--m4/ChangeLog4
-rw-r--r--m4/gettext.m46
2 files changed, 7 insertions, 3 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 54e7b26..480eb30 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-09 Bruno Haible <haible@clisp.cons.org>
+
+ * gettext.m4 (AM_GNU_GETTEXT): Add check for getc_unlocked.
+
2001-09-29 Bruno Haible <haible@clisp.cons.org>
* hostname.m4: New file.
diff --git a/m4/gettext.m4 b/m4/gettext.m4
index ca22e40..8b0ad3c 100644
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -57,9 +57,9 @@ AC_DEFUN([AM_GNU_GETTEXT],
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 strcasecmp strdup \
-strtoul tsearch __argz_count __argz_stringify __argz_next])
+ AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
+geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
+strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
AM_ICONV
AM_LANGINFO_CODESET