2 # Run this to generate all the initial makefiles, etc.
7 test -z "$srcdir" && srcdir
=.
11 (test -f $srcdir/configure.ac
) ||
{
12 echo "**Error**: Directory "\
`$srcdir\'" does not look like the top-level package directory"
16 (pkg-config --version) < /dev/null > /dev/null 2>&1 || {
18 echo "You must have pkg-config installed to compile $package."
19 echo "Download the appropriate package for your distribution."
24 if test -z "$*" -a "$NOCONFIGURE" != 1; then
25 echo "**Warning**: I am going to run \`configure
' with no arguments."
26 echo "If you wish to pass any to it, please specify them on the"
27 echo \`$0\'" command line."
31 echo "Processing configure.ac"
33 (cd $srcdir; autoreconf --install --verbose)
35 if [ "$NOCONFIGURE" = 1 ]; then
36 echo "Done. configure skipped."
39 echo "Running $srcdir/configure $@ ..."
40 $srcdir/configure "$@" && echo "Now type 'make' to compile." || exit 1