summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce Momjian2002-10-23 20:56:24 +0000
committerBruce Momjian2002-10-23 20:56:24 +0000
commitdc4d18e0567eee4af09a1d146a92fd7b59c353a2 (patch)
treea054507e41f6095e564147e14d4756a4bda6ac1b /configure
parent641b658c26f927bf59d38ecba9c8ab45544a2816 (diff)
Add fseeko/ftello using fsetpos/fgetpos for BSD/OS.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 40ff59975b1..d4b1134f3ac 100755
--- a/configure
+++ b/configure
@@ -10463,7 +10463,8 @@ fi
-for ac_func in gethostname getrusage inet_aton random srandom strcasecmp strdup strerror strtol strtoul
+
+for ac_func in fseeko gethostname getrusage inet_aton random srandom strcasecmp strdup strerror strtol strtoul
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -11470,6 +11471,9 @@ fi
done
+case $host_os in bsdi*)
+ac_cv_func_fseeko=yes
+esac
echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
if test "${ac_cv_sys_largefile_source+set}" = set; then