summaryrefslogtreecommitdiff
path: root/pam_gdm
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2020-04-30 19:52:28 +0000
committerRay Strode <halfline@gmail.com>2020-04-30 19:52:28 +0000
commitfb0c97485d90a37ecd870810d2152c7442a9e84c (patch)
tree3fb017a34a89bd236d9b30cb72dbc1a7b80e1c1c /pam_gdm
parentde884de7b69647bead3081222aa1c2be443e351f (diff)
downloadgdm-fb0c97485d90a37ecd870810d2152c7442a9e84c.tar.gz
data: switch gdm.service.in to use cmake format
We're going to be switching to meson, and meson doesn't deal too well with an @ in the configuration file that's not part of a substitution variable. This commit switches the gdm service over to use a cmake style of substitution variables, so we can later tell meson to use configure in cmake mode and workaround the @ confusion.
Diffstat (limited to 'pam_gdm')
-rw-r--r--pam_gdm/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/pam_gdm/meson.build b/pam_gdm/meson.build
new file mode 100644
index 00000000..f47d8e6a
--- /dev/null
+++ b/pam_gdm/meson.build
@@ -0,0 +1,16 @@
+pam_gdm_deps = [
+ libpam_dep,
+]
+
+if keyutils_dep.found()
+ pam_gdm_deps += keyutils_dep
+endif
+
+pam_gdm = library('pam_gdm',
+ 'pam_gdm.c',
+ dependencies: pam_gdm_deps,
+ include_directories: config_h_dir,
+ name_prefix: '',
+ install: true,
+ install_dir: pam_mod_dir,
+)