[[TYPE=none]]
--with-thin=TYPE thin provisioning support: internal/shared/none
[[TYPE=internal]]
- --with-thin-check=PATH thin_check tool: [[thin_check]]
- --with-thin-dump=PATH thin_dump tool: [[thin_dump]]
- --with-thin-repair=PATH thin_repair tool: [[thin_repair]]
+ --with-thin-check=PATH thin_check tool: [[autodetect]]
+ --with-thin-dump=PATH thin_dump tool: [[autodetect]]
+ --with-thin-repair=PATH thin_repair tool: [[autodetect]]
--with-ocfdir=DIR install OCF files in DIR
[[PREFIX/lib/ocf/resource.d/lvm2]]
--with-default-pid-dir=PID_DIR
if test "${with_thin_check+set}" = set; then :
withval=$with_thin_check; THIN_CHECK_CMD=$withval
else
- THIN_CHECK_CMD="thin_check"
+ THIN_CHECK_CMD="autodetect"
fi
if test "${with_thin_dump+set}" = set; then :
withval=$with_thin_dump; THIN_DUMP_CMD=$withval
else
- THIN_DUMP_CMD="thin_dump"
+ THIN_DUMP_CMD="autodetect"
fi
if test "${with_thin_repair+set}" = set; then :
withval=$with_thin_repair; THIN_REPAIR_CMD=$withval
else
- THIN_REPAIR_CMD="thin_repair"
+ THIN_REPAIR_CMD="autodetect"
fi
case "$THIN" in
internal|shared)
# Empty means a config way to ignore thin checking
- if test "$THIN_CHECK_CMD" = "thin_check"; then
+ if test "$THIN_CHECK_CMD" = "autodetect"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}thin_check", so it can be a program name with args.
set dummy ${ac_tool_prefix}thin_check; ac_word=$2
fi
if test "x$ac_pt_THIN_CHECK_CMD" = x; then
- THIN_CHECK_CMD="thin_check"
+ THIN_CHECK_CMD=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
THIN_CHECK_CMD="$ac_cv_path_THIN_CHECK_CMD"
fi
- test "$THIN_CHECK_CMD" = "thin_check" && {
+ test -z "$THIN_CHECK_CMD" && {
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: thin_check not found in path $PATH" >&5
$as_echo "$as_me: WARNING: thin_check not found in path $PATH" >&2;}
- THIN_CHECK_CMD=thin_check
+ THIN_CHECK_CMD=/usr/sbin/thin_check
THIN_CONFIGURE_WARN=y
}
fi
# Empty means a config way to ignore thin checking
- if test "$THIN_DUMP_CMD" = "thin_dump"; then
+ if test "$THIN_DUMP_CMD" = "autodetect"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}thin_dump", so it can be a program name with args.
set dummy ${ac_tool_prefix}thin_dump; ac_word=$2
fi
if test "x$ac_pt_THIN_DUMP_CMD" = x; then
- THIN_DUMP_CMD="thin_dump"
+ THIN_DUMP_CMD=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
THIN_DUMP_CMD="$ac_cv_path_THIN_DUMP_CMD"
fi
- test "$THIN_DUMP_CMD" = "thin_dump" && {
+ test -z "$THIN_DUMP_CMD" && {
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: thin_dump not found in path $PATH" >&5
$as_echo "$as_me: WARNING: thin_dump not found in path $PATH" >&2;}
- THIN_DUMP_CMD=thin_dump
+ THIN_DUMP_CMD=/usr/sbin/thin_dump
THIN_CONFIGURE_WARN=y
}
fi
# Empty means a config way to ignore thin checking
- if test "$THIN_REPAIR_CMD" = "thin_repair"; then
+ if test "$THIN_REPAIR_CMD" = "autodetect"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}thin_repair", so it can be a program name with args.
set dummy ${ac_tool_prefix}thin_repair; ac_word=$2
test -z "$THIN_REPAIR_CMD" && {
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: thin_repair not found in path $PATH" >&5
$as_echo "$as_me: WARNING: thin_repair not found in path $PATH" >&2;}
- THIN_REPAIR_CMD=thin_repair
+ THIN_REPAIR_CMD=/usr/sbin/thin_repair
THIN_CONFIGURE_WARN=y
}
fi