Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -5575,12 +5575,6 @@ if test "x$ac_cv_header_sys_mount_h" = xyes
then :
printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h

fi
ac_fn_cxx_check_header_compile "$LINENO" "sys/cpuset.h" "ac_cv_header_sys_cpuset_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_cpuset_h" = xyes
then :
printf "%s\n" "#define HAVE_SYS_CPUSET_H 1" >>confdefs.h

fi
ac_fn_cxx_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_resource_h" = xyes
Expand All @@ -5596,6 +5590,20 @@ then :
fi


ac_fn_cxx_check_header_compile "$LINENO" "sys/cpuset.h" "ac_cv_header_sys_cpuset_h" "
$ac_includes_default
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif

"
if test "x$ac_cv_header_sys_cpuset_h" = xyes
then :
printf "%s\n" "#define HAVE_SYS_CPUSET_H 1" >>confdefs.h

fi


ac_fn_cxx_check_func "$LINENO" "statfs" "ac_cv_func_statfs"
if test "x$ac_cv_func_statfs" = xyes
then :
Expand Down
8 changes: 7 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ AC_STRUCT_DIRENT_D_TYPE

AC_FUNC_MMAP

AC_CHECK_HEADERS([sys/time.h sys/statvfs.h sys/param.h sys/mount.h sys/cpuset.h sys/resource.h sched.h])
AC_CHECK_HEADERS([sys/time.h sys/statvfs.h sys/param.h sys/mount.h sys/resource.h sched.h])
AC_CHECK_HEADERS([sys/cpuset.h],[],[],[
$ac_includes_default
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
])

AC_CHECK_FUNCS([statfs statvfs])

Expand Down