-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
31 lines (26 loc) · 943 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([btrfs-systemd-daemons], [1.0.0], [[email protected]])
AM_INIT_AUTOMAKE([foreign dist-xz tar-pax no-dist-gzip])
# Misc #
# Systemd will, by default, only look for installed unit files in a standard and
# fixed set of directories. At present, the default prefix for unit files
# installed by packages should be /usr.
AC_PREFIX_DEFAULT([/usr])
# Checks for programs.
AC_PATH_PROG([SYSTEMCTL], [systemctl])
AS_IF([AS_VAR_TEST_SET([SYSTEMCTL])],,
[AC_MSG_ERROR([unable to find systemctl binary])])
AC_PATH_PROG([BTRFS], [btrfs])
AS_IF([AS_VAR_TEST_SET([BTRFS])],,
[AC_MSG_ERROR([unable to find btrfs binary])])
AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT