m4.include/mc-cflags.m4: report real compiler in MC_CHECK_ONE_CFLAG instead of 'gcc'

Example use: CC=clang ./configure

Before the patch configure reported 'gcc' is being used:

    checking whether gcc accepts -Wcomment... yes
    checking whether gcc accepts -Wdeclaration-after-statement... yes
    checking whether gcc accepts -Wfloat-equal... yes
    checking whether gcc accepts -Wformat... yes

(config.log used proper ${CC})

After the patch it lies a bit less:

    checking whether clang accepts -Wcomment... yes
    checking whether clang accepts -Wdeclaration-after-statement... yes
    checking whether clang accepts -Wfloat-equal... yes
    checking whether clang accepts -Wformat... yes

Reported-by: Agostino Sarubbo <ago@gentoo.org>
Gentoo-bug: http://bugs.gentoo.org/449752
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Ticket #2076: make copy/move/delete progress dialog wider.

Initial step: get rid of hardcoded width of progress bar.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Copy/move/delete progress dialog occupies at least 2/3 of screen width.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
WHLine: allow draw text over horizontal line.

  * (hline_set_text): new function.
  * (file_progress_show_total): use hline_set_text to show processed
  files counter.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Merge branch '2076_copy_progress_width'

* 2076_copy_progress_width:
  WHLine: allow draw text over horizontal line.
  Copy/move/delete progress dialog occupies at least 2/3 of screen width.
  Ticket #2076: make copy/move/delete progress dialog wider.
Ticket #2944: code cleanup before 4.8.8 release.

(mc_prompt): move from src/setup.[ch] to src/filemanager/midnight.[ch].

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(read_subshell_prompt): return gboolean instead of int.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(subshell_prompt): changed to GString.

(read_subshell_prompt): refactoring to ret rid of low-level memory reallocation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mc_global_t::shell): new member to store user's shell

...instead of global variable "shell".

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Avoid C++-style comments.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Remove irrelevant comments about file_date() function.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Merge src/filemanager/option.[ch] to src/filemanager/boxes.[ch].

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Clarify usage of use_internal_edit variable

...and disable "Use internal edit" checkbox in case of build
without internal editor.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Enable -Wunused-but-set-variable flag by default.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Clarify check of C compiler flags.

AC_TRY_COMPILE macro is obsolete. Use AC_COMPILE_IFELSE instead.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Avoid compiler errors like:  error: variable 'xxx' set but not used [-Werror=unused-but-set-variable]

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Merge branch '2944_cleanup'

# By Andrew Borodin (10) and Slava Zanko (1)
# Via Slava Zanko
* 2944_cleanup:
  Avoid compiler errors like:  error: variable 'xxx' set but not used [-Werror=unused-but-set-variable]
  Clarify check of C compiler flags.
  Enable -Wunused-but-set-variable flag by default.
  Clarify usage of use_internal_edit variable
  Merge src/filemanager/option.[ch] to src/filemanager/boxes.[ch].
  Remove irrelevant comments about file_date() function.
  Avoid C++-style comments.
  (mc_global_t::shell): new member to store user's shell
  (subshell_prompt): changed to GString.
  (read_subshell_prompt): return gboolean instead of int.
  Ticket #2944: code cleanup before 4.8.8 release.