瀏覽代碼

configure.ac: no need for fpga.h and lib fpga

Nathalie Furmento 4 年之前
父節點
當前提交
5fc518a53d
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      configure.ac

+ 4 - 1
configure.ac

@@ -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])