diff options
author | kaa@polly.(none) <> | 2007-10-12 15:10:33 +0400 |
---|---|---|
committer | kaa@polly.(none) <> | 2007-10-12 15:10:33 +0400 |
commit | acae688f4613a5ecfc80cd6d6b9c891d77c3f6d7 (patch) | |
tree | 3a7a69a124246ebd56da311f642605bbfa177a5e /config | |
parent | 07741935ca728db9dff494848119ff39b875a2b1 (diff) | |
parent | 0288f24d2163a8ce1c04b7f6e380ecf0c2df558c (diff) | |
download | mariadb-git-acae688f4613a5ecfc80cd6d6b9c891d77c3f6d7.tar.gz |
Merge polly.(none):/home/kaa/src/maint/bug31254/my51-bug31254
into polly.(none):/home/kaa/src/maint/mysql-5.1-maint
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/large_file.m4 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/config/ac-macros/large_file.m4 b/config/ac-macros/large_file.m4 index 2639cec5fb7..279ce6d60f1 100644 --- a/config/ac-macros/large_file.m4 +++ b/config/ac-macros/large_file.m4 @@ -128,8 +128,15 @@ AC_DEFUN([MYSQL_SYS_LARGEFILE], ac_cv_sys_largefile_source=1 ;; esac]) - # AIX 4.2 and later -- do nothing, include standards.h instead. - # this goes for both GNU and IBM C and C++ compilers. + AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, + ac_cv_sys_large_files, + [Large files support on AIX-style hosts.], + [case "$host_os" in + # Large file support on AIX is available starting from version 4.2 + # Tested only on 5.2 and up + aix4.[2-9]* | aix4.1[0-9]* | aix[5-9].* | aix[1-9][0-9]*) + ac_cv_sys_large_files=1 ;; + esac]) fi ]) |