summaryrefslogtreecommitdiffstats
path: root/tools/missing-macros/src/m4/fake-intltool.m4
diff options
context:
space:
mode:
Diffstat (limited to 'tools/missing-macros/src/m4/fake-intltool.m4')
-rw-r--r--tools/missing-macros/src/m4/fake-intltool.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/missing-macros/src/m4/fake-intltool.m4 b/tools/missing-macros/src/m4/fake-intltool.m4
new file mode 100644
index 000000000..352053c28
--- /dev/null
+++ b/tools/missing-macros/src/m4/fake-intltool.m4
@@ -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], ...)
+