summaryrefslogtreecommitdiff
blob: a373649e2ab45fae3a2c75f68de58a9076ce9471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure.ac b/configure.ac
index 5601a1c..df03984 100644
--- a/configure.ac
+++ b/configure.ac
@@ -693,7 +693,7 @@ if test "X$BUILD_XDR" != "Xyes"; then
       if test -z "$HAVE_OLDRPC" ; then
         LIBS="$LIBS -ltirpc"
         CPPFLAGS="$SYSCPPFLAGS -I/usr/include/tirpc"
-        AC_CHECK_HEADER([rpc/rpc.h],[:], [unset HAVE_TIRPC])
+        AC_CHECK_HEADER([tirpc/rpc/rpc.h],[:], [unset HAVE_TIRPC])
         if test -z "$HAVE_TIRPC" ; then
           CPPFLAGS="$SYSCPPFLAGS"
           AC_MSG_ERROR([couldn't find rpc headers])