# HG changeset patch # User Matti Hamalainen # Date 1167639005 0 # Node ID a5ebf8595154091ef46c94d15981d0f6edc23260 # Parent d787dae8c043927bfba40425364d24b36fdb03ad GNU gettext i18n support diff -r d787dae8c043 -r a5ebf8595154 Makefile.am --- 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 diff -r d787dae8c043 -r a5ebf8595154 configure.in --- 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 diff -r d787dae8c043 -r a5ebf8595154 src/config.h.in --- 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 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 header file. */ #undef HAVE_INTTYPES_H