From 1bf8e6a6cee8deb0af77ba1ca47fe68c35a267fe Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 8 Mar 2004 21:43:47 +0000 Subject: [PATCH] Gettextiscate. --- Makefile.am | 2 +- configure.ac | 5 ++++- po/LINGUAS | 2 ++ po/POTFILES.in | 3 +++ 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 po/LINGUAS create mode 100644 po/POTFILES.in diff --git a/Makefile.am b/Makefile.am index 91b4e55..d797aa2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,7 @@ # License along with GNU Libidn; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA -SUBDIRS = lib src doc tests examples +SUBDIRS = po lib src doc tests examples ACLOCAL_AMFLAGS = -I m4 diff --git a/configure.ac b/configure.ac index 284de12..d7170cf 100644 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,8 @@ AM_INIT_AUTOMAKE([1.8 gnits]) AC_CONFIG_HEADERS(config.h) # Checks for programs. +AM_GNU_GETTEXT(external) +AM_GNU_GETTEXT_VERSION(0.14.1) AC_PROG_LIBTOOL AC_PROG_CC AM_MISSING_PROG(PERL, perl, $missing_dir) @@ -88,5 +90,6 @@ GTK_DOC_CHECK(1.1) AC_CONFIG_FILES([Makefile libidn.pc doc/reference/Makefile \ lib/stringprep.h contrib/doxygen/Doxyfile \ doc/Makefile doc/specifications/Makefile doc/tld/Makefile \ - lib/Makefile src/Makefile tests/Makefile examples/Makefile]) + lib/Makefile src/Makefile tests/Makefile examples/Makefile \ + po/Makefile.in]) AC_OUTPUT diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..13ff50d --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,2 @@ +# Set of available languages. +sv diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 0000000..03f94b3 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,3 @@ +# List of source files containing translatable strings for GNU Libidn. +# Copyright (C) 2004 by Simon Josefsson +src/idn.c -- 2.11.4.GIT