bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CHARSETALIASDIR in TESTS_ENVIRONMENT?


From: Ben Pfaff
Subject: CHARSETALIASDIR in TESTS_ENVIRONMENT?
Date: Wed, 14 Nov 2007 22:11:06 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

The localcharset module has a dependency on "make install" that I
didn't realize until recently: until "make install" is run,
locale_charset cannot resolve character set aliases.  For PSPP at
least, this makes "make check" before "make install" fail, unless
CHARSETALIASDIR is explicitly set in the environment.

This makes me wonder whether localcharset should recommend that a
TESTS_ENVIRONMENT something like this should be used:
        TESTS_ENVIRONMENT = CHARSETALIASDIR='$(abs_top_builddir)/gl'
This fixes the problem for PSPP.

localcharset could go one step further by defining a substitution
variable for use in TESTS_ENVIRONMENT, e.g. for use like this:
        TEST_ENVIRONMENT = @LOCALCHARSET_TESTENV@
This is analogous to @FLOOR_LIBM@ etc.

Any thoughts?
-- 
"Because computer source code is an expressive means for the exchange
 of information and ideas about computer programming, we hold that it
 is protected by the First Amendment."
--Hon. Boyce F. Martin, Jr., for the 6th Circuit Court, Junger vs. Daley




reply via email to

[Prev in Thread] Current Thread [Next in Thread]