[go: up one dir, main page]

File: autogen.sh

package info (click to toggle)
filetea 0.1.18-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,228 kB
  • sloc: javascript: 16,530; ansic: 1,830; sh: 151; makefile: 117
file content (25 lines) | stat: -rwxr-xr-x 511 bytes parent folder | download | duplicates (5)
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
#!/bin/sh

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

PROJECT="FileTea"

test "$srcdir" = "." || {
        echo "You must run this script in the top-level directory"
        exit 1
}

AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
        echo "*** No autoreconf found ***"
        exit 1
else
        ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install || exit $?
fi

if test x$NOCONFIGURE = x; then
        ./configure "$@"
else
        echo Skipping configure process.
fi