[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gettext 0.10.37 AM_GNU_GETTEXT should check for strtoul
From: |
Paul Eggert |
Subject: |
gettext 0.10.37 AM_GNU_GETTEXT should check for strtoul |
Date: |
Sat, 12 May 2001 23:57:07 -0700 (PDT) |
While compiling a gettextized package on Solaris 8 with GCC, I got
the following warning:
loadmsgcat.c: In function `_nl_load_domain':
loadmsgcat.c:515: warning: assignment discards qualifiers from pointer target
type
The problem was that this package did not define HAVE_STRTOUL, but
intl/loadmsgcat.c uses HAVE_STRTOUL. Here is a patch.
2001-05-12 Paul Eggert <address@hidden>
* m4/gettext.m4 (AM_GNU_GETTEXT): Check for strtoul, since
loadmsgcat.c uses HAVE_STRTOUL.
===================================================================
RCS file: m4/gettext.m4,v
retrieving revision 0.10.37.0
retrieving revision 0.10.37.1
diff -pu -r0.10.37.0 -r0.10.37.1
--- m4/gettext.m4 2001/04/13 02:34:32 0.10.37.0
+++ m4/gettext.m4 2001/05/13 06:52:20 0.10.37.1
@@ -248,7 +248,7 @@ 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 mempcpy munmap putenv \
-setenv setlocale stpcpy strchr strcasecmp strdup tsearch \
+setenv setlocale stpcpy strchr strcasecmp strdup strtoul tsearch \
__argz_count __argz_stringify __argz_next])
AM_ICONV
- gettext 0.10.37 AM_GNU_GETTEXT should check for strtoul,
Paul Eggert <=