summaryrefslogtreecommitdiff
path: root/configure
Side-by-side diff
Diffstat (limited to 'configure') (more/less context) (ignore whitespace changes)
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 3b474c6..1652527 100755
--- a/configure
+++ b/configure
@@ -31,2 +31,13 @@ rm .test.qpe.
+if [ '!' -f $TMAKEPATH/tmake.conf ]
+then
+ # You have tmake. We'll regenerate the file for you...
+ echo ' The environment variable $TMAKEPATH is not set correclty. '
+ echo ' It should be set to the tmake path'
+ echo
+ echo ' Please read the INSTALL file for instructions on how to set $TMAKEPATH'
+ echo ' to the environment variable correctly.'
+ exit 1
+fi
+
VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\.[0-9]*\.[0-9]*.*".*/\1/p' <library/version.h)