File: s_config

package info (click to toggle)
db5.3 5.3.28-12+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 163,332 kB
  • ctags: 82,990
  • sloc: ansic: 448,411; java: 111,824; tcl: 80,544; sh: 44,326; cs: 33,697; cpp: 21,604; perl: 14,557; xml: 10,799; makefile: 4,106; yacc: 1,003; awk: 965; sql: 801; erlang: 342; python: 216; php: 24; asm: 14
file content (45 lines) | stat: -rwxr-xr-x 1,322 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/sh -
#	$Id$
#
# 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_java/*.m4 > aclocal.m4

echo "autoconf: running autoheader to build config.hin..."
rm -f config.hin
autoheader
chmod 644 config.hin

echo "autoconf: running autoconf to build configure"
rm -f configure
autoconf

# Edit version information we couldn't pre-compute.
sed -e "s/__EDIT_DB_VERSION_FAMILY__/$DB_VERSION_FAMILY/g" \
    -e "s/__EDIT_DB_VERSION_RELEASE__/$DB_VERSION_RELEASE/g" \
    -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \
    -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \
    -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \
    -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \
    -e "s/__EDIT_DB_VERSION_FULL_STRING__/$DB_VERSION_FULL_STRING/g" \
    -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \
    -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" configure > configure.version
mv configure.version configure

rm -rf autom4te.cache
chmod 755 configure

chmod 755 config.guess config.sub install-sh

echo "autoconf: running autoconf to build configure (lang/sql/sqlite/)"
cp aclocal.m4 ../lang/sql/sqlite/
cd ../lang/sql/sqlite/
rm -f configure
autoconf
cd ../../../dist/