On Sunday, January 02, 2011 02:00:47 Konrad Eisele wrote: > +# check weather __LONG_DOUBLE_128__ is defined (long double support) > +UCLIBC_SPARC_HAS_LONG_DOUBLE= > $(shell if [ "x`$(CC) -E -dM -xc /dev/null 2>&1 | grep __LONG_DOUBLE_128__`" != "x" ]; then echo "y"; fi)
this probably should be generalized into a "check_cpp" or something.
at any rate, this would be a lot simpler written as:
$(CC) -E -dM -xc /dev/null | grep -qs __LONG_DOUBLE_128__ && echo y
-mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
