# example of how to configure the ns pkg

# ./configure --with-tcl=/home/decouto/ns-allinone-2.1b6/tcl8.0.4 --with-otcl=/home/decouto/otcl-1.0a5 --with-tclcl=/home/decouto/tclcl-1.0b9

# ./configure --with-otcl=/usr/local/build/decouto/otcl-1.0a4 --with-tclcl=/usr/local/build/decouto/tclcl-1.0b8 --with-tcl=/usr/local/build/decouto/tcl8.0.4 --enable-static=no

# for doug on bermuda  (which is messed up in some strange tcl universe):
# ./configure --with-otcl=/usr/local/build/decouto/otcl-1.0a4 --with-tclcl=/usr/local/build/decouto/tclcl-1.0b8  --enable-static=no

# or, try this to snarf benjie;s tcl setup for ns:
# ./configure --with-otcl=/usr/local/build/decouto/otcl-1.0a4 --with-tclcl=/usr/local/build/decouto/tclcl-1.0b8 --enable-static=no --with-tcl=/home/cr1/benjie/ns/tcl8.0.4


# the configure stuff won't work if your tcl8.0.4 dir, or whichever dir you
# decide to use, does not contain init.tcl. you can copy init.tcl into that
# directory from /usr/lib/tcl8.0/...

# if you can't make configure stuffwork, and the ns_tcl.cc file
# sometimes isn't made because the script won't find tcl, do it like
# this:

# tclsh bin/tcl-expand.tcl tcl/lib/ns-lib.tcl | /usr/local/build/decouto/tclcl-1.0b8/tcl2c++ et_ns_lib > gen/ns_tcl.cc