mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Another attempt to get fdatasync to be ignored on non-conforming posix systems.
Now a system has to opt-in for fdatasync instead of opt-out. Ticket #1467. (CVS 2741) FossilOrigin-Name: 115340d4e85f1bbbab657edbb504284343d86e2c
This commit is contained in:
10
configure
vendored
10
configure
vendored
@ -1496,7 +1496,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
# The following RCS revision string applies to configure.in
|
||||
# $Revision: 1.32 $
|
||||
# $Revision: 1.33 $
|
||||
|
||||
#########
|
||||
# Programs needed
|
||||
@ -20435,16 +20435,10 @@ fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_func_fdatasync" >&5
|
||||
echo "${ECHO_T}$ac_cv_func_fdatasync" >&6
|
||||
if test $ac_cv_func_fdatasync = yes; then
|
||||
:
|
||||
else
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define fdatasync fsync
|
||||
_ACEOF
|
||||
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -DHAVE_FDATASYNC=1"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
#########
|
||||
# Generate the output files.
|
||||
#
|
||||
|
Reference in New Issue
Block a user