1 --- libgpg-error-1.27/configure.ac.1 2017-08-08 17:50:44.250366489 +0000
2 +++ libgpg-error-1.27/configure.ac 2017-08-08 17:52:25.817211841 +0000
6 # Find a 64 bit integer type to be used instead of off_t. We prefer
7 -# the standard integer types over int64_t and finally try long long.
8 -if test "$ac_cv_sizeof_int" = "8"; then
9 +# int64_t as it's guaranteed to have the same size for both 32/64-bit archs
10 +if test "$ac_cv_header_stdint_h" = yes; then
11 + replacement_for_off_t="int64_t"
12 +elif test "$ac_cv_sizeof_int" = "8"; then
13 replacement_for_off_t="int"
14 elif test "$ac_cv_sizeof_long" = "8"; then
15 replacement_for_off_t="long"
16 -elif test "$ac_cv_header_stdint_h" = yes; then
17 - replacement_for_off_t="int64_t"
18 elif test "$ac_cv_sizeof_long_long" = "8"; then
19 replacement_for_off_t="long long"