fab7a71f11
I don't expect ragel to be creating too much noise in its generated output, and including this in-tree helps users right now. We can revisit this later if it proved to be too much trouble.
28 lines
612 B
Bash
Executable File
28 lines
612 B
Bash
Executable File
#!/bin/sh
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
test -n "$srcdir" || srcdir=`dirname "$0"`
|
|
test -n "$srcdir" || srcdir=.
|
|
|
|
olddir=`pwd`
|
|
cd $srcdir
|
|
|
|
echo -n "checking for pkg-config... "
|
|
which pkg-config || {
|
|
echo "*** No pkg-config found, please install it ***"
|
|
exit 1
|
|
}
|
|
|
|
echo -n "checking for autoreconf... "
|
|
which autoreconf || {
|
|
echo "*** No autoreconf found, please install it ***"
|
|
exit 1
|
|
}
|
|
|
|
echo "running autoreconf --force --install --verbose"
|
|
autoreconf --force --install --verbose || exit $?
|
|
|
|
cd $olddir
|
|
echo "running configure $@"
|
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|