Re: configure script bug..

2009-06-01 Thread john cooper
Avi Kivity wrote:
 john cooper wrote:
 Hit this yesterday when configure hung attempting
 to pull the version from a kernel's .config.

   
 
 Looks right, but missing a signoff.


Signed-off-by: john cooper john.coo...@redhat.com

diff --git a/configure b/configure
index 493c178..1fd133c 100755
--- a/configure
+++ b/configure
@@ -126,7 +126,7 @@ if [ -n $no_uname ]; then
 elif [ -e $kerneldir/include/config/kernel.release ]; then
 depmod_version=`cat $kerneldir/include/config/kernel.release`
 elif [ -e $kerneldir/.config ]; then
-   depmod_version=$(awk '/Linux kernel version:/ { print $NF }'
+   depmod_version=$(awk '/Linux kernel version:/ { print $NF }' \
 $kerneldir/.config)
 else
 echo

-- 
john.coo...@redhat.com
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: configure script bug..

2009-06-01 Thread Avi Kivity

john cooper wrote:

Avi Kivity wrote:
  

john cooper wrote:


Hit this yesterday when configure hung attempting
to pull the version from a kernel's .config.

  
  

Looks right, but missing a signoff.




Signed-off-by: john cooper john.coo...@redhat.com

diff --git a/configure b/configure
index 493c178..1fd133c 100755
--- a/configure
+++ b/configure
@@ -126,7 +126,7 @@ if [ -n $no_uname ]; then
 elif [ -e $kerneldir/include/config/kernel.release ]; then
 depmod_version=`cat $kerneldir/include/config/kernel.release`
 elif [ -e $kerneldir/.config ]; then
-   depmod_version=$(awk '/Linux kernel version:/ { print $NF }'
+   depmod_version=$(awk '/Linux kernel version:/ { print $NF }' \
 $kerneldir/.config)
 else
 echo
  


What repo and branch are you looking at exactly?  my ./configure has 
this backslash.



--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: configure script bug..

2009-05-31 Thread Avi Kivity

john cooper wrote:

Hit this yesterday when configure hung attempting
to pull the version from a kernel's .config.

  


Looks right, but missing a signoff.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


configure script bug..

2009-05-30 Thread john cooper
Hit this yesterday when configure hung attempting
to pull the version from a kernel's .config.


diff --git a/configure b/configure
index 493c178..1fd133c 100755
--- a/configure
+++ b/configure
@@ -126,7 +126,7 @@ if [ -n $no_uname ]; then
 elif [ -e $kerneldir/include/config/kernel.release ]; then
 depmod_version=`cat $kerneldir/include/config/kernel.release`
 elif [ -e $kerneldir/.config ]; then
-   depmod_version=$(awk '/Linux kernel version:/ { print $NF }'
+   depmod_version=$(awk '/Linux kernel version:/ { print $NF }' \
 $kerneldir/.config)
 else
 echo


-- 
john.coo...@redhat.com
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html