#!/bin/sh -x # Build the autoconfiguration files. trap 'rm -f aclocal.m4 ; exit 0' 0 1 2 3 13 15 . ./RELEASE echo "autoconf: building aclocal.m4..." cat aclocal/*.m4 > aclocal.m4 echo "autoconf: running autoheader to build config.hin..." rm -f config.hin autoheader --warnings=all chmod 444 config.hin echo "autoconf: running autoconf to build configure" rm -f configure autoconf # Edit version information we couldn't pre-compute. (echo "1,\$s/__EDIT_SKIPLIST_VERSION_MAJOR__/$SKIPLIST_VERSION_MAJOR/g" && echo "1,\$s/__EDIT_SKIPLIST_VERSION_MINOR__/$SKIPLIST_VERSION_MINOR/g" && echo "1,\$s/__EDIT_SKIPLIST_VERSION_PATCH__/$SKIPLIST_VERSION_PATCH/g" && echo "1,\$s/__EDIT_SKIPLIST_VERSION_STRING__/$SKIPLIST_VERSION_STRING/g" && echo "1,\$s/__EDIT_SKIPLIST_VERSION__/$SKIPLIST_VERSION/g" && echo "w" && echo "q") | ed -s configure rm -rf autom4te.cache chmod 555 configure chmod 555 config.guess config.sub install-sh