Skip to content

Commit 24b525d

Browse files
committed
configure.ac: auto-adjust _PKG_VER_SEPARATOR length to _PKG_VER_TITLE contents in the final report
Signed-off-by: Jim Klimov <[email protected]>
1 parent 9cc7c34 commit 24b525d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

configure.ac

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,12 @@ AS_IF([test "x$enable_Werror" = "xyes"], [
348348
AC_SUBST([WARNING_CFLAGS])
349349
AC_SUBST([WARNING_CXXFLAGS])
350350

351+
_PKG_VER_TITLE="$PACKAGE $VERSION"
352+
_PKG_VER_SEPARATOR="`echo "${_PKG_VER_TITLE}" | sed 's,.,=,g'`"
351353
AC_OUTPUT
352354
AC_MSG_RESULT([
353-
$PACKAGE $VERSION
354-
================
355+
${_PKG_VER_TITLE}
356+
${_PKG_VER_SEPARATOR}
355357
356358
prefix: ${prefix}
357359
sysconfdir: ${sysconfdir}

0 commit comments

Comments
 (0)