+2001-03-03 Bruno Haible <haible@clisp.cons.org>
+
+ * gettext.m4 (AM_WITH_NLS): Add $LIBICONV to $INTLLIBS.
+
2001-02-07 Pavel Roskin <proski@gnu.org>
* c-bs-a.m4: Quote first argument of AC_DEFUN.
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
fi
+ dnl If iconv() is in a separate libiconv library, then anyone linking
+ dnl with libintl{.a,.so} also needs to link with libiconv.
+ if test -n "$LIBICONV" && test -n "$INTLLIBS"; then
+ INTLLIBS="$INTLLIBS $LIBICONV"
+ fi
+
dnl Test whether we really found GNU xgettext.
if test "$XGETTEXT" != ":"; then
dnl If it is no GNU xgettext we define it as : so that the
+2001-03-03 Bruno Haible <haible@clisp.cons.org>
+
+ * Makefile.am (LDADD): Add @LIBICONV@. Needed on platforms where
+ iconv() is not in libc.
+
2001-01-21 Bruno Haible <haible@clisp.cons.org>
Use libtool.
# Two auxiliary programs used by the tests.
INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/intl
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
-LDADD = ../intl/libintl.la
+LDADD = ../intl/libintl.la @LIBICONV@
EXTRA_PROGRAMS = tstgettext cake
tstgettext_SOURCES = tstgettext.c setlocale.c
tstgettext_LDADD = ../lib/libnlsut.a $(LDADD)