Expand directories for configuration summary

Unexpanded defaults:

  sysconfdir  => ${prefix}/etc
  runstatedir => ${localstatedir}/run

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-25 12:14:18 +01:00
parent 7793fcbd14
commit 15b8d386b3

View File

@ -114,13 +114,20 @@ AC_SUBST(SBINDIR)
AC_OUTPUT
# Expand directories for configuration summary, unexpanded defaults:
# sysconfdir => ${prefix}/etc
# runstatedir => ${localstatedir}/run
SYSCONFDIR=`eval echo $sysconfdir`
RUNSTATEDIR=`eval echo $runstatedir`
RUNSTATEDIR=`eval echo $RUNSTATEDIR`
cat <<EOF
------------------ Summary ------------------
$PACKAGE_NAME version $PACKAGE_VERSION
Prefix.........: $prefix
Sysconfdir.....: `eval echo $sysconfdir`
Runstatedir....: `eval echo $runstatedir`
Sysconfdir.....: $SYSCONFDIR
Runstatedir....: $RUNSTATEDIR
C Compiler.....: $CC $CFLAGS $CPPFLAGS $LDFLAGS $LIBS
Optional features: