diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-12-09 23:26:28 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-12-09 23:26:28 -0800 |
commit | 6761c0f78c270de16632959fc13cfb03b6d29986 (patch) | |
tree | 976338f271e88f73b44424503c9f484d792e19bd | |
parent | 6b1b28afd06048377f60640633ef23a2bb626579 (diff) | |
download | txr-6761c0f78c270de16632959fc13cfb03b6d29986.tar.gz txr-6761c0f78c270de16632959fc13cfb03b6d29986.tar.bz2 txr-6761c0f78c270de16632959fc13cfb03b6d29986.zip |
Solaris issue detecting ftello/fseeko.
* configure: re-test for ftello with _LARGEFILE_SOURCE
and add to lang_flags if that works.
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |