--- a/configure.ac +++ b/configure.ac @@ -860,7 +860,8 @@ AC_RUN_IFELSE( FILE *f = fopen(".", "r"); return f && fread(&c, 1, 1, f)]])], [ac_cv_fread_reads_directories=no], - [ac_cv_fread_reads_directories=yes]) + [ac_cv_fread_reads_directories=yes], + [ac_cv_fread_reads_directories=no]) ]) if test $ac_cv_fread_reads_directories = yes; then FREAD_READS_DIRECTORIES=UnfortunatelyYes @@ -894,7 +895,8 @@ AC_RUN_IFELSE( if (snprintf(buf, 3, "%s", "12345") != 5 || strcmp(buf, "12")) return 1]])], [ac_cv_snprintf_returns_bogus=no], - [ac_cv_snprintf_returns_bogus=yes]) + [ac_cv_snprintf_returns_bogus=yes], + [ac_cv_snprintf_returns_bogus=no]) ]) if test $ac_cv_snprintf_returns_bogus = yes; then SNPRINTF_RETURNS_BOGUS=UnfortunatelyYes @@ -917,7 +919,8 @@ yippeeyeswehaveit #endif ]), [ac_cv_sane_mode_bits=yes], - [ac_cv_sane_mode_bits=no]) + [ac_cv_sane_mode_bits=no], + [ac_cv_sane_mode_bits=yes]) ]) if test $ac_cv_sane_mode_bits = yes; then NEEDS_MODE_TRANSLATION=