From 99ef9f6cde777cc31d36e35c9a1f019e87bea663 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Wed, 26 Sep 2012 10:23:42 +0400 Subject: [PATCH] Add info about ext.d directory to output of 'mc -F' command. Signed-off-by: Andrew Borodin --- src/Makefile.am | 3 ++- src/textconf.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 8630b52db..19c850f6f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,7 +12,8 @@ AM_CPPFLAGS = \ -DSYSCONFDIR=\""$(sysconfdir)/@PACKAGE@/"\" \ -DLIBEXECDIR=\""$(libexecdir)/@PACKAGE@/"\" \ -DDATADIR=\""$(pkgdatadir)/"\" \ - -DLOCALEDIR=\""$(localedir)"\" + -DLOCALEDIR=\""$(localedir)"\" \ + -DEXTHELPERSDIR=\""@EXTHELPERSDIR@/"\" if CONS_SAVER SUBDIRS += consaver diff --git a/src/textconf.c b/src/textconf.c index 9c25ef35e..dd4c8c5a2 100644 --- a/src/textconf.c +++ b/src/textconf.c @@ -188,6 +188,8 @@ show_datadirs_extended (void) PRINTF_SECTION (_("Config directory:"), mc_global.sysconfig_dir); PRINTF_SECTION (_("Data directory:"), mc_global.share_data_dir); + PRINTF_SECTION (_("File extension handlers:"), EXTHELPERSDIR); + #if defined ENABLE_VFS_EXTFS || defined ENABLE_VFS_FISH PRINTF_SECTION (_("VFS plugins and scripts:"), LIBEXECDIR); #ifdef ENABLE_VFS_EXTFS -- 2.11.4.GIT