mirror of https://github.com/xzeldon/htop.git
use AC_HELP_STRING for proc dir
This commit is contained in:
parent
6bc98bb227
commit
4c23a81d72
|
@ -103,7 +103,7 @@ if test "x$enable_proc" = xyes; then
|
||||||
AC_DEFINE(HAVE_PROC, 1, [Define if using a Linux-compatible proc filesystem.])
|
AC_DEFINE(HAVE_PROC, 1, [Define if using a Linux-compatible proc filesystem.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_WITH(proc, [ --with-proc=DIR Location of a Linux-compatible proc filesystem (default=/proc).],
|
AC_ARG_WITH(proc, [AC_HELP_STRING([--with-proc=DIR], [Location of a Linux-compatible proc filesystem (default=/proc).])],
|
||||||
|
|
||||||
if test -n "$withval"; then
|
if test -n "$withval"; then
|
||||||
AC_DEFINE_UNQUOTED(PROCDIR, "$withval", [Path of proc filesystem])
|
AC_DEFINE_UNQUOTED(PROCDIR, "$withval", [Path of proc filesystem])
|
||||||
|
|
Loading…
Reference in New Issue