Unidiff1 files changed, 11 insertions, 0 deletions
|
diff --git a/configure b/configure index 3b474c6..1652527 100755 --- a/ configure+++ b/ configure |
|
@@ -24,16 +24,27 @@ then |
24 | echo ' correctly. If you have set $OPIEDIR in your .profile or .login, you ' |
24 | echo ' correctly. If you have set $OPIEDIR in your .profile or .login, you ' |
25 | echo ' will need to log out and log in again to make the setting effective.' |
25 | echo ' will need to log out and log in again to make the setting effective.' |
26 | echo |
26 | echo |
27 | echo |
27 | echo |
28 | exit 1 |
28 | exit 1 |
29 | fi |
29 | fi |
30 | rm .test.qpe. |
30 | rm .test.qpe. |
31 | |
31 | |
| |
32 | if [ '!' -f $TMAKEPATH/tmake.conf ] |
| |
33 | then |
| |
34 | # You have tmake. We'll regenerate the file for you... |
| |
35 | echo ' The environment variable $TMAKEPATH is not set correclty. ' |
| |
36 | echo ' It should be set to the tmake path' |
| |
37 | echo |
| |
38 | echo ' Please read the INSTALL file for instructions on how to set $TMAKEPATH' |
| |
39 | echo ' to the environment variable correctly.' |
| |
40 | exit 1 |
| |
41 | fi |
| |
42 | |
32 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\.[0-9]*\.[0-9]*.*".*/\1/p' <library/version.h) |
43 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\.[0-9]*\.[0-9]*.*".*/\1/p' <library/version.h) |
33 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION "[0-9]*\.\([0-9]\)\.[0-9]*.*".*/\1/p' <library/version.h) |
44 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION "[0-9]*\.\([0-9]\)\.[0-9]*.*".*/\1/p' <library/version.h) |
34 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION "[0-9]*\.[0-9]*\.\([0-9]*\).*".*/\1/p' <library/version.h) |
45 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION "[0-9]*\.[0-9]*\.\([0-9]*\).*".*/\1/p' <library/version.h) |
35 | |
46 | |
36 | TOMAKE= |
47 | TOMAKE= |
37 | |
48 | |
38 | if grep -q 'VERSION_STR.*"3' $QTDIR/include/qglobal.h |
49 | if grep -q 'VERSION_STR.*"3' $QTDIR/include/qglobal.h |
39 | then |
50 | then |
|