annotate contrib/splicex/.configure @ 688:2e33b56d4f0d draft

SpliceX improvements
author resdb <resdb@d3v11-VM.(none)>
date Sun, 23 Oct 2011 08:31:11 -0500
parents
children 24a6ba1d8657
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
688
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
1 #!/bin/bash
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
2 clear
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
3 echo -e "\033[1;31m
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
4 __________ _ _ __ __ ______
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
5 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / /
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
6 / / / /\___ \| '_ \| | |/ __/ _ \\\\\\ / / / / /
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
7 / / / / ___) | |_) | | | (_| __// \\ / / / /
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
8 /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
9 |_|
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
10 \033[1;33m
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
11 .:Brute Force Utilities For GNU/Linux:.
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
12 \033[0;0m
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
13
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
14 SpliceX is free software: you can redistribute it and/or modify it under
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
15 the terms of the GNU General Public License as published by the Free
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
16 Software Foundation, either version 3 of the License, or (at your option)
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
17 any later version.
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
18
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
19 SpliceX is distributed in the hope that it will be useful, but WITHOUT
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
22 for more details. <http://www.gnu.org/licenses/>
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
23
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
24 "
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
25
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
26 if [[ $(id -u) != 0 ]]; then
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
27 echo 'root privileges required!..Quiting...'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
28 exit 1
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
29 fi
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
30
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
31 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
32 echo 'CONFIGURE: '
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
33 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
34 echo -ne 'checking for python'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
35 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
36 echo -ne '.'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
37 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
38 echo -ne '.'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
39 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
40 echo -ne '.'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
41 if which python >/dev/null; then
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
42 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
43 echo -ne ' python found :-)'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
44 echo
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
45 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
46 else
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
47 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
48 echo -ne ' python not found. Quiting... :-('
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
49 echo
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
50 exit 1
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
51 fi
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
52
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
53 echo -ne 'checking for man'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
54 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
55 echo -ne '.'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
56 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
57 echo -ne '.'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
58 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
59 echo -ne '.'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
60 if which man >/dev/null; then
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
61 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
62 echo -ne ' man found :-)'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
63 echo
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
64 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
65 else
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
66 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
67 echo -ne ' man not found. Quiting... :-('
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
68 echo
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
69 exit 1
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
70 fi
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
71
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
72 PYPATH=`which python`
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
73 echo "configuring splicex for $PYPATH"
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
74 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
75 echo -ne '.'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
76 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
77 echo -ne '.'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
78 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
79 echo -ne '.'
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
80 sed -e s^PYTHON^"$PYPATH"^g src/splicex.py >src/splicex.cp
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
81 sed -e s^PYTHON^"$PYPATH"^g src/splicex-deshadow.py >src/splicex-deshadow.cp
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
82 echo "configured...continuing \`make install'"
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
83 sleep .3
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
84 echo
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
85 echo 'INSTALL: '
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
86 sleep .3