aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: 69a0b2fc73c8431f425ad8871c605ae2b59befa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
(
  cd "$srcdir" &&
  (
    rm -rf autom4te.cache
    rm -f aclocal.m4 ltmain.sh config.cache

    autoreconf --symlink --install || exit 1
  )
)

test -n "$NOCONFIGURE" || exec $srcdir/configure -C "$@"

exit 0