Mercurial > hg > octave-lyh > gnulib-hg
changeset 9551:bd08c714fb5a
The localcharset module requires a modified TESTS_ENVIRONMENT; tell the user.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 26 Dec 2007 16:33:48 +0100 |
parents | 6bc27027a2d6 |
children | 6632990b0812 |
files | ChangeLog modules/localcharset |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-25 Bruno Haible <bruno@clisp.org> + + * modules/localcharset (Notice): New field. + (configure.ac): Define LOCALCHARSET_TESTS_ENVIRONMENT. + Suggested by Ben Pfaff <blp@cs.stanford.edu>. + 2007-12-25 Paul Eggert <eggert@cs.ucla.edu> Bruno Haible <bruno@clisp.org>
--- a/modules/localcharset +++ b/modules/localcharset @@ -1,6 +1,12 @@ Description: Return current locale's character encoding. +Notice: +If your package's tests make use of the locale_charset() function directly or +indirectly, you may need to define the CHARSETALIASDIR environment variable, +so that "make check" works before "make install". In Makefile.am syntax: +TESTS_ENVIRONMENT += @LOCALCHARSET_TESTS_ENVIRONMENT@ + Files: lib/localcharset.h lib/localcharset.c @@ -16,6 +22,8 @@ configure.ac: gl_LOCALCHARSET +LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" +AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) Makefile.am: lib_SOURCES += localcharset.h localcharset.c