diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 54040ac..891922e 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1054,6 +1054,14 @@ if test -n "$ac_cv_nslookup_command"; then | |||
1054 | AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup]) | 1054 | AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup]) |
1055 | fi | 1055 | fi |
1056 | 1056 | ||
1057 | AC_MSG_CHECKING([for number of cpus]) | ||
1058 | AC_TRY_COMPILE([#include <unistd.h>], | ||
1059 | [sysconf(_SC_NPROCESSORS_CONF) > 0;], | ||
1060 | AC_DEFINE(HAVE_SYSCONF__SC_NPROCESSORS_CONF,1,[Define if sysconf returns number of cpus]) | ||
1061 | AC_MSG_RESULT([sysconf(_SC_NPROCESSORS_CONF)]), | ||
1062 | AC_MSG_RESULT([cannot calculate]) | ||
1063 | ) | ||
1064 | |||
1057 | AC_PATH_PROG(PATH_TO_UPTIME,uptime) | 1065 | AC_PATH_PROG(PATH_TO_UPTIME,uptime) |
1058 | AC_ARG_WITH(uptime_command, | 1066 | AC_ARG_WITH(uptime_command, |
1059 | ACX_HELP_STRING([--with-uptime-command=PATH], | 1067 | ACX_HELP_STRING([--with-uptime-command=PATH], |