2000-05-29 Martin Baulig <baulig@suse.de>
* gnome-autogen.sh: If `USE_GNOME_2_MACROS' is set, use the
GNOME 2.0 macros from the `macros2' directory.
svn path=/trunk/; revision=1254
2000-05-29 Martin Baulig <baulig@suse.de>
+ * gnome-autogen.sh: If `USE_GNOME_2_MACROS' is set, use the
+ GNOME 2.0 macros from the `macros2' directory.
+
+2000-05-29 Martin Baulig <baulig@suse.de>
+
* gnome-common.m4, Makefile.am: Install macros to
`$(datadir)/aclocal/gnome-macros' when INSIDE_GNOME_COMMON.
#!/bin/sh
-export GNOME_COMMON_MACROS_DIR=`gnome-config --datadir`/aclocal/gnome-macros
+if test -n "$USE_GNOME_2_MACROS" ; then
+ export GNOME_COMMON_MACROS_DIR=`gnome-config --datadir`/aclocal/gnome2-macros
+else
+ export GNOME_COMMON_MACROS_DIR=`gnome-config --datadir`/aclocal/gnome-macros
+fi
+
export ACLOCAL_FLAGS="-I $GNOME_COMMON_MACROS_DIR $ACLOCAL_FLAGS"
. $GNOME_COMMON_MACROS_DIR/autogen.sh