From 399778395040c809c7805cd678539fa8e4500bc8 Mon Sep 17 00:00:00 2001 From: file Date: Wed, 1 Aug 2007 19:37:59 +0000 Subject: Instead of adding the SOLARIS check to each HAVE_SYSINFO check let's just make the sysinfo autoconf logic a bit pickier about what it considers a usable sysinfo. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77878 f38db490-d61c-443f-a65b-d21fe96a405b --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c32eb54a2..cb6bc26b6 100644 --- a/configure.ac +++ b/configure.ac @@ -382,7 +382,7 @@ AC_SUBST(AST_DECLARATION_AFTER_STATEMENT) AC_MSG_CHECKING(for sysinfo) AC_LINK_IFELSE( AC_LANG_PROGRAM([#include ], - [struct sysinfo sys_info;]), + [struct sysinfo sys_info; int uptime = sys_info.uptime]), AC_MSG_RESULT(yes) AC_DEFINE([HAVE_SYSINFO], 1, [Define to 1 if your system has sysinfo support]), AC_MSG_RESULT(no) -- cgit v1.2.3