Skip to content

Commit ff014c1

Browse files
alonStrogalbxela
authored andcommitted
[configure] bugfix for --enable/disable-rdmem feature
Description: MSTFlint port needed: yes Tested OS: Tested devices: Tested flows: Known gaps (with RM ticket): Issue: 3658066
1 parent fdc4ed9 commit ff014c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

configure.ac

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ AC_ARG_ENABLE(rdmem,
235235
AC_MSG_RESULT($enable_rdmem)
236236
if test "x$enable_rdmem" = "xyes"; then
237237
AC_CHECK_HEADERS(infiniband/mlx5dv.h infiniband/verbs.h,,AC_MSG_ERROR([cannot find infiniband/mlx5dv.h or infiniband/verbs.h . Use --disable-rdmem to remove this dependency]))
238-
MAD_IFC="mad_ifc"
239238
else
240239
CXXFLAGS="$CXXFLAGS -DNO_RDMEM"
241240
CFLAGS="$CFLAGS -DNO_RDMEM"
@@ -493,8 +492,8 @@ AC_SUBST(LINUX_KERNEL_INCLUDE)
493492
# crashes during runtime with:
494493
# terminate called after throwing an instance of 'std::regex_error'
495494
# what(): regex_error
496-
# For those we resort to using boost::regex as a fallback.
497-
AC_MSG_CHECKING([Check for std::regex compatibility])
495+
# For those we resort to using GNU C regex as a fallback.
496+
AC_MSG_CHECKING([for std::regex compatibility])
498497
AC_LANG_PUSH([C++])
499498
AC_RUN_IFELSE([
500499
AC_LANG_PROGRAM(

0 commit comments

Comments
 (0)