+configure: Allow overriding uname results
- Use values exported from $(TOPDIR)/rules.mk for determining
- the target system instead of the host configuration
+In a cross compile setting it makes no sense to rely on the "uname" values
+reported by the build host system. This patch allows overriding the
+"uname -r", "uname -s" and "uname -m" results with the "UNAME_R", "UNAME_S"
+and "UNAME_M" environment variables.
-Index: ppp-2.4.3/configure
-===================================================================
---- ppp-2.4.3.orig/configure 2007-06-04 13:22:08.549555552 +0200
-+++ ppp-2.4.3/configure 2007-06-04 13:22:08.618545064 +0200
-@@ -8,9 +8,9 @@
+Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
+
+--- a/configure
++++ b/configure
+@@ -8,9 +8,9 @@ SYSCONF=/etc
# if [ -d /NextApps ]; then
# system="NeXTStep"
# else