summaryrefslogtreecommitdiff
blob: 0e03a5ed8a308573ffc981630bbd5be9bf5cb418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AC_PREREQ([2.60])
AC_INIT([gentoo-systemd-integration], [0])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.6 foreign dist-bzip2 subdir-objects])

AC_PROG_SED

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

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

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

AC_CONFIG_FILES([Makefile])
AC_OUTPUT