***/
@TOP@
-/** define if sysctlbyname() is available */
-#undef HAVE_SYSCTLBYNAME
-
/** define if catgets() is available */
#undef HAVE_CATGETS
*** it does not get installed.
***/
-/** define if sysctlbyname() is available */
-#undef HAVE_SYSCTLBYNAME
-
/** define if catgets() is available */
#undef HAVE_CATGETS
/* Define to 1 if you have the `sysconf' function. */
#undef HAVE_SYSCONF
+/* Define to 1 if you have the `sysctlbyname' function. */
+#undef HAVE_SYSCTLBYNAME
+
/* Define to 1 if you have the <sys/capability.h> header file. */
#undef HAVE_SYS_CAPABILITY_H
$as_echo "#define volatile /**/" >>confdefs.h
-fi
-
-ac_fn_c_check_func "$LINENO" "sysctlbyname" "ac_cv_func_sysctlbyname"
-if test "x$ac_cv_func_sysctlbyname" = xyes; then :
- $as_echo "#define HAVE_SYSCTLBYNAME 1" >>confdefs.h
-
fi
fi
+for ac_func in sysctlbyname
+do :
+ ac_fn_c_check_func "$LINENO" "sysctlbyname" "ac_cv_func_sysctlbyname"
+if test "x$ac_cv_func_sysctlbyname" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SYSCTLBYNAME 1
+_ACEOF
+
+fi
+done
+
+
#
# Check for the existence of mmap to enable the fast format zones
#
AC_C_CONST
AC_C_INLINE
AC_C_VOLATILE
-AC_CHECK_FUNC(sysctlbyname, AC_DEFINE(HAVE_SYSCTLBYNAME))
AC_C_FLEXIBLE_ARRAY_MEMBER
+AC_CHECK_FUNCS([sysctlbyname])
+
#
# Check for the existence of mmap to enable the fast format zones
#