]> git.openfabrics.org - ~tnikolova/compat-rdma/.git/commitdiff
configure: Fixed autoconf.h location on SLES12 SP1
authorVladimir Sokolovsky <vlad@mellanox.com>
Thu, 1 Dec 2016 14:20:01 +0000 (16:20 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Thu, 1 Dec 2016 14:20:01 +0000 (16:20 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
configure

index 0cb8884c54c85cbbf781e90614bf84194638c5fa..d4b694c09b1e2dc15bb672be20b20bcdc142eda5 100755 (executable)
--- a/configure
+++ b/configure
@@ -746,7 +746,7 @@ CWD=$(pwd)
 CONFIG="configure.mk.kernel"
 
 
-if (/bin/ls -1 $KSRC/include/*/autoconf.h 2>/dev/null | head -1 | grep -q generated); then
+if (/bin/ls -1 $KSRC_OBJ/include/*/autoconf.h 2>/dev/null | head -1 | grep -q generated); then
     AUTOCONF_PREFIX=generated
 else
     AUTOCONF_PREFIX=linux