diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:21 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:21 +0200 |
commit | 9675cf654d86464344e56705db7a71ea17f76c6f (patch) | |
tree | 86077a344c002694db7ba4f7295d8a64b3601258 /configure.ac | |
parent | 85bb4ad9cb820ac3b8e935a930084a06cbfd2847 (diff) | |
download | debian_htop-9675cf654d86464344e56705db7a71ea17f76c6f.tar.gz debian_htop-9675cf654d86464344e56705db7a71ea17f76c6f.tar.bz2 debian_htop-9675cf654d86464344e56705db7a71ea17f76c6f.zip |
Imported Upstream version 0.6.6+svn20070915upstream/0.6.6+svn20070915
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 09d99ec..038343a 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT([htop],[0.6.3],[loderunner@users.sourceforge.net]) +AC_INIT([htop],[0.6.6],[loderunner@users.sourceforge.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([htop.c]) AC_CONFIG_HEADER([config.h]) @@ -15,7 +15,7 @@ AC_CHECK_LIB([ncurses], [refresh], [], [missing_libraries="$missing_libraries li AC_CHECK_LIB([m], [ceil], [], [missing_libraries="$missing_libraries libm"]) if test ! -z "$missing_libraries"; then - AC_MSG_ERROR([missing libraries:$missing_headers]) + AC_MSG_ERROR([missing libraries: $missing_libraries]) fi # Checks for header files. @@ -26,7 +26,7 @@ AC_CHECK_HEADERS([stdlib.h string.h strings.h sys/param.h sys/time.h unistd.h cu ]) if test ! -z "$missing_headers"; then - AC_MSG_ERROR([missing headers:$missing_headers]) + AC_MSG_ERROR([missing headers: $missing_headers]) fi # Checks for typedefs, structures, and compiler characteristics. @@ -58,6 +58,11 @@ AC_ARG_WITH(proc, [ --with-proc=DIR Location of a Linux-compatible proc fi fi, AC_DEFINE(PROCDIR, "/proc", [Path of proc filesystem])) +AC_ARG_ENABLE(openvz, [AC_HELP_STRING([--enable-openvz], [enable OpenVZ support])], ,enable_openvz="no") +if test "x$enable_openvz" = xyes; then + AC_DEFINE(HAVE_OPENVZ, 1, [Define if openvz support enabled.]) +fi + AC_CHECK_FILE($PROCDIR/stat,,AC_MSG_ERROR(Cannot find /proc/stat. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help.)) AC_CHECK_FILE($PROCDIR/meminfo,,AC_MSG_ERROR(Cannot find /proc/meminfo. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help.)) |