summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2003-02-19 01:20:19 (GMT)
committerandreas_kupries <akupries@shaw.ca>2003-02-19 01:20:19 (GMT)
commite957a316c0074ebe8a764377855fa226942ba2af (patch)
treeb17d73aa2db291941a8739b35dc85c5605a1c66a /unix/tcl.m4
parent8f0f9765065901d39650a0f204dda8f4687155f5 (diff)
downloadtcl-e957a316c0074ebe8a764377855fa226942ba2af.zip
tcl-e957a316c0074ebe8a764377855fa226942ba2af.tar.gz
tcl-e957a316c0074ebe8a764377855fa226942ba2af.tar.bz2
* unix/tcl.m4: [Bug #651811] Added definition of _XOPEN_SOURCE and
linkage of 'xnet' library to HP 11 branch. This kills a lot of socket-related failures in the testsuite when Tcl was compiled in 64 bit mode (both PA-RISC 2.0W, and IA 64). * unix/configure: Regenerated.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index b24349f..b9e6d15 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -955,7 +955,9 @@ dnl AC_CHECK_TOOL(AR, ar)
;;
HP-UX-*.11.*)
# Use updated header definitions where possible
- AC_DEFINE(_XOPEN_SOURCE_EXTENDED)
+ AC_DEFINE(_XOPEN_SOURCE) # Use the XOPEN network library
+ AC_DEFINE(_XOPEN_SOURCE_EXTENDED) # Use the XOPEN network library
+ LIBS="$LIBS -lxnet" # Use the XOPEN network library
SHLIB_SUFFIX=".sl"
AC_CHECK_LIB(dld, shl_load, tcl_ok=yes, tcl_ok=no)