author | sandman <sandman> | 2002-06-09 23:29:50 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-09 23:29:50 (UTC) |
commit | bb2f23307a6797c4b338b4504de39fdde3678893 (patch) (side-by-side diff) | |
tree | b18a5466dcada9251c5406d4ba0f1cd4a80fc766 /configure | |
parent | b59a64c90deba66180e3a778d411296e984f64ea (diff) | |
download | opie-bb2f23307a6797c4b338b4504de39fdde3678893.zip opie-bb2f23307a6797c4b338b4504de39fdde3678893.tar.gz opie-bb2f23307a6797c4b338b4504de39fdde3678893.tar.bz2 |
Fix a bug regarding the custom.h file linking
-rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -120,20 +120,22 @@ each option: -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 ] +CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"` + +if [ -f library/custom-$CUSTOM.h ] then rm -f library/custom.h - ln -s custom-$PLATFORM.h library/custom.h + ln -s custom-$CUSTOM.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; ) |