summaryrefslogtreecommitdiff
path: root/configure
authorsimon <simon>2002-03-20 21:39:30 (UTC)
committer simon <simon>2002-03-20 21:39:30 (UTC)
commit0b39bb8d62f67a86128a6bd16afbd2aae004637c (patch) (side-by-side diff)
treeecdcce5d050fa660a659b4b4550708a55519ae1f /configure
parent011c84e728826d6f90ff6b15198308f3f9b9135a (diff)
downloadopie-0b39bb8d62f67a86128a6bd16afbd2aae004637c.zip
opie-0b39bb8d62f67a86128a6bd16afbd2aae004637c.tar.gz
opie-0b39bb8d62f67a86128a6bd16afbd2aae004637c.tar.bz2
- create symlinks for include/opie/*.h
Diffstat (limited to 'configure') (more/less context) (ignore whitespace changes)
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index e81bc95..7db2738 100755
--- a/configure
+++ b/configure
@@ -113,48 +113,52 @@ The defaults (*) are usually acceptable. Here is a short explanation of
each option:
* -release ........... Compile and link Qt with debugging turned off.
-debug ............. Compile and link Qt with debugging turned on.
* -shared ............ Create and use a shared Qt library (libqt.so)
-static ............ Create and use a static Qt library (libqt.a)
-qt3 ............... Configure for use with Qt 3.x
-platform target ... The platform you are building on ($PLATFORM)
EOF
exit 0;
fi
if [ -f library/custom-$PLATFORM.h ]
then
rm -f library/custom.h
ln -s custom-$PLATFORM.h library/custom.h
fi
mkdir -p include/qpe
( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; )
+mkdir -p include/opie
+( cd include/opie && rm -f *.h; ln -s ../../libopie/*.h .; rm -f *_p.h; )
+
+
echo Creating makefiles...
sed -e 's/^\(VERSION.*= \).*/\1'$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT/ <library/library.pro >library/library.pro-v
mv library/library.pro-v library/library.pro
if [ "$QT3" = yes ]
then
VCONFIG="CONFIG+=qt3"
else
VCONFIG="CONFIG+=qt2"
fi
if [ -f $TMAKEPATH/tmake.conf ]
then
# You have tmake. We'll regenerate the file for you...
echo "Makefiles will be regenerated."
fi
H=`pwd`
if [ -z "$TOMAKE" ]
then
TOMAKE=`make showcomponents`
fi