author | sandman <sandman> | 2002-06-09 23:29:50 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-09 23:29:50 (UTC) |
commit | bb2f23307a6797c4b338b4504de39fdde3678893 (patch) (unidiff) | |
tree | b18a5466dcada9251c5406d4ba0f1cd4a80fc766 | |
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
@@ -122,16 +122,18 @@ each option: | |||
122 | 122 | ||
123 | -platform target ... The platform you are building on ($PLATFORM) | 123 | -platform target ... The platform you are building on ($PLATFORM) |
124 | EOF | 124 | EOF |
125 | exit 0; | 125 | exit 0; |
126 | fi | 126 | fi |
127 | 127 | ||
128 | if [ -f library/custom-$PLATFORM.h ] | 128 | CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"` |
129 | |||
130 | if [ -f library/custom-$CUSTOM.h ] | ||
129 | then | 131 | then |
130 | rm -f library/custom.h | 132 | rm -f library/custom.h |
131 | ln -s custom-$PLATFORM.h library/custom.h | 133 | ln -s custom-$CUSTOM.h library/custom.h |
132 | fi | 134 | fi |
133 | 135 | ||
134 | mkdir -p include/qpe | 136 | mkdir -p include/qpe |
135 | ( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) | 137 | ( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) |
136 | 138 | ||
137 | mkdir -p include/opie | 139 | mkdir -p include/opie |