1 OpenWrt (modification):
2 Fix cross compile errors by inserting an environment variable for the
3 target. Use "uname" on host only if "UNAME" variable is empty.
6 @@ -814,7 +814,7 @@ if test x_$ub_test_python != x_no; then
10 -if test "`uname`" = "NetBSD"; then
11 +if test "${UNAME:-`uname`}" = "NetBSD"; then
12 NETBSD_LINTFLAGS='"-D__RENAME(x)=" -D_NETINET_IN_H_'
13 AC_SUBST(NETBSD_LINTFLAGS)