projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
defe0b2
)
[trunk] add support for Large File in autoconf
author
Julien Malik
<julien.malik@paraiso.me>
Mon, 28 Nov 2011 15:35:16 +0000
(15:35 +0000)
committer
Julien Malik
<julien.malik@paraiso.me>
Mon, 28 Nov 2011 15:35:16 +0000
(15:35 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index e1de3c3ba8e1f5e7ddf6aca61b2a6b92ccb11c21..142e31f8d77f70728fef4eeb6ec4285135ef468d 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-60,6
+60,14
@@
AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"])
AM_CONDITIONAL([HAVE_DARWIN], [test "x${have_darwin}" = "xyes"])
+# Define the necessary macros to make off_t a 64 bits type
+AC_SYS_LARGEFILE
+
+# If the `fseeko' function is available, define `HAVE_FSEEKO'. Define
+# `_LARGEFILE_SOURCE' if necessary.
+AC_FUNC_FSEEKO
+
+
### Additional options to configure
# debug