|
|
| version 1.170, 2014/08/28 17:33:26 | version 1.172, 2015/04/20 23:32:54 |
|---|---|
| Line 817 with_included_ltdl | Line 817 with_included_ltdl |
| with_ltdl_include | with_ltdl_include |
| with_ltdl_lib | with_ltdl_lib |
| enable_ltdl_install | enable_ltdl_install |
| enable_largefile | |
| ' | ' |
| ac_precious_vars='build_alias | ac_precious_vars='build_alias |
| host_alias | host_alias |
| Line 1465 Optional Features: | Line 1466 Optional Features: |
| optimize for fast installation [default=yes] | optimize for fast installation [default=yes] |
| --disable-libtool-lock avoid locking (might break parallel builds) | --disable-libtool-lock avoid locking (might break parallel builds) |
| --enable-ltdl-install install libltdl | --enable-ltdl-install install libltdl |
| --disable-largefile omit support for large files | |
| Optional Packages: | Optional Packages: |
| --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| Line 17710 fi | Line 17712 fi |
| # Check whether --enable-largefile was given. | |
| if test "${enable_largefile+set}" = set; then : | |
| enableval=$enable_largefile; | |
| fi | |
| if test "$enable_largefile" != no; then | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 | |
| $as_echo_n "checking for special C compiler options needed for large files... " >&6; } | |
| if ${ac_cv_sys_largefile_CC+:} false; then : | |
| $as_echo_n "(cached) " >&6 | |
| else | |
| ac_cv_sys_largefile_CC=no | |
| if test "$GCC" != yes; then | |
| ac_save_CC=$CC | |
| while :; do | |
| # IRIX 6.2 and later do not support large files by default, | |
| # so use the C compiler's -n32 option if that helps. | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <sys/types.h> | |
| /* Check that off_t can represent 2**63 - 1 correctly. | |
| We can't simply define LARGE_OFF_T to be 9223372036854775807, | |
| since some C++ compilers masquerading as C compilers | |
| incorrectly reject 9223372036854775807. */ | |
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | |
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | |
| && LARGE_OFF_T % 2147483647 == 1) | |
| ? 1 : -1]; | |
| int | |
| main () | |
| { | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| break | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext | |
| CC="$CC -n32" | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| ac_cv_sys_largefile_CC=' -n32'; break | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext | |
| break | |
| done | |
| CC=$ac_save_CC | |
| rm -f conftest.$ac_ext | |
| fi | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 | |
| $as_echo "$ac_cv_sys_largefile_CC" >&6; } | |
| if test "$ac_cv_sys_largefile_CC" != no; then | |
| CC=$CC$ac_cv_sys_largefile_CC | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | |
| $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | |
| if ${ac_cv_sys_file_offset_bits+:} false; then : | |
| $as_echo_n "(cached) " >&6 | |
| else | |
| while :; do | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <sys/types.h> | |
| /* Check that off_t can represent 2**63 - 1 correctly. | |
| We can't simply define LARGE_OFF_T to be 9223372036854775807, | |
| since some C++ compilers masquerading as C compilers | |
| incorrectly reject 9223372036854775807. */ | |
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | |
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | |
| && LARGE_OFF_T % 2147483647 == 1) | |
| ? 1 : -1]; | |
| int | |
| main () | |
| { | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| ac_cv_sys_file_offset_bits=no; break | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #define _FILE_OFFSET_BITS 64 | |
| #include <sys/types.h> | |
| /* Check that off_t can represent 2**63 - 1 correctly. | |
| We can't simply define LARGE_OFF_T to be 9223372036854775807, | |
| since some C++ compilers masquerading as C compilers | |
| incorrectly reject 9223372036854775807. */ | |
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | |
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | |
| && LARGE_OFF_T % 2147483647 == 1) | |
| ? 1 : -1]; | |
| int | |
| main () | |
| { | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| ac_cv_sys_file_offset_bits=64; break | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| ac_cv_sys_file_offset_bits=unknown | |
| break | |
| done | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 | |
| $as_echo "$ac_cv_sys_file_offset_bits" >&6; } | |
| case $ac_cv_sys_file_offset_bits in #( | |
| no | unknown) ;; | |
| *) | |
| cat >>confdefs.h <<_ACEOF | |
| #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | |
| _ACEOF | |
| ;; | |
| esac | |
| rm -rf conftest* | |
| if test $ac_cv_sys_file_offset_bits = unknown; then | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 | |
| $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | |
| if ${ac_cv_sys_large_files+:} false; then : | |
| $as_echo_n "(cached) " >&6 | |
| else | |
| while :; do | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <sys/types.h> | |
| /* Check that off_t can represent 2**63 - 1 correctly. | |
| We can't simply define LARGE_OFF_T to be 9223372036854775807, | |
| since some C++ compilers masquerading as C compilers | |
| incorrectly reject 9223372036854775807. */ | |
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | |
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | |
| && LARGE_OFF_T % 2147483647 == 1) | |
| ? 1 : -1]; | |
| int | |
| main () | |
| { | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| ac_cv_sys_large_files=no; break | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #define _LARGE_FILES 1 | |
| #include <sys/types.h> | |
| /* Check that off_t can represent 2**63 - 1 correctly. | |
| We can't simply define LARGE_OFF_T to be 9223372036854775807, | |
| since some C++ compilers masquerading as C compilers | |
| incorrectly reject 9223372036854775807. */ | |
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | |
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | |
| && LARGE_OFF_T % 2147483647 == 1) | |
| ? 1 : -1]; | |
| int | |
| main () | |
| { | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_compile "$LINENO"; then : | |
| ac_cv_sys_large_files=1; break | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| ac_cv_sys_large_files=unknown | |
| break | |
| done | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 | |
| $as_echo "$ac_cv_sys_large_files" >&6; } | |
| case $ac_cv_sys_large_files in #( | |
| no | unknown) ;; | |
| *) | |
| cat >>confdefs.h <<_ACEOF | |
| #define _LARGE_FILES $ac_cv_sys_large_files | |
| _ACEOF | |
| ;; | |
| esac | |
| rm -rf conftest* | |
| fi | |
| fi | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| $as_echo_n "checking for ANSI C header files... " >&6; } | $as_echo_n "checking for ANSI C header files... " >&6; } |
| if ${ac_cv_header_stdc+:} false; then : | if ${ac_cv_header_stdc+:} false; then : |