-
Notifications
You must be signed in to change notification settings - Fork 4
/
bootstrap
executable file
·49 lines (43 loc) · 1.31 KB
/
bootstrap
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
#!/bin/sh
echo /bin/rm -f config/shore-config.h
/bin/rm -f config/shore-config.h
OS=`uname`
if [ "$OS" = "SunOS" ] ; then
echo "Running autoreconf. Don't expect lightning speed ..."
fi
echo autoreconf --install --force
autoreconf --install --force
# configure: generate the Makefiles
# input: ./configure.status
# input: <dirs>/Makefile.in
#
echo ------------------------------------------------------------
echo
echo Run
echo ./configure
echo
echo ./configure --help
echo to see the options
echo
echo Example configurations:
echo For use with valgrind and to override CXX shell variable:
echo ./configure CXX=/usr/bin/g++ --enable-valgrind
echo For maximum debugging and tracing :
echo ./configure --with-debug-level3 --enable-checkrc --enable-trace
echo For lots of debugging and tracing :
echo ./configure --with-debug-level2 --enable-trace
echo For debugging and no tracing :
echo ./configure --with-debug-level1
echo
echo For SOLARIS, we suggest that you use --enable-dependendency-tracking and CC:
echo ./configure CXX=CC --enable-dependency-tracking
echo For no debugging and no tracing :
echo ./configure
echo
echo After you configure, run
echo make
echo
echo then, optionally,
echo make check
echo
echo ------------------------------------------------------------