This needs to be overridable by using $(CPP) instead. Patch from
Patrick McLean (Sony Interactive Entertainment Inc).
syscall-names.h:
$(AM_V_GEN)
$(AM_V_at)echo "static const char *syscall_names[] = {" > $@ ;\
- echo "#include <sys/syscall.h>" | cpp -dM | grep '^#define __NR_' | \
+ echo "#include <sys/syscall.h>" | $(CPP) -dM | grep '^#define __NR_' | \
LC_ALL=C sed -r -n -e 's/^\#define[ \t]+__NR_([a-z0-9_]+)[ \t]+([0-9]+)(.*)/ [\2] = "\1",/p' >> $@ ;\
echo "};" >> $@
nodist_liblldpd_la_SOURCES += syscall-names.h