blob: 72f2ac80ee7e69d827d73497669d55bb9edf832b (
plain)
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
26
27
28
29
|
#!/bin/sh
#
# $Id: autogen.sh 1128 2008-08-30 22:32:00Z rathann $
#
# run this to generate all the initial makefiles, etc.
srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd "$srcdir"
AUTORECONF=${AUTORECONF-autoreconf}
if ! type $AUTORECONF >/dev/null 2>&1; then
echo "**Error**: Missing \`autoreconf' program." >&2
echo "You will need the autoconf and automake packages." >&2
echo "You can download them from ftp://ftp.gnu.org/pub/gnu/." >&2
exit 1
fi
$AUTORECONF -v --install || exit $?
cd "$ORIGDIR" || exit $?
test "$1" = noconfig && NOCONFIGURE=1
if test -z "$NOCONFIGURE"; then
"$srcdir"/configure "$@"
fi
|