Re: [PATCH] nfs-utils: Run rpcgen using the cpp found by configure.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I forgot to include it in my original email, but this patch is

Signed-off-by: Calvin Walton <calvin.walton@xxxxxxxxxx>

If you'd prefer I resend with that included, let me know.

On Tue, 2015-04-14 at 02:00 -0400, Calvin Walton wrote:
> rpcgen normally runs with a hardcoded cpp path of e.g. /lib/cpp,
> but not all Linux distributions install a cpp there.
> 
> Grab a trick from glibc, and run rpcgen with a cpp-path pointing at
> a script; the script then runs the cpp specified in the CPP
> environment variable - which was set by the configure script to
> something reasonable.
> ---
>  support/export/Makefile.am   | 13 +++++++------
>  support/nsm/Makefile.am      | 17 +++++++++--------
>  tests/nsm_client/Makefile.am | 17 +++++++++--------
>  tools/rpcgen/cpp             |  6 ++++++
>  utils/statd/Makefile.am      | 17 +++++++++--------
>  5 files changed, 40 insertions(+), 30 deletions(-)
>  create mode 100755 tools/rpcgen/cpp
 

-- 
Calvin Walton <calvin.walton@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux