Debian Codegraph @

dist/s_config

raw ◀ ▶
1 Debian patch touch this file
1 #!/bin/sh -
2 # $Id$
3 #
4 # Build the autoconfiguration files.
5
6 trap 'rm -f aclocal.m4 ; exit 0' 0 1 2 3 13 15
7
8 . ./RELEASE
9
10 echo "autoconf: building aclocal.m4..."
11 cat aclocal/*.m4 aclocal_java/*.m4 > aclocal.m4
12
13 echo "autoconf: running autoheader to build config.hin..."
14 rm -f config.hin
15 autoheader
16 chmod 644 config.hin
17
18 echo "autoconf: running autoconf to build configure"
19 rm -f configure
20 autoconf
21
22 # Edit version information we couldn't pre-compute.
23 sed -e "s/__EDIT_DB_VERSION_FAMILY__/$DB_VERSION_FAMILY/g" \
24 -e "s/__EDIT_DB_VERSION_RELEASE__/$DB_VERSION_RELEASE/g" \
25 -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \
26 -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \
27 -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \
28 -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \
29 -e "s/__EDIT_DB_VERSION_FULL_STRING__/$DB_VERSION_FULL_STRING/g" \
30 -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \
31 -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure > configure.version
32 mv configure.version configure
33
34 rm -rf autom4te.cache
35 chmod 755 configure
36
37 chmod 755 config.guess config.sub install-sh
•38
39 echo "autoconf: running autoconf to build configure (lang/sql/sqlite/)"
40 cp aclocal.m4 ../lang/sql/sqlite/
41 cd ../lang/sql/sqlite/
42 rm -f configure
43 autoconf
44 cd ../../../dist/
45