summaryrefslogtreecommitdiff
path: root/m4/physmem.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/physmem.m4')
-rw-r--r--m4/physmem.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/physmem.m4 b/m4/physmem.m4
index 445a007b..a1179eb3 100644
--- a/m4/physmem.m4
+++ b/m4/physmem.m4
@@ -1,5 +1,5 @@
# physmem.m4 serial 11
-dnl Copyright (C) 2002-2003, 2005-2006, 2008-2013 Free Software Foundation,
+dnl Copyright (C) 2002-2003, 2005-2006, 2008-2014 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -40,6 +40,7 @@ AC_DEFUN([gl_PHYSMEM],
#endif
])
- AC_CHECK_FUNCS([pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table])
+ AC_CHECK_FUNCS([pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table sysinfo])
+ AC_CHECK_MEMBERS([struct sysinfo.mem_unit],,, [[#include <sys/sysinfo.h>]])
AC_REQUIRE([gl_SYS__SYSTEM_CONFIGURATION])
])