diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-01-06 23:36:27 +0100 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2015-01-23 10:09:13 -0500 |
commit | 0a2a8c5a01011ec2343f80cbed99054e88392665 (patch) | |
tree | 7a1a1c3e41fd99523bdf25579da7c60790784168 | |
parent | 178ae731618d46b5df1ab227dfa0c96920c675df (diff) | |
download | nfs-utils-0a2a8c5a01011ec2343f80cbed99054e88392665.tar.gz nfs-utils-0a2a8c5a01011ec2343f80cbed99054e88392665.tar.xz nfs-utils-0a2a8c5a01011ec2343f80cbed99054e88392665.zip |
configure: be more laxist on the required libtirpc version
Currently, we check for libtirpc >= 0.2.4 with pkg-config, because that
is the one version I had to test against.
As reported on the list, however, older versions are also supported.
Relax the check to not require a version at all, and accept any version
of libtirpc.
Reported-by: Chuck Lever <check.lever@oracle.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Steve Dickson <SteveD@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | aclocal/libtirpc.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal/libtirpc.m4 b/aclocal/libtirpc.m4 index ebc1bea..e7e6417 100644 --- a/aclocal/libtirpc.m4 +++ b/aclocal/libtirpc.m4 @@ -5,7 +5,7 @@ AC_DEFUN([AC_LIBTIRPC], [ PKG_PROG_PKG_CONFIG([0.9.0]) AS_IF( [test "$enable_tirpc" != "no"], - [PKG_CHECK_MODULES([TIRPC], [libtirpc >= 0.2.4], + [PKG_CHECK_MODULES([TIRPC], [libtirpc], [LIBTIRPC="${TIRPC_LIBS}" AM_CPPFLAGS="${AM_CPPFLAGS} ${TIRPC_CFLAGS}" AC_DEFINE([HAVE_LIBTIRPC], [1], |