Debian Codegraph @

3rdparty/qtsingleapplication-2.6_1-opensource/configure

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 if [scip-shell system . . `[`. "x$1" != "x" -a "x$1" != "x-library" ]; then
4 echoscip-shell system . . echo. "Usage: $0 [-library]"
5 echoscip-shell system . . echo.
6 echoscip-shell system . . echo. "-library: Build the component as a dynamic library (DLL). Default is to"
7 echoscip-shell system . . echo. " include the component source code directly in the application."
8 echoscip-shell system . . echo. " A DLL may be preferable for technical or licensing (LGPL) reasons."
9 echoscip-shell system . . echo.
10 exit 0
11 fi
12
13
14 # only ask to accept the license text once
15 if [scip-shell system . . `[`. ! -f .licenseAccepted ]; then
16 # determine if opensource or commercial package
17 if [scip-shell system . . `[`. -f LICENSE.LGPL ]; then
18 # opensource edition
19 while truescip-shell system . . true.; do
20 echoscip-shell system . . echo.
21 echoscip-shell system . . echo. "You are licensed to use this software under the terms of"
22 echoscip-shell system . . echo. "the GNU General Public License (GPL) version 3, or"
23 echoscip-shell system . . echo. "the GNU Lesser General Public License (LGPL) version 2.1"
24 echoscip-shell system . . echo. "with certain additional extra rights as specified in the"
25 echoscip-shell system . . echo. "Nokia Qt LGPL Exception version 1.1."
26 echoscip-shell system . . echo.
27 echoscip-shell system . . echo. "Type 'G' to view the GNU General Public License (GPL) version 3."
28 echoscip-shell system . . echo. "Type 'L' to view the GNU Lesser General Public License (LGPL) version 2.1."
29 echoscip-shell system . . echo. "Type 'E' to view the Nokia Qt LGPL Exception version 1.1."
30 echoscip-shell system . . echo. "Type 'yes' to accept this license offer."
31 echoscip-shell system . . echo. "Type 'no' to decline this license offer."
32 echoscip-shell system . . echo.
33 echoscip-shell system . . echo. "Do you accept the terms of this license? "
34 read answer
35 echoscip-shell system . . echo.
36
37 if [scip-shell system . . `[`. "x$answer" = "xno" ]; then
38 echoscip-shell system . . echo. "You are not licensed to use this software."
39 echoscip-shell system . . echo.
40 exit 1
41 elif [scip-shell system . . `[`. "x$answer" = "xyes" ]; then
42 echoscip-shell system . . echo. license accepted > .licenseAccepted
43 break
44 elif [scip-shell system . . `[`. "x$answer" = "xe" -o "x$answer" = "xE" ]; then
45 morescip-shell system . . more. LGPL_EXCEPTION.txt
46 elif [scip-shell system . . `[`. "x$answer" = "xl" -o "x$answer" = "xL" ]; then
47 morescip-shell system . . more. LICENSE.LGPL
48 elif [scip-shell system . . `[`. "x$answer" = "xg" -o "x$answer" = "xG" ]; then
49 morescip-shell system . . more. LICENSE.GPL3
50 fi
51 done
52 else
53 while truescip-shell system . . true.; do
54 echoscip-shell system . . echo.
55 echoscip-shell system . . echo. "Please choose your region."
56 echoscip-shell system . . echo.
57 echoscip-shell system . . echo. "Type 1 for North or South America."
58 echoscip-shell system . . echo. "Type 2 for anywhere outside North and South America."
59 echoscip-shell system . . echo.
60 echoscip-shell system . . echo. "Select: "
61 read region
62 if [scip-shell system . . `[`. "x$region" = "x1" ]; then
63 licenseFile=LICENSE.US
64 break;
65 elif [scip-shell system . . `[`. "x$region" = "x2" ]; then
66 licenseFile=LICENSE.NO
67 break;
68 fi
69 done
70 while truescip-shell system . . true.; do
71 echoscip-shell system . . echo.
72 echoscip-shell system . . echo. "License Agreement"
73 echoscip-shell system . . echo.
74 echoscip-shell system . . echo. "Type '?' to view the Qt Solutions Commercial License."
75 echoscip-shell system . . echo. "Type 'yes' to accept this license offer."
76 echoscip-shell system . . echo. "Type 'no' to decline this license offer."
77 echoscip-shell system . . echo.
78 echoscip-shell system . . echo. "Do you accept the terms of this license? "
79 read answer
80 echoscip-shell system . . echo.
81
82 if [scip-shell system . . `[`. "x$answer" = "xno" ]; then
83 echoscip-shell system . . echo. "You are not licensed to use this software."
84 echoscip-shell system . . echo.
85 exit 1
86 elif [scip-shell system . . `[`. "x$answer" = "xyes" ]; then
87 echoscip-shell system . . echo. license accepted > .licenseAccepted
88 cpscip-shell system . . cp. "$licenseFile" LICENSE
89 rmscip-shell system . . rm. LICENSE.US
90 rmscip-shell system . . rm. LICENSE.NO
91 break
92 elif [scip-shell system . . `[`. "x$answer" = "x?" ]; then
93 morescip-shell system . . more. "$licenseFile"
94 fi
95 done
96 fi
97 fi
98
99 rmscip-shell system . . rm. -f config.pri
100 if [scip-shell system . . `[`. "x$1" = "x-library" ]; then
101 echoscip-shell system . . echo. "Configuring to build this component as a dynamic library."
102 echoscip-shell system . . echo. "SOLUTIONS_LIBRARY = yes" > config.pri
103 fi
104
105 echoscip-shell system . . echo.
106 echoscip-shell system . . echo. "This component is now configured."
107 echoscip-shell system . . echo.
108 echoscip-shell system . . echo. "To build the component library (if requested) and example(s),"
109 echoscip-shell system . . echo. "run qmake and your make command."
110 echoscip-shell system . . echo.
111 echoscip-shell system . . echo. "To remove or reconfigure, run make distclean."
112 echoscip-shell system . . echo.