Statistics
| Branch: | Tag: | Revision:

root / snf-image-helper / configure.ac @ 1a38f03a

History | View | Annotate | Download (726 Bytes)

1
AC_PREREQ(2.59)
2
AC_INIT(snf-image-helper, 0.1.1, synnefo@lists.grnet.gr)
3

    
4
AC_CONFIG_AUX_DIR(autotools)
5
AC_CONFIG_SRCDIR(configure)
6

    
7
AM_INIT_AUTOMAKE([1.9 foreign tar-ustar -Wall -Wno-portability])
8
AM_INIT_AUTOMAKE([subdir-objects])
9

    
10
# Check common programs
11
AC_PROG_INSTALL
12
AC_PROG_LN_S
13
AC_PROG_AWK
14
AC_PROG_MKDIR_P
15

    
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])
19
fi
20

    
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])
24
fi
25

    
26
AC_CONFIG_FILES([
27
    Makefile
28
    tasks/Makefile
29
])
30
AC_OUTPUT
31

    
32
# vim: set sta sts=4 shiftwidth=4 sw=4 et ai :