Thanks Yamato. On Wed, 2008-09-17 at 15:35 +0900, Masatake YAMATO wrote: > Garrett, thank you for input. > > > Why not default with whatever's the newest standard, then fallback to > > the deprecated version? > > I think my patch works as you wrote.
> if [ "x$(2)" = "x" ]; then FOUND=yes; else FOUND="$(2)"; fi; > \ > if [ "x$(3)" = "x" ]; then NOTFOUND=no; else NOTFOUND="$(3)"; fi; > \ > - if echo "\#include <$(1)>" | $(CC) -E - > /dev/null 2>&1 ; > \ > + if echo "\#include <$(1)>" | $(CPP) $(COND_CFLAGS) - > /dev/null 2>&1 ; > \ > then echo "$${FOUND}" ; > \ > - else echo "$${NOTFOUND}" ; fi) We also needed the following here to fix the build break else would have introduced: then echo "$${FOUND}" ;fi) Thanks. I have taken care. Regards-- Subrata > +# TODO: CPPFLAGS should be used here. > + > > > #COND_MK_DEBUG=yes > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list