File: autogen.sh

package info (click to toggle)
valadoc 0.30.0~git20160518-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,516 kB
  • ctags: 4
  • sloc: makefile: 1,029; sh: 95
file content (18 lines) | stat: -rwxr-xr-x 352 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.

olddir=`pwd`
cd $srcdir

AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
        echo "*** No autoreconf found, please install it ***"
        exit 1
fi

autoreconf --force --install --verbose

cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"