summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2002-12-04 16:16:06 +0100
committerunknown <lenz@mysql.com>2002-12-04 16:16:06 +0100
commite955255cf67b483234ffdf4a61028bf046be47b5 (patch)
tree7caf204e3d8220fc41ededdc6647c0ca54d32d28 /configure.in
parent4fb76fc70a26ddca0d016a0c598775cc4d574135 (diff)
downloadmariadb-git-e955255cf67b483234ffdf4a61028bf046be47b5.tar.gz
- Portability fixes for HP compiler on HPUX11 (backport from 4.0 tree)
- sql_analyse.cc: Fixed bug in decimal handling configure.in: - Portability fix for HP compiler on HPUX11 libmysql/password.c: - Portability fix for HP compiler on HPUX11 mysys/hash.c: - Portability fix for HP compiler on HPUX11 mysys/my_static.c: - Portability fix for HP compiler on HPUX11 mysys/my_static.h: - Portability fix for HP compiler on HPUX11 mysys/my_tempnam.c: - Portability fix for HP compiler on HPUX11 sql/sql_analyse.cc: - Fixed bug in decimal handling
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 3fb495281a0..3a5c1a56408 100644
--- a/configure.in
+++ b/configure.in
@@ -893,6 +893,12 @@ case $SYSTEM_TYPE in
echo "Using --with-named-thread=-lpthread"
with_named_thread="-lpthread"
fi
+ # Fixes for HPUX 11.0 compiler
+ if test "$ac_cv_prog_gcc" = "no"
+ then
+ CFLAGS="$CFLAGS +DD64 -DHAVE_BROKEN_INLINE"
+ CXXFLAGS="$CXXFLAGS +DD64 +O2"
+ fi
;;
*rhapsody*)
if test "$ac_cv_prog_gcc" = "yes"