diff --git a/configure.ac b/configure.ac index 543ed9ba19..a582ad33a4 100644 --- a/configure.ac +++ b/configure.ac @@ -1058,11 +1058,13 @@ AC_COMPILE_IFELSE( AC_MSG_CHECKING([for st_mtim.tv_nsec]) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( - [[#include ]], + [[#include ]], [[struct stat s; return(s.st_mtim.tv_nsec); ]])], - [AC_DEFINE([HAVE_STAT_NSEC], [1], [define if struct stat has st_mtim.tv_nsec field])]) + [AC_MSG_RESULT([yes]) + AC_DEFINE([HAVE_STAT_NSEC], [1], [define if struct stat has st_mtim.tv_nsec field])], + [AC_MSG_RESULT([no])]) # # Check for if_nametoindex() for IPv6 scoped addresses support