We need this here as well.
authorMartin Baulig <martin@home-of-linux.org>
Fri, 9 Jun 2000 01:05:14 +0000 (01:05 +0000)
committerMartin Baulig <martin@src.gnome.org>
Fri, 9 Jun 2000 01:05:14 +0000 (01:05 +0000)
2000-06-09  Martin Baulig  <martin@home-of-linux.org>

* gnome-common.m4: We need this here as well.

svn path=/trunk/; revision=1266

macros2/ChangeLog
macros2/Makefile.am
macros2/gnome-common.m4 [new file with mode: 0644]

index 762c22d..90baaaa 100644 (file)
@@ -1,3 +1,7 @@
+2000-06-09  Martin Baulig  <martin@home-of-linux.org>
+
+       * gnome-common.m4: We need this here as well.
+
 2000-05-29  Martin Baulig  <baulig@suse.de>
 
        * Makefile.am: New file. Install this stuff into
index 47fd694..a8af26a 100644 (file)
@@ -1,7 +1,8 @@
 ## Please update this variable if any new macros are created
 
 HACK_MACROS=                                   \
-  gnome.m4
+  gnome.m4                                     \
+  gnome-common.m4
 
 EXTRA_DIST=$(HACK_MACROS) autogen.sh
 MAINTAINERCLEANFILES=macros2.dep
diff --git a/macros2/gnome-common.m4 b/macros2/gnome-common.m4
new file mode 100644 (file)
index 0000000..f2a8304
--- /dev/null
@@ -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`/gnome2-macros
+       AC_SUBST(GNOME_ACLOCAL_DIR)
+
+       ACLOCAL="$ACLOCAL -I $GNOME_ACLOCAL_DIR"
+])
+