-
Notifications
You must be signed in to change notification settings - Fork 16
/
configure.ac
32 lines (25 loc) · 1.02 KB
/
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
32
AC_PREREQ([2.68])
AC_INIT([ister],[69],[[email protected]],[ister],[https://github.com/bryteise/ister])
AM_INIT_AUTOMAKE([foreign silent-rules color-tests no-dist-gzip dist-xz])
AC_CONFIG_FILES([Makefile])
AC_PREFIX_DEFAULT(/usr/local)
AM_PATH_PYTHON([3.0])
PKG_PROG_PKG_CONFIG
# Options
AC_ARG_WITH([systemdsystemunitdir], AS_HELP_STRING([--with-systemdsystemunitdir=DIR],
[path to systemd system service directory]), [path_systemdsystemunit=${withval}],
[path_systemdsystemunit="`$PKG_CONFIG --variable=systemdsystemunitdir systemd`"])
SYSTEMD_SYSTEMUNITDIR="${path_systemdsystemunit}"
AC_SUBST(SYSTEMD_SYSTEMUNITDIR)
AM_CONDITIONAL(SYSTEMD, test -n "${path_systemdsystemunit}")
AC_OUTPUT
AC_MSG_RESULT([
ister $VERSION
========
prefix: ${prefix}
datarootdir: ${datarootdir}
sysconfdir: ${sysconfdir}
exec_prefix: ${exec_prefix}
bindir: ${bindir}
systemdsystemunitdir: ${systemdsystemunitdir}
])