summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 49af654ccc735c5873cc176aab08d41603d4ed5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

if [ `whoami` = ds ] ; then
  confargs="$confargs --enable-gtk-doc"
fi

# install pre-commit hook for doing clean commits
if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
then
    rm -f .git/hooks/pre-commit
    ln -s ../../misc/pre-commit.hook .git/hooks/pre-commit
fi

autoreconf -i -f
#patch -p0 <patch-configure
if [ "$NOCONFIGURE" = "" ] ; then
  ./configure $confargs $@
fi