Revision d51a95a8 snf-image-host/configure.ac

b/snf-image-host/configure.ac
25 25

  
26 26
AM_CONDITIONAL(PROGMONSUPPORT, [test -n "$PROGRESS_MONITOR"])
27 27

  
28
# --with-helper..
29
AC_ARG_WITH([helper],
30
    [AS_HELP_STRING([--with-helper=IMG_PATH],
31
        [Path to helper VM image [LOCALSTATEDIR/lib/snf-image/helper.img]]
28
# --with-helper-dir
29
AC_ARG_WITH([helper-dir],
30
    [AS_HELP_STRING([--with-helper-dir=DIR],
31
        [top-level directory to host the helper VM
32
        [LOCALSTATEDIR/lib/snf-image/helper]]
32 33
    )],
33
    [helper="$withval"],
34
    [helper="$localstatedir/lib/snf-image/helper.img"])
35
AC_SUBST(HELPER, $helper)
34
    [helper_dir="$withval"],
35
    [helper_dir="$localstatedir/lib/snf-image/helper"])
36
AC_SUBST(HELPER_DIR, $helper_dir)
37

  
38
# --with-helper-img
39
AC_ARG_WITH([helper-img],
40
    [AS_HELP_STRING([--with-helper-img=IMG_PATH],
41
        [Path to helper VM image [HELPERDIR/image]]
42
    )],
43
    [helper_img="$withval"],
44
    [helper_img="$helper_dir/image"])
45
AC_SUBST(HELPER_IMG, $helper_img)
36 46

  
37 47
# --with-helper-kernel
38
AC_ARG_WITH([helper_kernel],
48
AC_ARG_WITH([helper-kernel],
39 49
    [AS_HELP_STRING([--with-helper-kernel=KERNEL_PATH],
40
        [Path to a kernel to use to boot the helper VM image 
41
        [LOCALSTATEDIR/lib/snf-image/helper-kernel]]
50
        [Path to the helper VM kernel [HELPERDIR/kernel]]
42 51
    )],
43 52
    [helper_ernel="$withval"],
44
    [helper_kernel="$localstatedir/lib/snf-image/helper-kernel"])
53
    [helper_kernel="$helper_dir/kernel"])
45 54
AC_SUBST(HELPER_KERNEL, ${helper_kernel})
46 55

  
47 56
# --with-helper-initrd..
48
AC_ARG_WITH([helper_initrd],
57
AC_ARG_WITH([helper-initrd],
49 58
    [AS_HELP_STRING([--with-helper-initrd=INITRD_PATH],
50
        [Path to an initial ramdisk to use to boot the helper VM image
51
        [LOCALSTATEDIR/lib/snf-image/helper-initrd]]
59
        [Path to the helper VM initial ramdist [HELPERDIR/initrd]]
52 60
    )],
53 61
    [helper_initrd="$withval"],
54
    [helper_initrd="$localstatedir/lib/snf-image/helper-initrd"])
62
    [helper_initrd="$helper_dir/initrd"])
55 63
AC_SUBST(HELPER_INITRD, ${helper_initrd})
56 64

  
57 65
# --with-os-dir=...

Also available in: Unified diff