*** tclcl/configure	Thu Apr  1 15:34:19 1999
--- tclcl-1.0b8/configure	Thu Apr  1 15:36:50 1999
***************
*** 1353,1360 ****
    echo "$ac_t""no" 1>&6
  fi
  
  echo $ac_n "checking for getnodebyname in -ldnet_stub""... $ac_c" 1>&6
! echo "configure:1358: checking for getnodebyname in -ldnet_stub" >&5
  ac_lib_var=`echo dnet_stub'_'getnodebyname | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 1353,1400 ----
    echo "$ac_t""no" 1>&6
  fi
  
+ echo $ac_n "checking for dcgettext in -lintl""... $ac_c" 1>&6
+ echo "configure:1358: checking for dcgettext in -lintl" >&5
+ ac_lib_var=`echo intl'_'dcgettext | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   ac_save_LIBS="$LIBS"
+ LIBS="-lintl  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1366 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+     builtin and then its argument prototype would still apply.  */
+ char dcgettext();
+ 
+ int main() {
+ dcgettext()
+ ; return 0; }
+ EOF
+ if { (eval echo configure:1377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=no"
+ fi
+ rm -f conftest*
+ LIBS="$ac_save_LIBS"
+ 
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+   echo "$ac_t""yes" 1>&6
+   V_LIB="$V_LIB -lintl"
+ else
+   echo "$ac_t""no" 1>&6
+ fi
+ 
  echo $ac_n "checking for getnodebyname in -ldnet_stub""... $ac_c" 1>&6
! echo "configure:1398: checking for getnodebyname in -ldnet_stub" >&5
  ac_lib_var=`echo dnet_stub'_'getnodebyname | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 1362,1368 ****
    ac_save_LIBS="$LIBS"
  LIBS="-ldnet_stub  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1366 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 1402,1408 ----
    ac_save_LIBS="$LIBS"
  LIBS="-ldnet_stub  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1406 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
***************
*** 1373,1379 ****
  getnodebyname()
  ; return 0; }
  EOF
! if { (eval echo configure:1377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 1413,1419 ----
  getnodebyname()
  ; return 0; }
  EOF
! if { (eval echo configure:1417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
***************
*** 1510,1516 ****
  # Extract the first word of "ranlib", so it can be a program name with args.
  set dummy ranlib; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1514: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 1550,1556 ----
  # Extract the first word of "ranlib", so it can be a program name with args.
  set dummy ranlib; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1554: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 1539,1550 ****
  # (install is in tail)
  
  echo $ac_n "checking for snprintf""... $ac_c" 1>&6
! echo "configure:1543: checking for snprintf" >&5
  if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1548 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char snprintf(); below.  */
--- 1579,1590 ----
  # (install is in tail)
  
  echo $ac_n "checking for snprintf""... $ac_c" 1>&6
! echo "configure:1583: checking for snprintf" >&5
  if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1588 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char snprintf(); below.  */
***************
*** 1567,1573 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:1571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_func_snprintf=yes"
  else
--- 1607,1613 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_func_snprintf=yes"
  else
***************
*** 1592,1603 ****
  	V_DEFINE="-DHAVE_SNPRINTF $V_DEFINE"
  fi
  echo $ac_n "checking for strtoq""... $ac_c" 1>&6
! echo "configure:1596: checking for strtoq" >&5
  if eval "test \"`echo '$''{'ac_cv_func_strtoq'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1601 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char strtoq(); below.  */
--- 1632,1643 ----
  	V_DEFINE="-DHAVE_SNPRINTF $V_DEFINE"
  fi
  echo $ac_n "checking for strtoq""... $ac_c" 1>&6
! echo "configure:1636: checking for strtoq" >&5
  if eval "test \"`echo '$''{'ac_cv_func_strtoq'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1641 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char strtoq(); below.  */
***************
*** 1620,1626 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:1624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_func_strtoq=yes"
  else
--- 1660,1666 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:1664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_func_strtoq=yes"
  else
***************
*** 1645,1656 ****
  	V_DEFINE="-DHAVE_STRTOQ $V_DEFINE"
  fi
  echo $ac_n "checking for strtoll""... $ac_c" 1>&6
! echo "configure:1649: checking for strtoll" >&5
  if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1654 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char strtoll(); below.  */
--- 1685,1696 ----
  	V_DEFINE="-DHAVE_STRTOQ $V_DEFINE"
  fi
  echo $ac_n "checking for strtoll""... $ac_c" 1>&6
! echo "configure:1689: checking for strtoll" >&5
  if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1694 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char strtoll(); below.  */
***************
*** 1673,1679 ****
  
  ; return 0; }
  EOF
! if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_func_strtoll=yes"
  else
--- 1713,1719 ----
  
  ; return 0; }
  EOF
! if { (eval echo configure:1717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_func_strtoll=yes"
  else
***************
*** 1876,1882 ****
  
  
  echo $ac_n "checking for tcl.h""... $ac_c" 1>&6
! echo "configure:1880: checking for tcl.h" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_INCLUDE_TCL=FAIL
--- 1916,1922 ----
  
  
  echo $ac_n "checking for tcl.h""... $ac_c" 1>&6
! echo "configure:1920: checking for tcl.h" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_INCLUDE_TCL=FAIL
***************
*** 1925,1931 ****
  
  
  echo $ac_n "checking for libtcl$TCL_HI_VERS""... $ac_c" 1>&6
! echo "configure:1929: checking for libtcl$TCL_HI_VERS" >&5
  if test "x$d" = "xno"; then
  	: disable library
  	V_LIB_TCL=FAIL
--- 1965,1971 ----
  
  
  echo $ac_n "checking for libtcl$TCL_HI_VERS""... $ac_c" 1>&6
! echo "configure:1969: checking for libtcl$TCL_HI_VERS" >&5
  if test "x$d" = "xno"; then
  	: disable library
  	V_LIB_TCL=FAIL
***************
*** 1990,1996 ****
  
  
  echo $ac_n "checking for init.tcl""... $ac_c" 1>&6
! echo "configure:1994: checking for init.tcl" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_LIBRARY_TCL=FAIL
--- 2030,2036 ----
  
  
  echo $ac_n "checking for init.tcl""... $ac_c" 1>&6
! echo "configure:2034: checking for init.tcl" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_LIBRARY_TCL=FAIL
***************
*** 2036,2047 ****
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! for ac_prog in tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2045: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_V_TCLSH'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 2076,2087 ----
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! for ac_prog in tclsh$TCL_VERS tclsh$TCL_HI_VERS tclsh tclsh$TCL_OLD_VERS
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2085: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_V_TCLSH'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 2254,2260 ****
  
  
  echo $ac_n "checking for tk.h""... $ac_c" 1>&6
! echo "configure:2258: checking for tk.h" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_INCLUDE_TK=FAIL
--- 2294,2300 ----
  
  
  echo $ac_n "checking for tk.h""... $ac_c" 1>&6
! echo "configure:2298: checking for tk.h" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_INCLUDE_TK=FAIL
***************
*** 2303,2309 ****
  
  
  echo $ac_n "checking for libtk$TK_HI_VERS""... $ac_c" 1>&6
! echo "configure:2307: checking for libtk$TK_HI_VERS" >&5
  if test "x$d" = "xno"; then
  	: disable library
  	V_LIB_TK=FAIL
--- 2343,2349 ----
  
  
  echo $ac_n "checking for libtk$TK_HI_VERS""... $ac_c" 1>&6
! echo "configure:2347: checking for libtk$TK_HI_VERS" >&5
  if test "x$d" = "xno"; then
  	: disable library
  	V_LIB_TK=FAIL
***************
*** 2368,2374 ****
  
  
  echo $ac_n "checking for tk.tcl""... $ac_c" 1>&6
! echo "configure:2372: checking for tk.tcl" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_LIBRARY_TK=FAIL
--- 2408,2414 ----
  
  
  echo $ac_n "checking for tk.tcl""... $ac_c" 1>&6
! echo "configure:2412: checking for tk.tcl" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_LIBRARY_TK=FAIL
***************
*** 2493,2499 ****
  
  
  echo $ac_n "checking for otcl.h""... $ac_c" 1>&6
! echo "configure:2497: checking for otcl.h" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_INCLUDE_OTCL=FAIL
--- 2533,2539 ----
  
  
  echo $ac_n "checking for otcl.h""... $ac_c" 1>&6
! echo "configure:2537: checking for otcl.h" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_INCLUDE_OTCL=FAIL
***************
*** 2542,2548 ****
  
  
  echo $ac_n "checking for libotcl$OTCL_VERS""... $ac_c" 1>&6
! echo "configure:2546: checking for libotcl$OTCL_VERS" >&5
  if test "x$d" = "xno"; then
  	: disable library
  	V_LIB_OTCL=FAIL
--- 2582,2588 ----
  
  
  echo $ac_n "checking for libotcl$OTCL_VERS""... $ac_c" 1>&6
! echo "configure:2586: checking for libotcl$OTCL_VERS" >&5
  if test "x$d" = "xno"; then
  	: disable library
  	V_LIB_OTCL=FAIL
***************
*** 2660,2671 ****
  echo "checking for X11 header files"
  if test "$x_includes" = NONE ; then
  	cat > conftest.$ac_ext <<EOF
! #line 2664 "configure"
  #include "confdefs.h"
  #include <X11/Intrinsic.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 2700,2711 ----
  echo "checking for X11 header files"
  if test "$x_includes" = NONE ; then
  	cat > conftest.$ac_ext <<EOF
! #line 2704 "configure"
  #include "confdefs.h"
  #include <X11/Intrinsic.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out`
  if test -z "$ac_err"; then
    rm -rf conftest*
***************
*** 2699,2705 ****
  echo "checking for X11 library archive"
  if test "$x_libraries" = NONE ; then
  	echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
! echo "configure:2703: checking for XOpenDisplay in -lX11" >&5
  ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 2739,2745 ----
  echo "checking for X11 library archive"
  if test "$x_libraries" = NONE ; then
  	echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
! echo "configure:2743: checking for XOpenDisplay in -lX11" >&5
  ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2707,2713 ****
    ac_save_LIBS="$LIBS"
  LIBS="-lX11  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2711 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 2747,2753 ----
    ac_save_LIBS="$LIBS"
  LIBS="-lX11  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2751 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
***************
*** 2718,2724 ****
  XOpenDisplay()
  ; return 0; }
  EOF
! if { (eval echo configure:2722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 2758,2764 ----
  XOpenDisplay()
  ; return 0; }
  EOF
! if { (eval echo configure:2762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
***************
*** 2758,2764 ****
  if test -n "$V_SHM" ; then
  	if test -z "$x_libraries" ; then
  		echo $ac_n "checking for XShmAttach in -lXext""... $ac_c" 1>&6
! echo "configure:2762: checking for XShmAttach in -lXext" >&5
  ac_lib_var=`echo Xext'_'XShmAttach | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 2798,2804 ----
  if test -n "$V_SHM" ; then
  	if test -z "$x_libraries" ; then
  		echo $ac_n "checking for XShmAttach in -lXext""... $ac_c" 1>&6
! echo "configure:2802: checking for XShmAttach in -lXext" >&5
  ac_lib_var=`echo Xext'_'XShmAttach | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2766,2772 ****
    ac_save_LIBS="$LIBS"
  LIBS="-lXext -lX11 $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2770 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 2806,2812 ----
    ac_save_LIBS="$LIBS"
  LIBS="-lXext -lX11 $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2810 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
***************
*** 2777,2783 ****
  XShmAttach()
  ; return 0; }
  EOF
! if { (eval echo configure:2781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 2817,2823 ----
  XShmAttach()
  ; return 0; }
  EOF
! if { (eval echo configure:2821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
***************
*** 2883,2888 ****
--- 2923,2929 ----
  	V_SHM=""
  	V_TARCMD="tar cfL"
  	V_LIB="$V_LIB -lipc -ldl"
+ 	V_OBJ="$V_OBJ misc/serial.o"
  	;;
  *-*-freebsd*)
  	V_OBJ="$V_OBJ misc/serial.o"
***************
*** 2968,2974 ****
  		;;
  	*-*-linux*)
  		echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:2972: checking for dlopen in -ldl" >&5
  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 3009,3015 ----
  		;;
  	*-*-linux*)
  		echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:3013: checking for dlopen in -ldl" >&5
  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2976,2982 ****
    ac_save_LIBS="$LIBS"
  LIBS="-ldl  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2980 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 3017,3023 ----
    ac_save_LIBS="$LIBS"
  LIBS="-ldl  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 3021 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
***************
*** 2987,2993 ****
  dlopen()
  ; return 0; }
  EOF
! if { (eval echo configure:2991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 3028,3034 ----
  dlopen()
  ; return 0; }
  EOF
! if { (eval echo configure:3032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
***************
*** 3016,3022 ****
  			;;
  		*)
  			echo $ac_n "checking for main in -l$V_LIB_DL""... $ac_c" 1>&6
! echo "configure:3020: checking for main in -l$V_LIB_DL" >&5
  ac_lib_var=`echo $V_LIB_DL'_'main | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 3057,3063 ----
  			;;
  		*)
  			echo $ac_n "checking for main in -l$V_LIB_DL""... $ac_c" 1>&6
! echo "configure:3061: checking for main in -l$V_LIB_DL" >&5
  ac_lib_var=`echo $V_LIB_DL'_'main | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3024,3030 ****
    ac_save_LIBS="$LIBS"
  LIBS="-l$V_LIB_DL $V_STATIC $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 3028 "configure"
  #include "confdefs.h"
  
  int main() {
--- 3065,3071 ----
    ac_save_LIBS="$LIBS"
  LIBS="-l$V_LIB_DL $V_STATIC $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 3069 "configure"
  #include "confdefs.h"
  
  int main() {
***************
*** 3031,3037 ****
  main()
  ; return 0; }
  EOF
! if { (eval echo configure:3035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 3072,3078 ----
  main()
  ; return 0; }
  EOF
! if { (eval echo configure:3076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
***************
*** 3140,3146 ****
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:3144: checking for a BSD compatible install" >&5
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 3181,3187 ----
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:3185: checking for a BSD compatible install" >&5
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
*** tclcl/conf/configure.in.tcl	Thu Apr  1 15:34:27 1999
--- tclcl-1.0b8/conf/configure.in.tcl	Thu Apr  1 15:36:57 1999
***************
*** 176,182 ****
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! AC_PATH_PROGS(V_TCLSH,tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS,no)
  if test x"$V_TCLSH" = xno
  then
  	# out of luck
--- 176,182 ----
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! AC_PATH_PROGS(V_TCLSH,tclsh$TCL_VERS tclsh$TCL_HI_VERS tclsh tclsh$TCL_OLD_VERS,no)
  if test x"$V_TCLSH" = xno
  then
  	# out of luck
*** otcl/configure	Thu Apr  1 15:33:49 1999
--- otcl-1.0a4/configure	Thu Apr  1 15:36:28 1999
***************
*** 1352,1359 ****
    echo "$ac_t""no" 1>&6
  fi
  
  echo $ac_n "checking for getnodebyname in -ldnet_stub""... $ac_c" 1>&6
! echo "configure:1357: checking for getnodebyname in -ldnet_stub" >&5
  ac_lib_var=`echo dnet_stub'_'getnodebyname | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 1352,1399 ----
    echo "$ac_t""no" 1>&6
  fi
  
+ echo $ac_n "checking for dcgettext in -lintl""... $ac_c" 1>&6
+ echo "configure:1357: checking for dcgettext in -lintl" >&5
+ ac_lib_var=`echo intl'_'dcgettext | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   ac_save_LIBS="$LIBS"
+ LIBS="-lintl  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1365 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error.  */
+ /* We use char because int might match the return type of a gcc2
+     builtin and then its argument prototype would still apply.  */
+ char dcgettext();
+ 
+ int main() {
+ dcgettext()
+ ; return 0; }
+ EOF
+ if { (eval echo configure:1376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   rm -rf conftest*
+   eval "ac_cv_lib_$ac_lib_var=no"
+ fi
+ rm -f conftest*
+ LIBS="$ac_save_LIBS"
+ 
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+   echo "$ac_t""yes" 1>&6
+   V_LIB="$V_LIB -lintl"
+ else
+   echo "$ac_t""no" 1>&6
+ fi
+ 
  echo $ac_n "checking for getnodebyname in -ldnet_stub""... $ac_c" 1>&6
! echo "configure:1397: checking for getnodebyname in -ldnet_stub" >&5
  ac_lib_var=`echo dnet_stub'_'getnodebyname | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 1361,1367 ****
    ac_save_LIBS="$LIBS"
  LIBS="-ldnet_stub  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1365 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 1401,1407 ----
    ac_save_LIBS="$LIBS"
  LIBS="-ldnet_stub  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 1405 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
***************
*** 1372,1378 ****
  getnodebyname()
  ; return 0; }
  EOF
! if { (eval echo configure:1376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 1412,1418 ----
  getnodebyname()
  ; return 0; }
  EOF
! if { (eval echo configure:1416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
***************
*** 1681,1687 ****
  
  
  echo $ac_n "checking for tcl.h""... $ac_c" 1>&6
! echo "configure:1685: checking for tcl.h" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_INCLUDE_TCL=FAIL
--- 1721,1727 ----
  
  
  echo $ac_n "checking for tcl.h""... $ac_c" 1>&6
! echo "configure:1725: checking for tcl.h" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_INCLUDE_TCL=FAIL
***************
*** 1730,1736 ****
  
  
  echo $ac_n "checking for libtcl$TCL_HI_VERS""... $ac_c" 1>&6
! echo "configure:1734: checking for libtcl$TCL_HI_VERS" >&5
  if test "x$d" = "xno"; then
  	: disable library
  	V_LIB_TCL=FAIL
--- 1770,1776 ----
  
  
  echo $ac_n "checking for libtcl$TCL_HI_VERS""... $ac_c" 1>&6
! echo "configure:1774: checking for libtcl$TCL_HI_VERS" >&5
  if test "x$d" = "xno"; then
  	: disable library
  	V_LIB_TCL=FAIL
***************
*** 1795,1801 ****
  
  
  echo $ac_n "checking for init.tcl""... $ac_c" 1>&6
! echo "configure:1799: checking for init.tcl" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_LIBRARY_TCL=FAIL
--- 1835,1841 ----
  
  
  echo $ac_n "checking for init.tcl""... $ac_c" 1>&6
! echo "configure:1839: checking for init.tcl" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_LIBRARY_TCL=FAIL
***************
*** 1841,1852 ****
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! for ac_prog in tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1850: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_V_TCLSH'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 1881,1892 ----
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! for ac_prog in tclsh$TCL_VERS tclsh$TCL_HI_VERS tclsh tclsh$TCL_OLD_VERS
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1890: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_path_V_TCLSH'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 2059,2065 ****
  
  
  echo $ac_n "checking for tk.h""... $ac_c" 1>&6
! echo "configure:2063: checking for tk.h" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_INCLUDE_TK=FAIL
--- 2099,2105 ----
  
  
  echo $ac_n "checking for tk.h""... $ac_c" 1>&6
! echo "configure:2103: checking for tk.h" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_INCLUDE_TK=FAIL
***************
*** 2108,2114 ****
  
  
  echo $ac_n "checking for libtk$TK_HI_VERS""... $ac_c" 1>&6
! echo "configure:2112: checking for libtk$TK_HI_VERS" >&5
  if test "x$d" = "xno"; then
  	: disable library
  	V_LIB_TK=FAIL
--- 2148,2154 ----
  
  
  echo $ac_n "checking for libtk$TK_HI_VERS""... $ac_c" 1>&6
! echo "configure:2152: checking for libtk$TK_HI_VERS" >&5
  if test "x$d" = "xno"; then
  	: disable library
  	V_LIB_TK=FAIL
***************
*** 2173,2179 ****
  
  
  echo $ac_n "checking for tk.tcl""... $ac_c" 1>&6
! echo "configure:2177: checking for tk.tcl" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_LIBRARY_TK=FAIL
--- 2213,2219 ----
  
  
  echo $ac_n "checking for tk.tcl""... $ac_c" 1>&6
! echo "configure:2217: checking for tk.tcl" >&5
  if test "x$d" = "xno"; then
  	: disable header
  	V_LIBRARY_TK=FAIL
***************
*** 2285,2296 ****
  echo "checking for X11 header files"
  if test "$x_includes" = NONE ; then
  	cat > conftest.$ac_ext <<EOF
! #line 2289 "configure"
  #include "confdefs.h"
  #include <X11/Intrinsic.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 2325,2336 ----
  echo "checking for X11 header files"
  if test "$x_includes" = NONE ; then
  	cat > conftest.$ac_ext <<EOF
! #line 2329 "configure"
  #include "confdefs.h"
  #include <X11/Intrinsic.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out`
  if test -z "$ac_err"; then
    rm -rf conftest*
***************
*** 2324,2330 ****
  echo "checking for X11 library archive"
  if test "$x_libraries" = NONE ; then
  	echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
! echo "configure:2328: checking for XOpenDisplay in -lX11" >&5
  ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 2364,2370 ----
  echo "checking for X11 library archive"
  if test "$x_libraries" = NONE ; then
  	echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
! echo "configure:2368: checking for XOpenDisplay in -lX11" >&5
  ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2332,2338 ****
    ac_save_LIBS="$LIBS"
  LIBS="-lX11  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2336 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 2372,2378 ----
    ac_save_LIBS="$LIBS"
  LIBS="-lX11  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2376 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
***************
*** 2343,2349 ****
  XOpenDisplay()
  ; return 0; }
  EOF
! if { (eval echo configure:2347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 2383,2389 ----
  XOpenDisplay()
  ; return 0; }
  EOF
! if { (eval echo configure:2387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
***************
*** 2383,2389 ****
  if test -n "$V_SHM" ; then
  	if test -z "$x_libraries" ; then
  		echo $ac_n "checking for XShmAttach in -lXext""... $ac_c" 1>&6
! echo "configure:2387: checking for XShmAttach in -lXext" >&5
  ac_lib_var=`echo Xext'_'XShmAttach | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 2423,2429 ----
  if test -n "$V_SHM" ; then
  	if test -z "$x_libraries" ; then
  		echo $ac_n "checking for XShmAttach in -lXext""... $ac_c" 1>&6
! echo "configure:2427: checking for XShmAttach in -lXext" >&5
  ac_lib_var=`echo Xext'_'XShmAttach | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2391,2397 ****
    ac_save_LIBS="$LIBS"
  LIBS="-lXext -lX11 $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2395 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 2431,2437 ----
    ac_save_LIBS="$LIBS"
  LIBS="-lXext -lX11 $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2435 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
***************
*** 2402,2408 ****
  XShmAttach()
  ; return 0; }
  EOF
! if { (eval echo configure:2406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 2442,2448 ----
  XShmAttach()
  ; return 0; }
  EOF
! if { (eval echo configure:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
***************
*** 2452,2458 ****
  # Extract the first word of "ranlib", so it can be a program name with args.
  set dummy ranlib; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2456: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 2492,2498 ----
  # Extract the first word of "ranlib", so it can be a program name with args.
  set dummy ranlib; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2496: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 2489,2495 ****
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:2493: checking for a BSD compatible install" >&5
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 2529,2535 ----
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:2533: checking for a BSD compatible install" >&5
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2544,2550 ****
  #
  
  echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6
! echo "configure:2548: checking system version (for dynamic loading)" >&5
  system=`uname -s`-`uname -r`
  if test "$status" = 1 ; then
      echo "$ac_t""unknown (can't find uname command)" 1>&6
--- 2584,2590 ----
  #
  
  echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6
! echo "configure:2588: checking system version (for dynamic loading)" >&5
  system=`uname -s`-`uname -r`
  if test "$status" = 1 ; then
      echo "$ac_t""unknown (can't find uname command)" 1>&6
***************
*** 2753,2759 ****
  		;;
  	*-*-linux*)
  		echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:2757: checking for dlopen in -ldl" >&5
  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 2793,2799 ----
  		;;
  	*-*-linux*)
  		echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:2797: checking for dlopen in -ldl" >&5
  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2761,2767 ****
    ac_save_LIBS="$LIBS"
  LIBS="-ldl  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2765 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
--- 2801,2807 ----
    ac_save_LIBS="$LIBS"
  LIBS="-ldl  $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2805 "configure"
  #include "confdefs.h"
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
***************
*** 2772,2778 ****
  dlopen()
  ; return 0; }
  EOF
! if { (eval echo configure:2776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 2812,2818 ----
  dlopen()
  ; return 0; }
  EOF
! if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
***************
*** 2801,2807 ****
  			;;
  		*)
  			echo $ac_n "checking for main in -l$V_LIB_DL""... $ac_c" 1>&6
! echo "configure:2805: checking for main in -l$V_LIB_DL" >&5
  ac_lib_var=`echo $V_LIB_DL'_'main | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 2841,2847 ----
  			;;
  		*)
  			echo $ac_n "checking for main in -l$V_LIB_DL""... $ac_c" 1>&6
! echo "configure:2845: checking for main in -l$V_LIB_DL" >&5
  ac_lib_var=`echo $V_LIB_DL'_'main | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2809,2815 ****
    ac_save_LIBS="$LIBS"
  LIBS="-l$V_LIB_DL $V_STATIC $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2813 "configure"
  #include "confdefs.h"
  
  int main() {
--- 2849,2855 ----
    ac_save_LIBS="$LIBS"
  LIBS="-l$V_LIB_DL $V_STATIC $LIBS"
  cat > conftest.$ac_ext <<EOF
! #line 2853 "configure"
  #include "confdefs.h"
  
  int main() {
***************
*** 2816,2822 ****
  main()
  ; return 0; }
  EOF
! if { (eval echo configure:2820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
--- 2856,2862 ----
  main()
  ; return 0; }
  EOF
! if { (eval echo configure:2860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    rm -rf conftest*
    eval "ac_cv_lib_$ac_lib_var=yes"
  else
***************
*** 2925,2931 ****
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:2929: checking for a BSD compatible install" >&5
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 2965,2971 ----
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:2969: checking for a BSD compatible install" >&5
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
*** otcl/conf/configure.in.tcl	Thu Apr  1 15:34:05 1999
--- otcl-1.0a4/conf/configure.in.tcl	Thu Apr  1 15:36:35 1999
***************
*** 1,5 ****
  dnl autoconf rules to find tcl
! dnl $Header: /usr/src/mash/repository/common/conf/configure.in.tcl,v 1.27 1999/02/22 20:04:59 salehi Exp $ (LBL)
  
  AC_ARG_WITH(tcl,	--with-tcl=path	specify a pathname for tcl, d=$withval, d="")
  
--- 1,5 ----
  dnl autoconf rules to find tcl
! dnl $Header: /usr/src/mash/repository/common/conf/configure.in.tcl,v 1.28 1999/03/26 00:45:50 salehi Exp $ (LBL)
  
  AC_ARG_WITH(tcl,	--with-tcl=path	specify a pathname for tcl, d=$withval, d="")
  
***************
*** 176,182 ****
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! AC_PATH_PROGS(V_TCLSH,tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS,no)
  if test x"$V_TCLSH" = xno
  then
  	# out of luck
--- 176,182 ----
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! AC_PATH_PROGS(V_TCLSH,tclsh$TCL_VERS tclsh$TCL_HI_VERS tclsh tclsh$TCL_OLD_VERS,no)
  if test x"$V_TCLSH" = xno
  then
  	# out of luck
*** ns-2/configure	Thu Apr  1 15:34:55 1999
--- ns-2.1b5/configure	Thu Apr  1 15:35:59 1999
***************
*** 1898,1904 ****
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! for ac_prog in tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
--- 1898,1904 ----
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! for ac_prog in tclsh$TCL_VERS tclsh$TCL_HI_VERS tclsh tclsh$TCL_OLD_VERS
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
*** ns-2/conf/configure.in.tcl	Thu Apr  1 15:35:06 1999
--- ns-2.1b5/conf/configure.in.tcl	Thu Apr  1 15:36:08 1999
***************
*** 1,5 ****
  dnl autoconf rules to find tcl
! dnl $Header: /usr/src/mash/repository/common/conf/configure.in.tcl,v 1.27 1999/02/22 20:04:59 salehi Exp $ (LBL)
  
  AC_ARG_WITH(tcl,	--with-tcl=path	specify a pathname for tcl, d=$withval, d="")
  
--- 1,5 ----
  dnl autoconf rules to find tcl
! dnl $Header: /usr/src/mash/repository/common/conf/configure.in.tcl,v 1.28 1999/03/26 00:45:50 salehi Exp $ (LBL)
  
  AC_ARG_WITH(tcl,	--with-tcl=path	specify a pathname for tcl, d=$withval, d="")
  
***************
*** 176,182 ****
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! AC_PATH_PROGS(V_TCLSH,tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS,no)
  if test x"$V_TCLSH" = xno
  then
  	# out of luck
--- 176,182 ----
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! AC_PATH_PROGS(V_TCLSH,tclsh$TCL_VERS tclsh$TCL_HI_VERS tclsh tclsh$TCL_OLD_VERS,no)
  if test x"$V_TCLSH" = xno
  then
  	# out of luck
*** nam/configure	Thu Apr  1 15:34:42 1999
--- nam-1.0a7/configure	Thu Apr  1 15:35:24 1999
***************
*** 2192,2198 ****
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! for ac_prog in tclsh$TCL_VERS tclsh tclsh$TCL_OLD_VERS
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
--- 2192,2198 ----
  # $d/unix works if $d is the 8.0 distribution
  # $d/bin is for the ns-allinone distribution (kind of hacky, isn't it?)
  PATH=$PATH:$d/unix:$d/bin
! for ac_prog in tclsh$TCL_VERS tclsh$TCL_HI_VERS tclsh tclsh$TCL_OLD_VERS
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
