summaryrefslogtreecommitdiff
blob: 2a779a2eb827eb2b0125d5e375c89229227cf835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
AC_PREREQ([2.60])
AC_INIT([gentoo-systemd-integration], [1])
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_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