2 AC_INIT(snf-image-helper, 0.5, synnefo@lists.grnet.gr)
4 AC_CONFIG_AUX_DIR(autotools)
5 AC_CONFIG_SRCDIR(configure)
7 AM_INIT_AUTOMAKE([1.9 foreign tar-ustar -Wall -Wno-portability])
8 AM_INIT_AUTOMAKE([subdir-objects])
10 # Check common programs
16 AC_PATH_PROG(XMLSTARLET, [xmlstarlet], [], [$PATH:/usr/sbin:/sbin])
17 if test -z "$XMLSTARLET" ; then
18 AC_MSG_ERROR([xmlstarlet not found in $PATH])
21 AC_PATH_PROG(RESIZE2FS, [resize2fs], [], [$PATH:/usr/sbin:/sbin])
22 if test -z "$RESIZE2FS" ; then
23 AC_MSG_ERROR([resize2fs not found in $PATH])
26 AC_PATH_PROG(PARTED, [parted], [], [$PATH:/usr/sbin:/sbin])
27 if test -z "$PARTED" ; then
28 AC_MSG_ERROR([parted not found in $PATH])
31 AC_PATH_PROG(REGLOOKUP, [reglookup], [], [$PATH:/usr/sbin:/sbin])
32 if test -z "$REGLOOKUP" ; then
33 AC_MSG_ERROR([reglookup not found in $PATH])
36 AC_PATH_PROG(CHNTPW, [chntpw], [], [$PATH:/usr/sbin:/sbin])
37 if test -z "$CHNTPW" ; then
38 AC_MSG_ERROR([chntpw not found in $PATH])
47 # vim: set sta sts=4 shiftwidth=4 sw=4 et ai :