[2/4] configure: be more laxist on the required libtirpc version
diff mbox

Message ID 14543c304f80f352fada0d4c1bb23496936c3609.1420585444.git.yann.morin.1998@free.fr
State New, archived
Headers show

Commit Message

Yann E. MORIN Jan. 6, 2015, 11:07 p.m. UTC
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>
 aclocal/libtirpc.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox

diff --git a/aclocal/libtirpc.m4 b/aclocal/libtirpc.m4
index c46f16a..9ea17c5 100644
--- a/aclocal/libtirpc.m4
+++ b/aclocal/libtirpc.m4
@@ -5,7 +5,7 @@  AC_DEFUN([AC_LIBTIRPC], [
     [test "$enable_tirpc" != "no"],
-    [PKG_CHECK_MODULES([TIRPC], [libtirpc >= 0.2.4],
+    [PKG_CHECK_MODULES([TIRPC], [libtirpc],
                        AM_CPPFLAGS="${AM_CPPFLAGS} ${TIRPC_CFLAGS}"
                        AC_DEFINE([HAVE_LIBTIRPC], [1],