You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
546 B
Bash
28 lines
546 B
Bash
#!/bin/sh
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
|
|
LIBTOOLIZE_FLAGS="--copy --force"
|
|
ACLOCAL=${ACLOCAL:-aclocal}
|
|
AUTOHEADER=${AUTOHEADER:-autoheader}
|
|
AUTOMAKE=${AUTOMAKE:-automake}
|
|
AUTOMAKE_FLAGS="--add-missing --copy"
|
|
AUTOCONF=${AUTOCONF:-autoconf}
|
|
|
|
ARGV0=$0
|
|
|
|
set -e
|
|
|
|
|
|
run() {
|
|
echo "$ARGV0: running \`$@'"
|
|
$@
|
|
}
|
|
|
|
run $LIBTOOLIZE $LIBTOOLIZE_FLAGS
|
|
run $ACLOCAL $ACLOCAL_FLAGS
|
|
run $AUTOHEADER
|
|
run $AUTOMAKE $AUTOMAKE_FLAGS
|
|
run $AUTOCONF
|
|
echo "Now type './configure ...' and 'make' to compile."
|