From 49583434affd844e879a7f60b570a7b2cc2987a0 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Oct 2021 20:19:58 +0200 Subject: build: show configure summary using a pretty format --- configure.ac | 78 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 40 insertions(+), 38 deletions(-) diff --git a/configure.ac b/configure.ac index 7c203ed..86e60f3 100644 --- a/configure.ac +++ b/configure.ac @@ -1133,50 +1133,52 @@ helper/Makefile ]) echo " - mate-screensaver $VERSION - ======================== - - prefix: ${prefix} - exec_prefix: ${exec_prefix} - libdir: ${EXPANDED_LIBDIR} - bindir: ${EXPANDED_BINDIR} - sysconfdir: ${EXPANDED_SYSCONFDIR} - localstatedir: ${EXPANDED_LOCALSTATEDIR} - datadir: ${EXPANDED_DATADIR} - PAM prefix: ${PAM_PREFIX} - source code location: ${srcdir} - compiler: ${CC} - cflags: ${CFLAGS} - Warning flags: ${WARN_CFLAGS} - Base libs: ${MATE_SCREENSAVER_LIBS} - Extension libs: ${SAVER_LIBS} - Maintainer mode: ${USE_MAINTAINER_MODE} - Docs enabled: ${enable_docbook_docs} - - GL: ${have_libgl} - - Screen locking enabled: ${enable_locking} - Show keyboard indicator: ${with_kbd_layout_indicator} - systemd support: ${use_systemd} - elogind support: ${use_elogind} - ConsoleKit support: ${use_console_kit} - libnotify support: ${have_libnotify} - PAM support: ${have_pam} - bsd_auth(3) support: ${have_bsdauth} - Have shadow passwords: ${have_shadow} - Have adjunct shadow: ${have_shadow_adjunct} - Have enhanced shadow: ${have_shadow_enhanced} - Have HPUX shadow: ${have_shadow_hpux} - Have password helper: ${have_passwd_helper} - Authentication scheme: ${AUTH_SCHEME}" +Configure summary: + + ${PACKAGE_STRING} + `echo $PACKAGE_STRING | sed "s/./=/g"` + + prefix .......................: ${prefix} + exec_prefix ..................: ${exec_prefix} + libdir .......................: ${EXPANDED_LIBDIR} + bindir .......................: ${EXPANDED_BINDIR} + sysconfdir ...................: ${EXPANDED_SYSCONFDIR} + localstatedir ................: ${EXPANDED_LOCALSTATEDIR} + datadir ......................: ${EXPANDED_DATADIR} + PAM prefix ...................: ${PAM_PREFIX} + source code location .........: ${srcdir} + compiler .....................: ${CC} + cflags .......................: ${CFLAGS} + Warning flags ................: ${WARN_CFLAGS} + Base libs ....................: ${MATE_SCREENSAVER_LIBS} + Extension libs ...............: ${SAVER_LIBS} + Maintainer mode ..............: ${USE_MAINTAINER_MODE} + Docs enabled .................: ${enable_docbook_docs} + + GL ...........................: ${have_libgl} + + Screen locking enabled .......: ${enable_locking} + Show keyboard indicator ......: ${with_kbd_layout_indicator} + systemd support ..............: ${use_systemd} + elogind support ..............: ${use_elogind} + ConsoleKit support ...........: ${use_console_kit} + libnotify support ............: ${have_libnotify} + PAM support ..................: ${have_pam} + bsd_auth(3) support ..........: ${have_bsdauth} + Have shadow passwords ........: ${have_shadow} + Have adjunct shadow ..........: ${have_shadow_adjunct} + Have enhanced shadow .........: ${have_shadow_enhanced} + Have HPUX shadow .............: ${have_shadow_hpux} + Have password helper .........: ${have_passwd_helper} + Authentication scheme ........: ${AUTH_SCHEME}" if test "x$need_setuid" = "xyes" -a "x$have_pam" != "xyes" ; then echo \ -" Need setuid dialog: yes +" Need setuid dialog ...........: yes " else echo \ -" Need setuid dialog: no +" Need setuid dialog ...........: no " fi -- cgit v1.2.1