[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gettext-0.11.5] AC_CHECK_FUNCS( bind_textdomain_codeset ngettext ) not
From: |
Rapp, Perry |
Subject: |
[gettext-0.11.5] AC_CHECK_FUNCS( bind_textdomain_codeset ngettext ) not detecting them |
Date: |
Thu, 7 Nov 2002 08:48:51 -0500 |
Summary: My AC_CHECK_FUNCS for bind_textdomain_codeset & ngettext is
failing
*****
What I have:
*****
I'm using cygwin,
$ gettext --version
gettext (GNU gettext) 0.11.5
grep ngettext /usr/include/*.h
yields lots of hits in libintl.h -- I could quote them, or I could send
a copy
of my libintl.h. I looked in it for a version number, but couldn't find
one.
My intl subdirectory in my package is 0.11.2, eg,
$ cat intl/VERSION
GNU gettext library from gettext-0.11.2
grep ngettext intl/*.h
yields hits in intl/gettextP.h and intl/libgettext.h and
intl/libgnuintl.h
I don't know how to tell if configure picked system or intl versions,
but
(a) I don't see any .a files in my compilation tree
(b) anyway, both 0.11.2 and 0.11.5 ought to include both of those
functions, I believe
*****
What I'm doing
*****
I have these lines in my configure.in
dnl gettext functions missing from 0.10.35
AC_CHECK_FUNCS( bind_textdomain_codeset ngettext )
and they are near the end, after these invocations
dnl Internationalization (gettext)
AM_GNU_GETTEXT
AM_ICONV dnl should use this
but I am seeing the resultant symbols undefined in my config.h, eg,
/* Define to 1 if you have the `ngettext' function. */
/* #undef HAVE_NGETTEXT */
I do get these in my config.h:
/* Define if the GNU dcgettext() function is already present or
preinstalled.
*/
#define HAVE_DCGETTEXT 1
/* Define if the GNU gettext() function is already present or
preinstalled. */
#define HAVE_GETTEXT 1
Do you know if I should be able to use AC_CHECK_FUNCS for these in this
manner ?
Thanks for any suggestions,
Cordially,
Perry
- [gettext-0.11.5] AC_CHECK_FUNCS( bind_textdomain_codeset ngettext ) not detecting them,
Rapp, Perry <=