Revision c8230353 snf-image-host/configure.ac
b/snf-image-host/configure.ac | ||
---|---|---|
27 | 27 |
# --with-progress-monitor |
28 | 28 |
AC_ARG_WITH([progress-monitor], |
29 | 29 |
[AS_HELP_STRING([--with-progress-monitor=PRGRM_PATH], |
30 |
[path to progress-monitor program] |
|
31 |
[[snf-progress-monitor]])], |
|
32 |
[if test "$withval" = "yes" ; then |
|
33 |
AC_PATH_PROG(PROGRESS_MONITOR, [snf-progress-monitor], [], [$PATH:/usr/sbin:/sbin]) |
|
30 |
[path to progress-monitor program []])], |
|
31 |
[if test "$withval" != "yes" -a "$withval" != "no"; then |
|
32 |
AC_PATH_PROG(PROGRESS_MONITOR, ["$withval"], [], [$PATH:/usr/sbin:/sbin]) |
|
34 | 33 |
if test -z "$PROGRESS_MONITOR" ; then |
35 |
AC_MSG_FAILURE([Could not find snf-progress-monitor.])
|
|
34 |
AC_MSG_FAILURE([Could not find progress-monitor: $withval.])
|
|
36 | 35 |
fi |
37 |
else |
|
38 | 36 |
PROGRESS_MONITOR="$withval" |
39 |
fi], |
|
40 |
[AC_MSG_NOTICE(progress-monitor support not enabled)] |
|
37 |
elif test "$withval" != "no"; then |
|
38 |
AC_MSG_ERROR([you must specify a value for progress-monitor if --with-progress-monitor is specified]) |
|
39 |
fi] |
|
41 | 40 |
) |
42 | 41 |
|
43 |
AM_CONDITIONAL(PROGMONSUPPORT, [test -n "$PROGRESS_MONITOR"]) |
|
44 | 42 |
|
45 | 43 |
# --with-helper-dir |
46 | 44 |
AC_ARG_WITH([helper-dir], |
Also available in: Unified diff