summaryrefslogtreecommitdiff
authorsimon <simon>2002-03-20 21:39:30 (UTC)
committer simon <simon>2002-03-20 21:39:30 (UTC)
commit0b39bb8d62f67a86128a6bd16afbd2aae004637c (patch) (unidiff)
treeecdcce5d050fa660a659b4b4550708a55519ae1f
parent011c84e728826d6f90ff6b15198308f3f9b9135a (diff)
downloadopie-0b39bb8d62f67a86128a6bd16afbd2aae004637c.zip
opie-0b39bb8d62f67a86128a6bd16afbd2aae004637c.tar.gz
opie-0b39bb8d62f67a86128a6bd16afbd2aae004637c.tar.bz2
- create symlinks for include/opie/*.h
Diffstat (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
113each option: 113each option:
114 114
115 * -release ........... Compile and link Qt with debugging turned off. 115 * -release ........... Compile and link Qt with debugging turned off.
116 -debug ............. Compile and link Qt with debugging turned on. 116 -debug ............. Compile and link Qt with debugging turned on.
117 117
118 * -shared ............ Create and use a shared Qt library (libqt.so) 118 * -shared ............ Create and use a shared Qt library (libqt.so)
119 -static ............ Create and use a static Qt library (libqt.a) 119 -static ............ Create and use a static Qt library (libqt.a)
120 120
121 -qt3 ............... Configure for use with Qt 3.x 121 -qt3 ............... Configure for use with Qt 3.x
122 122
123 -platform target ... The platform you are building on ($PLATFORM) 123 -platform target ... The platform you are building on ($PLATFORM)
124EOF 124EOF
125 exit 0; 125 exit 0;
126fi 126fi
127 127
128if [ -f library/custom-$PLATFORM.h ] 128if [ -f library/custom-$PLATFORM.h ]
129then 129then
130 rm -f library/custom.h 130 rm -f library/custom.h
131 ln -s custom-$PLATFORM.h library/custom.h 131 ln -s custom-$PLATFORM.h library/custom.h
132fi 132fi
133 133
134mkdir -p include/qpe 134mkdir -p include/qpe
135( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) 135( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; )
136 136
137mkdir -p include/opie
138( cd include/opie && rm -f *.h; ln -s ../../libopie/*.h .; rm -f *_p.h; )
139
140
137echo Creating makefiles... 141echo Creating makefiles...
138 142
139sed -e 's/^\(VERSION.*= \).*/\1'$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT/ <library/library.pro >library/library.pro-v 143sed -e 's/^\(VERSION.*= \).*/\1'$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT/ <library/library.pro >library/library.pro-v
140mv library/library.pro-v library/library.pro 144mv library/library.pro-v library/library.pro
141 145
142if [ "$QT3" = yes ] 146if [ "$QT3" = yes ]
143then 147then
144 VCONFIG="CONFIG+=qt3" 148 VCONFIG="CONFIG+=qt3"
145else 149else
146 VCONFIG="CONFIG+=qt2" 150 VCONFIG="CONFIG+=qt2"
147fi 151fi
148 152
149if [ -f $TMAKEPATH/tmake.conf ] 153if [ -f $TMAKEPATH/tmake.conf ]
150then 154then
151 # You have tmake. We'll regenerate the file for you... 155 # You have tmake. We'll regenerate the file for you...
152 echo "Makefiles will be regenerated." 156 echo "Makefiles will be regenerated."
153fi 157fi
154 158
155H=`pwd` 159H=`pwd`
156if [ -z "$TOMAKE" ] 160if [ -z "$TOMAKE" ]
157then 161then
158 TOMAKE=`make showcomponents` 162 TOMAKE=`make showcomponents`
159fi 163fi
160 164