+2006-07-28 Tim-Philipp Müller <tim at centricular dot net>
+
+ * Makefile.am:
+ * autogen.sh:
+ * configure.ac:
+ * po/POTFILES.in:
+ Add/enable autofoo magic for translations.
+
2006-07-28 Tim-Philipp Müller <tim at centricular dot net>
* gst/realmedia/rmdemux.c: (gst_rmdemux_reset),
"ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 52 || DIE=1
version_check "automake" "$AUTOMAKE automake automake-1.9 automake-1.7 automake-1.6 automake-1.5" \
"ftp://ftp.gnu.org/pub/gnu/automake/" 1 7 || DIE=1
-#version_check "autopoint" "autopoint" \
-# "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 11 5 || DIE=1
+version_check "autopoint" "autopoint" \
+ "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 11 5 || DIE=1
version_check "libtoolize" "$LIBTOOLIZE libtoolize glibtoolize" \
"ftp://ftp.gnu.org/pub/gnu/libtool/" 1 5 0 || DIE=1
version_check "pkg-config" "" \
# autopoint
# older autopoint (< 0.12) has a tendency to complain about mkinstalldirs
-# if test -x mkinstalldirs; then rm mkinstalldirs; fi
+if test -x mkinstalldirs; then rm mkinstalldirs; fi
# first remove patch if necessary, then run autopoint, then reapply
-# if test -f po/Makefile.in.in;
-# then
-# patch -p0 -R < common/gettext.patch
-# fi
-# tool_run "$autopoint --force"
-# patch -p0 < common/gettext.patch
+if test -f po/Makefile.in.in;
+then
+ patch -p0 -R < common/gettext.patch
+fi
+tool_run "$autopoint --force"
+patch -p0 < common/gettext.patch
tool_run "$aclocal" "-I m4 -I common/m4 $ACLOCAL_FLAGS"
tool_run "$libtoolize" "--copy --force"
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4")
dnl set up gettext
-dnl AM_GNU_GETTEXT_VERSION(0.11.5)
-dnl AM_GNU_GETTEXT([external])
-dnl GST_GETTEXT([gst-plugins-ugly-$GST_MAJOR_MINOR])
+dnl the version check needs to stay here because autopoint greps for it
+AM_GNU_GETTEXT_VERSION(0.11.5)
+AM_GNU_GETTEXT([external])
+GST_GETTEXT([gst-plugins-ugly-$GST_MAJORMINOR])
dnl *** check for arguments to configure ***
dnl *** output files ***
-dnl po/Makefile.in
-
AC_CONFIG_FILES(
Makefile
gst/Makefile
common/Makefile
common/m4/Makefile
m4/Makefile
+po/Makefile.in
gst-plugins-ugly.spec
)
AC_OUTPUT