2 # Run this to set up the build system: configure, makefiles, etc.
8 test -z "$srcdir" && srcdir
=.
13 (autoheader
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
15 echo "You must have autoconf installed to compile $package."
16 echo "Download the appropriate package for your distribution,"
17 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
21 (autoconf
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
23 echo "You must have autoconf installed to compile $package."
24 echo "Download the appropriate package for your distribution,"
25 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
29 (automake
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
31 echo "You must have automake installed to compile $package."
32 echo "Download the appropriate package for your system,"
33 echo "or get the source from one of the GNU ftp sites"
34 echo "listed in http://www.gnu.org/order/ftp.html"
38 (pkg-config
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
40 echo "You must have pkg-config installed to compile $package."
41 echo "Download the appropriate package for your system,"
42 echo "or get the source from http://pkgconfig.freedesktop.org/"
47 if test "$DIE" -eq 1; then
53 echo "Generating configuration files for $package, please wait...."
56 echo " running $* ..."
64 # Because git doesn't support empty directories
65 if [ ! -d "$srcdir/build-scripts" ]; then
66 mkdir
"$srcdir/build-scripts"
69 run_cmd aclocal
$ACLOCAL_FLAGS
71 run_cmd automake
--add-missing --copy
74 $srcdir/configure
&& echo