+2007-06-08 Bruno Haible <bruno@clisp.org>
+
+ * msginit.c: Include localename.h.
+ (_nl_locale_name): Remove declaration.
+ (main): Use gl_locale_name instead of _nl_locale_name.
+ * Makefile.am (msginit_LDADD): Remove localename object file.
+
2007-05-28 Bruno Haible <bruno@clisp.org>
* Makefile.am (WOE32_LDADD): New variable.
* user-email.in: Use 'gettext' instead of @PACKAGE@.
-See ChangeLog.0 for earlier changes.
\ No newline at end of file
+See ChangeLog.0 for earlier changes.
msgexec_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@ $(WOE32_LDADD)
msgfilter_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@ $(WOE32_LDADD)
msggrep_LDADD = $(LIBGREP) libgettextsrc.la @INTL_MACOSX_LIBS@ $(WOE32_LDADD)
-msginit_LDADD = ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
- libgettextsrc.la @INTL_MACOSX_LIBS@ $(WOE32_LDADD)
+msginit_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@ $(WOE32_LDADD)
msguniq_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@ $(WOE32_LDADD)
recode_sr_latin_LDADD = ../gnulib-lib/libgettextlib.la @INTL_MACOSX_LIBS@ $(WOE32_LDADD)
#include "write-stringtable.h"
#include "po-charset.h"
#include "localcharset.h"
+#include "localename.h"
#include "po-time.h"
#include "plural-table.h"
#include "lang-table.h"
#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
-extern const char * _nl_locale_name (int category, const char *categoryname);
extern const char * _nl_expand_alias (const char *name);
/* Locale name. */
/* Determine target locale. */
if (locale == NULL)
{
- locale = _nl_locale_name (LC_MESSAGES, "LC_MESSAGES");
+ locale = gl_locale_name (LC_MESSAGES, "LC_MESSAGES");
if (strcmp (locale, "C") == 0)
{
multiline_error (xstrdup (""),