changeset 431:a5ebf8595154

GNU gettext i18n support
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 01 Jan 2007 08:10:05 +0000
parents d787dae8c043
children 0f9dd79ccff8
files Makefile.am configure.in src/config.h.in
diffstat 3 files changed, 25 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Mon Jan 01 08:09:04 2007 +0000
+++ b/Makefile.am	Mon Jan 01 08:10:05 2007 +0000
@@ -4,11 +4,14 @@
 # Require latest automake
 AUTOMAKE_OPTIONS = 1.7
 
+PACKAGE = @PACKAGE@
+VERSION = @VERSION@
+
 # Personal XMMS directory in user's home
 USERHOMEPREFIX = ~/.xmms/Plugins
 
 # All the rest of the distributed files
-EXTRA_DIST =				\
+EXTRA_DIST = mkinstalldirs 				\
 	FAQ				\
 	BUGS				\
 	THANKS				\
@@ -83,3 +86,7 @@
 
 libxmmssiddir = $(pkgdatadir)
 libxmmssid_DATA = @THEMETUNE_FILE@
+
+SUBDIRS = m4 po
+
+ACLOCAL_AMFLAGS = -I m4
--- a/configure.in	Mon Jan 01 08:09:04 2007 +0000
+++ b/configure.in	Mon Jan 01 08:10:05 2007 +0000
@@ -75,6 +75,7 @@
 AC_FUNC_STAT
 AC_CHECK_FUNCS([memset strcasecmp strerror])
 
+AM_GNU_GETTEXT([external])
 
 dnl ***
 dnl *** Enable or disable themetune support/installation
@@ -291,6 +292,8 @@
 AC_CONFIG_FILES([
 Makefile
 xmms-sid.spec
+po/Makefile.in
+m4/Makefile 
 ])
 AC_OUTPUT
 
--- a/src/config.h.in	Mon Jan 01 08:09:04 2007 +0000
+++ b/src/config.h.in	Mon Jan 01 08:10:05 2007 +0000
@@ -1,14 +1,28 @@
 /* src/config.h.in.  Generated from configure.in by autoheader.  */
 
+/* Define to 1 if translation of program messages to the user's native
+   language is requested. */
+#undef ENABLE_NLS
+
+/* Define if the GNU dcgettext() function is already present or preinstalled.
+   */
+#undef HAVE_DCGETTEXT
+
 /* Define to 1 if you have the <dlfcn.h> header file. */
 #undef HAVE_DLFCN_H
 
 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
 #undef HAVE_FSEEKO
 
+/* Define if the GNU gettext() function is already present or preinstalled. */
+#undef HAVE_GETTEXT
+
 /* Define if you have HardSID with libSIDPlay 2 */
 #undef HAVE_HARDSID_BUILDER
 
+/* Define if you have the iconv() function. */
+#undef HAVE_ICONV
+
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H