2005-02-21 19:51:33 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
2020-10-23 17:00:13 +00:00
|
|
|
errtrace() {
|
2020-09-06 03:54:32 +00:00
|
|
|
echo 1>&2 \
|
|
|
|
"build requires autoconf automake libtool m4 pcre pcre-devel pkg-config"
|
|
|
|
}
|
|
|
|
|
|
|
|
trap errtrace ERR
|
|
|
|
|
2009-08-29 11:39:19 +00:00
|
|
|
set -e
|
|
|
|
|
2013-11-10 13:59:43 +00:00
|
|
|
if [ ! -f configure.ac -o ! -f COPYING ]; then
|
|
|
|
echo "Doesn't look like you're in the source directory" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
# old autoreconf/aclocal versions fail hard if m4 doesn't exist
|
|
|
|
mkdir -p m4
|
2013-11-10 13:41:09 +00:00
|
|
|
autoreconf --force --install
|
2013-06-29 09:45:29 +00:00
|
|
|
echo "Now type './configure ...' and 'make' to compile."
|