Commit 1803037e authored by Pietro Incardona's avatar Pietro Incardona

Fixing rt compilation

parent 206d3a92
......@@ -261,6 +261,12 @@ AX_SUITESPARSE([],[echo "suitesparse not found"
AX_EIGEN([],[echo "eigen not found"
exit 206])
##### Checking for rt
AC_CHECK_LIB(rt, clock_gettime, [AC_DEFINE([HAVE_CLOCK_GETTIME],[],[Have clock time])
OPT_LIBS="$OPT_LIBS -lrt"
])
###### Checking for compiler flags -fext-numeric-literals
my_save_cflags="$CFLAGS"
......@@ -320,6 +326,7 @@ AC_DEFINE([HAVE_MPI],[],[MPI Enabled])
AC_SUBST(NVCCFLAGS)
AC_SUBST(INCLUDES_PATH)
AC_SUBST(LIBQUADMATH)
AC_SUBST(OPT_LIBS)
# Checks for typedefs, structures, and compiler characteristics.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment