summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/ax_check_uname_syscall.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_check_uname_syscall.m4 b/m4/ax_check_uname_syscall.m4
index 5a33bfb..d20b526 100644
--- a/m4/ax_check_uname_syscall.m4
+++ b/m4/ax_check_uname_syscall.m4
@@ -19,14 +19,14 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 7
+#serial 8
AU_ALIAS([AG_CHECK_UNAME_SYSCALL], [AX_CHECK_UNAME_SYSCALL])
AC_DEFUN([AX_CHECK_UNAME_SYSCALL],[
AC_MSG_CHECKING([whether uname(2) is POSIX])
AC_CACHE_VAL([ax_cv_uname_syscall],[
AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <sys/utsname.h>
-int main() { struct utsname unm;
+int main(void) { struct utsname unm;
return uname( &unm ); }]])],[ax_cv_uname_syscall=yes],[ax_cv_uname_syscall=no],[ax_cv_uname_syscall=no]
) # end of TRY_RUN]) # end of CACHE_VAL