Automatically link every program against libintl and libiconv.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 10 May 2011 22:57:44 +0000 (15:57 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 11 May 2011 04:21:01 +0000 (21:21 -0700)
commit985d1dada4dcf383db0371d10de692d3db24520d
tree5c934d54451274332be5d5c9f6a58ce828b3eb0e
parentb73c7309c2fff2b35f406d8e0e75be3dc3621396
Automatically link every program against libintl and libiconv.

On glibc systems, libiconv and libintl are both built into libc.  That
means that it's very easy to forget to link programs against them,
because it still builds OK on GNU/Linux.  However, on other systems
they are usually separate libraries and forgetting to link against
them breaks the build.

This commit switches from previous PSPP practice, in which these
libraries were linked explicitly to every binary that requires them,
to a simplified practice where they are in LIBS so that every binary
is automatically linked to them.  This has no disadvantage on
GNU/Linux, our primary target, and the advantage that on other targets
PSPP works more consistently.
Makefile.am
configure.ac
src/ui/gui/automake.mk
src/ui/terminal/automake.mk
tests/automake.mk