From 2221d627f496d0d60bcb05b8444eae0c297ab380 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 24 Jun 2018 15:52:35 -0400 Subject: configure.ac: Add hints about missing [s]fdisk and mke2fs --- 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 ] ) -- cgit v0.9.1