summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-12-16 04:35:17 +0200
committerunknown <monty@donna.mysql.com>2000-12-16 04:35:17 +0200
commit617acd7c2e4c9838c00fc998c4de72d51675aff3 (patch)
tree7315204b80a6ad65b4afb4b8eac22de908df91bc /acinclude.m4
parent9977a8368e8c82b35bed2ed2cde1d29f3ce147c1 (diff)
downloadmariadb-git-617acd7c2e4c9838c00fc998c4de72d51675aff3.tar.gz
configure fix to get Linux to work with new large file system detection
sql/mysqld.cc: Don't create pid file when using --bootstrap Fixed option --bdb-shared-data Cleanups
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m412
1 files changed, 8 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 6075da70928..f5edcb742f1 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -904,9 +904,13 @@ AC_DEFUN(AC_SYS_LARGEFILE,
AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
ac_cv_sys_large_files,
[Define for large files, on AIX-style hosts.])
- AC_SYS_LARGEFILE_MACRO_VALUE(_XOPEN_SOURCE, 500,
- ac_cv_sys_xopen_source,
- [Define to make ftello visible on some hosts (e.g. glibc 2.1.3).],
- [#include <stdio.h>], [return !ftello;])
+ if test "$IS_LINUX" = "true"; then
+ AC_DEFINE(_GNU_SOURCE)
+ else
+ AC_SYS_LARGEFILE_MACRO_VALUE(_XOPEN_SOURCE, 500,
+ ac_cv_sys_xopen_source,
+ [Define to make ftello visible on some hosts (e.g. glibc 2.1.3).],
+ [#include <stdio.h>], [return !ftello;])
+ fi
fi
])