summaryrefslogtreecommitdiff
path: root/configure
authorzecke <zecke>2002-03-01 19:22:02 (UTC)
committer zecke <zecke>2002-03-01 19:22:02 (UTC)
commitd81f7934384adf5c06dddc1998e01d474419c7b0 (patch) (side-by-side diff)
treef937d4d2996f0a4d144cc3f29bea330c49d81105 /configure
parentbd8f5f09dbb80570372f81e2030973146d1f9198 (diff)
downloadopie-d81f7934384adf5c06dddc1998e01d474419c7b0.zip
opie-d81f7934384adf5c06dddc1998e01d474419c7b0.tar.gz
opie-d81f7934384adf5c06dddc1998e01d474419c7b0.tar.bz2
CVS_SILENT
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
@@ -29,6 +29,17 @@ then
fi
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)
VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION "[0-9]*\.\([0-9]\)\.[0-9]*.*".*/\1/p' <library/version.h)
VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION "[0-9]*\.[0-9]*\.\([0-9]*\).*".*/\1/p' <library/version.h)