From 6761c0f78c270de16632959fc13cfb03b6d29986 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 9 Dec 2015 23:26:28 -0800 Subject: Solaris issue detecting ftello/fseeko. * configure: re-test for ftello with _LARGEFILE_SOURCE and add to lang_flags if that works. --- configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure') diff --git a/configure b/configure index d3b821b3..54851c45 100755 --- a/configure +++ b/configure @@ -2356,6 +2356,10 @@ int main(int argc, char **argv) if conftest ; then printf "yes\n" printf "#define HAVE_FSEEKO 1\n" >> $config_h +elif conftest EXTRA_FLAGS=-D_LARGEFILE_SOURCE ; then + printf "yes\n" + printf "#define HAVE_FSEEKO 1\n" >> $config_h + lang_flags="$lang_flags -D_LARGEFILE_SOURCE" else printf "no\n" fi -- cgit v1.2.3