summaryrefslogtreecommitdiff
path: root/bin/gnome-autogen.sh
blob: c7e1b2669eb9a38775ad50ba09398f451712834b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

if test -z "$GNOME_DATADIR" ; then
  GNOME_DATADIR=`gnome-config --datadir`
fi

if test -n "$USE_GNOME2_MACROS" ; then
  export GNOME_COMMON_MACROS_DIR="$GNOME_DATADIR/aclocal/gnome2-macros"
else
  export GNOME_COMMON_MACROS_DIR="$GNOME_DATADIR/aclocal/gnome-macros"
fi

export ACLOCAL_FLAGS="-I $GNOME_COMMON_MACROS_DIR $ACLOCAL_FLAGS"
. $GNOME_COMMON_MACROS_DIR/autogen.sh