]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: fold static libsystemd and libudev into the generic status line
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Apr 2021 07:56:06 +0000 (09:56 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Apr 2021 09:04:40 +0000 (11:04 +0200)
It's a very specialized feature and we don't need to devote a separate line to it.

meson.build

index 69d4854e32ab02a06416f845896e399f1e622b57..da0e71fe1f14905bcf2e5330b52e70b86bcc62df 100644 (file)
@@ -3724,10 +3724,6 @@ alt_time_epoch = run_command('date', '-Is', '-u', '-d',
 status += [
         'time epoch:                        @0@ (@1@)'.format(time_epoch, alt_time_epoch)]
 
-status += [
-        'static libsystemd:                 @0@'.format(static_libsystemd),
-        'static libudev:                    @0@'.format(static_libudev)]
-
 # TODO:
 # CFLAGS:   ${OUR_CFLAGS} ${CFLAGS}
 # CPPFLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS}
@@ -3869,6 +3865,18 @@ foreach tuple : [
         endif
 endforeach
 
+if static_libsystemd == 'false'
+        missing += 'static-libsystemd'
+else
+        found += 'static-libsystemd(@0@)'.format(static_libsystemd)
+endif
+
+if static_libudev == 'false'
+        missing += 'static-libudev'
+else
+        found += 'static-libudev(@0@)'.format(static_libudev)
+endif
+
 status += [
         '',
         'enabled features: @0@'.format(', '.join(found)),