mirror of https://github.com/xzeldon/htop.git
Solaris: add check for missing err.h
This commit is contained in:
parent
9710ce6c08
commit
f94c54eb5a
|
@ -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([kstat], [kstat_open], [], [missing_libraries="$missing_libraries libkstat"])
|
||||||
AC_CHECK_LIB([proc], [Pgrab_error], [], [missing_libraries="$missing_libraries libproc"])
|
AC_CHECK_LIB([proc], [Pgrab_error], [], [missing_libraries="$missing_libraries libproc"])
|
||||||
AC_CHECK_LIB([malloc], [free], [], [missing_libraries="$missing_libraries libmalloc"])
|
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
|
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")
|
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")
|
||||||
|
|
Loading…
Reference in New Issue