Merge branch 'ah/misc-doc-updates'
[gitweb.git] / configure.ac
index 6f1fd9df35ef7d477ddb75de454a4708176ad634..e11b7976ab1c93d8ccec2e499d0093db42551059 100644 (file)
@@ -927,7 +927,7 @@ AC_RUN_IFELSE(
        [AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
                [[
                FILE *f = fopen(".", "r");
-               return f)]])],
+               return f != NULL;]])],
        [ac_cv_fread_reads_directories=no],
        [ac_cv_fread_reads_directories=yes])
 ])