freebsd-skq/usr.bin/rpcgen
dim 7568a91a59 Let rpcgen(1) support an environment variable RPCGEN_CPP to find the C
preprocessor to run.  Previously, it always ran /usr/bin/cpp, unless you
used the -Y option, and even then you could not set the basename.  It
also attempted to run /usr/ccs/lib/cpp for SVR4 compatibility, but this
is obsolete, and has been removed.

Note that setting RPCGEN_CPP to a command with arguments is supported,
though the command line parsing is simplistic.  However, setting it to
e.g. "gcc46 -E" or "clang -E" will lead to problems, because both gcc
and clang in -E mode will consider files with unknown extensions (such
as .x) as object files, and attempt to link them.

This could be worked around by also adding "-x c", but it is much safer
to set RPCGEN_CPP to e.g. "cpp46" or "clang-cpp" instead.

MFC after:	1 week
2012-02-06 12:03:21 +00:00
..
Makefile Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rpc_clntout.c
rpc_cout.c Plug a memory leak. 2010-05-06 21:57:38 +00:00
rpc_hout.c Fix clang warnings. 2011-05-18 20:52:52 +00:00
rpc_main.c Let rpcgen(1) support an environment variable RPCGEN_CPP to find the C 2012-02-06 12:03:21 +00:00
rpc_parse.c
rpc_parse.h
rpc_sample.c
rpc_scan.c Use strlcpy(). 2011-07-11 05:31:52 +00:00
rpc_scan.h
rpc_svcout.c Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
rpc_tblout.c Fix clang warnings. 2011-05-18 20:52:52 +00:00
rpc_util.c
rpc_util.h
rpcgen.1 Let rpcgen(1) support an environment variable RPCGEN_CPP to find the C 2012-02-06 12:03:21 +00:00