missing-macros: extend fake-gtk-doc-check.m4 (fixes autoreconf in orbit2), provide...
[openwrt/staging/yousong.git] / tools / missing-macros / src / m4 / fake-intltool.m4
diff --git a/tools/missing-macros/src/m4/fake-intltool.m4 b/tools/missing-macros/src/m4/fake-intltool.m4
new file mode 100644 (file)
index 0000000..352053c
--- /dev/null
@@ -0,0 +1,16 @@
+# stripped intltool.m4 to make automake happy
+# serial 1
+AC_DEFUN([IT_PROG_INTLTOOL],
+[
+       AC_SUBST(ALL_LINGUAS)
+       
+       DATADIRNAME=share
+       AC_SUBST(DATADIRNAME)
+])
+
+# deprecated macros
+AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
+
+# A hint is needed for aclocal from Automake <= 1.9.4:
+# AC_DEFUN([AC_PROG_INTLTOOL], ...)
+