what=`/bin/pwd|sed -e 's+.*/++'` prefix=/.software/share/$what eprefix=/.software/arch/$what case "`uname -m`" in i?86) CFLAGS="$CFLAGS -m486" gcc -v 2>&1|grep egcs>/dev/null || CFLAGS="$CFLAGS -no-strength-reduce" ;; arm*) CFLAGS="-D__USE_GNU";; esac sh ./configure --prefix=$prefix --bindir=$prefix/bin \ --sysconfdir=$prefix/config --datadir=$prefix/data \ --enable-default-20 \ --with-editres \ --with-xdnd \ --enable-production \ $OPTS