diff options
author | Guy M. Broome <thrirhrafnir@gmail.com> | 2018-04-16 09:45:08 -0400 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-05-22 23:17:30 -0300 |
commit | f94c54eb5a7b04611d2ae28974a414006ad59a3d (patch) | |
tree | 096486032a3420aa35046c6bcc18c5734165c37c | |
parent | 9710ce6c085971c3599b70fd56f54bec099d28d0 (diff) |
Solaris: add check for missing err.h
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4ee50a3f..ac8947c8 100644 --- a/configure.ac +++ b/configure.ac @@ -245,6 +245,10 @@ if test "$my_htop_platform" = "solaris"; then AC_CHECK_LIB([kstat], [kstat_open], [], [missing_libraries="$missing_libraries libkstat"]) AC_CHECK_LIB([proc], [Pgrab_error], [], [missing_libraries="$missing_libraries libproc"]) AC_CHECK_LIB([malloc], [free], [], [missing_libraries="$missing_libraries libmalloc"]) + AC_CHECK_HEADERS([err.h],[:],[ + missing_headers="$missing_headers err.h" + AC_MSG_ERROR([You appear to be on Solaris 10, or very early Solaris Express, which is currently unsupported.]) + ]) fi AC_ARG_ENABLE(linux_affinity, [AS_HELP_STRING([--enable-linux-affinity], [enable Linux sched_setaffinity and sched_getaffinity for affinity support, disables hwloc])], ,enable_linux_affinity="yes") |