missing-macros: extend fake-gtk-doc-check.m4 (fixes autoreconf in orbit2), provide...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 22 Dec 2010 09:33:06 +0000 (09:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 22 Dec 2010 09:33:06 +0000 (09:33 +0000)
SVN-Revision: 24787

tools/missing-macros/Makefile
tools/missing-macros/src/README
tools/missing-macros/src/m4/fake-gtk-doc-check.m4
tools/missing-macros/src/m4/fake-intltool.m4 [new file with mode: 0644]

index 8a2eb5fd51276032a86171c6cb2f32d188959481..4f7564662f590e3e7ac846e543f77cb3dd3e7b3c 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=missing-macros
-PKG_VERSION:=5
+PKG_VERSION:=6
 
 include $(INCLUDE_DIR)/host-build.mk
 
index 310735467e0c69b1d55d36a05d83dfa29d31c970..9d9fbfa8445217efcd98bf6d91634e834eaacb3c 100644 (file)
@@ -65,3 +65,7 @@ From OpenWrt:
 Always disable GTK docs.
 
   fake-gtk-doc-check.m4
+
+Provide intltool.m4 stubs to allow for autoreconf.
+
+  fake-intltool.m4
index b4954dda00bd04c186a1203e38511308c85a9b65..501881314b3ab2ea509879c90cf7d7eea233e97f 100644 (file)
@@ -2,4 +2,11 @@ dnl fake-gtk-doc-check.m4 serial 1 (OpenWrt)
 dnl Provide a fake GTK_DOC_CHECK macros which
 dnl always defines false.
 
-AC_DEFUN([GTK_DOC_CHECK],[AM_CONDITIONAL(ENABLE_GTK_DOC,false)])
+AC_DEFUN([GTK_DOC_CHECK],
+[
+       AM_CONDITIONAL([ENABLE_GTK_DOC], [false])
+       AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [false])
+       AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [false])
+       AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [false])
+       AM_CONDITIONAL([GTK_DOC_USE_REBASE], [false])
+])
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], ...)
+