PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/build/m4/shamrock/i18n.m4

http://github.com/hbons/SparkleShare
m4 | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | b7e312e8621619dabcd083a52329b385 MD5 | raw file
 1AC_DEFUN([SHAMROCK_CONFIGURE_I18N],
 2[
 3	ALL_LINGUAS=`grep -v '^#' $srcdir/po/LINGUAS | $SED ':a;N;$!ba;s/\n/ /g; s/[ ]+/ /g' | xargs`
 4	GETTEXT_PACKAGE=$1
 5	AC_SUBST(GETTEXT_PACKAGE)
 6	AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext Package])
 7	AM_GLIB_GNU_GETTEXT
 8	AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS'])
 9])
10