summaryrefslogtreecommitdiff
path: root/storage/mroonga/vendor/groonga/autogen.sh
blob: 66184bf13be10592918a81aaada7f17cde577e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

./version-gen.sh

case `uname -s` in
Darwin)
        homebrew_aclocal=/usr/local/share/aclocal
        if [ -d $homebrew_aclocal ]; then
          ACLOCAL_ARGS="$ACLOCAL_ARGS -I $homebrew_aclocal"
        fi
        gettext_aclocal="$(echo /usr/local/Cellar/gettext/*/share/aclocal)"
        if [ -d $gettext_aclocal ]; then
          ACLOCAL_ARGS="$ACLOCAL_ARGS -I $gettext_aclocal"
        fi
	;;
FreeBSD)
	ACLOCAL_ARGS="$ACLOCAL_ARGS -I /usr/local/share/aclocal/"
	;;
esac

if [ ! -e vendor/mruby-source/.git ]; then
  rm -rf vendor/mruby-source
fi
git submodule update --init

${AUTORECONF:-autoreconf} --force --install