Add missing autoconf test for sysctlbyname()
authorDaniel Macks <dmacks@netspace.org>
Sat, 1 Dec 2012 19:23:01 +0000 (14:23 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 19 Dec 2012 19:32:24 +0000 (14:32 -0500)
uses specific mib[] tokens iff it is available, but configure wasn't
testing for it to be available.

https://bugzilla.gnome.org/show_bug.cgi?id=689324

configure.ac

index d5b5376..0304dad 100644 (file)
@@ -901,6 +901,7 @@ AC_CHECK_HEADERS([sys/mount.h sys/sysctl.h], [], [],
  #include <sys/param.h>
  #endif
 ])
+AC_CHECK_FUNCS(sysctlbyname)
 
 AC_CHECK_HEADERS([xlocale.h])