From bb2f23307a6797c4b338b4504de39fdde3678893 Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 09 Jun 2002 23:29:50 +0000 Subject: Fix a bug regarding the custom.h file linking --- (limited to 'configure') diff --git a/configure b/configure index 0241adf..299e867 100755 --- a/configure +++ b/configure @@ -125,10 +125,12 @@ 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 -- cgit v0.9.0.2