Browse Source

Fix detection of fut prototypes

Samuel Thibault 9 years ago
parent
commit
e9de6cf933
1 changed files with 2 additions and 2 deletions
  1. 2 2
      configure.ac

+ 2 - 2
configure.ac

@@ -1630,8 +1630,8 @@ if test x$use_fxt = xyes; then
 	LIBS="$save_LIBS"
 	LIBS="$save_LIBS"
 	save_CFLAGS="$CFLAGS"
 	save_CFLAGS="$CFLAGS"
 	CFLAGS="$CFLAGS $FXT_CFLAGS"
 	CFLAGS="$CFLAGS $FXT_CFLAGS"
-	AC_CHECK_DECLS([enable_fut_flush])
-	AC_CHECK_DECLS([fut_set_filename])
+	AC_CHECK_DECLS([enable_fut_flush], [], [], [[#include <fut.h>]])
+	AC_CHECK_DECLS([fut_set_filename], [], [], [[#include <fut.h>]])
 	CFLAGS="$save_CFLAGS"
 	CFLAGS="$save_CFLAGS"
 
 
 	if test x$enable_simgrid = xyes -a x$enable_shared = xno ; then
 	if test x$enable_simgrid = xyes -a x$enable_shared = xno ; then