summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-06-30 18:57:21 +0300
committermonty@hundin.mysql.fi <>2002-06-30 18:57:21 +0300
commitf87efa928b807a03c83b75a87f0d773e4bc8eb68 (patch)
treec1bcaea9558c224371254c107ba497d9242758b7 /acinclude.m4
parente5b02fbe6efd6c88a485a50fde2f44837c55f6bc (diff)
downloadmariadb-git-f87efa928b807a03c83b75a87f0d773e4bc8eb68.tar.gz
Update for running gcc 3.x (mainly on HPUX)
Portability fixes for HPUX Rename of CHECK_LOCK to IS_FREE_LOCK Apply lower_case_table_names also to databases Cleanup of describe code Don't allow \ in database names
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m410
1 files changed, 6 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 3230a4b5788..2b6c8cbc390 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1210,10 +1210,12 @@ AC_DEFUN(AC_SYS_LARGEFILE_FLAGS,
changequote(, )dnl
hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*)
changequote([, ])dnl
- if test "$GCC" = yes; then
- ac_cv_sys_largefile_CFLAGS=-D__STDC_EXT__
- fi
- ;;
+ if test "$GCC" = yes; then
+ if $CC -v 2>&1 | grep 'version 2.95' > /dev/null 2>&1; then
+ ac_cv_sys_largefile_CFLAGS=-D__STDC_EXT__
+ fi
+ fi
+ ;;
# IRIX 6.2 and later require cc -n32.
changequote(, )dnl
irix6.[2-9]* | irix6.1[0-9]* | irix[7-9].* | irix[1-9][0-9]*)