-dnl internationalization support
-dnl ALL_LINGUAS="az be ca cs cy da de eo es fr he it ko ms nl pl pt_BR pt ru sk sq sr@Latn sr sv vi zh_CN"
-dnl AM_GLIB_GNU_GETTEXT
-
-AC_CHECK_PROG(GTKDOC, gtkdoc-mkdb, true, false)
-
-gtk_doc_min_version=0.6
-if $GTKDOC ; then
- gtk_doc_version=`gtkdoc-mkdb --version`
- AC_MSG_CHECKING([gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version])
- if perl <<EOF ; then
-my @installed = split /\./, "$gtk_doc_version";
-my @required = split /\./, "$gtk_doc_min_version";
-
-while (scalar @required) {
- my \$installed_ver = (shift @installed || 0);
- my \$required_ver = shift @required;
- exit 1 if (\$installed_ver < \$required_ver);
- exit 0 if (\$installed_ver > \$required_ver);
-}
-exit 0;
-EOF
- AC_MSG_RESULT(yes)
- else
- AC_MSG_RESULT(no)
- GTKDOC=false
- fi
-fi
-
-dnl Let people disable the gtk-doc stuff.
-AC_ARG_ENABLE(gtk-doc, [ --enable-gtk-doc Use gtk-doc to build documentation [default=auto]], enable_gtk_doc="$enableval", enable_gtk_doc=auto)
+GETTEXT_PACKAGE="${PACKAGE}"
+AC_SUBST(GETTEXT_PACKAGE)
+dnl internationalization support; uncomment if translatable strings are reintroduced
+AM_GLIB_GNU_GETTEXT