Re: [PATCH v3] use pkg-config to search for libtirpc to fix cross-compilation

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

 



On 07/07/17 05:09, Waldemar Brodkorb wrote:
Hi,

friendly ping?

Oh right, I didn't say what's happening.

The patch is in my patch queue.

I'll get to committing what I have in the queue fairly soon.

There were a couple of bugs in the 5.1.3 release that need to be fixed.
So another release will be done sooner rather than later as well, can't say exactly when but I'd like to do it fairly soon.


When trying to cross-compile autofs for example with a buildsystem
like buildroot, the compilation fails in case the user wants to use
libtirpc library as RPC implementation. A hard coded include path
in aclocal.m4 is used. Other opensource software like rpcbind or
nfs-utils are suing autotools pkgconfig infrastructure to find
the libtirpc headers and to pass the correct linker flags.

Convert configure.in to use PKG_CHECK_MODULES and remove the
hand written autoconf macros from aclocal.m4. Move aclocal.m4
to m4 directory, so that autoconf does not skip global
directories, otherwise pkg.m4 (pkg-config macros) are not found.

This fixes cross-compilation of autofs and allows to use
alternative C libraries as uClibc-ng without internal RPC
support to be used in cross-compiling environments.

--
To unsubscribe from this list: send the line "unsubscribe autofs" in



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux