~haakan/do-plugins/sshfix

1
2
3
4
5
6
7
8
9
10
11
12
13
AC_DEFUN([SHAMROCK_CONFIGURE_I18N],
[
	#IT_PROG_INTLTOOL([0.35.0])
	#AC_PROG_INTLTOOL([0.21])

	ALL_LINGUAS=`grep -v '^#' $srcdir/po/LINGUAS | sed -r ':a;N;$!ba;s/\n/ /g; s/[ ]+/ /g'`
	GETTEXT_PACKAGE=$1
	AC_SUBST(GETTEXT_PACKAGE)
	AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext Package])
	AM_GLIB_GNU_GETTEXT
	AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS'])
])