AC_PREREQ(2.59)
-AC_INIT(snf-image-helper, 0.1.1, synnefo@lists.grnet.gr)
+AC_INIT(snf-image-helper, 0.7.1, synnefo@lists.grnet.gr)
AC_CONFIG_AUX_DIR(autotools)
AC_CONFIG_SRCDIR(configure)
AC_MSG_ERROR([resize2fs not found in $PATH])
fi
+AC_PATH_PROG(PARTED, [parted], [], [$PATH:/usr/sbin:/sbin])
+if test -z "$PARTED" ; then
+ AC_MSG_ERROR([parted not found in $PATH])
+fi
+
+AC_PATH_PROG(REGLOOKUP, [reglookup], [], [$PATH:/usr/sbin:/sbin])
+if test -z "$REGLOOKUP" ; then
+ AC_MSG_ERROR([reglookup not found in $PATH])
+fi
+
+AC_PATH_PROG(CHNTPW, [chntpw], [], [$PATH:/usr/sbin:/sbin])
+if test -z "$CHNTPW" ; then
+ AC_MSG_ERROR([chntpw not found in $PATH])
+fi
+
AC_CONFIG_FILES([
Makefile
tasks/Makefile