mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 14:27:09 +00:00
config.m4: Add largefile support
The GPGME uses AC_SYS_LARGEFILE in its `configure.ac`, which makes it expects largefile support to be enabled when the system supports it. See the following from https://gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html: "On POSIX platforms you can enable largefile support, if it is different from the default on the system the application is compiled on, by using the Autoconf macro AC_SYS_LARGEFILE. If you do this, then you don’t need to worry about anything else: It will just work. In this case you might also want to use AC_FUNC_FSEEKO to take advantage of some new interfaces, and AC_TYPE_OFF_T (just in case)." Adding this is required on 32-bits and optional on 64-bits platforms.
This commit is contained in:
parent
75813dfb81
commit
82bde58b7a
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ if test "$PHP_GNUPG" != "no"; then
|
||||||
|
|
||||||
PHP_ADD_INCLUDE($GNUPG_DIR/include)
|
PHP_ADD_INCLUDE($GNUPG_DIR/include)
|
||||||
|
|
||||||
|
dnl enable largefile support on 32-bits platform
|
||||||
|
AC_SYS_LARGEFILE
|
||||||
|
AC_TYPE_OFF_T
|
||||||
|
|
||||||
dnl gpgme_op_passwd is not used but was added in 1.3.0
|
dnl gpgme_op_passwd is not used but was added in 1.3.0
|
||||||
LIBNAME=gpgme
|
LIBNAME=gpgme
|
||||||
LIBSYMBOL=gpgme_op_passwd
|
LIBSYMBOL=gpgme_op_passwd
|
||||||
|
|
Loading…
Reference in a new issue