failed();
}
+
+ /* don't try to second guess the compilers heuristics for stdout handling */
+ if (strcmp(output_file, "-") == 0) {
+ stats_update(STATS_OUTSTDOUT);
+ failed();
+ }
+
if (!output_file) {
char *p;
output_file = x_strdup(input_file);
{ STATS_NOTC, "not a C/C++ file ", NULL, 0 },
{ STATS_CONFTEST, "autoconf compile/link ", NULL, 0 },
{ STATS_UNSUPPORTED, "unsupported compiler option ", NULL, 0 },
+ { STATS_OUTSTDOUT, "output to stdout ", NULL, 0 },
{ STATS_DEVICE, "output to a non-regular file ", NULL, 0 },
{ STATS_NOINPUT, "no input file ", NULL, 0 },
{ STATS_NUMFILES, "files in cache ", NULL, FLAG_NOZERO|FLAG_ALWAYS },