From 2cdb88ccbf142566f84cb2d58c11f27bcede1de4 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 30 Sep 2002 22:10:29 +0000 Subject: [PATCH] * configure.in: Expand $bindir and $datadir to show at the end. Reported by Nerijus Baliunas --- ChangeLog | 5 +++++ configure.in | 16 ++++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3e8feac47..a9c542f47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-10-01 Pavel Roskin + + * configure.in: Expand $bindir and $datadir to show at the end. + Reported by Nerijus Baliunas + 2002-09-29 Pavel Roskin * configure.in: Remove the argument from --with-gpm-mouse. The diff --git a/configure.in b/configure.in index 99072a05d..b86ced3e9 100644 --- a/configure.in +++ b/configure.in @@ -462,10 +462,10 @@ AC_ARG_WITH(edit, if test x$with_edit != xno; then AC_DEFINE(USE_INTERNAL_EDIT, 1, [Define to enable internal editor]) use_edit=yes - EDIT_msg="yes" + edit_msg="yes" AC_MSG_NOTICE([using internal editor]) else - EDIT_msg="no" + edit_msg="no" fi @@ -600,6 +600,13 @@ po/Makefile.in AC_OUTPUT +# Expand $bindir and $datadir to show the user. +# Two levels of expansion should be enough. +bindir_msg=`eval echo "$bindir"` +bindir_msg=`eval echo "$bindir_msg"` +datadir_msg=`eval echo "$datadir"` +datadir_msg=`eval echo "$datadir_msg"` + echo " Configuration: @@ -613,6 +620,7 @@ Configuration: Mouse support: ${mouse_lib} X11 events support: ${textmode_x11_support} With subshell support: ${subshell} - Internal editor: ${EDIT_msg} - Install path: ${prefix}/bin, ${prefix}/lib/mc + Internal editor: ${edit_msg} + Install path for binaries: ${bindir_msg} + Install path for data: ${datadir_msg} "