diff options
author | monty@donna.mysql.fi <> | 2001-04-20 15:18:46 +0300 |
---|---|---|
committer | monty@donna.mysql.fi <> | 2001-04-20 15:18:46 +0300 |
commit | 5e8c4b76d53ac5a4e01813a1d5743be3044cc258 (patch) | |
tree | a82d8683eb9e83050b873052f53cd7e717d2a572 /innobase/configure.in | |
parent | 0e6e6b0f385188a075bd6ad8817c452cc426d0f1 (diff) | |
download | mariadb-git-5e8c4b76d53ac5a4e01813a1d5743be3044cc258.tar.gz |
Portability fixes
Diffstat (limited to 'innobase/configure.in')
-rw-r--r-- | innobase/configure.in | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/innobase/configure.in b/innobase/configure.in index b2fa034479b..9d25255b52c 100644 --- a/innobase/configure.in +++ b/innobase/configure.in @@ -10,7 +10,7 @@ AC_PROG_INSTALL AC_CHECK_HEADERS(aio.h sched.h) AC_CHECK_SIZEOF(int, 4) AC_CHECK_FUNCS(sched_yield) -AC_C_INLINE +#AC_C_INLINE Already checked in MySQL AC_C_BIGENDIAN # Build optimized or debug version ? @@ -56,10 +56,13 @@ else fi case "$target_os" in - hp*) AC_DEFINE(UNIV_MUST_NOT_INLINE, 1, - No inlining because gcc broken on HP-UX);; - *sgi-irix*) AC_DEFINE(UNIV_MUST_NOT_INLINE, 1, - No inlining because cc broken on irix);; + hp*) + CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";; + irix*) + CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";; + sysv5uw7*) + # Problem when linking on SCO + CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";; esac AC_OUTPUT(Makefile os/Makefile ut/Makefile btr/Makefile |