Re: [libvirt] [PATCH] rpc: Fix VPATH building issue

2012-03-08 Thread Eric Blake
On 03/07/2012 12:45 AM, Guannan Ren wrote: Subject: [PATCH] rpc: generalize solution for VPATH builds Commit 5d4b0c4c80 tried to fix certain classes of VPATH builds, but was too limited. In particular, Guannan Ren reported: For example: The libvirt source code resides in /home/testuser,

[libvirt] [PATCH] rpc: Fix VPATH building issue

2012-03-06 Thread Guannan Ren
The XDR routine .c file generated by rpcgen includes the corresponding Header file. however, the path in include directive of the header file is picked up based on the path of .x file. In the situation of VPATH Builds it will include full path of the header file rather than relative

Re: [libvirt] [PATCH] rpc: Fix VPATH building issue

2012-03-06 Thread Eric Blake
On 03/06/2012 10:07 AM, Guannan Ren wrote: The XDR routine .c file generated by rpcgen includes the corresponding Header file. however, the path in include directive of the header file is picked up based on the path of .x file. In the situation of VPATH Builds it will include

Re: [libvirt] [PATCH] rpc: Fix VPATH building issue

2012-03-06 Thread Guannan Ren
On 03/07/2012 04:56 AM, Eric Blake wrote: On 03/06/2012 10:07 AM, Guannan Ren wrote: The XDR routine .c file generated by rpcgen includes the corresponding Header file. however, the path in include directive of the header file is picked up based on the path of .x file. In the