summaryrefslogtreecommitdiff
blob: 366af30e3fbe2d48fcd2727885daab03a13d9cf0 (plain)
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
AC_PREREQ([2.60])
AC_INIT([gentoo-systemd-integration], [6])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.6 foreign dist-bzip2 subdir-objects])

AC_PROG_LN_S
AC_PROG_SED

# https://bitbucket.org/mgorny/systemd-m4/
SYSTEMD_MISC

SYSTEMD_SYSTEMGENERATORDIR
if test -z "$systemdsystemgeneratordir"; then
	AC_MSG_ERROR([systemdsystemgeneratordir must be set])
fi

SYSTEMD_SYSTEMPRESETDIR
if test -z "$systemdsystempresetdir"; then
	AC_MSG_ERROR([systemdsystempresetdir must be set])
fi

PKG_CHECK_VAR([udevdir], [udev], [udevdir], [], [udevdir=/lib/udev])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT