* gettext-runtime/configure.ac (INSTALLED_LIBINTL): On AIX, add '-pthread'.
* gettext-tools/configure.ac (INSTALLED_LIBINTL): Likewise.
* libtextstyle/configure.ac (INSTALLED_LIBTEXTSTYLE): Add $LIBXML, $LIBTERMINFO,
$LIBICONV. On AIX, add '-pthread'.
dnl shlibpath_var and PATH_SEPARATOR are set by LT_INIT.
if test $USE_INCLUDED_LIBINTL = yes; then
INSTALLED_LIBINTL="-lintl $LIBICONV $INTL_MACOSX_LIBS $INTL_WINDOWS_LIBS"
+ case "$host_os" in
+ aix*) INSTALLED_LIBINTL="$INSTALLED_LIBINTL $LIBTHREAD" ;;
+ esac
else
INSTALLED_LIBINTL=
fi
dnl shlibpath_var and PATH_SEPARATOR are set by LT_INIT.
if test $USE_INCLUDED_LIBINTL = yes; then
INSTALLED_LIBINTL="-lintl $LIBICONV $INTL_MACOSX_LIBS $INTL_WINDOWS_LIBS"
+ case "$host_os" in
+ aix*) INSTALLED_LIBINTL="$INSTALLED_LIBINTL $LIBTHREAD" ;;
+ esac
INSTALLED_LIBGETTEXTPO_DEPS="$INSTALLED_LIBINTL"
else
INSTALLED_LIBINTL=
dnl Test for features used in install-tests.
dnl shlibpath_var and PATH_SEPARATOR are set by LT_INIT.
-INSTALLED_LIBTEXTSTYLE="-ltextstyle"
+INSTALLED_LIBTEXTSTYLE="-ltextstyle $LIBXML $LIBTERMINFO $LIBICONV"
dnl Link dependencies: $(GETHOSTNAME_LIB).
case "$host_os" in
mingw* | windows*) INSTALLED_LIBTEXTSTYLE="$INSTALLED_LIBTEXTSTYLE -lws2_32" ;;
esac
+case "$host_os" in
+ aix*) INSTALLED_LIBTEXTSTYLE="$INSTALLED_LIBTEXTSTYLE $LIBTHREAD" ;;
+esac
AC_SUBST([INSTALLED_LIBTEXTSTYLE])
if test -n "${shlibpath_var}"; then
if test "${shlibpath_var}" = PATH; then