@@ -13230,6 +13230,81 @@ fi
13230
13230
13231
13231
fi
13232
13232
13233
+ # This is probably only present on Darwin, but may as well check always
13234
+ echo "$as_me:$LINENO: checking whether F_FULLFSYNC is declared" >&5
13235
+ echo $ECHO_N "checking whether F_FULLFSYNC is declared... $ECHO_C" >&6
13236
+ if test "${ac_cv_have_decl_F_FULLFSYNC+set}" = set; then
13237
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13238
+ else
13239
+ cat >conftest.$ac_ext <<_ACEOF
13240
+ /* confdefs.h. */
13241
+ _ACEOF
13242
+ cat confdefs.h >>conftest.$ac_ext
13243
+ cat >>conftest.$ac_ext <<_ACEOF
13244
+ /* end confdefs.h. */
13245
+ #include <fcntl.h>
13246
+
13247
+ int
13248
+ main ()
13249
+ {
13250
+ #ifndef F_FULLFSYNC
13251
+ char *p = (char *) F_FULLFSYNC;
13252
+ #endif
13253
+
13254
+ ;
13255
+ return 0;
13256
+ }
13257
+ _ACEOF
13258
+ rm -f conftest.$ac_objext
13259
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260
+ (eval $ac_compile) 2>conftest.er1
13261
+ ac_status=$?
13262
+ grep -v '^ *+' conftest.er1 >conftest.err
13263
+ rm -f conftest.er1
13264
+ cat conftest.err >&5
13265
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266
+ (exit $ac_status); } &&
13267
+ { ac_try='test -z "$ac_c_werror_flag"
13268
+ || test ! -s conftest.err'
13269
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270
+ (eval $ac_try) 2>&5
13271
+ ac_status=$?
13272
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273
+ (exit $ac_status); }; } &&
13274
+ { ac_try='test -s conftest.$ac_objext'
13275
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276
+ (eval $ac_try) 2>&5
13277
+ ac_status=$?
13278
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279
+ (exit $ac_status); }; }; then
13280
+ ac_cv_have_decl_F_FULLFSYNC=yes
13281
+ else
13282
+ echo "$as_me: failed program was:" >&5
13283
+ sed 's/^/| /' conftest.$ac_ext >&5
13284
+
13285
+ ac_cv_have_decl_F_FULLFSYNC=no
13286
+ fi
13287
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13288
+ fi
13289
+ echo "$as_me:$LINENO: result: $ac_cv_have_decl_F_FULLFSYNC" >&5
13290
+ echo "${ECHO_T}$ac_cv_have_decl_F_FULLFSYNC" >&6
13291
+ if test $ac_cv_have_decl_F_FULLFSYNC = yes; then
13292
+
13293
+ cat >>confdefs.h <<_ACEOF
13294
+ #define HAVE_DECL_F_FULLFSYNC 1
13295
+ _ACEOF
13296
+
13297
+
13298
+ else
13299
+ cat >>confdefs.h <<_ACEOF
13300
+ #define HAVE_DECL_F_FULLFSYNC 0
13301
+ _ACEOF
13302
+
13303
+
13304
+ fi
13305
+
13306
+
13307
+
13233
13308
##
13234
13309
## Functions, global variables
13235
13310
##
0 commit comments