File: bootstrap.sh

package info (click to toggle)
snoopy 2.3.1-2~bpo8+1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,024 kB
  • sloc: ansic: 2,916; sh: 460; makefile: 384
file content (57 lines) | stat: -rwxr-xr-x 736 bytes parent folder | download | duplicates (2)
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
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash



### Signal success
#
set +x
echo -e "\nStarting AutoTools run:\n"



### Shell setup
#
# Treat all errors as fatal and trace the progress
#
set -e
set -x



### Clear cache
#
if [ -d autom4te.cache ]; then
    rm -rf autom4te.cache
fi



### Bug in aclocal: manually create m4 directory if it does not exist
#
if [ ! -d build/m4 ]; then
    mkdir -p build/m4
fi



### Run autotools
#
#libtoolize --install --copy --force
#aclocal
#automake --add-missing --copy
#autoconf
#autoreconf -i   # This is the new recommended way
autoreconf -i -v



### Remove stale/backup files
#
rm -f config.h.in~



### Signal success and exit
#
set +x
echo -e "\nAutoTools run was completed sucessfully. You should run ./configure now.\n"