summaryrefslogtreecommitdiff
path: root/configure
authorcniehaus <cniehaus>2002-12-13 16:12:31 (UTC)
committer cniehaus <cniehaus>2002-12-13 16:12:31 (UTC)
commit841d22f7678efa02bb73476e7f5214e4323ef260 (patch) (side-by-side diff)
treebb8677060855ae4b594a6c1bccdd6523ca54c93a /configure
parenteafb2c268d06c762d6c818e78c9a652d74914541 (diff)
downloadopie-841d22f7678efa02bb73476e7f5214e4323ef260.zip
opie-841d22f7678efa02bb73476e7f5214e4323ef260.tar.gz
opie-841d22f7678efa02bb73476e7f5214e4323ef260.tar.bz2
4 updates .pro-files (due to i18n-stuff)
Diffstat (limited to 'configure') (more/less context) (ignore whitespace changes)
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0445aa4..b7cb702 100755
--- a/configure
+++ b/configure
@@ -239,66 +239,66 @@ EOF
PLATFORM_CFLAGS=""
# For the ipaq use fixed point maths, don't compile the mmx or css code
;; *ipaq*|*oz*|*sharp*)
PLATFORM_CFLAGS="-DUSE_FIXED_POINT"
;; *)
# For 'other platforms', turn off optimizations and use fixed point
PLATFORM_CFLAGS="-O -DUSE_FIXED_POINT"
esac
elif [ "$f" = "libmad" ]
then
# Patch our Makefile.in file with the platform specifics for the libmad library
case $PLATFORM
in
# For x86 use intel optimizations
*x86*)
PLATFORM_CFLAGS="-DFPM_INTEL"
# For the ipaq use ARM asm optimizations
;; *ipaq*|*oz*|*sharp*)
PLATFORM_CFLAGS="-DFPM_ARM"
SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;"
# For generic platforms use the C 64-bit implementation
;; *generic*)
PLATFORM_CFLAGS="-DFPM_64BIT"
# For 'other platforms' use the ARM code
;; *)
PLATFORM_CFLAGS="-DFPM_ARM"
SED="$SED /SOURCES.*=/s/=/= idmt_arm.S /;"
esac
fi
SED="$SED /LFLAGS.*=.*/s/\$/ $EXTRA $EXTRALIBS/;"
PLATFORM_CFLAGS="$PLATFORM_CFLAGS $EXTRAFLAGS";
if [ -n "$PLATFORM_CFLAGS" ]
then
# Append the addition c-flags we have defined
SED="$SED /CFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS/;"
SED="$SED /CXXFLAGS.*=.*/s/\$/ $PLATFORM_CFLAGS -fpermissive/;"
fi
cat $TARGET >> $N
if [ -n "$SED" ]
then
sed -e "$SED" $M >> $N
else
cat $M >> $N
fi
cat >> $N <<EOF
lupdate:
- lupdate $f.pro
+ lupdate -noobsolete $f.pro
lrelease:
lrelease $f.pro
EOF
if [ -f "$O" ]
then
cat >> $N $O
fi
done
MAKE=make
echo
echo "Opie is now configured for building. Just run $MAKE (or $MAKE single)."
echo "To reconfigure, run $MAKE clean and configure."
echo