On 6/8/10, Andrew Benton <b3n...@gmail.com> wrote:

> so the whole thing can be reduced to:
>
> v=($(ls  /lib/libc-*.so | sed 's/[.-]/ /g'))
> [ (( ${v[1]} <  2 )) && (( ${v[2]} < 4 )) ] &&
> sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' ../gcc-4.5.0/gcc/configure
>

[ $(ls  /lib/libc-*.so \
 | sed 's/[.-]/ /g' \
 | awk '{print ($2<3 && $3<4) ? "foo" : "bar"}') == "foo" ] &&
 sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' ../gcc-4.5.0/gcc/configure

Please pardon me being silly.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to