This fixes running configure outside the infiniband-diags dir

Signed-off-by: Dan Ben Yosef <[email protected]>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 122a029..232285f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,7 +190,7 @@ fi
 if test x$have_rst2man == xyes; then
        doc/generate
 else
-       if test -f doc/man/infiniband-diags.8.in; then
+       if test -f $srcdir/doc/man/infiniband-diags.8.in; then
                echo "WARNING: 'rst2man' not found; using premade man pages"
        else
                echo "FAILED to find 'rst2man' required to build man pages"
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to