changeset 386:f1f9920cc7b1

Add AM_GNU_GETTEXT macros AM_ICONV relies on config.rpath and autopoint/gettextize will only copy these in when the AM_GNU_GETTEXT macros are present. This is needed for the next commit that deletes config.rpath since it is cruft that should be copied in by autotools not embedded. Run autopoint to copy in config.rpath and leave it to automake to copy into the tarball.
author Paul Wise <pabs3@bonedaddy.net>
date Sat, 21 Dec 2019 21:25:44 +0800
parents 0917d53d78b3
children f03ee7e0ccc3
files Makefile.am Makefile.cvs configure.ac
diffstat 3 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Sat Dec 21 21:25:44 2019 +0800
+++ b/Makefile.am	Sat Dec 21 21:25:44 2019 +0800
@@ -5,7 +5,7 @@
 html_DATA = AUTHORS COPYING ChangeLog NEWS README
 CLEANFILES = xml/libpst xml/Makefile
 
-EXTRA_DIST = config.rpath Doxyfile libpst.html.tar.gz libpst.spec $(wildcard xml/M*) $(wildcard xml/h*) $(wildcard xml/lib*)
+EXTRA_DIST = Doxyfile libpst.html.tar.gz libpst.spec $(wildcard xml/M*) $(wildcard xml/h*) $(wildcard xml/lib*)
 
 if !STATIC_TOOLS
     pkgconfigdir   = $(libdir)/pkgconfig
--- a/Makefile.cvs	Sat Dec 21 21:25:44 2019 +0800
+++ b/Makefile.cvs	Sat Dec 21 21:25:44 2019 +0800
@@ -3,6 +3,7 @@
 HOST=$(shell hostname)
 
 all:
+	autopoint
 	libtoolize --force --copy
 	aclocal -I m4
 	autoheader
--- a/configure.ac	Sat Dec 21 21:25:44 2019 +0800
+++ b/configure.ac	Sat Dec 21 21:25:44 2019 +0800
@@ -201,6 +201,8 @@
 AC_FUNC_STRFTIME
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([chdir getcwd memchr memmove memset regcomp strcasecmp strncasecmp strchr strdup strerror strpbrk strrchr strstr strtol get_current_dir_name])
+AM_GNU_GETTEXT
+AM_GNU_GETTEXT_VERSION([0.19.1])
 AM_ICONV
 if test "$am_cv_func_iconv" != "yes"; then
     AC_MSG_ERROR([libpst requires iconv which is missing])