|
@@ -128,7 +128,7 @@ AC_MSG_CHECKING(maximum number of FPGA devices)
|
|
|
AC_ARG_ENABLE(maxfpgadev, [AS_HELP_STRING([--enable-maxfpgadev=<number>],
|
|
|
[maximum number of FPGA devices])],
|
|
|
nmaxfpgadev=$enableval, nmaxfpgadev=12)
|
|
|
-AC_MSG_RESULT($nmaxfpga)
|
|
|
+AC_MSG_RESULT($nmaxfpgadev)
|
|
|
AC_DEFINE_UNQUOTED(STARPU_MAXFPGADEVS, [$nmaxfpgadev],[maximum number of FPGA devices])
|
|
|
|
|
|
AC_ARG_WITH([fpga],
|
|
@@ -185,6 +185,9 @@ then
|
|
|
LDFLAGS="${SAVED_LDFLAGS}"
|
|
|
CPPFLAGS="${SAVED_CPPFLAGS}"
|
|
|
|
|
|
+ # we do not actually need fpga.h and the lib with the current source code, so does not matter if it's missing
|
|
|
+ have_valid_fpga=yes
|
|
|
+
|
|
|
# in case FPGA was explicitely required, but is not available, this is an error
|
|
|
if test x$enable_fpga = xyes -a x$have_valid_fpga = xno; then
|
|
|
AC_MSG_ERROR([cannot find FPGA])
|