summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2018-06-24 15:52:35 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2018-06-24 15:52:35 (EDT)
commit2221d627f496d0d60bcb05b8444eae0c297ab380 (patch)
tree89f4d33bac59b1495ddf497d885cf1af09d5506e
parentee06f66f11a6d84c22bfb9b983eb2c5965d6b1a6 (diff)
configure.ac: Add hints about missing [s]fdisk and mke2fs
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e212c05..05a37f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -194,7 +194,8 @@ AC_ARG_WITH(
)
AC_SUBST([HAVE_FDISK])
if ! ${HAVE_SFDISK} && ! ${HAVE_FDISK}; then
- AC_MSG_ERROR([sfdisk or fdisk is required])
+ AC_MSG_ERROR([sfdisk or fdisk is required $(: \
+ )(hint: these may be in /sbin or /usr/sbin)])
fi
AC_ARG_WITH(
[mke2fs],
@@ -217,7 +218,8 @@ AC_ARG_WITH(
[
AC_PATH_PROG([MKE2FS], [mke2fs])
if test -z "${MKE2FS}"; then
- AC_MSG_ERROR([mke2fs not found])
+ AC_MSG_ERROR([mke2fs not found $(: \
+ )(hint: this may be in /sbin or /usr/sbin)])
fi
]
)