All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] configure.ac: Fix summary for disabled metadata
@ 2022-01-14 12:55 Petr Vorel
  2022-01-14 13:12 ` Joerg Vehlow
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Petr Vorel @ 2022-01-14 12:55 UTC (permalink / raw)
  To: ltp

Previously with --disable-metadata output didn't mention that metadata
are disabled and printed config which was not used. Now:

$ ./configure --disable-metadata
...
METADATA
metadata disabled

$ ./configure
...
METADATA
metadata generator: asciidoctor
HTML metadata: yes
PDF metadata: no

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 configure.ac | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configure.ac b/configure.ac
index 3c56d19224..5b9e3c1781 100644
--- a/configure.ac
+++ b/configure.ac
@@ -404,7 +404,14 @@ libtirpc: ${have_libtirpc:-no}
 glibc SUN-RPC: ${have_rpc_glibc:-no}
 
 METADATA
+EOF
+
+if test "x$enable_metadata" = xyes; then
+cat << EOF
 metadata generator: $with_metadata_generator
 HTML metadata: $with_metadata_html
 PDF metadata: $with_metadata_pdf
 EOF
+else
+echo metadata disabled
+fi
-- 
2.34.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-01-18 16:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 12:55 [LTP] [PATCH 1/1] configure.ac: Fix summary for disabled metadata Petr Vorel
2022-01-14 13:12 ` Joerg Vehlow
2022-01-14 14:12 ` Cyril Hrubis
2022-01-14 14:16   ` Joerg Vehlow
2022-01-14 14:23     ` Cyril Hrubis
2022-01-14 14:27       ` Joerg Vehlow
2022-01-14 14:51         ` Cyril Hrubis
2022-01-14 17:54           ` Petr Vorel
2022-01-14 17:44         ` Petr Vorel
2022-01-18 15:12 ` Cyril Hrubis
2022-01-18 15:49   ` Petr Vorel
2022-01-18 16:07     ` Cyril Hrubis
2022-01-18 16:47       ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.