|
From: Steve D. <St...@Re...> - 2020-01-17 15:09:24
|
On 1/14/20 3:02 PM, Mike Gilbert wrote: > If libtirpc is providing rpc/rpc.h, including rpcsvc/mount.h may fail if > -I/path/to/tirpc is not passed to the compiler. > > Bug: https://bugs.gentoo.org/665222 > Signed-off-by: Mike Gilbert <fl...@ge...> Committed... (tag: rpcbind-1_2_5-rc2) steved. > --- > configure.ac | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configure.ac b/configure.ac > index 2dd9471..7bfe4f1 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -63,7 +63,10 @@ AS_IF([test x$enable_libwrap = xyes], [ > > AC_SEARCH_LIBS([pthread_create], [pthread]) > > +SAVE_CPPFLAGS="$CPPFLAGS" > +CPPFLAGS="$CPPFLAGS $TIRPC_CFLAGS" > AC_CHECK_HEADERS([nss.h rpcsvc/mount.h]) > +CPPFLAGS="$SAVE_CPPFLAGS" > > # make sbindir available for substitution in config file > # 2 "evals" needed to expand variable names > |