Re: [PATCH nfs-utils] Update autoconfig files to work with v2.71

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

 



On Tue, 24 May 2022, NeilBrown wrote:
> OpenSUSE recently updated autoconf to v2.71, and nfs-utils now doesn't
> build.  This patch fixes it.  It was mostly achieved with the autoupdate
> program.
> 
> I haven't updated the AC_PREREQ(), but nor have I confirmed that it
> still works with v2.59.  It does seem to work with 2.69.

Actually, please don't apply this as-is.
I remembered that I left....
> @@ -50,8 +50,8 @@ AC_DEFUN([AC_LIBTIRPC_OLD], [
>    dnl Also must have the headers installed where we expect
>    dnl to look for headers; add -I compiler option if found
>    AS_IF([test "$has_libtirpc" = "yes"],
> -        [AC_CHECK_HEADERS([${tirpc_header_dir}/netconfig.h],
> -                          [AC_SUBST([AM_CPPFLAGS], ["-I${tirpc_header_dir}"])],
> +        [AC_CHECK_HEADERS([/usr/include/tirpc/netconfig.h],
> +                          [AC_SUBST([AM_CPPFLAGS], ["-I/usr/include/tirpc"])],
>                            [has_libtirpc="no"])])
>  

this in there - it ignores the config request an always uses
/usr/include/tirpc.  I need to work out how to do the right thing
without getting warnings.

Thanks,
NeilBrown




[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