Skip to content

Commit

Permalink
build: show configure summary using a pretty format
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuj committed Jan 1, 2022
1 parent 35c80d8 commit 2741b99
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -236,19 +236,22 @@ AC_OUTPUT

dnl ==========================================================================
echo "
MATE Power Manager $VERSION
=============================

prefix: ${prefix}
datadir: ${datadir}
compiler: ${CC}
cflags: ${CFLAGS}
cwarnings: ${WARN_CFLAGS}
libsecret support: ${with_libsecret}
gnome-keyring support: ${with_keyring}
Building extra applets: ${enable_applets}
Self test support: ${have_tests}
dbus-1 services dir: $DBUS_SERVICES_DIR
Configure summary:

${PACKAGE_STRING}
`echo $PACKAGE_STRING | sed "s/./=/g"`

prefix ......................: ${prefix}
datadir .....................: ${datadir}
compiler ....................: ${CC}
cflags ......................: ${CFLAGS}
cwarnings ...................: ${WARN_CFLAGS}

libsecret support ...........: ${with_libsecret}
gnome-keyring support .......: ${with_keyring}
Building extra applets ......: ${enable_applets}
Self test support ...........: ${have_tests}
dbus-1 services dir .........: $DBUS_SERVICES_DIR
"
if [[ "${prefix}" != "/usr" ]] ; then
echo '
Expand Down

0 comments on commit 2741b99

Please sign in to comment.