Fix plain "--with-machine" without parameter. It used the wrong output
authorIan Abbott <abbotti@mev.co.uk>
Wed, 22 Oct 2008 15:46:59 +0000 (15:46 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 22 Oct 2008 15:46:59 +0000 (15:46 +0000)
(`uname -r` should have been `uname -m`).

m4/as-linux.m4

index 74fcb416d5b8c354df2b4f2aa8b156e0ab58737f..62d620867d6db13c3c465430d9228853fbe80c8b 100644 (file)
@@ -265,7 +265,7 @@ AC_DEFUN([AS_LINUX_MACHINE],
                [LINUX_MACHINE=`uname -m`])
         if test "x$LINUX_MACHINE" = "xyes";
         then
-               LINUX_MACHINE=`uname -r`
+               LINUX_MACHINE=`uname -m`
         fi
         AC_MSG_NOTICE([Using $LINUX_MACHINE as the uname -m value])
 ])