echo "int xxy_us_dummy;" >dummy.c
$(CC) -c dummy.c
echo '/*WARNING: This file is automatically generated!*/' >underscore.c
- if [ "`$(NM) dummy.o | grep _xxy_us_dummy`" != "" ]; then \
+ if [ "`$(NM) dummy.o | grep _xxy_us_dummy ; true`" != "" ]; then \
echo "int prepends_underscore = 1;" >>underscore.c; \
else \
echo "int prepends_underscore = 0;" >>underscore.c; \