aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-common.m4
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-02-04 21:04:51 +0800
committerMartin Baulig <martin@src.gnome.org>1999-02-04 21:04:51 +0800
commit23e6445f8ba8f0173ac2c0f5e65985f0ffa9e2c2 (patch)
treea57570cbafe5a325ca6eaa4a00271326ea2f572d /macros/gnome-common.m4
parent9760a8f9712378bbd32b8cd502bf4ebf53104c51 (diff)
downloadgsoc2013-evolution-23e6445f8ba8f0173ac2c0f5e65985f0ffa9e2c2.tar.gz
gsoc2013-evolution-23e6445f8ba8f0173ac2c0f5e65985f0ffa9e2c2.tar.zst
gsoc2013-evolution-23e6445f8ba8f0173ac2c0f5e65985f0ffa9e2c2.zip
New automake conditional that's always false.
1999-02-04 Martin Baulig <martin@home-of-linux.org> * aclocal-include.m4 (INSIDE_GNOME_COMMON): New automake conditional that's always false. * gnome-common.m4: New file. This defines a `GNOME_COMMON_INIT' macro that should be used in all GNOME Applications outside the CVS tree. * Makefile.am: If we are `INSIDE_GNOME_COMMON', install all $(MACROS), autogen.sh, gnome-common.m4 and a newly created gnome-macros.dep in `$(datadir)/aclocal/gnome'. svn path=/trunk/; revision=640
Diffstat (limited to 'macros/gnome-common.m4')
-rw-r--r--macros/gnome-common.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/macros/gnome-common.m4 b/macros/gnome-common.m4
new file mode 100644
index 0000000000..b72382970b
--- /dev/null
+++ b/macros/gnome-common.m4
@@ -0,0 +1,14 @@
+# gnome-common.m4
+#
+# This only for packages that are not in the GNOME CVS tree.
+
+dnl GNOME_COMMON_INIT
+
+AC_DEFUN([GNOME_COMMON_INIT],
+[
+ GNOME_ACLOCAL_DIR=`$ACLOCAL --print-ac-dir`/gnome
+ AC_SUBST(GNOME_ACLOCAL_DIR)
+
+ ACLOCAL="$ACLOCAL -I $GNOME_ACLOCAL_DIR"
+])
+