1#!/bin/sh - 2# $Id$ 3# 4# Build the autoconfiguration files. 5 6trap 'rm -f aclocal.m4 ; exit 0' 0 1 2 3 13 15 7 8. ./RELEASE 9 10echo "autoconf: building aclocal.m4..." 11cat aclocal/*.m4 aclocal_java/*.m4 > aclocal.m4 12 13echo "autoconf: running autoheader to build config.hin..." 14rm -f config.hin 15autoheader 16chmod 444 config.hin 17 18echo "autoconf: running autoconf to build configure" 19rm -f configure 20autoconf 21 22# Edit version information we couldn't pre-compute. 23sed -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \ 24 -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \ 25 -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \ 26 -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \ 27 -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \ 28 -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure > configure.version 29mv configure.version configure 30 31rm -rf autom4te.cache 32chmod 555 configure 33 34chmod 555 config.guess config.sub install-sh 35