X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Fautoconf%2Flustre-lnet.m4;h=4ea62ad727fedc73ef2834348bee2485ae68994e;hp=f5b084a47fb4d9f3fd81ed209546e919dc8fad16;hb=cad65d162273daf67ce9106897430faadb3ad5f6;hpb=78b0c3ce5a45b4919d53ac6cc886d6a9e713e05d diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4 index f5b084a4..4ea62ad 100644 --- a/lnet/autoconf/lustre-lnet.m4 +++ b/lnet/autoconf/lustre-lnet.m4 @@ -129,7 +129,9 @@ If you still want to build Lustre for your OFED I/B stack, you need to install a Instead, if you want to build Lustre for your kernel's built-in I/B stack rather than your installed OFED stack, either remove the OFED package(s) or use --with-o2ib=no. ]) ]) - if test -e $O2IBPATHS/default; then + if test -e $O2IBPATHS/${LINUXRELEASE}; then + O2IBPATHS=$O2IBPATHS/${LINUXRELEASE} + elif test -e $O2IBPATHS/default; then O2IBPATHS=$O2IBPATHS/default fi OFED="yes"