From 34bcf39c68d57c2a91e74036e6e6a62b7b0dfabc Mon Sep 17 00:00:00 2001 From: Ouss4 Date: Fri, 17 Jul 2020 14:37:49 +0100 Subject: [PATCH] tools/configure.c: Don't redirect the output of make. --- tools/configure.c | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/tools/configure.c b/tools/configure.c index 0e004a23dbe..0ef7df32b6d 100644 --- a/tools/configure.c +++ b/tools/configure.c @@ -380,7 +380,6 @@ static void parse_args(int argc, char **argv) static int run_make(const char *arg) { char **argv; - bool v1 = false; snprintf(g_buffer, BUFFER_SIZE, "make %s", arg); @@ -388,17 +387,6 @@ static int run_make(const char *arg) { strncat(g_buffer, " ", BUFFER_SIZE - 1); strncat(g_buffer, *argv, BUFFER_SIZE - 1); - if (strcmp(*argv, "V=1") == 0) - { - v1 = true; - } - } - - if (!v1) - { -#ifndef WIN32 - strncat(g_buffer, " 1>/dev/null", BUFFER_SIZE - 1); -#endif } return system(g_buffer); @@ -1414,13 +1402,17 @@ static void configure(void) if (g_winpaths) { - /* Using Windows paths, but the configuration wants POSIX paths */ + /* Using Windows paths, but the configuration wants POSIX + * paths. + */ substitute(appdir, '\\', '/'); } else { - /* Using POSIX paths, but the configuration wants Windows paths */ + /* Using POSIX paths, but the configuration wants Windows + * paths. + */ substitute(appdir, '/', '\\'); }