File: autogen.sh

package info (click to toggle)
mdds 2.1.1-2
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 5,600 kB
  • sloc: cpp: 20,156; sh: 1,369; python: 603; makefile: 534
file content (16 lines) | stat: -rwxr-xr-x 210 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

olddir=`pwd`
cd $srcdir

autoreconf -i || {
    echo "error: autoreconf failed"
    exit 1
}

if test x$NOCONFIGURE = x; then
    ./configure $@
fi