The attached patch provides a couple more compilation fixes by adding a Haiku section to the tcl.m4 script.
The section fixes a linker error where the networking symbols (such as socket(), inet_ntoa(), recv(), etc) are not found. Haiku provides them via -lnetwork. Additionally, this provides shared and dynamic library settings (e.g., dlopen() is in -lroot).
This is just a preliminary version that can probably be improved upon and expanded, but it results in a successful complete build.
Cheers!
Sean
tcl.m4 section for Haiku OS
Wasn't this patch applied? I recall reading release notes in 8.5.8 that mentioned Haiku portability fixes, but wasn't clear if it was this patch or something else. Pretty simple linker fixes if it wasn't. ;)
All of the dev branches have a Haiku stanza in their unix/tcl.m4 files.
http://core.tcl.tk/tcl/info/100e5d2f1262afde210c7844d866359a8409924c
is the commit to the core-8-5-branch. Should be in releases since then.
Don, thanks for the recap/confirm. Looks like this bug can be closed.
Now that Haiku's Alpha 4 is out, I'm looking into revisiting Tk support but wanted to close out all of the Tcl issues first. This should do it! Thanks again.