-
Notifications
You must be signed in to change notification settings - Fork 10
/
configure.ac
34 lines (29 loc) · 1.26 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
33
34
dnl Process this file with autoconf to produce a configure script.
AC_INIT([microos-tools], [4.0])
AM_INIT_AUTOMAKE
AC_PREFIX_DEFAULT(/usr)
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
PKG_CHECK_VAR([systemdsystemunitdir], [systemd], [systemdsystemunitdir], [],
[AC_MSG_ERROR([Could not determine value for 'systemdsystemunitdir' - is the 'systemd.pc' file installed?])])
PKG_CHECK_VAR([tmpfilesdir], [systemd], [tmpfilesdir], [],
[AC_MSG_ERROR([Could not determine value for 'tmpfilesdir' - is the 'systemd.pc' file installed?])])
PKG_CHECK_VAR([systemdgeneratordir], [systemd], [systemdsystemgeneratordir], [],
[AC_MSG_ERROR([Could not determine value for 'systemdsystemgeneratordir' - is the 'systemd.pc' file installed?])])
PKG_CHECK_VAR([dracutmodulesdir], [dracut], [dracutmodulesdir], [],
[AC_MSG_ERROR([Could not determine value for 'dracutmodulesdir' - is the 'dracut.pc' file installed?])])
PKG_CHECK_MODULES([RPM], [rpm])
if test "${exec_prefix}" = "NONE"
then
SYSCTLDIR=${prefix}/lib/sysctl.d
else
SYSCTLDIR=${exec_prefix}/lib/sysctl.d
fi
AC_SUBST(SYSCTLDIR)
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_CONFIG_FILES([Makefile systemd-proxy-env/Makefile systemd-printenv/Makefile \
tmpfs/Makefile selinux/Makefile \
devel-tools/Makefile])
AC_OUTPUT