[BACK]Return to patch-configure.ac CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / htop / patches

Annotation of pkgsrc/sysutils/htop/patches/patch-configure.ac, Revision 1.3

1.3     ! wiz         1: $NetBSD$
1.1       cheusov     2:
1.3     ! wiz         3: Add minimal NetBSD support.
        !             4:
        !             5: --- configure.ac.orig  2016-03-07 21:12:25.000000000 +0000
1.1       cheusov     6: +++ configure.ac
1.3     ! wiz         7: @@ -39,6 +39,9 @@ case "$target" in
        !             8:  *darwin*)
        !             9:     my_htop_platform=darwin
        !            10:     ;;
        !            11: +*netbsd*)
        !            12: +   my_htop_platform=linux
        !            13: +   ;;
        !            14:  *)
        !            15:     my_htop_platform=unsupported
        !            16:     ;;
        !            17: @@ -211,6 +214,10 @@ if test "$my_htop_platform" = "openbsd";
        !            18:     AC_CHECK_LIB([kvm], [kvm_open], [], [missing_libraries="$missing_libraries libkvm"])
        !            19:  fi
1.1       cheusov    20:
1.3     ! wiz        21: +if test "$my_htop_platform" = "netbsd"; then
        !            22: +   AC_CHECK_LIB([kvm], [kvm_open], [], [missing_libraries="$missing_libraries libkvm"])
        !            23: +fi
        !            24: +
        !            25:  AC_ARG_ENABLE(linux_affinity, [AC_HELP_STRING([--enable-linux-affinity], [enable Linux sched_setaffinity and sched_getaffinity for affinity support, disables hwloc])], ,enable_linux_affinity="yes")
        !            26:  if test "x$enable_linux_affinity" = xyes -a "x$cross_compiling" = xno; then
        !            27:     AC_MSG_CHECKING([for usable sched_setaffinity])
        !            28: @@ -256,6 +263,7 @@ AM_CONDITIONAL([HTOP_LINUX], [test "$my_
        !            29:  AM_CONDITIONAL([HTOP_FREEBSD], [test "$my_htop_platform" = freebsd])
        !            30:  AM_CONDITIONAL([HTOP_OPENBSD], [test "$my_htop_platform" = openbsd])
        !            31:  AM_CONDITIONAL([HTOP_DARWIN], [test "$my_htop_platform" = darwin])
        !            32: +AM_CONDITIONAL([HTOP_NETBSD], [test "$my_htop_platform" = netbsd])
        !            33:  AM_CONDITIONAL([HTOP_UNSUPPORTED], [test "$my_htop_platform" = unsupported])
        !            34:  AC_SUBST(my_htop_platform)
        !            35:  AC_CONFIG_FILES([Makefile htop.1])

CVSweb <webmaster@jp.NetBSD.org>