Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 37609 | Differences between
and this patch

Collapse All | Expand All

(-)MUTE_fileSharing-0.2-rc1_UnixSource/MUTE/configure (-55 / +2 lines)
Lines 32-75 Link Here
32
#
32
#
33
33
34
34
35
while [ -z "$userEntry" ]
35
userEntry="1"
36
do
37
    echo "select platform:"
38
39
    echo "  1 --  GNU/Linux X86"
40
    echo "  2 --  GNU/Linux PPC"
41
    echo "  3 --  FreeBSD X86"
42
    echo "  4 --  MacOSX"
43
    echo "  5 --  Solaris"
44
    echo "  6 --  Win32 using MinGW"
45
    echo "  q --  quit"
46
47
    echo ""
48
    echo -n "> "
49
50
    read userEntry
51
52
	
53
	if [ "$userEntry" == "q" ]
54
    then
55
        exit
56
    fi
57
58
59
    # use ASCII comparison.
60
61
	if [[ "$userEntry" > "6" ]]
62
    then
63
        userEntry=""
64
    fi
65
66
    if [[ "$userEntry" < "1" ]]
67
    then
68
        userEntry=""
69
    fi
70
71
done
72
73
36
74
# only needed for win32 at the moment (-lwsock32)
37
# only needed for win32 at the moment (-lwsock32)
75
extraWxLibs=""
38
extraWxLibs=""
Lines 327-349 Link Here
327
esac
290
esac
328
291
329
292
330
echo ""
293
userEntry="/usr/bin/wx-config"
331
echo ""
332
echo "Enter full path to wxWindows wx-config script."
333
echo "   Example:   /usr/bin/wx-config"
334
echo "To us the default setting, or if you do not plan to build the"
335
echo "wxWindows-based GUI, leave this blank."
336
337
echo ""
338
echo -n "> "
339
340
read userEntry
341
342
343
if [ "$userEntry" == "" ]
344
then
345
    userEntry="/usr/bin/wx-config"
346
fi
347
294
348
echo -e "# Auto-generated by MUTE/configure for a generic platform." \
295
echo -e "# Auto-generated by MUTE/configure for a generic platform." \
349
     "\n# Do not edit manually.\n" \
296
     "\n# Do not edit manually.\n" \
(-)MUTE_fileSharing-0.2-rc1_UnixSource/runToBuild (-39 / +2 lines)
Lines 2-45 Link Here
2
chmod u+x ./configure
2
chmod u+x ./configure
3
./configure
3
./configure
4
4
5
5
userEntry="1"
6
7
while [ -z "$userEntry" ]
8
do
9
    echo ""
10
    echo ""
11
    echo "select build:"
12
13
    echo "  1 --  wxWindows graphical UI"
14
    echo "  2 --  Console-only text UI"
15
    echo "  q --  quit"
16
17
    echo ""
18
    echo -n "> "
19
20
    read userEntry
21
22
	
23
	if [ "$userEntry" == "q" ]
24
    then
25
        exit
26
    fi
27
28
29
    # use ASCII comparison.
30
31
	if [[ "$userEntry" > "2" ]]
32
    then
33
        userEntry=""
34
    fi
35
36
    if [[ "$userEntry" < "1" ]]
37
    then
38
        userEntry=""
39
    fi
40
41
done
42
43
6
44
cd crypto
7
cd crypto
45
make libcrypto.a
8
make libcrypto.a
Lines 76-79 Link Here
76
        cd ../../../../../../
39
        cd ../../../../../../
77
    ;;
40
    ;;
78
41
79
esac
42
esac

Return to bug 37609