From b2aeb9f609c3f87c0b8ef695c2fb5a5d496de79a Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sat, 3 Oct 2009 19:08:45 +0200 Subject: [PATCH] make --version|-v display info about encoding detection --- src/helpers.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/helpers.cpp b/src/helpers.cpp index 8cc2671e..7b246643 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -83,6 +83,12 @@ void ParseArgv(int argc, char **argv) # ifdef ENABLE_CLOCK << " - clock\n" # endif + << "\nencoding detection: " +# ifdef HAVE_LANGINFO_H + << "enabled" +# else + << "disabled" +# endif // HAVE_LANGINFO_H << "\nbuilt with support for:" # ifdef HAVE_CURL_CURL_H << " curl"