summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-02-15 02:20:35 (GMT)
committerhobbs <hobbs>2003-02-15 02:20:35 (GMT)
commitf870a1618a725a94f70445b2d3126855bb79b30f (patch)
tree4701de238be90b47a808d6ea1a8a6f78b6474812 /unix/tcl.m4
parentd5144b61f1f7557ed1a464f0af0255d1adecce93 (diff)
downloadtk-f870a1618a725a94f70445b2d3126855bb79b30f.zip
tk-f870a1618a725a94f70445b2d3126855bb79b30f.tar.gz
tk-f870a1618a725a94f70445b2d3126855bb79b30f.tar.bz2
correct HP-UX ia64 --enable-64bit build flags
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m49
1 files changed, 7 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index cbd42e9..083c4e8 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -990,8 +990,13 @@ dnl AC_CHECK_TOOL(AR, ar)
esac
else
do64bit_ok=yes
- EXTRA_CFLAGS="+DA2.0W"
- LDFLAGS="+DA2.0W $LDFLAGS"
+ if test "`uname -m`" = "ia64" ; then
+ EXTRA_CFLAGS="+DD64"
+ LDFLAGS="+DD64 $LDFLAGS"
+ else
+ EXTRA_CFLAGS="+DA2.0W"
+ LDFLAGS="+DA2.0W $LDFLAGS"
+ fi
fi
fi
;;