summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 0241adf..299e867 100755
--- a/configure
+++ b/configure
@@ -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)
124EOF 124EOF
125 exit 0; 125 exit 0;
126fi 126fi
127 127
128if [ -f library/custom-$PLATFORM.h ] 128CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"`
129
130if [ -f library/custom-$CUSTOM.h ]
129then 131then
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
132fi 134fi
133 135
134mkdir -p include/qpe 136mkdir -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
137mkdir -p include/opie 139mkdir -p include/opie