EXTRA_DIST = config.rpath ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc \
abook.spec contrib doc/HOWTO.translating_abook
+abook_LDADD = @LIBINTL@
+
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
$(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/
SUBDIRS = intl po
ACLOCAL_AMFLAGS = -I m4
+
+if USE_INCLUDED_INTL_H
+AM_CPPFLAGS = -Iintl
+endif
AC_DEFINE_UNQUOTED(LOCALEDIR, "$abook_localedir", [locale directory])
AC_SUBST(localedir)
+AM_CONDITIONAL(USE_INCLUDED_INTL_H, test x$USE_INCLUDED_LIBINTL = xyes)
+
dnl ----------------------
dnl end of gettext support
dnl ----------------------