summaryrefslogtreecommitdiff
path: root/bin/gnome-autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gnome-autogen.sh')
-rwxr-xr-xbin/gnome-autogen.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/gnome-autogen.sh b/bin/gnome-autogen.sh
new file mode 100755
index 00000000..c667827a
--- /dev/null
+++ b/bin/gnome-autogen.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+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
+