Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] configure.ac: expand all paths in the summary



This fixes a cosmetic issue in the configure summary text. When I ran
"./configure --prefix=/home/tanu/tmp/zsh", the paths were printed as
follows:

binary install path       : /home/tanu/tmp/zsh/bin
man page install path     : ${prefix}/share/man
info install path         : ${prefix}/share/info
functions install path    : ${prefix}/share/zsh/5.0.6-dev-0/functions

After this patch, the paths are printed as follows:

binary install path       : /home/tanu/tmp/zsh/bin
man page install path     : /home/tanu/tmp/zsh/share/man
info install path         : /home/tanu/tmp/zsh/share/info
functions install path    : /home/tanu/tmp/zsh/share/zsh/5.0.6-dev-0/functions
---
 configure.ac | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 37f3585..268e56f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3181,9 +3181,12 @@ AC_OUTPUT
 
 eval "zshbin1=${bindir}"
 eval "zshbin2=${zshbin1}"
-eval "zshman=${mandir}"
-eval "zshinfo=${infodir}"
-eval "zshfndir=${fndir}"
+eval "zshman1=${mandir}"
+eval "zshman2=${zshman1}"
+eval "zshinfo1=${infodir}"
+eval "zshinfo2=${zshinfo1}"
+eval "zshfndir1=${fndir}"
+eval "zshfndir2=${zshfndir1}"
 
 echo "
 zsh configuration
@@ -3208,10 +3211,10 @@ echo "\
 library flags             : ${LIBS}
 installation basename     : ${tzsh_name}
 binary install path       : ${zshbin2}
-man page install path     : ${zshman}
-info install path         : ${zshinfo}"
-if test "$zshfndir" != no; then
-  echo "functions install path    : ${zshfndir}"
+man page install path     : ${zshman2}
+info install path         : ${zshinfo2}"
+if test "$zshfndir2" != no; then
+  echo "functions install path    : ${zshfndir2}"
 fi
 if test "x$additionalfpath" != x; then
   echo "additional fpath entries  : ${additionalfpath}"
-- 
1.9.3



Messages sorted by: Reverse Date, Date, Thread, Author