root / helper / configure.ac @ 8b9d0a95
History | View | Annotate | Download (724 Bytes)
1 | d46fb573 | Nikos Skalkotos | AC_PREREQ(2.59) |
---|---|---|---|
2 | d46fb573 | Nikos Skalkotos | AC_INIT(snf-image-helper, 0.1, synnefo@lists.grnet.gr) |
3 | d46fb573 | Nikos Skalkotos | |
4 | d46fb573 | Nikos Skalkotos | AC_CONFIG_AUX_DIR(autotools) |
5 | d46fb573 | Nikos Skalkotos | AC_CONFIG_SRCDIR(configure) |
6 | d46fb573 | Nikos Skalkotos | |
7 | d46fb573 | Nikos Skalkotos | AM_INIT_AUTOMAKE([1.9 foreign tar-ustar -Wall -Wno-portability]) |
8 | d46fb573 | Nikos Skalkotos | AM_INIT_AUTOMAKE([subdir-objects]) |
9 | d46fb573 | Nikos Skalkotos | |
10 | d46fb573 | Nikos Skalkotos | # Check common programs |
11 | d46fb573 | Nikos Skalkotos | AC_PROG_INSTALL |
12 | d46fb573 | Nikos Skalkotos | AC_PROG_LN_S |
13 | d46fb573 | Nikos Skalkotos | AC_PROG_AWK |
14 | d46fb573 | Nikos Skalkotos | AC_PROG_MKDIR_P |
15 | d46fb573 | Nikos Skalkotos | |
16 | d46fb573 | Nikos Skalkotos | AC_PATH_PROG(XMLSTARLET, [xmlstarlet], [], [$PATH:/usr/sbin:/sbin]) |
17 | d46fb573 | Nikos Skalkotos | if test -z "$XMLSTARLET" ; then |
18 | d46fb573 | Nikos Skalkotos | AC_MSG_ERROR([xmlstarlet not found in $PATH]) |
19 | d46fb573 | Nikos Skalkotos | fi |
20 | d46fb573 | Nikos Skalkotos | |
21 | d46fb573 | Nikos Skalkotos | AC_PATH_PROG(RESIZE2FS, [resize2fs], [], [$PATH:/usr/sbin:/sbin]) |
22 | d46fb573 | Nikos Skalkotos | if test -z "$RESIZE2FS" ; then |
23 | d46fb573 | Nikos Skalkotos | AC_MSG_ERROR([resize2fs not found in $PATH]) |
24 | d46fb573 | Nikos Skalkotos | fi |
25 | d46fb573 | Nikos Skalkotos | |
26 | d46fb573 | Nikos Skalkotos | AC_CONFIG_FILES([ |
27 | d46fb573 | Nikos Skalkotos | Makefile |
28 | d46fb573 | Nikos Skalkotos | tasks/Makefile |
29 | d46fb573 | Nikos Skalkotos | ]) |
30 | d46fb573 | Nikos Skalkotos | AC_OUTPUT |
31 | d46fb573 | Nikos Skalkotos | |
32 | d46fb573 | Nikos Skalkotos | # vim: set sta sts=4 shiftwidth=4 sw=4 et ai : |