aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-autogen.sh
diff options
context:
space:
mode:
authorMartin Baulig <baulig@suse.de>2000-05-29 23:17:17 +0800
committerMartin Baulig <martin@src.gnome.org>2000-05-29 23:17:17 +0800
commit6c365b1f6d80de93920dd559322beca472bd601c (patch)
treee0042ab13533d8dc6209db367a2d639ffd98f069 /macros/gnome-autogen.sh
parentf44628eb847d96f73657c01730b1fa78daa9d382 (diff)
downloadgsoc2013-evolution-6c365b1f6d80de93920dd559322beca472bd601c.tar
gsoc2013-evolution-6c365b1f6d80de93920dd559322beca472bd601c.tar.gz
gsoc2013-evolution-6c365b1f6d80de93920dd559322beca472bd601c.tar.bz2
gsoc2013-evolution-6c365b1f6d80de93920dd559322beca472bd601c.tar.lz
gsoc2013-evolution-6c365b1f6d80de93920dd559322beca472bd601c.tar.xz
gsoc2013-evolution-6c365b1f6d80de93920dd559322beca472bd601c.tar.zst
gsoc2013-evolution-6c365b1f6d80de93920dd559322beca472bd601c.zip
If `USE_GNOME_2_MACROS' is set, use the GNOME 2.0 macros from the
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=3259
Diffstat (limited to 'macros/gnome-autogen.sh')
-rwxr-xr-xmacros/gnome-autogen.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/macros/gnome-autogen.sh b/macros/gnome-autogen.sh
index 33d98a62f0..c667827a0f 100755
--- a/macros/gnome-autogen.sh
+++ b/macros/gnome-autogen.sh
@@ -1,6 +1,11 @@
#!/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