Lines 83-89
Link Here
|
83 |
libfprint_dep = dependency('libfprint-2', version: '>=' + libfprint_min_version) |
83 |
libfprint_dep = dependency('libfprint-2', version: '>=' + libfprint_min_version) |
84 |
polkit_gobject_dep = dependency('polkit-gobject-1', version: '>= 0.91') |
84 |
polkit_gobject_dep = dependency('polkit-gobject-1', version: '>= 0.91') |
85 |
dbus_dep = dependency('dbus-1', required: false) |
85 |
dbus_dep = dependency('dbus-1', required: false) |
86 |
libsystemd_dep = dependency('libsystemd', required: get_option('pam')) |
86 |
libsystemd_dep = dependency('libelogind', required: get_option('pam')) |
87 |
pam_dep = cc.find_library('pam', |
87 |
pam_dep = cc.find_library('pam', |
88 |
required: get_option('pam'), |
88 |
required: get_option('pam'), |
89 |
has_headers: 'security/pam_modules.h', |
89 |
has_headers: 'security/pam_modules.h', |
Lines 93-104
Link Here
|
93 |
xsltproc = find_program('xsltproc', required: get_option('gtk_doc')) |
93 |
xsltproc = find_program('xsltproc', required: get_option('gtk_doc')) |
94 |
|
94 |
|
95 |
# StateDirectory was introduced in systemd 235 |
95 |
# StateDirectory was introduced in systemd 235 |
96 |
systemd_dep = dependency('systemd', version: '>= 235') |
96 |
#systemd_dep = dependency('systemd', version: '>= 235') |
97 |
systemd_unit_dir = get_option('systemd_system_unit_dir') |
97 |
#systemd_unit_dir = get_option('systemd_system_unit_dir') |
98 |
|
98 |
|
99 |
if systemd_unit_dir == '' |
99 |
#if systemd_unit_dir == '' |
100 |
systemd_unit_dir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir') |
100 |
# systemd_unit_dir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir') |
101 |
endif |
101 |
#endif |
102 |
|
102 |
|
103 |
dbus_service_dir = get_option('dbus_service_dir') |
103 |
dbus_service_dir = get_option('dbus_service_dir') |
104 |
dbus_data_dir = datadir |
104 |
dbus_data_dir = datadir |
Lines 179-185
Link Here
|
179 |
output += ' DBus service directory: ' + dbus_service_dir |
179 |
output += ' DBus service directory: ' + dbus_service_dir |
180 |
output += ' DBus interfaces directory: ' + dbus_interfaces_dir |
180 |
output += ' DBus interfaces directory: ' + dbus_interfaces_dir |
181 |
output += ' Polkit policy directory: ' + polkit_policy_directory |
181 |
output += ' Polkit policy directory: ' + polkit_policy_directory |
182 |
output += ' Systemd service directory: ' + systemd_unit_dir |
182 |
#output += ' Systemd service directory: ' + systemd_unit_dir |
183 |
if get_option('pam') |
183 |
if get_option('pam') |
184 |
output += ' PAM module directory: ' + pam_modules_dir |
184 |
output += ' PAM module directory: ' + pam_modules_dir |
185 |
endif |
185 |
endif |