]>
Commit | Line | Data |
---|---|---|
1f8b0db7 | 1 | #!/bin/sh |
2c8af686 | 2 | # Run this to generate all the initial makefiles, etc. |
1f8b0db7 | 3 | |
316407e2 GB |
4 | test -n "$srcdir" || srcdir=`dirname "$0"` |
5 | test -n "$srcdir" || srcdir=. | |
6 | ||
7 | olddir=`pwd` | |
8 | cd "$srcdir" | |
9 | ||
10 | INTLTOOLIZE=`which intltoolize` | |
11 | if test -z $INTLTOOLIZE; then | |
12 | echo "*** No intltoolize found, please install the intltool package ***" | |
13 | exit 1 | |
14 | fi | |
15 | ||
16 | AUTORECONF=`which autoreconf` | |
17 | if test -z $AUTORECONF; then | |
18 | echo "*** No autoreconf found, please install it ***" | |
19 | exit 1 | |
20 | fi | |
21 | ||
22 | if test -z `which autopoint`; then | |
23 | echo "*** No autopoint found, please install it ***" | |
24 | exit 1 | |
25 | fi | |
26 | ||
27 | autopoint --force | |
28 | AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose | |
29 | ||
30 | cd "$olddir" | |
31 | test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" | |
2c8af686 | 32 |