configure.in.TclCL
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:2k
源码类别:

通讯编程

开发平台:

Visual C++

  1. dnl autoconf rules to find tclcl
  2. dnl $Header: /cvsroot/otcl-tclcl/conf/configure.in.TclCL,v 1.25 2007/02/18 22:16:52 tom_henderson Exp $ (LBL)
  3. dnl This next line is to fix old invocations.
  4. AC_ARG_WITH(Tcl, --with-Tcl: old command now replaced by --with-tclcl,
  5. AC_MSG_ERROR([The --with-Tcl option has been replaced with --with-tclcl.
  6. Please insure you have an up-to-date copy of TclCL and re-run your configuration.]))
  7. AC_ARG_WITH(tclcl, --with-tclcl=path specify a pathname for TclCL (the ex-libTcl), d=$withval, d="")
  8. TCLCL_VERS=1.19
  9. TCLCL_ALT_VERS=1.0
  10. TCLCL_H_PLACES="
  11. ../tclcl-$TCLCL_VERS 
  12. ../tclcl-$TCLCL_ALT_VERS 
  13. ../tclcl 
  14. ../TclCL 
  15. ../Tcl-$TCLCL_VERS 
  16. ../Tcl-$TCLCL_ALT_VERS 
  17. ../Tcl 
  18.                 /usr/src/local/Tcl 
  19.                 /usr/src/local/Tcl-1.0 
  20.                 /import/Tcl/include 
  21.                 /usr/local/include 
  22.                 /usr/contrib/include 
  23.                 /usr/include"
  24. TCLCL_H_PLACES_D="$d 
  25.   $d/include"
  26. TCLCL_LIB_PLACES="
  27. ../tclcl-$TCLCL_VERS 
  28. ../tclcl-$TCLCL_ALT_VERS 
  29. ../tclcl 
  30. ../TclCL 
  31. ../Tcl-$TCLCL_VERS 
  32. ../Tcl-$TCLCL_ALT_VERS 
  33. ../Tcl 
  34.                 $x_libraries 
  35.                 /usr/contrib/lib 
  36.                 /usr/local/lib 
  37.                 /usr/lib 
  38.                 /usr/src/local/Tcl 
  39.                 /usr/src/local/Tcl-1.0"
  40. TCLCL_LIB_PLACES_D="$d 
  41.         $d/lib"  
  42. TCLCL_PROG_PLACES="
  43. ../tclcl-$TCLCL_VERS 
  44. ../tclcl-$TCLCL_ALT_VERS 
  45. ../tclcl 
  46. ../TclCL 
  47. ../Tcl-$TCLCL_VERS 
  48. ../Tcl-$TCLCL_ALT_VERS 
  49. ../Tcl 
  50.                 $prefix/bin 
  51.                 $x_libraries 
  52.                 /usr/contrib/bin 
  53.                 /usr/local/bin 
  54.                 /usr/bin 
  55.                 /usr/src/local/Tcl 
  56.                 /usr/src/local/Tcl-1.0 
  57.                 "
  58. TCLCL_PROG_PLACES_D="$d"
  59. NS_BEGIN_PACKAGE(tclcl)
  60. NS_CHECK_HEADER_PATH(tclcl.h,$TCLCL_H_PLACES,$d,$TCLCL_H_PLACES_D,V_INCLUDE_TCLCL,tclcl)
  61. NS_CHECK_LIB_PATH(tclcl$tclcl_VERS,$TCLCL_LIB_PLACES,$d,$TCLCL_LIB_PLACES_D,V_LIB_TCLCL,tclcl)
  62. NS_CHECK_ANY_PATH(tcl2c++,$TCLCL_PROG_PLACES,$d,$TCLCL_PROG_PLACES_D,V_TCL2CPP_DIR,tclcl)
  63. V_TCL2CPP=$V_TCL2CPP_DIR/tcl2c++
  64. AC_SUBST(V_TCL2CPP)
  65. NS_END_PACKAGE(tclcl,yes)